Home
last modified time | relevance | path

Searched refs:cmd_len (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Deepro100.c132 static int do_eeprom_cmd(int cmd, int cmd_len);
333 static int do_eeprom_cmd(int cmd, int cmd_len) in do_eeprom_cmd() argument
343 short dataval = (cmd & (1 << cmd_len)) ? EE_WRITE_1 : EE_WRITE_0; in do_eeprom_cmd()
347 } while (--cmd_len >= 0); in do_eeprom_cmd()
/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_ioctl.h102 uint8_t cmd_len; /* BMIC command length */ member
H A Dcpqary3_ioctl.c438 cmdlist->Request.CDBLen = bmic_pass->cmd_len; in cpqary3_ioctl_fil_bmic()
779 cmdlist->Request.CDBLen = bmic_pass->cmd_len; in cpqary3_ioctl_fil_bmic_sas()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei_lv.c844 uint32_t cmd_len = fpkt->pkt_cmdlen; in fcoei_initiate_ct_req() local
849 cmd_len = P2ROUNDUP(cmd_len, 4); in fcoei_initiate_ct_req()
855 cmd_len + FCFH_SIZE, NULL); in fcoei_initiate_ct_req()
861 bzero(frm->frm_payload, cmd_len); in fcoei_initiate_ct_req()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfp.h304 static fp_cmd_t *fp_alloc_pkt(fc_local_port_t *port, int cmd_len,
428 uint16_t cmd_len, uint16_t resp_len, job_request_t *job);
H A Dfc_portif.h430 fctl_ns_req_t *fctl_alloc_ns_cmd(uint32_t cmd_len, uint32_t resp_len,
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcsm.c2034 fcsm_alloc_cmd(fcsm_t *fcsm, uint32_t cmd_len, uint32_t resp_len, int sleep) in fcsm_alloc_cmd() argument
2086 if ((cmd_len) && !(fcsm->sm_flags & FCSM_USING_NODMA_FCA)) { in fcsm_alloc_cmd()
2089 rval = ddi_dma_mem_alloc(pkt->pkt_cmd_dma, cmd_len, in fcsm_alloc_cmd()
2104 if (real_len < cmd_len) { in fcsm_alloc_cmd()
2155 } else if (cmd_len != 0) { in fcsm_alloc_cmd()
2156 pkt->pkt_cmd = kmem_zalloc(cmd_len, KM_SLEEP); in fcsm_alloc_cmd()
2232 pkt->pkt_cmdlen = cmd_len; in fcsm_alloc_cmd()
H A Dfcp.c446 struct fcp_tgt *ptgt, int cmd_len, int resp_len, int data_len,
5155 int cmd_len; in fcp_send_els() local
5169 cmd_len = sizeof (la_els_logi_t); in fcp_send_els()
5173 cmd_len = sizeof (la_els_prli_t); in fcp_send_els()
5191 fpkt->pkt_cmdlen = cmd_len; in fcp_send_els()
5767 icmd->ipkt_cmdlen = cmd_len; in fcp_icmd_alloc()
5794 fpkt->pkt_cmdlen = cmd_len; in fcp_icmd_alloc()
10582 int cmd_len; in fcp_alloc_cmd_resp() local
10592 cmd_len = fpkt->pkt_cmdlen; in fcp_alloc_cmd_resp()
10604 rval = ddi_dma_mem_alloc(fpkt->pkt_cmd_dma, cmd_len, in fcp_alloc_cmd_resp()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfctl.c5247 fctl_alloc_ns_cmd(uint32_t cmd_len, uint32_t resp_len, uint32_t data_len, in fctl_alloc_ns_cmd() argument
5257 if (cmd_len) { in fctl_alloc_ns_cmd()
5258 ns_cmd->ns_cmd_buf = kmem_zalloc(cmd_len, sleep); in fctl_alloc_ns_cmd()
5263 ns_cmd->ns_cmd_size = cmd_len; in fctl_alloc_ns_cmd()
5271 if (ns_cmd->ns_cmd_buf && cmd_len) { in fctl_alloc_ns_cmd()
5272 kmem_free(ns_cmd->ns_cmd_buf, cmd_len); in fctl_alloc_ns_cmd()
H A Dfp.c1966 fp_alloc_pkt(fc_local_port_t *port, int cmd_len, int resp_len, int kmflags, in fp_alloc_pkt() argument
2014 if (cmd_len && !(port->fp_soft_state & FP_SOFT_FCA_IS_NODMA)) { in fp_alloc_pkt()
2017 rval = ddi_dma_mem_alloc(pkt->pkt_cmd_dma, cmd_len, in fp_alloc_pkt()
2027 if (real_len < cmd_len) { in fp_alloc_pkt()
2063 } else if (cmd_len != 0) { in fp_alloc_pkt()
2064 pkt->pkt_cmd = kmem_alloc(cmd_len, KM_SLEEP); in fp_alloc_pkt()
2065 pkt->pkt_fctl_rsvd1 = (opaque_t)(uintptr_t)cmd_len; in fp_alloc_pkt()
2123 pkt->pkt_cmdlen = cmd_len; in fp_alloc_pkt()
2147 kmem_free(pkt->pkt_cmd, cmd_len); in fp_alloc_pkt()
12956 uint16_t cmd_code, caddr_t cmd_buf, uint16_t cmd_len, in fp_ct_init() argument
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_sp_verbs.h209 int cmd_len; member
H A Decore_sp_verbs.c430 DbgBreakIf(!elem->cmd_len); in ecore_exe_queue_step()
432 if (cur_len + elem->cmd_len <= o->exe_chunk_len) { in ecore_exe_queue_step()
433 cur_len += elem->cmd_len; in ecore_exe_queue_step()
2218 elem->cmd_len = 2; in ecore_vlan_mac_push_new_cmd()
2221 elem->cmd_len = 1; in ecore_vlan_mac_push_new_cmd()
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c8257 size_t cmd_len; in zonecfg_authorize_user_impl() local
8260 cmd_len = snprintf(NULL, 0, "%s -A \"%s\" -P \"%s\" %s", in zonecfg_authorize_user_impl()
8262 if ((cmdbuf = malloc(cmd_len)) == NULL) { in zonecfg_authorize_user_impl()
8265 (void) snprintf(cmdbuf, cmd_len, "%s -A \"%s\" -P \"%s\" %s", in zonecfg_authorize_user_impl()