/drivers/scsi/lpfc/ |
H A D | lpfc_els.c | 367 LPFC_MBOXQ_t *mbox; local 381 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); 382 if (!mbox) { 388 lpfc_config_link(phba, mbox); 389 mbox->mbox_cmpl = lpfc_sli_def_mbox_cmpl; 390 mbox->vport = vport; 392 rc = lpfc_sli_issue_mbox(phba, mbox, MBX_NOWAIT); 398 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); 399 if (!mbox) { 403 rc = lpfc_reg_rpi(phba, vport->vpi, Fabric_DID, (uint8_t *)sp, mbox, 824 LPFC_MBOXQ_t *mbox; local 2473 struct lpfcMboxq *mbox; local 3735 LPFC_MBOXQ_t *mbox = NULL; local 3907 lpfc_els_rsp_acc(struct lpfc_vport *vport, uint32_t flag, struct lpfc_iocbq *oldiocb, struct lpfc_nodelist *ndlp, LPFC_MBOXQ_t *mbox) argument 4045 lpfc_els_rsp_reject(struct lpfc_vport *vport, uint32_t rejectError, struct lpfc_iocbq *oldiocb, struct lpfc_nodelist *ndlp, LPFC_MBOXQ_t *mbox) argument 5108 LPFC_MBOXQ_t *mbox; local 5597 LPFC_MBOXQ_t *mbox; local 5749 LPFC_MBOXQ_t *mbox; local 7318 LPFC_MBOXQ_t *mbox; local [all...] |
H A D | lpfc_sli.h | 93 struct lpfcMboxq *mbox; member in union:lpfc_iocbq::__anon5772 312 struct timer_list mbox_tmo; /* Hold clk to timeout active mbox 323 /* Timeout for normal outstanding mbox command (Seconds) */ 325 /* Timeout for non-flash-based outstanding sli_config mbox command (Seconds) */ 327 /* Timeout for flash-based outstanding sli_config mbox command (Seconds) */ 329 /* Timeout for other flash-based outstanding mbox command (Seconds) */
|
H A D | lpfc_bsg.c | 104 struct lpfc_bsg_mbox mbox; member in union:bsg_job_data::__anon5591 1862 * Let SLI layer release mboxq if mbox command completed after timeout. 2435 LPFC_MBOXQ_t *mbox; local 2439 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); 2440 if (!mbox) 2446 mbox, *rpi); 2452 mbox, *rpi); 2456 mempool_free(mbox, phba->mbox_mem_pool); 2462 dmabuff = (struct lpfc_dmabuf *) mbox->context1; 2463 mbox 2495 LPFC_MBOXQ_t *mbox; local [all...] |
H A D | lpfc_hbadisc.c | 1064 /* CLEAR_LA mbox error <mbxStatus> state <hba_state> */ 1785 * lpfc_sli4_fcf_rec_mbox_parse - Parse read_fcf mbox command. 2156 * lpfc_mbx_cmpl_fcf_scan_read_fcf_rec - fcf scan read_fcf mbox cmpl handler. 2532 * lpfc_mbx_cmpl_fcf_rr_read_fcf_rec - fcf roundrobin read_fcf mbox cmpl hdler 2700 * lpfc_init_vfi_cmpl - Completion handler for init_vfi mbox command. 2765 * lpfc_init_vpi_cmpl - Completion handler for init_vpi mbox command. 3007 /* READ_SPARAM mbox error <mbxStatus> state <hba_state> */ 3298 "1307 READ_LA mbox error x%x state x%x\n", 3448 * mbox reg login, we may have cycled 3451 * mbox need 3516 LPFC_MBOXQ_t *mbox; local 4492 LPFC_MBOXQ_t *mbox; local 4577 LPFC_MBOXQ_t *mbox; local 4607 LPFC_MBOXQ_t *mbox; local 4734 LPFC_MBOXQ_t *mbox; local 4974 LPFC_MBOXQ_t *mbox; local 6021 LPFC_MBOXQ_t *mbox; local [all...] |
H A D | lpfc.h | 289 LPFC_INIT_MBX_CMDS = 3, /* Initialize HBA with mbox commands */ 647 MAILBOX_t *mbox; member in struct:lpfc_hba 747 #define LPFC_INITIALIZE_LINK 0 /* do normal init_link mbox */ 788 void __iomem *MBslimaddr; /* virtual address for mbox cmds */
|
H A D | lpfc_sli.c | 201 q->phba->mbox = (MAILBOX_t *)temp_mqe; 232 q->phba->mbox = NULL; 1251 * lpfc_sli_ring_map - Issue config_ring mbox for all rings 1610 * (d) IOCB processing is not blocked by the outstanding mbox command. 2115 * lpfc_sli_wake_mbox_wait - lpfc_sli_issue_mbox_wait mbox completion handler 2273 * It is a fatal error if unknown mbox command completion. 3753 volatile uint32_t mbox; local 3785 mbox = 0; 3786 ((MAILBOX_t *)&mbox)->mbxCommand = MBX_KILL_BOARD; 3787 ((MAILBOX_t *)&mbox) 5075 LPFC_MBOXQ_t *mbox; local 5214 lpfc_sli4_cfg_post_extnts(struct lpfc_hba *phba, uint16_t extnt_cnt, uint16_t type, bool *emb, LPFC_MBOXQ_t *mbox) argument 5289 LPFC_MBOXQ_t *mbox; local 5514 LPFC_MBOXQ_t *mbox; local 5914 LPFC_MBOXQ_t *mbox; local 10876 MAILBOX_t *mbox, *pmbox; local 11626 MAILBOX_t *mbox, *pmbox; local 12848 LPFC_MBOXQ_t *mbox; local 12934 LPFC_MBOXQ_t *mbox; local 13058 LPFC_MBOXQ_t *mbox; local 13173 lpfc_mq_create_fb_init(struct lpfc_hba *phba, struct lpfc_queue *mq, LPFC_MBOXQ_t *mbox, struct lpfc_queue *cq) argument 13245 LPFC_MBOXQ_t *mbox; local 13399 LPFC_MBOXQ_t *mbox; local 13635 LPFC_MBOXQ_t *mbox; local 13897 LPFC_MBOXQ_t *mbox; local 13953 LPFC_MBOXQ_t *mbox; local 14007 LPFC_MBOXQ_t *mbox; local 14061 LPFC_MBOXQ_t *mbox; local 14115 LPFC_MBOXQ_t *mbox; local 14199 LPFC_MBOXQ_t *mbox; local 14367 LPFC_MBOXQ_t *mbox; local 14469 LPFC_MBOXQ_t *mbox; local 16402 lpfc_mbx_cmpl_redisc_fcf_table(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox) argument 16461 LPFC_MBOXQ_t *mbox; local 16755 LPFC_MBOXQ_t *mbox; local [all...] |
/drivers/scsi/ |
H A D | megaraid.c | 146 adapter->mbox = &adapter->una_mbox64->mbox; 148 adapter->mbox = (mbox_t *)((((unsigned long) adapter->mbox) + 15) & 151 adapter->mbox64 = (mbox64_t *)(((unsigned long)adapter->mbox) - 8); 153 align = ((void *)adapter->mbox) - ((void *)&adapter->una_mbox64->mbox); 199 mbox_t *mbox; local 204 mbox = (mbox_t *)raw_mbox; 207 memset(&mbox 526 mbox_t *mbox; local 1101 volatile mbox_t *mbox = adapter->mbox; local 1180 volatile mbox_t *mbox = adapter->mbox; local 1420 mbox_t *mbox = NULL; local 1705 volatile mbox_t *mbox = adapter->mbox; local 2161 volatile mbox_t *mbox = adapter->mbox; local 3623 mbox_t *mbox; local 3656 mbox_t *mbox; local 3711 mbox_t *mbox; local 3777 mbox_t *mbox; local 3806 mbox_t *mbox; local 3921 mbox_t *mbox; local 3966 mbox_t *mbox; local 4554 mbox_t *mbox = (mbox_t *)raw_mbox; local [all...] |
H A D | megaraid.h | 116 mbox_t mbox; member in struct:__anon5879 487 u8 mbox[18]; /* 16 bytes + 2 status bytes */ member in struct:uioctl_t 590 void __user *__uaddr; /* xferaddr for non-mbox cmds */ 598 u32 xferlen; /* xferlen for DCMD and non-mbox 772 /* mbox64 with mbox not aligned on 16-byte boundary */ 777 volatile mbox_t *mbox; /* ptr to standard mailbox */ member in struct:__anon5907
|
/drivers/net/wireless/ti/wlcore/ |
H A D | wlcore.h | 319 void *mbox; member in struct:wl1271 321 /* The mbox event mask */
|
/drivers/scsi/csiostor/ |
H A D | csio_hw.c | 1073 * If fw_rst is set, issues FW reset mbox cmd otherwise 1141 * @mbox: mailbox to use for the FW RESET command (if desired) 1146 * will only be issued if a legitimate mailbox is provided (mbox <= 1155 csio_hw_fw_halt(struct csio_hw *hw, uint32_t mbox, int32_t force) argument 1163 if (mbox <= PCIE_FW_MASTER_MASK) { 1233 csio_hw_fw_restart(struct csio_hw *hw, uint32_t mbox, int32_t reset) argument 1250 if (mbox <= PCIE_FW_MASTER_MASK) { 1277 * @mbox: mailbox to use for the FW RESET command (if desired) 1296 csio_hw_fw_upgrade(struct csio_hw *hw, uint32_t mbox, argument 1302 ret = csio_hw_fw_halt(hw, mbox, forc [all...] |
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.c | 220 static void dump_mbox(struct adapter *adap, int mbox, u32 data_reg) argument 223 "mbox %d: %llx %llx %llx %llx %llx %llx %llx %llx\n", mbox, 237 * @mbox: index of the mailbox to use 256 int t4_wr_mbox_meat(struct adapter *adap, int mbox, const void *cmd, int size, argument 267 u32 data_reg = PF_REG(mbox, CIM_PF_MAILBOX_DATA); 268 u32 ctl_reg = PF_REG(mbox, CIM_PF_MAILBOX_CTRL); 320 dump_mbox(adap, mbox, data_reg); 326 dump_mbox(adap, mbox, data_reg); 328 *(const u8 *)cmd, mbox); 1235 t4_link_start(struct adapter *adap, unsigned int mbox, unsigned int port, struct link_config *lc) argument 1273 t4_restart_aneg(struct adapter *adap, unsigned int mbox, unsigned int port) argument 2065 t4_config_rss_range(struct adapter *adapter, int mbox, unsigned int viid, int start, int n, const u16 *rspq, unsigned int nrspq) argument 2123 t4_config_glbl_rss(struct adapter *adapter, int mbox, unsigned int mode, unsigned int flags) argument 2571 t4_fwaddrspace_write(struct adapter *adap, unsigned int mbox, u32 addr, u32 val) argument 2598 t4_mdio_rd(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, unsigned int mmd, unsigned int reg, u16 *valp) argument 2629 t4_mdio_wr(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, unsigned int mmd, unsigned int reg, u16 val) argument 2763 t4_fw_hello(struct adapter *adap, unsigned int mbox, unsigned int evt_mbox, enum dev_master master, enum dev_state *state) argument 2889 t4_fw_bye(struct adapter *adap, unsigned int mbox) argument 2906 t4_early_init(struct adapter *adap, unsigned int mbox) argument 2923 t4_fw_reset(struct adapter *adap, unsigned int mbox, int reset) argument 2949 t4_fw_halt(struct adapter *adap, unsigned int mbox, int force) argument 3014 t4_fw_restart(struct adapter *adap, unsigned int mbox, int reset) argument 3077 t4_fw_upgrade(struct adapter *adap, unsigned int mbox, const u8 *fw_data, unsigned int size, int force) argument 3219 t4_fw_initialize(struct adapter *adap, unsigned int mbox) argument 3241 t4_query_params(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int nparams, const u32 *params, u32 *val) argument 3281 t4_set_params_nosleep(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int nparams, const u32 *params, const u32 *val) argument 3320 t4_set_params(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int nparams, const u32 *params, const u32 *val) argument 3364 t4_cfg_pfvf(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int txq, unsigned int txq_eth_ctrl, unsigned int rxqi, unsigned int rxq, unsigned int tc, unsigned int vi, unsigned int cmask, unsigned int pmask, unsigned int nexact, unsigned int rcaps, unsigned int wxcaps) argument 3407 t4_alloc_vi(struct adapter *adap, unsigned int mbox, unsigned int port, unsigned int pf, unsigned int vf, unsigned int nmac, u8 *mac, unsigned int *rss_size) argument 3458 t4_set_rxmode(struct adapter *adap, unsigned int mbox, unsigned int viid, int mtu, int promisc, int all_multi, int bcast, int vlanex, bool sleep_ok) argument 3510 t4_alloc_mac_filt(struct adapter *adap, unsigned int mbox, unsigned int viid, bool free, unsigned int naddr, const u8 **addr, u16 *idx, u64 *hash, bool sleep_ok) argument 3573 t4_change_mac(struct adapter *adap, unsigned int mbox, unsigned int viid, int idx, const u8 *addr, bool persist, bool add_smt) argument 3616 t4_set_addr_hash(struct adapter *adap, unsigned int mbox, unsigned int viid, bool ucast, u64 vec, bool sleep_ok) argument 3643 t4_enable_vi_params(struct adapter *adap, unsigned int mbox, unsigned int viid, bool rx_en, bool tx_en, bool dcb_en) argument 3668 t4_enable_vi(struct adapter *adap, unsigned int mbox, unsigned int viid, bool rx_en, bool tx_en) argument 3683 t4_identify_port(struct adapter *adap, unsigned int mbox, unsigned int viid, unsigned int nblinks) argument 3709 t4_iq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int iqtype, unsigned int iqid, unsigned int fl0id, unsigned int fl1id) argument 3737 t4_eth_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int eqid) argument 3761 t4_ctrl_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int eqid) argument 3785 t4_ofld_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int eqid) argument 4107 t4_port_init(struct adapter *adap, int mbox, int pf, int vf) argument [all...] |
H A D | cxgb4.h | 624 unsigned int mbox; member in struct:adapter 942 int t4_wr_mbox_meat(struct adapter *adap, int mbox, const void *cmd, int size, 945 static inline int t4_wr_mbox(struct adapter *adap, int mbox, const void *cmd, argument 948 return t4_wr_mbox_meat(adap, mbox, cmd, size, rpl, true); 951 static inline int t4_wr_mbox_ns(struct adapter *adap, int mbox, const void *cmd, argument 954 return t4_wr_mbox_meat(adap, mbox, cmd, size, rpl, false); 972 int t4_link_start(struct adapter *adap, unsigned int mbox, unsigned int port, 974 int t4_restart_aneg(struct adapter *adap, unsigned int mbox, unsigned int port); 989 int t4_fw_upgrade(struct adapter *adap, unsigned int mbox, 1000 int t4_port_init(struct adapter *adap, int mbox, in [all...] |
H A D | cxgb4_main.c | 524 err = t4_set_params_nosleep(adap, adap->mbox, adap->fn, 0, 1, 2940 unsigned int mbox = FW_PCIE_FW_MASTER_MASK + 1; local 2953 mbox = adap->mbox; 2955 ret = t4_fw_upgrade(adap, mbox, fw->data, fw->size, 1); 3516 return t4_wr_mbox_meat(adap, adap->mbox, &c, sizeof(c), &c, false); 3533 return t4_wr_mbox_meat(adap, adap->mbox, &c, sizeof(c), &c, false); 3822 ret = t4_fwaddrspace_write(adap, adap->mbox, 4830 unsigned int mbox; local 4853 mbox [all...] |
/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.c | 511 * Polls on the mbox doorbell till a command completion (or a timeout) occurs 519 struct be_mcc_mailbox *mbox = mbox_mem->va; local 520 struct be_mcc_compl *compl = &mbox->compl; 528 /* at bits 2 - 31 place mbox dma addr msb bits 34 - 63 */ 538 /* at bits 2 - 31 place mbox dma addr lsb bits 4 - 33 */ 548 status = be_mcc_compl_process(adapter, &mbox->compl); 829 * special pattern across the wrb hdr; uses mbox 859 * special pattern across the wrb hdr; uses mbox 2035 /* Uses mbox */ 2069 /* Uses mbox */ [all...] |
/drivers/gpu/drm/i915/ |
H A D | intel_pm.c | 7312 int sandybridge_pcode_read(struct drm_i915_private *dev_priv, u8 mbox, u32 *val) argument 7322 I915_WRITE(GEN6_PCODE_MAILBOX, GEN6_PCODE_READY | mbox); 7326 DRM_ERROR("timeout waiting for pcode read (%d) to finish\n", mbox); 7336 int sandybridge_pcode_write(struct drm_i915_private *dev_priv, u8 mbox, u32 val) argument 7346 I915_WRITE(GEN6_PCODE_MAILBOX, GEN6_PCODE_READY | mbox); 7350 DRM_ERROR("timeout waiting for pcode write (%d) to finish\n", mbox);
|
/drivers/media/pci/ivtv/ |
H A D | ivtv-driver.h | 214 volatile struct ivtv_mailbox __iomem *mbox; member in struct:ivtv_mailbox_data
|
/drivers/scsi/qla4xxx/ |
H A D | ql4_def.h | 262 struct mbox_cmd_iocb *mbox; member in struct:mrb 818 /* mbox iocb */
|
/drivers/net/ethernet/sun/ |
H A D | niu.c | 3701 struct rxdma_mailbox *mbox = rp->mbox; local 3708 stat = le64_to_cpup(&mbox->rx_dma_ctl_stat); 3709 qlen = (le64_to_cpup(&mbox->rcrstat_a) & RCRSTAT_A_QLEN); 3711 mbox->rx_dma_ctl_stat = 0; 3712 mbox->rcrstat_a = 0; 4147 struct rxdma_mailbox *mbox = rp->mbox; local 4148 u64 stat_write, stat = le64_to_cpup(&mbox->rx_dma_ctl_stat); 4259 if (rp->mbox) { [all...] |
H A D | niu.h | 2866 struct txdma_mailbox *mbox; member in struct:rx_pkt_hdr0::tx_ring_info 2920 struct rxdma_mailbox *mbox; member in struct:rx_pkt_hdr0::rx_ring_info
|
/drivers/scsi/megaraid/ |
H A D | megaraid_sas.h | 1331 } mbox; member in struct:megasas_dcmd_frame
|
/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 596 void __iomem *mbox = tp->regs + off; local 597 writel(val, mbox); 599 writel(val, mbox); 602 readl(mbox); 7476 * Writing any value to intr-mbox-0 clears PCI INTA# and 7478 * Writing non-zero to intr-mbox-0 additional tells the 7510 * Writing any value to intr-mbox-0 clears PCI INTA# and 7512 * Writing non-zero to intr-mbox-0 additional tells the 7559 * writing any value to intr-mbox-0 clears PCI INTA# and 7561 * writing non-zero to intr-mbox 9585 u32 mbox = MAILBOX_SNDNIC_PROD_IDX_0 + TG3_64BIT_REG_LOW; local [all...] |