Home
last modified time | relevance | path

Searched refs:mbx (Results 1 – 23 of 23) sorted by relevance

/titanic_50/usr/src/uts/common/io/e1000api/
H A De1000_mbx.c74 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 De1000_vf.c151 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 De1000_vf.h269 struct e1000_mbx_info mbx; member
H A De1000_api.c126 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 De1000_hw.h999 struct e1000_mbx_info mbx; member
H A De1000_82575.c541 hw->mbx.ops.init_params = e1000_init_mbx_params_pf; in e1000_init_function_pointers_82575()
/titanic_50/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_mbx.c49 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_read_mbx() local
55 if (size > mbx->size) in ixgbe_read_mbx()
56 size = mbx->size; in ixgbe_read_mbx()
58 if (mbx->ops.read) in ixgbe_read_mbx()
59 ret_val = mbx->ops.read(hw, msg, size, mbx_id); in ixgbe_read_mbx()
75 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_write_mbx() local
80 if (size > mbx->size) { in ixgbe_write_mbx()
84 } else if (mbx->ops.write) in ixgbe_write_mbx()
85 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in ixgbe_write_mbx()
99 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_check_for_msg() local
[all …]
H A Dixgbe_vf.c87 hw->mbx.ops.init_params = ixgbe_init_mbx_params_vf; in ixgbe_init_ops_vf()
177 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_reset_hw_vf() local
199 while (!mbx->ops.check_for_rst(hw, 0) && timeout) { in ixgbe_reset_hw_vf()
211 mbx->timeout = IXGBE_VF_MBX_INIT_TIMEOUT; in ixgbe_reset_hw_vf()
214 mbx->ops.write_posted(hw, msgbuf, 1, 0); in ixgbe_reset_hw_vf()
223 ret_val = mbx->ops.read_posted(hw, msgbuf, in ixgbe_reset_hw_vf()
327 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbevf_write_msg_read_ack() local
329 s32 retval = mbx->ops.write_posted(hw, msg, size, 0); in ixgbevf_write_msg_read_ack()
332 mbx->ops.read_posted(hw, retmsg, size, 0); in ixgbevf_write_msg_read_ack()
346 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_set_rar_vf() local
[all …]
H A Dixgbe_x540.c143 hw->mbx.ops.init_params = ixgbe_init_mbx_params_pf; in ixgbe_init_ops_X540()
H A Dixgbe_82599.c388 hw->mbx.ops.init_params = ixgbe_init_mbx_params_pf; in ixgbe_init_ops_82599()
H A Dixgbe_type.h3890 struct ixgbe_mbx_info mbx; member
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_mbx.c93 struct oce_bmbx *mbx; in oce_mbox_init() local
99 mbx = (struct oce_bmbx *)DBUF_VA(dev->bmbx); in oce_mbox_init()
100 ptr = (uint8_t *)&mbx->mbx; in oce_mbox_init()
247 oce_mbox_post(struct oce_dev *dev, struct oce_mbx *mbx, in oce_mbox_post() argument
259 mb_mbx = &mb->mbx; in oce_mbox_post()
262 tmo = mbx->tag[0]; in oce_mbox_post()
263 mbx->tag[0] = 0; in oce_mbox_post()
266 bcopy(mbx, mb_mbx, sizeof (struct oce_mbx)); in oce_mbox_post()
294 bcopy(mb_mbx, mbx, sizeof (struct oce_mbx)); in oce_mbox_post()
313 mbxctx->mbx = mb_mbx; in oce_mbox_post()
[all …]
H A Doce_queue.c32 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 Doce_hw.c40 extern int oce_destroy_q(struct oce_dev *dev, struct oce_mbx *mbx,
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_isr.c162 uint16_t mbx; in ql_isr_aif() local
206 mbx = RD16_IO_REG(ha, mailbox_out[23]); in ql_isr_aif()
208 if ((mbx & 3) == MBX23_SCSI_COMPLETION) { in ql_isr_aif()
218 mbx >>= 4; in ql_isr_aif()
219 stat = mbx & OSC_INDEX_MASK; in ql_isr_aif()
226 == mbx) { in ql_isr_aif()
241 } else if (mbx != in ql_isr_aif()
246 mbx); in ql_isr_aif()
250 "sp=%xh\n", mbx, in ql_isr_aif()
273 mbx = RD16_IO_REG(ha, semaphore); in ql_isr_aif()
[all …]
H A Dql_xioctl.c1878 uint16_t *mbx; in ql_enqueue_aen() local
1925 mbx = (uint16_t *)payload; in ql_enqueue_aen()
1928 LSB(mbx[2]); in ql_enqueue_aen()
1931 MSB(mbx[2]); in ql_enqueue_aen()
1934 LSB(mbx[1]); in ql_enqueue_aen()
1940 MSB(mbx[1]); in ql_enqueue_aen()
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_io.h193 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 Doce_hw.h592 struct oce_mbx mbx; member
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_sli3.c2862 &((SLIM2 *)hba->sli.sli3.slim2.virt)->mbx.us.s2.port[channelno]; in emlxs_sli3_issue_iocb_cmd()
2962 slim2p->mbx.us.s2.host[channelno]. in emlxs_sli3_issue_iocb_cmd()
2969 ((unsigned long)&(slim2p->mbx.us. in emlxs_sli3_issue_iocb_cmd()
3046 slim2p->mbx.us.s2.host[channelno]. in emlxs_sli3_issue_iocb_cmd()
3051 ((uint64_t)((unsigned long)&(slim2p->mbx.us.s2. in emlxs_sli3_issue_iocb_cmd()
3100 slim2p->mbx.us.s2.host[channelno].cmdPutInx = in emlxs_sli3_issue_iocb_cmd()
3105 ((uint64_t)((unsigned long)&(slim2p->mbx.us.s2. in emlxs_sli3_issue_iocb_cmd()
4768 pgp = (PGP *)&slim2p->mbx.us.s2.port[ring_no]; in emlxs_sli3_handle_ring_event()
4992 slim2p->mbx.us.s2.host[channel_no].rspGetInx in emlxs_sli3_handle_ring_event()
4997 ((uint64_t)((unsigned long)&(slim2p->mbx.us.s2. in emlxs_sli3_handle_ring_event()
[all …]
H A Demlxs_dfc.c8021 ((SLIM2 *)hba->sli.sli3.slim2.virt)->mbx.us.s2.port; in emlxs_get_dump_region()
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_mbox.h4687 MAILBOX mbx; member
4698 MAILBOX mbx; member
/titanic_50/usr/src/uts/sun4u/starfire/sys/
H A Didn.h3676 extern idn_mainmbox_t *idn_mainmbox_init(int domid, int mbx);
/titanic_50/usr/src/uts/sun4u/starfire/io/
H A Didn_proto.c10020 idn_mainmbox_init(int domid, int mbx) in idn_mainmbox_init() argument
10031 proc, IDNMBOX_IS_RECV(mbx) ? "RECV" : "SEND", domid); in idn_mainmbox_init()
10039 mmp->mm_type = mbx; in idn_mainmbox_init()