Home
last modified time | relevance | path

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

/titanic_50/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()
/titanic_50/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()
/titanic_50/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()
/titanic_50/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfp.h300 static fp_cmd_t *fp_alloc_pkt(fc_local_port_t *port, int cmd_len,
424 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,
/titanic_50/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcsm.c2035 fcsm_alloc_cmd(fcsm_t *fcsm, uint32_t cmd_len, uint32_t resp_len, int sleep) in fcsm_alloc_cmd() argument
2087 if ((cmd_len) && !(fcsm->sm_flags & FCSM_USING_NODMA_FCA)) { in fcsm_alloc_cmd()
2090 rval = ddi_dma_mem_alloc(pkt->pkt_cmd_dma, cmd_len, in fcsm_alloc_cmd()
2105 if (real_len < cmd_len) { in fcsm_alloc_cmd()
2156 } else if (cmd_len != 0) { in fcsm_alloc_cmd()
2157 pkt->pkt_cmd = kmem_zalloc(cmd_len, KM_SLEEP); in fcsm_alloc_cmd()
2233 pkt->pkt_cmdlen = cmd_len; in fcsm_alloc_cmd()
H A Dfcp.c442 struct fcp_tgt *ptgt, int cmd_len, int resp_len, int data_len,
5150 int cmd_len; in fcp_send_els() local
5164 cmd_len = sizeof (la_els_logi_t); in fcp_send_els()
5168 cmd_len = sizeof (la_els_prli_t); in fcp_send_els()
5186 fpkt->pkt_cmdlen = cmd_len; in fcp_send_els()
5729 fcp_icmd_alloc(struct fcp_port *pptr, struct fcp_tgt *ptgt, int cmd_len, in fcp_icmd_alloc() argument
5762 icmd->ipkt_cmdlen = cmd_len; in fcp_icmd_alloc()
5789 fpkt->pkt_cmdlen = cmd_len; in fcp_icmd_alloc()
10593 int cmd_len; in fcp_alloc_cmd_resp() local
10603 cmd_len = fpkt->pkt_cmdlen; in fcp_alloc_cmd_resp()
[all …]
/titanic_50/usr/src/uts/common/io/fibre-channel/impl/
H A Dfctl.c5246 fctl_alloc_ns_cmd(uint32_t cmd_len, uint32_t resp_len, uint32_t data_len, in fctl_alloc_ns_cmd() argument
5256 if (cmd_len) { in fctl_alloc_ns_cmd()
5257 ns_cmd->ns_cmd_buf = kmem_zalloc(cmd_len, sleep); in fctl_alloc_ns_cmd()
5262 ns_cmd->ns_cmd_size = cmd_len; in fctl_alloc_ns_cmd()
5270 if (ns_cmd->ns_cmd_buf && cmd_len) { in fctl_alloc_ns_cmd()
5271 kmem_free(ns_cmd->ns_cmd_buf, cmd_len); in fctl_alloc_ns_cmd()
H A Dfp.c1965 fp_alloc_pkt(fc_local_port_t *port, int cmd_len, int resp_len, int kmflags, in fp_alloc_pkt() argument
2013 if (cmd_len && !(port->fp_soft_state & FP_SOFT_FCA_IS_NODMA)) { in fp_alloc_pkt()
2016 rval = ddi_dma_mem_alloc(pkt->pkt_cmd_dma, cmd_len, in fp_alloc_pkt()
2026 if (real_len < cmd_len) { in fp_alloc_pkt()
2062 } else if (cmd_len != 0) { in fp_alloc_pkt()
2063 pkt->pkt_cmd = kmem_alloc(cmd_len, KM_SLEEP); in fp_alloc_pkt()
2064 pkt->pkt_fctl_rsvd1 = (opaque_t)(uintptr_t)cmd_len; in fp_alloc_pkt()
2122 pkt->pkt_cmdlen = cmd_len; in fp_alloc_pkt()
2146 kmem_free(pkt->pkt_cmd, cmd_len); in fp_alloc_pkt()
12952 uint16_t cmd_code, caddr_t cmd_buf, uint16_t cmd_len, in fp_ct_init() argument
[all …]
/titanic_50/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()
/titanic_50/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c7927 size_t cmd_len; in zonecfg_authorize_user_impl() local
7930 cmd_len = snprintf(NULL, 0, "%s -A \"%s\" -P \"%s\" %s", in zonecfg_authorize_user_impl()
7932 if ((cmdbuf = malloc(cmd_len)) == NULL) { in zonecfg_authorize_user_impl()
7935 (void) snprintf(cmdbuf, cmd_len, "%s -A \"%s\" -P \"%s\" %s", in zonecfg_authorize_user_impl()
/titanic_50/usr/src/cmd/boot/bootadm/
H A Dbootadm.c9706 int cmd_len = PATH_MAX + 256; local
9726 (void) snprintf(cmd, cmd_len, "/usr/sbin/ucodeadm -i -R "