| /linux/drivers/mailbox/ |
| H A D | mailbox-altera.c | 60 static inline int altera_mbox_full(struct altera_mbox *mbox) in altera_mbox_full() 68 static inline int altera_mbox_pending(struct altera_mbox *mbox) in altera_mbox_pending() 76 static void altera_mbox_rx_intmask(struct altera_mbox *mbox, bool enable) in altera_mbox_rx_intmask() 88 static void altera_mbox_tx_intmask(struct altera_mbox *mbox, bool enable) in altera_mbox_tx_intmask() 100 static bool altera_mbox_is_sender(struct altera_mbox *mbox) in altera_mbox_is_sender() 119 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_rx_data() local 133 struct altera_mbox *mbox = timer_container_of(mbox, t, rxpoll_timer); in altera_mbox_poll_rx() local 144 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_tx_interrupt() local 163 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_startup_sender() local 182 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_startup_receiver() local [all …]
|
| H A D | sun6i-msgbox.c | 44 #define mbox_dbg(mbox, ...) dev_dbg((mbox)->controller.dev, __VA_ARGS__) argument 68 struct sun6i_msgbox *mbox = dev_id; in sun6i_msgbox_irq() local 101 struct sun6i_msgbox *mbox = to_sun6i_msgbox(chan); in sun6i_msgbox_send_data() local 117 struct sun6i_msgbox *mbox = to_sun6i_msgbox(chan); in sun6i_msgbox_startup() local 141 struct sun6i_msgbox *mbox = to_sun6i_msgbox(chan); in sun6i_msgbox_shutdown() local 164 struct sun6i_msgbox *mbox = to_sun6i_msgbox(chan); in sun6i_msgbox_last_tx_done() local 181 struct sun6i_msgbox *mbox = to_sun6i_msgbox(chan); in sun6i_msgbox_peek_data() local 200 struct sun6i_msgbox *mbox; in sun6i_msgbox_probe() local 292 struct sun6i_msgbox *mbox = platform_get_drvdata(pdev); in sun6i_msgbox_remove() local
|
| H A D | bcm2835-mailbox.c | 68 struct bcm2835_mbox *mbox = dev_id; in bcm2835_mbox_irq() local 82 struct bcm2835_mbox *mbox = bcm2835_link_mbox(link); in bcm2835_send_data() local 94 struct bcm2835_mbox *mbox = bcm2835_link_mbox(link); in bcm2835_startup() local 104 struct bcm2835_mbox *mbox = bcm2835_link_mbox(link); in bcm2835_shutdown() local 111 struct bcm2835_mbox *mbox = bcm2835_link_mbox(link); in bcm2835_last_tx_done() local 127 static struct mbox_chan *bcm2835_mbox_index_xlate(struct mbox_controller *mbox, in bcm2835_mbox_index_xlate() 140 struct bcm2835_mbox *mbox; in bcm2835_mbox_probe() local
|
| H A D | bcm74110-mailbox.c | 94 struct bcm74110_mbox *mbox; member 139 static void bcm74110_rx_push_init_msg(struct bcm74110_mbox *mbox, u32 val) in bcm74110_rx_push_init_msg() 155 static void bcm74110_rx_process_msg(struct bcm74110_mbox *mbox) in bcm74110_rx_process_msg() 195 struct bcm74110_mbox *mbox = data; in bcm74110_mbox_isr() local 210 static void bcm74110_mbox_mask_and_clear(struct bcm74110_mbox *mbox) in bcm74110_mbox_mask_and_clear() 216 static int bcm74110_rx_pop_init_msg(struct bcm74110_mbox *mbox, u32 func_type, in bcm74110_rx_pop_init_msg() 243 static void bcm74110_rx_flush_msg(struct bcm74110_mbox *mbox) in bcm74110_rx_flush_msg() 260 static int bcm74110_rx_pop_init_msg_block(struct bcm74110_mbox *mbox, u32 func_type, in bcm74110_rx_pop_init_msg_block() 295 static int bcm74110_mbox_tx_msg(struct bcm74110_mbox *mbox, u32 msg) in bcm74110_mbox_tx_msg() 317 static int bcm74110_mbox_link_training(struct bcm74110_mbox *mbox) in bcm74110_mbox_link_training() [all …]
|
| H A D | hi3660-mailbox.c | 25 #define MBOX_BASE(mbox, ch) ((mbox)->base + ((ch) * 0x40)) argument 80 static struct hi3660_mbox *to_hi3660_mbox(struct mbox_controller *mbox) in to_hi3660_mbox() 88 struct hi3660_mbox *mbox = to_hi3660_mbox(chan->mbox); in hi3660_mbox_check_state() local 114 struct hi3660_mbox *mbox = to_hi3660_mbox(chan->mbox); in hi3660_mbox_unlock() local 136 struct hi3660_mbox *mbox = to_hi3660_mbox(chan->mbox); in hi3660_mbox_acquire_channel() local 177 struct hi3660_mbox *mbox = to_hi3660_mbox(chan->mbox); in hi3660_mbox_send_data() local 214 struct hi3660_mbox *mbox = to_hi3660_mbox(controller); in hi3660_mbox_xlate() local 240 struct hi3660_mbox *mbox; in hi3660_mbox_probe() local
|
| H A D | hi6220-mailbox.c | 90 static void mbox_set_state(struct hi6220_mbox *mbox, in mbox_set_state() 100 static void mbox_set_mode(struct hi6220_mbox *mbox, in mbox_set_mode() 113 struct hi6220_mbox *mbox = mchan->parent; in hi6220_mbox_last_tx_done() local 126 struct hi6220_mbox *mbox = mchan->parent; in hi6220_mbox_send_data() local 151 struct hi6220_mbox *mbox = p; in hi6220_mbox_interrupt() local 197 struct hi6220_mbox *mbox = mchan->parent; in hi6220_mbox_startup() local 209 struct hi6220_mbox *mbox = mchan->parent; in hi6220_mbox_shutdown() local 226 struct hi6220_mbox *mbox = dev_get_drvdata(controller->dev); in hi6220_mbox_xlate() local 267 struct hi6220_mbox *mbox; in hi6220_mbox_probe() local
|
| H A D | armada-37xx-rwtm-mailbox.c | 45 struct a37xx_mbox *mbox = chan->con_priv; in a37xx_mbox_receive() local 59 struct a37xx_mbox *mbox = chan->con_priv; in a37xx_mbox_irq_handler() local 79 struct a37xx_mbox *mbox = chan->con_priv; in a37xx_mbox_send_data() local 105 struct a37xx_mbox *mbox = chan->con_priv; in a37xx_mbox_startup() local 127 struct a37xx_mbox *mbox = chan->con_priv; in a37xx_mbox_shutdown() local 145 struct a37xx_mbox *mbox; in armada_37xx_mbox_probe() local
|
| H A D | mtk-adsp-mailbox.c | 19 struct mbox_controller mbox; member 31 static inline struct mtk_adsp_mbox_priv *get_mtk_adsp_mbox_priv(struct mbox_controller *mbox) in get_mtk_adsp_mbox_priv() 56 static struct mbox_chan *mtk_adsp_mbox_xlate(struct mbox_controller *mbox, in mtk_adsp_mbox_xlate() 111 struct mbox_controller *mbox; in mtk_adsp_mbox_probe() local
|
| H A D | mailbox-sti.c | 55 struct mbox_controller *mbox; member 97 struct mbox_chan *sti_mbox_to_channel(struct mbox_controller *mbox, in sti_mbox_to_channel() 163 struct mbox_controller *mbox = mdev->mbox; in sti_mbox_irq_to_channel() local 303 struct mbox_controller *mbox = chan_info->mdev->mbox; in sti_mbox_shutdown_chan() local 321 static struct mbox_chan *sti_mbox_xlate(struct mbox_controller *mbox, in sti_mbox_xlate() 406 struct mbox_controller *mbox; in sti_mbox_probe() local
|
| /linux/drivers/net/ethernet/huawei/hinic3/ |
| H A D | hinic3_mbox.c | 81 static struct hinic3_msg_desc *get_mbox_msg_desc(struct hinic3_mbox *mbox, in get_mbox_msg_desc() 103 static void resp_mbox_handler(struct hinic3_mbox *mbox, in resp_mbox_handler() 113 static bool mbox_segment_valid(struct hinic3_mbox *mbox, in mbox_segment_valid() 160 static void recv_mbox_handler(struct hinic3_mbox *mbox, in recv_mbox_handler() 196 struct hinic3_mbox *mbox; in hinic3_mbox_func_aeqe_handler() local 238 static int hinic3_init_mbox_dma_queue(struct hinic3_mbox *mbox) in hinic3_init_mbox_dma_queue() 261 static void hinic3_uninit_mbox_dma_queue(struct hinic3_mbox *mbox) in hinic3_uninit_mbox_dma_queue() 291 static int init_mgmt_msg_channel(struct hinic3_mbox *mbox) in init_mgmt_msg_channel() 311 static void uninit_mgmt_msg_channel(struct hinic3_mbox *mbox) in uninit_mgmt_msg_channel() 319 struct hinic3_mbox *mbox; in hinic3_init_func_mbox_msg_channel() local [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | mbox.c | 21 void __otx2_mbox_reset(struct otx2_mbox *mbox, int devid) in __otx2_mbox_reset() 41 void otx2_mbox_reset(struct otx2_mbox *mbox, int devid) in otx2_mbox_reset() 51 void otx2_mbox_destroy(struct otx2_mbox *mbox) in otx2_mbox_destroy() 61 int cn20k_mbox_setup(struct otx2_mbox *mbox, struct pci_dev *pdev, in cn20k_mbox_setup() 146 static int otx2_mbox_setup(struct otx2_mbox *mbox, struct pci_dev *pdev, in otx2_mbox_setup() 224 int otx2_mbox_init(struct otx2_mbox *mbox, void *hwbase, struct pci_dev *pdev, in otx2_mbox_init() 252 int otx2_mbox_regions_init(struct otx2_mbox *mbox, void **hwbase, in otx2_mbox_regions_init() 281 int otx2_mbox_wait_for_rsp(struct otx2_mbox *mbox, int devid) in otx2_mbox_wait_for_rsp() 296 int otx2_mbox_busy_poll_for_rsp(struct otx2_mbox *mbox, int devid) in otx2_mbox_busy_poll_for_rsp() 310 static void otx2_mbox_msg_send_data(struct otx2_mbox *mbox, int devid, u64 data) in otx2_mbox_msg_send_data() [all …]
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_mbox.c | 63 lpfc_mbox_rsrc_prep(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox) in lpfc_mbox_rsrc_prep() 100 lpfc_mbox_rsrc_cleanup(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox, in lpfc_mbox_rsrc_cleanup() 897 LPFC_MBOXQ_t *mbox; in lpfc_sli4_unreg_all_rpis() local 1677 MAILBOX_t *mbox = &mboxq->u.mb; in lpfc_mbox_tmo_val() local 1737 lpfc_sli4_mbx_sge_set(struct lpfcMboxq *mbox, uint32_t sgentry, in lpfc_sli4_mbx_sge_set() 1759 lpfc_sli4_mbx_sge_get(struct lpfcMboxq *mbox, uint32_t sgentry, in lpfc_sli4_mbx_sge_get() 1781 lpfc_sli4_mbox_cmd_free(struct lpfc_hba *phba, struct lpfcMboxq *mbox) in lpfc_sli4_mbox_cmd_free() 1834 lpfc_sli4_config(struct lpfc_hba *phba, struct lpfcMboxq *mbox, in lpfc_sli4_config() 1941 lpfc_sli4_mbox_rsrc_extent(struct lpfc_hba *phba, struct lpfcMboxq *mbox, in lpfc_sli4_mbox_rsrc_extent() 2012 lpfc_sli_config_mbox_subsys_get(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox) in lpfc_sli_config_mbox_subsys_get() [all …]
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | octeon_mailbox.c | 36 int octeon_mbox_read(struct octeon_mbox *mbox) in octeon_mbox_read() 134 struct octeon_mbox *mbox = oct->mbox[mbox_cmd->q_no]; in octeon_mbox_write() local 236 static int octeon_mbox_process_cmd(struct octeon_mbox *mbox, in octeon_mbox_process_cmd() 293 int octeon_mbox_process_message(struct octeon_mbox *mbox) in octeon_mbox_process_message() 357 struct octeon_mbox *mbox = oct->mbox[q_no]; in octeon_mbox_cancel() local
|
| /linux/drivers/net/wireless/ti/wl1251/ |
| H A D | event.c | 16 struct event_mailbox *mbox) in wl1251_event_scan_complete() 41 struct event_mailbox *mbox) in wl1251_event_ps_report() 76 static void wl1251_event_mbox_dump(struct event_mailbox *mbox) in wl1251_event_mbox_dump() 83 static int wl1251_event_process(struct wl1251 *wl, struct event_mailbox *mbox) in wl1251_event_process() 203 struct event_mailbox *mbox; in wl1251_event_handle() local
|
| /linux/drivers/soc/apple/ |
| H A D | mailbox.c | 102 int apple_mbox_send(struct apple_mbox *mbox, const struct apple_mbox_msg msg, in apple_mbox_send() 168 struct apple_mbox *mbox = data; in apple_mbox_send_empty_irq() local 185 static int apple_mbox_poll_locked(struct apple_mbox *mbox) in apple_mbox_poll_locked() 221 struct apple_mbox *mbox = data; in apple_mbox_recv_irq() local 230 int apple_mbox_poll(struct apple_mbox *mbox) in apple_mbox_poll() 243 int apple_mbox_start(struct apple_mbox *mbox) in apple_mbox_start() 274 void apple_mbox_stop(struct apple_mbox *mbox) in apple_mbox_stop() 290 struct apple_mbox *mbox; in apple_mbox_get() local 338 struct apple_mbox *mbox; in apple_mbox_probe() local
|
| /linux/drivers/scsi/ |
| H A D | myrb.c | 153 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_reset_cmd() local 165 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_qcmd() local 209 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_exec_type3() local 232 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_exec_type3D() local 286 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_get_event() local 342 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_get_errtable() local 441 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_get_rbld_progress() local 533 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_get_cc_progress() local 580 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_bgi_control() local 782 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_set_pdev_state() local [all …]
|
| H A D | megaraid.c | 199 struct mbox_out mbox; in mega_query_adapter() local 526 mbox_t *mbox; in mega_build_cmd() local 1102 volatile mbox_t *mbox = adapter->mbox; in issue_scb() local 1181 volatile mbox_t *mbox = adapter->mbox; in issue_scb_block() local 1421 mbox_t *mbox = NULL; in mega_cmd_done() local 1693 volatile mbox_t *mbox = adapter->mbox; in __mega_busywait_mbox() local 2145 volatile mbox_t *mbox = adapter->mbox; in proc_show_mbox() local 3565 struct mbox_out mbox; in mega_is_bios_enabled() local 3594 struct mbox_out mbox; in mega_enum_raid_scsi() local 3647 struct mbox_out mbox; in mega_get_boot_drv() local [all …]
|
| H A D | myrs.c | 95 union myrs_cmd_mbox *mbox = &cmd_blk->mbox; in myrs_reset_cmd() local 107 union myrs_cmd_mbox *mbox = &cmd_blk->mbox; in myrs_qcmd() local 161 union myrs_cmd_mbox *mbox = &cmd_blk->mbox; in myrs_get_ctlr_info() local 223 union myrs_cmd_mbox *mbox = &cmd_blk->mbox; in myrs_get_ldev_info() local 311 union myrs_cmd_mbox *mbox = &cmd_blk->mbox; in myrs_get_pdev_info() local 354 union myrs_cmd_mbox *mbox = &cmd_blk->mbox; in myrs_dev_op() local 382 union myrs_cmd_mbox *mbox; in myrs_translate_pdev() local 425 union myrs_cmd_mbox *mbox = &cmd_blk->mbox; in myrs_get_event() local 457 union myrs_cmd_mbox *mbox = &cmd_blk->mbox; in myrs_get_fwstatus() local 488 union myrs_cmd_mbox *mbox; in myrs_enable_mmio_mbox() local [all …]
|
| /linux/drivers/scsi/megaraid/ |
| H A D | megaraid_mbox.c | 1382 mbox_t *mbox; in mbox_post_cmd() local 1492 mbox_t *mbox; in DEF_SCSI_QCMD() local 2037 mbox_t *mbox; in megaraid_ack_sequence() local 2187 mbox_t *mbox; in megaraid_mbox_dpc() local 2672 mbox_t *mbox; in mbox_post_sync_cmd() local 2802 mbox_t *mbox; in mbox_post_sync_cmd_fast() local 2852 mbox_t *mbox = raid_dev->mbox; in megaraid_busywait_mbox() local 2877 mbox_t *mbox; in megaraid_mbox_product_info() local 2999 mbox_t *mbox; in megaraid_mbox_extended_cdb() local 3035 mbox_t *mbox; in megaraid_mbox_support_ha() local [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | cn10k_macsec.c | 142 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_alloc_rsrc() local 202 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_free_rsrc() local 261 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_write_rx_secy() local 315 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_write_rx_flowid() local 360 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_write_sc_cam() local 428 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_write_rx_sa_plcy() local 473 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_write_rx_sa_pn() local 500 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_write_tx_secy() local 583 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_write_tx_flowid() local 630 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_link_tx_sa2sc() local [all …]
|
| H A D | otx2_pf.c | 119 struct mbox *mbox = &pf->mbox; in otx2_flr_handler() local 303 struct otx2_mbox *mbox; in otx2_queue_vf_work() local 457 struct otx2_mbox *mbox; in otx2_pfvf_mbox_handler() local 503 struct otx2_mbox *mbox; in otx2_pfvf_mbox_up_handler() local 554 struct mbox *mbox; in otx2_pfvf_mbox_intr_handler() local 599 struct mbox *mbox; in otx2_pfvf_mbox_init() local 670 struct mbox *mbox = &pf->mbox_pfvf[0]; in otx2_pfvf_mbox_destroy() local 848 struct otx2_mbox *mbox; in otx2_pfaf_mbox_handler() local 1008 struct otx2_mbox *mbox = &af_mbox->mbox_up; in otx2_pfaf_mbox_up_handler() local 1049 struct otx2_mbox *mbox; in otx2_pfaf_mbox_intr_handler() local [all …]
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | t4_hw.c | 282 int t4_wr_mbox_meat_timeout(struct adapter *adap, int mbox, const void *cmd, in t4_wr_mbox_meat_timeout() 442 int t4_wr_mbox_meat(struct adapter *adap, int mbox, const void *cmd, int size, in t4_wr_mbox_meat() 4184 int t4_link_l1cfg_core(struct adapter *adapter, unsigned int mbox, in t4_link_l1cfg_core() 4242 int t4_restart_aneg(struct adapter *adap, unsigned int mbox, unsigned int port) in t4_restart_aneg() 5144 int t4_config_rss_range(struct adapter *adapter, int mbox, unsigned int viid, in t4_config_rss_range() 5202 int t4_config_glbl_rss(struct adapter *adapter, int mbox, unsigned int mode, in t4_config_glbl_rss() 5233 int t4_config_vi_rss(struct adapter *adapter, int mbox, unsigned int viid, in t4_config_vi_rss() 6509 int t4_fwaddrspace_write(struct adapter *adap, unsigned int mbox, in t4_fwaddrspace_write() 6539 int t4_mdio_rd(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, in t4_mdio_rd() 6573 int t4_mdio_wr(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, in t4_mdio_wr() [all …]
|
| /linux/drivers/net/ethernet/marvell/octeon_ep/ |
| H A D | octep_ctrl_mbox.c | 74 int octep_ctrl_mbox_init(struct octep_ctrl_mbox *mbox) in octep_ctrl_mbox_init() 160 int octep_ctrl_mbox_send(struct octep_ctrl_mbox *mbox, struct octep_ctrl_mbox_msg *msg) in octep_ctrl_mbox_send() 225 int octep_ctrl_mbox_recv(struct octep_ctrl_mbox *mbox, struct octep_ctrl_mbox_msg *msg) in octep_ctrl_mbox_recv() 260 int octep_ctrl_mbox_uninit(struct octep_ctrl_mbox *mbox) in octep_ctrl_mbox_uninit()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_pcode.h | 26 #define xe_pcode_write(tile, mbox, val) \ argument 40 #define intel_pcode_write(drm, mbox, val) \ argument
|
| /linux/drivers/rapidio/devices/ |
| H A D | tsi721.c | 628 int mbox; in tsi721_omsg_msix() local 647 int mbox; in tsi721_imsg_msix() local 1694 tsi721_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox, in tsi721_add_outb_message() 1903 int mbox, int entries) in tsi721_open_outb_mbox() 2083 static void tsi721_close_outb_mbox(struct rio_mport *mport, int mbox) in tsi721_close_outb_mbox() 2144 u32 mbox = ch - 4; in tsi721_imsg_handler() local 2192 int mbox, int entries) in tsi721_open_inb_mbox() 2385 static void tsi721_close_inb_mbox(struct rio_mport *mport, int mbox) in tsi721_close_inb_mbox() 2446 static int tsi721_add_inb_buffer(struct rio_mport *mport, int mbox, void *buf) in tsi721_add_inb_buffer() 2477 static void *tsi721_get_inb_message(struct rio_mport *mport, int mbox) in tsi721_get_inb_message()
|