/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_mbx.c | 74 struct e1000_mbx_info *mbx = &hw->mbx; in e1000_read_mbx() local 80 if (size > mbx->size) in e1000_read_mbx() 81 size = mbx->size; in e1000_read_mbx() 83 if (mbx->ops.read) in e1000_read_mbx() 84 ret_val = mbx->ops.read(hw, msg, size, mbx_id); in e1000_read_mbx() 100 struct e1000_mbx_info *mbx = &hw->mbx; in e1000_write_mbx() local 105 if (size > mbx->size) in e1000_write_mbx() 108 else if (mbx->ops.write) in e1000_write_mbx() 109 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in e1000_write_mbx() 123 struct e1000_mbx_info *mbx = &hw->mbx; in e1000_check_for_msg() local [all …]
|
H A D | e1000_vf.c | 151 hw->mbx.ops.init_params = e1000_init_mbx_params_vf; in e1000_init_function_pointers_vf() 260 struct e1000_mbx_info *mbx = &hw->mbx; in e1000_reset_hw_vf() local 273 while (!mbx->ops.check_for_rst(hw, 0) && timeout) { in e1000_reset_hw_vf() 280 mbx->timeout = E1000_VF_MBX_INIT_TIMEOUT; in e1000_reset_hw_vf() 283 mbx->ops.write_posted(hw, msgbuf, 1, 0); in e1000_reset_hw_vf() 288 ret_val = mbx->ops.read_posted(hw, msgbuf, 3, 0); in e1000_reset_hw_vf() 326 struct e1000_mbx_info *mbx = &hw->mbx; in e1000_rar_set_vf() local 334 ret_val = mbx->ops.write_posted(hw, msgbuf, 3, 0); in e1000_rar_set_vf() 337 ret_val = mbx->ops.read_posted(hw, msgbuf, 3, 0); in e1000_rar_set_vf() 383 struct e1000_mbx_info *mbx = &hw->mbx; in e1000_write_msg_read_ack() local [all …]
|
H A D | e1000_vf.h | 269 struct e1000_mbx_info mbx; member
|
H A D | e1000_api.c | 126 if (hw->mbx.ops.init_params) { in e1000_init_mbx_params() 127 ret_val = hw->mbx.ops.init_params(hw); in e1000_init_mbx_params()
|
H A D | e1000_hw.h | 1084 struct e1000_mbx_info mbx; member
|
H A D | e1000_82575.c | 541 hw->mbx.ops.init_params = e1000_init_mbx_params_pf; in e1000_init_function_pointers_82575()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_mbx.c | 96 struct oce_bmbx *mbx; in oce_mbox_init() local 102 mbx = (struct oce_bmbx *)DBUF_VA(dev->bmbx); in oce_mbox_init() 103 ptr = (uint8_t *)&mbx->mbx; in oce_mbox_init() 250 oce_mbox_post(struct oce_dev *dev, struct oce_mbx *mbx, in oce_mbox_post() argument 262 mb_mbx = &mb->mbx; in oce_mbox_post() 265 tmo = mbx->tag[0]; in oce_mbox_post() 266 mbx->tag[0] = 0; in oce_mbox_post() 269 bcopy(mbx, mb_mbx, sizeof (struct oce_mbx)); in oce_mbox_post() 297 bcopy(mb_mbx, mbx, sizeof (struct oce_mbx)); in oce_mbox_post() 316 mbxctx->mbx = mb_mbx; in oce_mbox_post() [all …]
|
H A D | oce_queue.c | 32 int oce_destroy_q(struct oce_dev *oce, struct oce_mbx *mbx, size_t req_size, 77 struct oce_mbx mbx; in oce_eq_create() local 88 bzero(&mbx, sizeof (struct oce_mbx)); in oce_eq_create() 90 fwcmd = (struct mbx_create_common_eq *)&mbx.payload; in oce_eq_create() 127 mbx.u0.s.embedded = 1; in oce_eq_create() 128 mbx.payload_length = sizeof (struct mbx_create_common_eq); in oce_eq_create() 129 DW_SWAP(u32ptr(&mbx), mbx.payload_length + OCE_BMBX_RHDR_SZ); in oce_eq_create() 132 ret = oce_mbox_post(dev, &mbx, NULL); in oce_eq_create() 165 struct oce_mbx mbx; in oce_eq_del() local 176 fwcmd = (struct mbx_destroy_common_eq *)&mbx.payload; in oce_eq_del() [all …]
|
H A D | oce_hw.c | 40 extern int oce_destroy_q(struct oce_dev *dev, struct oce_mbx *mbx,
|
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_mbx.c | 48 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_poll_for_msg() local 49 int countdown = mbx->timeout; in ixgbe_poll_for_msg() 53 if (!countdown || !mbx->ops.check_for_msg) in ixgbe_poll_for_msg() 56 while (countdown && mbx->ops.check_for_msg(hw, mbx_id)) { in ixgbe_poll_for_msg() 60 usec_delay(mbx->usec_delay); in ixgbe_poll_for_msg() 80 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_poll_for_ack() local 81 int countdown = mbx->timeout; in ixgbe_poll_for_ack() 85 if (!countdown || !mbx->ops.check_for_ack) in ixgbe_poll_for_ack() 88 while (countdown && mbx->ops.check_for_ack(hw, mbx_id)) { in ixgbe_poll_for_ack() 92 usec_delay(mbx->usec_delay); in ixgbe_poll_for_ack() [all …]
|
H A D | ixgbe_vf.c | 90 hw->mbx.ops.init_params = ixgbe_init_mbx_params_vf; in ixgbe_init_ops_vf() 180 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_reset_hw_vf() local 202 while (!mbx->ops.check_for_rst(hw, 0) && timeout) { in ixgbe_reset_hw_vf() 214 mbx->timeout = IXGBE_VF_MBX_INIT_TIMEOUT; in ixgbe_reset_hw_vf() 217 mbx->ops.write_posted(hw, msgbuf, 1, 0); in ixgbe_reset_hw_vf() 226 ret_val = mbx->ops.read_posted(hw, msgbuf, in ixgbe_reset_hw_vf() 332 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbevf_write_msg_read_ack() local 333 s32 retval = mbx->ops.write_posted(hw, msg, size, 0); in ixgbevf_write_msg_read_ack() 338 return mbx->ops.read_posted(hw, retmsg, size, 0); in ixgbevf_write_msg_read_ack() 388 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_update_mc_addr_list_vf() local [all …]
|
H A D | ixgbe_x540.c | 149 hw->mbx.ops.init_params = ixgbe_init_mbx_params_pf; in ixgbe_init_ops_X540()
|
H A D | ixgbe_82599.c | 389 hw->mbx.ops.init_params = ixgbe_init_mbx_params_pf; in ixgbe_init_ops_82599()
|
H A D | ixgbe_type.h | 4159 struct ixgbe_mbx_info mbx; member
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_isr.c | 248 uint32_t mbx, stat; in ql_isr_aif() local 300 mbx = ddi_get32(rsp_q->rsp_ring.acc_handle, in ql_isr_aif() 303 mbx = RD32_MBAR_REG(ha, rsp_q->mbar_rsp_in); in ql_isr_aif() 306 if (mbx != rsp_q->rsp_ring_index) { in ql_isr_aif() 307 rsp_q->isp_rsp_index = (uint16_t)mbx; in ql_isr_aif() 330 mbx = RD16_IO_REG(ha, mailbox_out[0]); in ql_isr_aif() 331 if (mbx > 0x3fff && mbx < 0x8000) { in ql_isr_aif() 332 ql_mbx_completion(ha, mbx, in ql_isr_aif() 334 } else if (mbx > 0x7fff && mbx < 0xc000) { in ql_isr_aif() 335 ql_async_event(ha, rsp_q, mbx, in ql_isr_aif() [all …]
|
H A D | ql_xioctl.c | 1963 uint16_t *mbx; in ql_enqueue_aen() local 2010 mbx = (uint16_t *)payload; in ql_enqueue_aen() 2013 LSB(mbx[2]); in ql_enqueue_aen() 2016 MSB(mbx[2]); in ql_enqueue_aen() 2019 LSB(mbx[1]); in ql_enqueue_aen() 2025 MSB(mbx[1]); in ql_enqueue_aen()
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_io.h | 193 struct oce_mbx *mbx; member 317 int oce_mbox_post(struct oce_dev *dev, struct oce_mbx *mbx, 351 int oce_mq_mbox_post(struct oce_dev *dev, struct oce_mbx *mbx,
|
H A D | oce_hw.h | 592 struct oce_mbx mbx; member
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_sli3.c | 2867 &((SLIM2 *)hba->sli.sli3.slim2.virt)->mbx.us.s2.port[channelno]; in emlxs_sli3_issue_iocb_cmd() 2967 slim2p->mbx.us.s2.host[channelno]. in emlxs_sli3_issue_iocb_cmd() 2974 ((unsigned long)&(slim2p->mbx.us. in emlxs_sli3_issue_iocb_cmd() 3051 slim2p->mbx.us.s2.host[channelno]. in emlxs_sli3_issue_iocb_cmd() 3056 ((uint64_t)((unsigned long)&(slim2p->mbx.us.s2. in emlxs_sli3_issue_iocb_cmd() 3105 slim2p->mbx.us.s2.host[channelno].cmdPutInx = in emlxs_sli3_issue_iocb_cmd() 3110 ((uint64_t)((unsigned long)&(slim2p->mbx.us.s2. in emlxs_sli3_issue_iocb_cmd() 4773 pgp = (PGP *)&slim2p->mbx.us.s2.port[ring_no]; in emlxs_sli3_handle_ring_event() 4997 slim2p->mbx.us.s2.host[channel_no].rspGetInx in emlxs_sli3_handle_ring_event() 5002 ((uint64_t)((unsigned long)&(slim2p->mbx.us.s2. in emlxs_sli3_handle_ring_event() [all …]
|
H A D | emlxs_dfc.c | 8079 ((SLIM2 *)hba->sli.sli3.slim2.virt)->mbx.us.s2.port; in emlxs_get_dump_region()
|
/illumos-gate/usr/src/test/util-tests/tests/awk/examples/out/ |
H A D | t.gsub1 | 19 7450 mbx
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_mbox.h | 4886 MAILBOX mbx; member 4897 MAILBOX mbx; member
|