/drivers/net/ethernet/intel/igbvf/ |
H A D | mbx.c | 28 #include "mbx.h" 38 struct e1000_mbx_info *mbx = &hw->mbx; local 39 int countdown = mbx->timeout; 41 if (!mbx->ops.check_for_msg) 44 while (countdown && mbx->ops.check_for_msg(hw)) { 46 udelay(mbx->usec_delay); 51 mbx->timeout = 0; 64 struct e1000_mbx_info *mbx = &hw->mbx; local 93 struct e1000_mbx_info *mbx = &hw->mbx; local 119 struct e1000_mbx_info *mbx = &hw->mbx; local 325 struct e1000_mbx_info *mbx = &hw->mbx; local [all...] |
H A D | vf.c | 84 hw->mbx.ops.init_params = e1000_init_mbx_params_vf; 126 struct e1000_mbx_info *mbx = &hw->mbx; local 138 while (!mbx->ops.check_for_rst(hw) && timeout) { 145 mbx->timeout = E1000_VF_MBX_INIT_TIMEOUT; 149 mbx->ops.write_posted(hw, msgbuf, 1); 154 ret_val = mbx->ops.read_posted(hw, msgbuf, 3); 227 struct e1000_mbx_info *mbx = &hw->mbx; local 252 mbx 263 struct e1000_mbx_info *mbx = &hw->mbx; local 292 struct e1000_mbx_info *mbx = &hw->mbx; local 309 struct e1000_mbx_info *mbx = &hw->mbx; local 351 struct e1000_mbx_info *mbx = &hw->mbx; local [all...] |
H A D | vf.h | 173 #include "mbx.h" 247 struct e1000_mbx_info mbx; member in struct:e1000_hw
|
/drivers/net/ethernet/intel/ixgbevf/ |
H A D | mbx.c | 28 #include "mbx.h" 39 struct ixgbe_mbx_info *mbx = &hw->mbx; local 40 int countdown = mbx->timeout; 42 while (countdown && mbx->ops.check_for_msg(hw)) { 44 udelay(mbx->udelay); 49 mbx->timeout = 0; 62 struct ixgbe_mbx_info *mbx = &hw->mbx; local 63 int countdown = mbx 88 struct ixgbe_mbx_info *mbx = &hw->mbx; local 111 struct ixgbe_mbx_info *mbx = &hw->mbx; local 314 struct ixgbe_mbx_info *mbx = &hw->mbx; local [all...] |
H A D | vf.c | 73 struct ixgbe_mbx_info *mbx = &hw->mbx; local 86 while (!mbx->ops.check_for_rst(hw) && timeout) { 95 mbx->timeout = IXGBE_VF_MBX_INIT_TIMEOUT; 98 mbx->ops.write_posted(hw, msgbuf, 1); 105 ret_val = mbx->ops.read_posted(hw, msgbuf, IXGBE_VF_PERMADDR_MSG_LEN); 222 struct ixgbe_mbx_info *mbx = &hw->mbx; local 238 ret_val = mbx->ops.write_posted(hw, msgbuf, 3); 241 ret_val = mbx 263 struct ixgbe_mbx_info *mbx = &hw->mbx; local 289 struct ixgbe_mbx_info *mbx = &hw->mbx; local [all...] |
H A D | vf.h | 39 #include "mbx.h" 131 struct ixgbe_mbx_info mbx; member in struct:ixgbe_hw
|
/drivers/net/ethernet/intel/igb/ |
H A D | e1000_mbx.c | 41 struct e1000_mbx_info *mbx = &hw->mbx; local 45 if (size > mbx->size) 46 size = mbx->size; 48 if (mbx->ops.read) 49 ret_val = mbx->ops.read(hw, msg, size, mbx_id); 65 struct e1000_mbx_info *mbx = &hw->mbx; local 68 if (size > mbx->size) 71 else if (mbx 86 struct e1000_mbx_info *mbx = &hw->mbx; local 104 struct e1000_mbx_info *mbx = &hw->mbx; local 122 struct e1000_mbx_info *mbx = &hw->mbx; local 140 struct e1000_mbx_info *mbx = &hw->mbx; local 169 struct e1000_mbx_info *mbx = &hw->mbx; local 201 struct e1000_mbx_info *mbx = &hw->mbx; local 227 struct e1000_mbx_info *mbx = &hw->mbx; local 423 struct e1000_mbx_info *mbx = &hw->mbx; local [all...] |
H A D | e1000_hw.h | 507 struct e1000_mbx_info mbx; member in struct:e1000_hw
|
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_mbx.c | 45 struct ixgbe_mbx_info *mbx = &hw->mbx; local 49 if (size > mbx->size) 50 size = mbx->size; 52 if (mbx->ops.read) 53 ret_val = mbx->ops.read(hw, msg, size, mbx_id); 69 struct ixgbe_mbx_info *mbx = &hw->mbx; local 72 if (size > mbx->size) 75 else if (mbx 90 struct ixgbe_mbx_info *mbx = &hw->mbx; local 108 struct ixgbe_mbx_info *mbx = &hw->mbx; local 126 struct ixgbe_mbx_info *mbx = &hw->mbx; local 144 struct ixgbe_mbx_info *mbx = &hw->mbx; local 170 struct ixgbe_mbx_info *mbx = &hw->mbx; local 200 struct ixgbe_mbx_info *mbx = &hw->mbx; local 228 struct ixgbe_mbx_info *mbx = &hw->mbx; local 443 struct ixgbe_mbx_info *mbx = &hw->mbx; local [all...] |
H A D | ixgbe_type.h | 2891 struct ixgbe_mbx_info mbx; member in struct:ixgbe_hw
|
/drivers/atm/ |
H A D | zatm.c | 359 static void poll_rx(struct atm_dev *dev,int mbx) argument 368 pos = (zatm_dev->mbx_start[mbx] & ~0xffffUL) | zin(MTA(mbx)); 369 while (x = zin(MWA(mbx)), (pos & 0xffff) != x) { 377 if (((pos += 16) & 0xffff) == zatm_dev->mbx_end[mbx]) 378 pos = zatm_dev->mbx_start[mbx]; 474 zout(pos & 0xffff,MTA(mbx)); 741 static void poll_tx(struct atm_dev *dev,int mbx) argument 749 pos = (zatm_dev->mbx_start[mbx] & ~0xffffUL) | zin(MTA(mbx)); 1305 void *mbx; local [all...] |
/drivers/scsi/qla2xxx/ |
H A D | qla_iocb.c | 1905 qla2x00_login_iocb(srb_t *sp, struct mbx_entry *mbx) argument 1911 mbx->entry_type = MBX_IOCB_TYPE; 1912 SET_TARGET_ID(ha, mbx->loop_id, sp->fcport->loop_id); 1913 mbx->mb0 = cpu_to_le16(MBC_LOGIN_FABRIC_PORT); 1917 mbx->mb1 = cpu_to_le16(sp->fcport->loop_id); 1918 mbx->mb10 = cpu_to_le16(opts); 1920 mbx->mb1 = cpu_to_le16((sp->fcport->loop_id << 8) | opts); 1922 mbx->mb2 = cpu_to_le16(sp->fcport->d_id.b.domain); 1923 mbx->mb3 = cpu_to_le16(sp->fcport->d_id.b.area << 8 | 1925 mbx 1942 qla2x00_logout_iocb(srb_t *sp, struct mbx_entry *mbx) argument 1969 qla2x00_adisc_iocb(srb_t *sp, struct mbx_entry *mbx) argument [all...] |
H A D | qla_isr.c | 324 uint16_t cnt, mbx; local 407 mbx = (IS_QLA81XX(ha) || IS_QLA83XX(ha)) ? 411 "mbx7=%xh.\n", mb[1], mb[2], mb[3], mbx); 424 if ((mbx & MBX_3) && (ha->flags.port0)) 502 mbx = (IS_QLA81XX(ha) || IS_QLA8031(ha)) 504 mbx = IS_QLA82XX(ha) ? RD_REG_WORD(®82->mailbox_out[4]) : mbx; 507 mb[1], mb[2], mb[3], mbx); 894 struct mbx_entry *mbx) 904 sp = qla2x00_get_sp_from_handle(vha, func, req, mbx); 893 qla2x00_mbx_iocb_entry(scsi_qla_host_t *vha, struct req_que *req, struct mbx_entry *mbx) argument [all...] |
H A D | qla_fw.h | 724 uint16_t mbx[28]; member in struct:mbx_entry_24xx
|
/drivers/scsi/lpfc/ |
H A D | lpfc_bsg.c | 3780 uint8_t *mbx; local 3876 mbx = (uint8_t *)dmabuf->virt; 3877 memcpy(pmb, mbx, sizeof(*pmb)); 3888 dd_data->context_un.mbox.mb = (MAILBOX_t *)mbx;
|
H A D | lpfc_hw.h | 3070 DUMP_VAR varDmp; /* Warm Start DUMP mbx cmd */ 3782 MAILBOX_t mbx; member in struct:lpfc_sli2_slim
|