/titanic_41/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 | 997 struct e1000_mbx_info mbx; member
|
H A D | e1000_82575.c | 536 hw->mbx.ops.init_params = e1000_init_mbx_params_pf; in e1000_init_function_pointers_82575()
|
/titanic_41/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_mbx.c | 49 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() 83 else if (mbx->ops.write) in ixgbe_write_mbx() 84 ret_val = mbx->ops.write(hw, msg, size, mbx_id); in ixgbe_write_mbx() 98 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_check_for_msg() local [all …]
|
H A D | ixgbe_x540.c | 135 hw->mbx.ops.init_params = ixgbe_init_mbx_params_pf; in ixgbe_init_ops_X540()
|
H A D | ixgbe_82599.c | 275 hw->mbx.ops.init_params = ixgbe_init_mbx_params_pf; in ixgbe_init_ops_82599()
|
H A D | ixgbe_type.h | 3140 struct ixgbe_mbx_info mbx; member
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_mbx.c | 93 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 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,
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_isr.c | 162 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 D | ql_xioctl.c | 1878 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_41/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
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_sli3.c | 2862 &((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 D | emlxs_dfc.c | 8021 ((SLIM2 *)hba->sli.sli3.slim2.virt)->mbx.us.s2.port; in emlxs_get_dump_region()
|
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_mbox.h | 4687 MAILBOX mbx; member 4698 MAILBOX mbx; member
|
/titanic_41/usr/src/uts/sun4u/starfire/sys/ |
H A D | idn.h | 3676 extern idn_mainmbox_t *idn_mainmbox_init(int domid, int mbx);
|
/titanic_41/usr/src/uts/sun4u/starfire/io/ |
H A D | idn_proto.c | 10020 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()
|