/linux/drivers/mailbox/ |
A D | mailbox-altera.c | 60 static inline int altera_mbox_full(struct altera_mbox *mbox) in altera_mbox_full() 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 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 208 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_send_data() local 235 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_last_tx_done() local 243 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_peek_data() local 250 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_startup() local [all …]
|
A D | omap-mailbox.c | 68 struct omap_mbox *mbox; member 144 static u32 mbox_fifo_read(struct omap_mbox *mbox) in mbox_fifo_read() 158 static int mbox_fifo_empty(struct omap_mbox *mbox) in mbox_fifo_empty() 165 static int mbox_fifo_full(struct omap_mbox *mbox) in mbox_fifo_full() 315 struct omap_mbox *mbox = p; in mbox_interrupt() local 387 static void omap_mbox_fini(struct omap_mbox *mbox) in omap_mbox_fini() 398 struct omap_mbox *_mbox, *mbox = NULL; in omap_mbox_device_find() local 418 struct omap_mbox *mbox = NULL; in omap_mbox_request_channel() local 477 struct omap_mbox *mbox = mboxes[i]; in omap_mbox_register() local 682 struct omap_mbox *mbox; in omap_mbox_of_xlate() local [all …]
|
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
|
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
|
A D | mailbox.c | 119 struct mbox_controller *mbox = in txdone_hrtimer() local 334 struct mbox_controller *mbox; in mbox_request_channel() local 461 of_mbox_index_xlate(struct mbox_controller *mbox, in of_mbox_index_xlate() 478 int mbox_controller_register(struct mbox_controller *mbox) in mbox_controller_register() 529 void mbox_controller_unregister(struct mbox_controller *mbox) in mbox_controller_unregister() 552 struct mbox_controller **mbox = res; in __devm_mbox_controller_unregister() local 559 struct mbox_controller **mbox = res; in devm_mbox_controller_match() local 580 struct mbox_controller *mbox) in devm_mbox_controller_register() 613 void devm_mbox_controller_unregister(struct device *dev, struct mbox_controller *mbox) in devm_mbox_controller_unregister()
|
A D | hi3660-mailbox.c | 24 #define MBOX_BASE(mbox, ch) ((mbox)->base + ((ch) * 0x40)) argument 81 static struct hi3660_mbox *to_hi3660_mbox(struct mbox_controller *mbox) in to_hi3660_mbox() 89 struct hi3660_mbox *mbox = to_hi3660_mbox(chan->mbox); in hi3660_mbox_check_state() local 115 struct hi3660_mbox *mbox = to_hi3660_mbox(chan->mbox); in hi3660_mbox_unlock() local 137 struct hi3660_mbox *mbox = to_hi3660_mbox(chan->mbox); in hi3660_mbox_acquire_channel() local 178 struct hi3660_mbox *mbox = to_hi3660_mbox(chan->mbox); in hi3660_mbox_send_data() local 215 struct hi3660_mbox *mbox = to_hi3660_mbox(controller); in hi3660_mbox_xlate() local 241 struct hi3660_mbox *mbox; in hi3660_mbox_probe() local
|
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
|
A D | hi6220-mailbox.c | 89 static void mbox_set_state(struct hi6220_mbox *mbox, in mbox_set_state() 99 static void mbox_set_mode(struct hi6220_mbox *mbox, in mbox_set_mode() 112 struct hi6220_mbox *mbox = mchan->parent; in hi6220_mbox_last_tx_done() local 125 struct hi6220_mbox *mbox = mchan->parent; in hi6220_mbox_send_data() local 150 struct hi6220_mbox *mbox = p; in hi6220_mbox_interrupt() local 196 struct hi6220_mbox *mbox = mchan->parent; in hi6220_mbox_startup() local 208 struct hi6220_mbox *mbox = mchan->parent; in hi6220_mbox_shutdown() local 225 struct hi6220_mbox *mbox = dev_get_drvdata(controller->dev); in hi6220_mbox_xlate() local 266 struct hi6220_mbox *mbox; in hi6220_mbox_probe() local
|
A D | mailbox-mpfs.c | 72 static bool mpfs_mbox_busy(struct mpfs_mbox *mbox) in mpfs_mbox_busy() 83 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_send_data() local 131 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_rx_data() local 155 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_inbox_isr() local 167 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_startup() local 182 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_shutdown() local 195 struct mpfs_mbox *mbox; in mpfs_mbox_probe() local
|
A D | arm_mhu_db.c | 42 struct mbox_controller mbox; member 60 mhu_db_mbox_to_channel(struct mbox_controller *mbox, unsigned int pchan, in mhu_db_mbox_to_channel() 100 struct mbox_controller *mbox = &mhu->mbox; in mhu_db_mbox_irq_to_channel() local 169 struct mbox_controller *mbox = &chan_info->mhu->mbox; in mhu_db_shutdown() local 187 static struct mbox_chan *mhu_db_mbox_xlate(struct mbox_controller *mbox, in mhu_db_mbox_xlate()
|
A D | pl320-ipc.c | 48 static inline void set_destination(int source, int mbox) in set_destination() 54 static inline void clear_destination(int source, int mbox) in clear_destination() 60 static void __ipc_send(int mbox, u32 *data) in __ipc_send() 68 static u32 __ipc_rcv(int mbox, u32 *data) in __ipc_rcv()
|
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() 407 struct mbox_controller *mbox; in sti_mbox_probe() local
|
A D | qcom-ipcc.c | 57 struct mbox_controller mbox; member 61 static inline struct qcom_ipcc *to_qcom_ipcc(struct mbox_controller *mbox) in to_qcom_ipcc() 163 static struct mbox_chan *qcom_ipcc_mbox_xlate(struct mbox_controller *mbox, in qcom_ipcc_mbox_xlate() 197 struct mbox_controller *mbox; in qcom_ipcc_setup_mbox() local
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
A D | mbox.c | 18 void __otx2_mbox_reset(struct otx2_mbox *mbox, int devid) in __otx2_mbox_reset() 36 void otx2_mbox_reset(struct otx2_mbox *mbox, int devid) in otx2_mbox_reset() 46 void otx2_mbox_destroy(struct otx2_mbox *mbox) in otx2_mbox_destroy() 56 static int otx2_mbox_setup(struct otx2_mbox *mbox, struct pci_dev *pdev, in otx2_mbox_setup() 158 int otx2_mbox_regions_init(struct otx2_mbox *mbox, void **hwbase, in otx2_mbox_regions_init() 184 int otx2_mbox_wait_for_rsp(struct otx2_mbox *mbox, int devid) in otx2_mbox_wait_for_rsp() 200 int otx2_mbox_busy_poll_for_rsp(struct otx2_mbox *mbox, int devid) in otx2_mbox_busy_poll_for_rsp() 214 void otx2_mbox_msg_send(struct otx2_mbox *mbox, int devid) in otx2_mbox_msg_send() 297 struct mbox_msghdr *otx2_mbox_get_rsp(struct otx2_mbox *mbox, int devid, in otx2_mbox_get_rsp() 331 int otx2_mbox_check_rsp_msgs(struct otx2_mbox *mbox, int devid) in otx2_mbox_check_rsp_msgs() [all …]
|
/linux/drivers/crypto/marvell/octeontx2/ |
A D | otx2_cpt_mbox_common.c | 7 int otx2_cpt_send_mbox_msg(struct otx2_mbox *mbox, struct pci_dev *pdev) in otx2_cpt_send_mbox_msg() 23 int otx2_cpt_send_ready_msg(struct otx2_mbox *mbox, struct pci_dev *pdev) in otx2_cpt_send_ready_msg() 40 int otx2_cpt_send_af_reg_requests(struct otx2_mbox *mbox, struct pci_dev *pdev) in otx2_cpt_send_af_reg_requests() 45 int otx2_cpt_add_read_af_reg(struct otx2_mbox *mbox, struct pci_dev *pdev, in otx2_cpt_add_read_af_reg() 70 int otx2_cpt_add_write_af_reg(struct otx2_mbox *mbox, struct pci_dev *pdev, in otx2_cpt_add_write_af_reg() 95 int otx2_cpt_read_af_reg(struct otx2_mbox *mbox, struct pci_dev *pdev, in otx2_cpt_read_af_reg() 107 int otx2_cpt_write_af_reg(struct otx2_mbox *mbox, struct pci_dev *pdev, in otx2_cpt_write_af_reg() 121 struct otx2_mbox *mbox = lfs->mbox; in otx2_cpt_attach_rscrs_msg() local 149 struct otx2_mbox *mbox = lfs->mbox; in otx2_cpt_detach_rsrcs_msg() local 176 struct otx2_mbox *mbox = lfs->mbox; in otx2_cpt_msix_offset_msg() local
|
A D | otx2_cptvf_mbox.c | 28 static void otx2_cpt_sync_mbox_bbuf(struct otx2_mbox *mbox, int devid) in otx2_cpt_sync_mbox_bbuf() 170 struct otx2_mbox *mbox = &cptvf->pfvf_mbox; in otx2_cptvf_send_eng_grp_num_msg() local 191 struct otx2_mbox *mbox = &cptvf->pfvf_mbox; in otx2_cptvf_send_kvf_limits_msg() local
|
/linux/drivers/gpu/drm/i915/ |
A D | intel_pcode.c | 9 static int gen6_check_mailbox_status(u32 mbox) in gen6_check_mailbox_status() 29 static int gen7_check_mailbox_status(u32 mbox) in gen7_check_mailbox_status() 55 u32 mbox, u32 *val, u32 *val1, in __sandybridge_pcode_rw() 97 int sandybridge_pcode_read(struct drm_i915_private *i915, u32 mbox, in sandybridge_pcode_read() 118 u32 mbox, u32 val, in sandybridge_pcode_write_timeout() 139 static bool skl_pcode_try_request(struct drm_i915_private *i915, u32 mbox, in skl_pcode_try_request() 169 int skl_pcode_request(struct drm_i915_private *i915, u32 mbox, u32 request, in skl_pcode_request()
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
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/ |
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() 205 struct event_mailbox mbox; in wl1251_event_handle() local
|
/linux/drivers/scsi/lpfc/ |
A D | lpfc_mbox.c | 847 LPFC_MBOXQ_t *mbox; in lpfc_sli4_unreg_all_rpis() local 1627 MAILBOX_t *mbox = &mboxq->u.mb; in lpfc_mbox_tmo_val() local 1687 lpfc_sli4_mbx_sge_set(struct lpfcMboxq *mbox, uint32_t sgentry, in lpfc_sli4_mbx_sge_set() 1709 lpfc_sli4_mbx_sge_get(struct lpfcMboxq *mbox, uint32_t sgentry, in lpfc_sli4_mbx_sge_get() 1780 lpfc_sli4_config(struct lpfc_hba *phba, struct lpfcMboxq *mbox, in lpfc_sli4_config() 2126 lpfc_init_vfi(struct lpfcMboxq *mbox, struct lpfc_vport *vport) in lpfc_init_vfi() 2259 lpfc_unreg_vfi(struct lpfcMboxq *mbox, struct lpfc_vport *vport) in lpfc_unreg_vfi() 2334 lpfc_mbx_cmpl_rdp_page_a2(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox) in lpfc_mbx_cmpl_rdp_page_a2() 2479 lpfc_reg_fcfi(struct lpfc_hba *phba, struct lpfcMboxq *mbox) in lpfc_reg_fcfi() 2605 lpfc_unreg_fcfi(struct lpfcMboxq *mbox, uint16_t fcfi) in lpfc_unreg_fcfi() [all …]
|
/linux/drivers/scsi/ |
A D | myrb.c | 814 union myrb_cmd_mbox mbox; in myrb_enable_mmio() local 1924 union myrb_cmd_mbox *mbox; in rebuild_store() local 2030 union myrb_cmd_mbox *mbox; in consistency_check_store() local 2585 union myrb_cmd_mbox *mbox) in DAC960_LA_write_cmd_mbox() 2598 union myrb_cmd_mbox *mbox) in DAC960_LA_write_hw_mbox() 2630 union myrb_cmd_mbox *mbox) in DAC960_LA_mbox_init() 2831 union myrb_cmd_mbox *mbox) in DAC960_PG_write_cmd_mbox() 2844 union myrb_cmd_mbox *mbox) in DAC960_PG_write_hw_mbox() 2876 union myrb_cmd_mbox *mbox) in DAC960_PG_mbox_init() 3063 union myrb_cmd_mbox *mbox) in DAC960_PD_write_cmd_mbox() [all …]
|
A D | megaraid.c | 196 mbox_t *mbox; in mega_query_adapter() local 523 mbox_t *mbox; in mega_build_cmd() local 1418 mbox_t *mbox = NULL; in mega_cmd_done() local 3573 mbox_t *mbox; in mega_is_bios_enabled() local 3604 mbox_t *mbox; in mega_enum_raid_scsi() local 3659 mbox_t *mbox; in mega_get_boot_drv() local 3725 mbox_t *mbox; in mega_support_random_del() local 3754 mbox_t *mbox; in mega_support_ext_cdb() local 3869 mbox_t *mbox; in mega_get_max_sgl() local 3914 mbox_t *mbox; in mega_support_cluster() local [all …]
|
/linux/drivers/scsi/megaraid/ |
A D | megaraid_mbox.c | 1380 mbox_t *mbox; in mbox_post_cmd() local 1490 mbox_t *mbox; in DEF_SCSI_QCMD() local 2035 mbox_t *mbox; in megaraid_ack_sequence() local 2185 mbox_t *mbox; in megaraid_mbox_dpc() local 2670 mbox_t *mbox; in mbox_post_sync_cmd() local 2800 mbox_t *mbox; in mbox_post_sync_cmd_fast() local 2997 mbox_t *mbox; in megaraid_mbox_extended_cdb() local 3033 mbox_t *mbox; in megaraid_mbox_support_ha() local 3125 mbox_t *mbox; in megaraid_mbox_get_max_sg() local 3166 mbox_t *mbox; in megaraid_mbox_enum_raid_scsi() local [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | t4_hw.c | 6963 int t4_fw_bye(struct adapter *adap, unsigned int mbox) in t4_fw_bye() 6980 int t4_early_init(struct adapter *adap, unsigned int mbox) in t4_early_init() 7152 int t4_fw_upgrade(struct adapter *adap, unsigned int mbox, in t4_fw_upgrade() 7418 int t4_fw_initialize(struct adapter *adap, unsigned int mbox) in t4_fw_initialize() 7970 int t4_alloc_mac_filt(struct adapter *adap, unsigned int mbox, in t4_alloc_mac_filt() 8055 int t4_free_mac_filt(struct adapter *adap, unsigned int mbox, in t4_free_mac_filt() 8223 int t4_enable_vi_params(struct adapter *adap, unsigned int mbox, in t4_enable_vi_params() 8270 int t4_enable_pi_params(struct adapter *adap, unsigned int mbox, in t4_enable_pi_params() 9561 int t4_init_rss_mode(struct adapter *adap, int mbox) in t4_init_rss_mode() 9598 int t4_init_portinfo(struct port_info *pi, int mbox, in t4_init_portinfo() [all …]
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_vf.c | 93 struct otx2_mbox *mbox; in otx2vf_vfaf_mbox_handler() local 154 struct otx2_mbox *mbox; in otx2vf_vfaf_mbox_up_handler() local 183 struct otx2_mbox *mbox; in otx2vf_vfaf_mbox_intr_handler() local 279 struct mbox *mbox = &vf->mbox; in otx2vf_vfaf_mbox_destroy() local 295 struct mbox *mbox = &vf->mbox; in otx2vf_vfaf_mbox_init() local
|