Home
last modified time | relevance | path

Searched refs:fwcmd (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_mbx.c336 struct mbx_get_common_fw_version *fwcmd; in oce_get_fw_version() local
342 fwcmd = (struct mbx_get_common_fw_version *)&mbx.payload; in oce_get_fw_version()
343 mbx_common_req_hdr_init(&fwcmd->hdr, 0, 0, in oce_get_fw_version()
360 bcopy(fwcmd->params.rsp.fw_ver_str, dev->fw_version, 32); in oce_get_fw_version()
363 fwcmd->params.rsp.fw_ver_str, in oce_get_fw_version()
364 fwcmd->params.rsp.fw_on_flash_ver_str); in oce_get_fw_version()
383 struct ioctl_common_function_reset *fwcmd; in oce_reset_fun() local
389 fwcmd = (struct ioctl_common_function_reset *)&mbx->payload; in oce_reset_fun()
390 mbx_common_req_hdr_init(&fwcmd->hdr, 0, 0, in oce_reset_fun()
422 struct mbx_query_common_iface_mac *fwcmd; in oce_read_mac_addr() local
[all …]
H A Doce_queue.c78 struct mbx_create_common_eq *fwcmd; in oce_eq_create() local
90 fwcmd = (struct mbx_create_common_eq *)&mbx.payload; in oce_eq_create()
102 mbx_common_req_hdr_init(&fwcmd->hdr, 0, 0, in oce_eq_create()
107 fwcmd->params.req.num_pages = eq->ring->dbuf->num_pages; in oce_eq_create()
108 oce_page_list(eq->ring->dbuf, &fwcmd->params.req.pages[0], in oce_eq_create()
112 fwcmd->params.req.eq_ctx.size = (item_size == 4) ? 0 : 1; in oce_eq_create()
113 fwcmd->params.req.eq_ctx.valid = 1; in oce_eq_create()
115 fwcmd->params.req.eq_ctx.armed = 0; in oce_eq_create()
116 fwcmd->params.req.eq_ctx.pd = 0; in oce_eq_create()
117 fwcmd->params.req.eq_ctx.count = OCE_LOG2(q_len/256); in oce_eq_create()
[all …]