/Linux-v5.4/drivers/mailbox/ |
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 = from_timer(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 …]
|
D | omap-mailbox.c | 68 struct omap_mbox *mbox; member 144 static u32 mbox_fifo_read(struct omap_mbox *mbox) in mbox_fifo_read() 151 static void mbox_fifo_write(struct omap_mbox *mbox, u32 msg) in mbox_fifo_write() 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() 173 static void ack_mbox_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in ack_mbox_irq() 186 static int is_mbox_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in is_mbox_irq() 200 static void _omap_mbox_enable_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in _omap_mbox_enable_irq() 213 static void _omap_mbox_disable_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in _omap_mbox_disable_irq() 232 struct omap_mbox *mbox = mbox_chan_to_omap_mbox(chan); in omap_mbox_enable_irq() local [all …]
|
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() 141 struct bcm2835_mbox *mbox; in bcm2835_mbox_probe() local
|
D | mailbox.c | 116 struct mbox_controller *mbox = in txdone_hrtimer() local 332 struct mbox_controller *mbox; in mbox_request_channel() local 459 of_mbox_index_xlate(struct mbox_controller *mbox, in of_mbox_index_xlate() 476 int mbox_controller_register(struct mbox_controller *mbox) in mbox_controller_register() 527 void mbox_controller_unregister(struct mbox_controller *mbox) in mbox_controller_unregister() 550 struct mbox_controller **mbox = res; in __devm_mbox_controller_unregister() local 557 struct mbox_controller **mbox = res; in devm_mbox_controller_match() local 578 struct mbox_controller *mbox) in devm_mbox_controller_register() 611 void devm_mbox_controller_unregister(struct device *dev, struct mbox_controller *mbox) in devm_mbox_controller_unregister()
|
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
|
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
|
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
|
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()
|
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
|
/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.c | 20 void otx2_mbox_reset(struct otx2_mbox *mbox, int devid) in otx2_mbox_reset() 37 void otx2_mbox_destroy(struct otx2_mbox *mbox) in otx2_mbox_destroy() 47 int otx2_mbox_init(struct otx2_mbox *mbox, void *hwbase, struct pci_dev *pdev, in otx2_mbox_init() 134 int otx2_mbox_wait_for_rsp(struct otx2_mbox *mbox, int devid) in otx2_mbox_wait_for_rsp() 149 int otx2_mbox_busy_poll_for_rsp(struct otx2_mbox *mbox, int devid) in otx2_mbox_busy_poll_for_rsp() 163 void otx2_mbox_msg_send(struct otx2_mbox *mbox, int devid) in otx2_mbox_msg_send() 196 struct mbox_msghdr *otx2_mbox_alloc_msg_rsp(struct otx2_mbox *mbox, int devid, in otx2_mbox_alloc_msg_rsp() 231 struct mbox_msghdr *otx2_mbox_get_rsp(struct otx2_mbox *mbox, int devid, in otx2_mbox_get_rsp() 261 otx2_reply_invalid_msg(struct otx2_mbox *mbox, int devid, u16 pcifunc, u16 id) in otx2_reply_invalid_msg() 277 bool otx2_mbox_nonempty(struct otx2_mbox *mbox, int devid) in otx2_mbox_nonempty()
|
/Linux-v5.4/drivers/net/ethernet/cavium/liquidio/ |
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() 292 int octeon_mbox_process_message(struct octeon_mbox *mbox) in octeon_mbox_process_message() 356 struct octeon_mbox *mbox = oct->mbox[q_no]; in octeon_mbox_cancel() local
|
/Linux-v5.4/drivers/scsi/lpfc/ |
D | lpfc_mbox.c | 844 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() 1708 lpfc_sli4_mbx_sge_get(struct lpfcMboxq *mbox, uint32_t sgentry, in lpfc_sli4_mbx_sge_get() 1728 lpfc_sli4_mbox_cmd_free(struct lpfc_hba *phba, struct lpfcMboxq *mbox) in lpfc_sli4_mbox_cmd_free() 1778 lpfc_sli4_config(struct lpfc_hba *phba, struct lpfcMboxq *mbox, in lpfc_sli4_config() 1886 lpfc_sli4_mbox_rsrc_extent(struct lpfc_hba *phba, struct lpfcMboxq *mbox, in lpfc_sli4_mbox_rsrc_extent() 1957 lpfc_sli_config_mbox_subsys_get(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox) in lpfc_sli_config_mbox_subsys_get() 1990 lpfc_sli_config_mbox_opcode_get(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox) in lpfc_sli_config_mbox_opcode_get() 2116 lpfc_init_vfi(struct lpfcMboxq *mbox, struct lpfc_vport *vport) in lpfc_init_vfi() [all …]
|
/Linux-v5.4/drivers/net/wireless/ti/wl1251/ |
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-v5.4/drivers/scsi/megaraid/ |
D | megaraid_mbox.c | 1378 mbox_t *mbox; in mbox_post_cmd() local 1489 mbox_t *mbox; in DEF_SCSI_QCMD() local 2036 mbox_t *mbox; in megaraid_ack_sequence() local 2186 mbox_t *mbox; in megaraid_mbox_dpc() local 2676 mbox_t *mbox; in mbox_post_sync_cmd() local 2806 mbox_t *mbox; in mbox_post_sync_cmd_fast() local 2856 mbox_t *mbox = raid_dev->mbox; in megaraid_busywait_mbox() local 2881 mbox_t *mbox; in megaraid_mbox_product_info() local 3003 mbox_t *mbox; in megaraid_mbox_extended_cdb() local 3039 mbox_t *mbox; in megaraid_mbox_support_ha() local [all …]
|
/Linux-v5.4/drivers/scsi/ |
D | myrb.c | 154 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_reset_cmd() local 166 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_qcmd() local 211 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_exec_type3() local 234 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_exec_type3D() local 288 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_get_event() local 344 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_get_errtable() local 443 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_get_rbld_progress() local 536 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_get_cc_progress() local 583 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_bgi_control() local 785 union myrb_cmd_mbox *mbox = &cmd_blk->mbox; in myrb_set_pdev_state() local [all …]
|
D | megaraid.c | 194 mbox_t *mbox; in mega_query_adapter() local 523 mbox_t *mbox; in mega_build_cmd() local 1099 volatile mbox_t *mbox = adapter->mbox; in issue_scb() local 1178 volatile mbox_t *mbox = adapter->mbox; in issue_scb_block() local 1418 mbox_t *mbox = NULL; in mega_cmd_done() local 1701 volatile mbox_t *mbox = adapter->mbox; in __mega_busywait_mbox() local 2156 volatile mbox_t *mbox = adapter->mbox; in proc_show_mbox() local 3585 mbox_t *mbox; in mega_is_bios_enabled() local 3618 mbox_t *mbox; in mega_enum_raid_scsi() local 3673 mbox_t *mbox; in mega_get_boot_drv() local [all …]
|
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 162 union myrs_cmd_mbox *mbox = &cmd_blk->mbox; in myrs_get_ctlr_info() local 224 union myrs_cmd_mbox *mbox = &cmd_blk->mbox; in myrs_get_ldev_info() local 312 union myrs_cmd_mbox *mbox = &cmd_blk->mbox; in myrs_get_pdev_info() local 355 union myrs_cmd_mbox *mbox = &cmd_blk->mbox; in myrs_dev_op() local 383 union myrs_cmd_mbox *mbox; in myrs_translate_pdev() local 426 union myrs_cmd_mbox *mbox = &cmd_blk->mbox; in myrs_get_event() local 458 union myrs_cmd_mbox *mbox = &cmd_blk->mbox; in myrs_get_fwstatus() local 489 union myrs_cmd_mbox *mbox; in myrs_enable_mmio_mbox() local [all …]
|
/Linux-v5.4/drivers/gpu/drm/i915/ |
D | intel_sideband.c | 335 static inline int gen6_check_mailbox_status(u32 mbox) in gen6_check_mailbox_status() 355 static inline int gen7_check_mailbox_status(u32 mbox) in gen7_check_mailbox_status() 375 u32 mbox, u32 *val, u32 *val1, in __sandybridge_pcode_rw() 417 int sandybridge_pcode_read(struct drm_i915_private *i915, u32 mbox, in sandybridge_pcode_read() 437 u32 mbox, u32 val, in sandybridge_pcode_write_timeout() 457 static bool skl_pcode_try_request(struct drm_i915_private *i915, u32 mbox, in skl_pcode_try_request() 487 int skl_pcode_request(struct drm_i915_private *i915, u32 mbox, u32 request, in skl_pcode_request()
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
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() 4214 int t4_link_l1cfg_core(struct adapter *adapter, unsigned int mbox, in t4_link_l1cfg_core() 4272 int t4_restart_aneg(struct adapter *adap, unsigned int mbox, unsigned int port) in t4_restart_aneg() 5156 int t4_config_rss_range(struct adapter *adapter, int mbox, unsigned int viid, in t4_config_rss_range() 5214 int t4_config_glbl_rss(struct adapter *adapter, int mbox, unsigned int mode, in t4_config_glbl_rss() 5245 int t4_config_vi_rss(struct adapter *adapter, int mbox, unsigned int viid, in t4_config_vi_rss() 6521 int t4_fwaddrspace_write(struct adapter *adap, unsigned int mbox, in t4_fwaddrspace_write() 6551 int t4_mdio_rd(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, in t4_mdio_rd() 6585 int t4_mdio_wr(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, in t4_mdio_wr() [all …]
|
/Linux-v5.4/drivers/rapidio/devices/ |
D | tsi721.c | 614 int mbox; in tsi721_omsg_msix() local 631 int mbox; in tsi721_imsg_msix() local 1667 tsi721_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox, in tsi721_add_outb_message() 1874 int mbox, int entries) in tsi721_open_outb_mbox() 2054 static void tsi721_close_outb_mbox(struct rio_mport *mport, int mbox) in tsi721_close_outb_mbox() 2115 u32 mbox = ch - 4; in tsi721_imsg_handler() local 2161 int mbox, int entries) in tsi721_open_inb_mbox() 2354 static void tsi721_close_inb_mbox(struct rio_mport *mport, int mbox) in tsi721_close_inb_mbox() 2413 static int tsi721_add_inb_buffer(struct rio_mport *mport, int mbox, void *buf) in tsi721_add_inb_buffer() 2444 static void *tsi721_get_inb_message(struct rio_mport *mport, int mbox) in tsi721_get_inb_message()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | pci.c | 284 static int mlxsw_pci_sdq_init(struct mlxsw_pci *mlxsw_pci, char *mbox, in mlxsw_pci_sdq_init() 386 static int mlxsw_pci_rdq_init(struct mlxsw_pci *mlxsw_pci, char *mbox, in mlxsw_pci_rdq_init() 461 static int mlxsw_pci_cq_init(struct mlxsw_pci *mlxsw_pci, char *mbox, in mlxsw_pci_cq_init() 658 static int mlxsw_pci_eq_init(struct mlxsw_pci *mlxsw_pci, char *mbox, in mlxsw_pci_eq_init() 821 static int mlxsw_pci_queue_init(struct mlxsw_pci *mlxsw_pci, char *mbox, in mlxsw_pci_queue_init() 894 static int mlxsw_pci_queue_group_init(struct mlxsw_pci *mlxsw_pci, char *mbox, in mlxsw_pci_queue_group_init() 936 static int mlxsw_pci_aqs_init(struct mlxsw_pci *mlxsw_pci, char *mbox) in mlxsw_pci_aqs_init() 1035 char *mbox, int index, in mlxsw_pci_config_profile_swid_config() 1074 static int mlxsw_pci_config_profile(struct mlxsw_pci *mlxsw_pci, char *mbox, in mlxsw_pci_config_profile() 1195 static int mlxsw_pci_boardinfo(struct mlxsw_pci *mlxsw_pci, char *mbox) in mlxsw_pci_boardinfo() [all …]
|
/Linux-v5.4/include/linux/ |
D | rio_drv.h | 312 struct rio_dev *rdev, int mbox, in rio_add_outb_message() 332 static inline int rio_add_inb_buffer(struct rio_mport *mport, int mbox, in rio_add_inb_buffer() 345 static inline void *rio_get_inb_message(struct rio_mport *mport, int mbox) in rio_get_inb_message()
|
/Linux-v5.4/arch/powerpc/sysdev/ |
D | fsl_rmu.c | 660 fsl_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox, in fsl_add_outb_message() 720 fsl_open_outb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entries) in fsl_open_outb_mbox() 823 void fsl_close_outb_mbox(struct rio_mport *mport, int mbox) in fsl_close_outb_mbox() 852 fsl_open_inb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entries) in fsl_open_inb_mbox() 924 void fsl_close_inb_mbox(struct rio_mport *mport, int mbox) in fsl_close_inb_mbox() 949 int fsl_add_inb_buffer(struct rio_mport *mport, int mbox, void *buf) in fsl_add_inb_buffer() 981 void *fsl_get_inb_message(struct rio_mport *mport, int mbox) in fsl_get_inb_message()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | qp.c | 402 static int mbox_alloc(struct mbox_info *mbox, int inlen, int outlen) in mbox_alloc() 417 static void mbox_free(struct mbox_info *mbox) in mbox_free() 425 struct mbox_info *mbox, u16 uid) in modify_qp_mbox_alloc() 430 #define MBOX_ALLOC(mbox, typ) \ in modify_qp_mbox_alloc() argument 510 struct mbox_info mbox; in mlx5_core_qp_modify() local
|
/Linux-v5.4/arch/mips/paravirt/ |
D | paravirt-irq.c | 217 unsigned int mbox = data->irq - MIPS_IRQ_MBOX0; in irq_mbox_all() local 242 unsigned int mbox = data->irq - MIPS_IRQ_MBOX0; in irq_mbox_ack() local 263 unsigned int mbox = data->irq - MIPS_IRQ_MBOX0; in irq_mbox_cpu_onoffline() local
|