Home
last modified time | relevance | path

Searched defs:mbox (Results 1 – 25 of 93) sorted by relevance

1234

/Linux-v4.19/drivers/mailbox/
Dmailbox-altera.c71 static inline int altera_mbox_full(struct altera_mbox *mbox) in altera_mbox_full()
79 static inline int altera_mbox_pending(struct altera_mbox *mbox) in altera_mbox_pending()
87 static void altera_mbox_rx_intmask(struct altera_mbox *mbox, bool enable) in altera_mbox_rx_intmask()
99 static void altera_mbox_tx_intmask(struct altera_mbox *mbox, bool enable) in altera_mbox_tx_intmask()
111 static bool altera_mbox_is_sender(struct altera_mbox *mbox) in altera_mbox_is_sender()
130 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_rx_data() local
144 struct altera_mbox *mbox = from_timer(mbox, t, rxpoll_timer); in altera_mbox_poll_rx() local
155 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_tx_interrupt() local
174 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_startup_sender() local
193 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_startup_receiver() local
[all …]
Domap-mailbox.c68 struct omap_mbox *mbox; member
144 static mbox_msg_t mbox_fifo_read(struct omap_mbox *mbox) in mbox_fifo_read()
151 static void mbox_fifo_write(struct omap_mbox *mbox, mbox_msg_t 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 …]
Dbcm2835-mailbox.c74 struct bcm2835_mbox *mbox = dev_id; in bcm2835_mbox_irq() local
88 struct bcm2835_mbox *mbox = bcm2835_link_mbox(link); in bcm2835_send_data() local
100 struct bcm2835_mbox *mbox = bcm2835_link_mbox(link); in bcm2835_startup() local
110 struct bcm2835_mbox *mbox = bcm2835_link_mbox(link); in bcm2835_shutdown() local
117 struct bcm2835_mbox *mbox = bcm2835_link_mbox(link); in bcm2835_last_tx_done() local
133 static struct mbox_chan *bcm2835_mbox_index_xlate(struct mbox_controller *mbox, in bcm2835_mbox_index_xlate()
147 struct bcm2835_mbox *mbox; in bcm2835_mbox_probe() local
193 struct bcm2835_mbox *mbox = platform_get_drvdata(pdev); in bcm2835_mbox_remove() local
Dhi3660-mailbox.c24 #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
181 struct hi3660_mbox *mbox = to_hi3660_mbox(chan->mbox); in hi3660_mbox_send_data() local
217 struct hi3660_mbox *mbox = to_hi3660_mbox(controller); in hi3660_mbox_xlate() local
243 struct hi3660_mbox *mbox; in hi3660_mbox_probe() local
283 struct hi3660_mbox *mbox = platform_get_drvdata(pdev); in hi3660_mbox_remove() local
Dhi6220-mailbox.c98 static void mbox_set_state(struct hi6220_mbox *mbox, in mbox_set_state()
108 static void mbox_set_mode(struct hi6220_mbox *mbox, in mbox_set_mode()
121 struct hi6220_mbox *mbox = mchan->parent; in hi6220_mbox_last_tx_done() local
134 struct hi6220_mbox *mbox = mchan->parent; in hi6220_mbox_send_data() local
159 struct hi6220_mbox *mbox = p; in hi6220_mbox_interrupt() local
205 struct hi6220_mbox *mbox = mchan->parent; in hi6220_mbox_startup() local
217 struct hi6220_mbox *mbox = mchan->parent; in hi6220_mbox_shutdown() local
234 struct hi6220_mbox *mbox = dev_get_drvdata(controller->dev); in hi6220_mbox_xlate() local
275 struct hi6220_mbox *mbox; in hi6220_mbox_probe() local
365 struct hi6220_mbox *mbox = platform_get_drvdata(pdev); in hi6220_mbox_remove() local
Dmailbox.c119 struct mbox_controller *mbox = in txdone_hrtimer() local
306 struct mbox_controller *mbox; in mbox_request_channel() local
430 of_mbox_index_xlate(struct mbox_controller *mbox, in of_mbox_index_xlate()
447 int mbox_controller_register(struct mbox_controller *mbox) in mbox_controller_register()
498 void mbox_controller_unregister(struct mbox_controller *mbox) in mbox_controller_unregister()
Dpl320-ipc.c59 static inline void set_destination(int source, int mbox) in set_destination()
65 static inline void clear_destination(int source, int mbox) in clear_destination()
71 static void __ipc_send(int mbox, u32 *data) in __ipc_send()
79 static u32 __ipc_rcv(int mbox, u32 *data) in __ipc_rcv()
Dmailbox-sti.c59 struct mbox_controller *mbox; member
101 struct mbox_chan *sti_mbox_to_channel(struct mbox_controller *mbox, in sti_mbox_to_channel()
167 struct mbox_controller *mbox = mdev->mbox; in sti_mbox_irq_to_channel() local
307 struct mbox_controller *mbox = chan_info->mdev->mbox; in sti_mbox_shutdown_chan() local
325 static struct mbox_chan *sti_mbox_xlate(struct mbox_controller *mbox, in sti_mbox_xlate()
411 struct mbox_controller *mbox; in sti_mbox_probe() local
Dimx-mailbox.c60 struct mbox_controller mbox; member
70 static struct imx_mu_priv *to_imx_mu_priv(struct mbox_controller *mbox) in to_imx_mu_priv()
232 static struct mbox_chan * imx_mu_xlate(struct mbox_controller *mbox, in imx_mu_xlate()
Dbcm-flexrm-mailbox.c269 struct flexrm_mbox *mbox; member
931 static void flexrm_write_config_in_seqfile(struct flexrm_mbox *mbox, in flexrm_write_config_in_seqfile()
959 static void flexrm_write_stats_in_seqfile(struct flexrm_mbox *mbox, in flexrm_write_stats_in_seqfile()
1169 struct flexrm_mbox *mbox = platform_get_drvdata(pdev); in flexrm_debugfs_conf_show() local
1180 struct flexrm_mbox *mbox = platform_get_drvdata(pdev); in flexrm_debugfs_stats_show() local
1490 struct flexrm_mbox *mbox = dev_get_drvdata(dev); in flexrm_mbox_msi_write() local
1507 struct flexrm_mbox *mbox; in flexrm_mbox_probe() local
1692 struct flexrm_mbox *mbox = platform_get_drvdata(pdev); in flexrm_mbox_remove() local
Dtegra-hsp.c70 struct mbox_controller mbox; member
84 to_tegra_hsp(struct mbox_controller *mbox) in to_tegra_hsp()
290 static struct mbox_chan *of_tegra_hsp_xlate(struct mbox_controller *mbox, in of_tegra_hsp_xlate()
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/
Docteon_mailbox.c36 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()
294 int octeon_mbox_process_message(struct octeon_mbox *mbox) in octeon_mbox_process_message()
358 struct octeon_mbox *mbox = oct->mbox[q_no]; in octeon_mbox_cancel() local
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_mbox.c844 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 …]
Dlpfc_sli.c4221 volatile uint32_t mbox; in lpfc_reset_barrier() local
5569 LPFC_MBOXQ_t *mbox; in lpfc_sli4_get_avail_extnt_rsrc() local
5709 uint16_t type, bool *emb, LPFC_MBOXQ_t *mbox) in lpfc_sli4_cfg_post_extnts()
5783 LPFC_MBOXQ_t *mbox; in lpfc_sli4_alloc_extent() local
6012 LPFC_MBOXQ_t *mbox; in lpfc_sli4_dealloc_extent() local
6117 lpfc_set_features(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox, in lpfc_set_features()
6446 LPFC_MBOXQ_t *mbox; in lpfc_sli4_get_allocated_extnts() local
6721 lpfc_set_host_data(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox) in lpfc_set_host_data()
12075 MAILBOX_t *mbox, *pmbox; in lpfc_sli_sp_intr_handler() local
12844 MAILBOX_t *mbox, *pmbox; in lpfc_sli4_sp_handle_mbox_event() local
[all …]
/Linux-v4.19/drivers/net/wireless/ti/wl1251/
Devent.c30 struct event_mailbox *mbox) in wl1251_event_scan_complete()
55 struct event_mailbox *mbox) in wl1251_event_ps_report()
90 static void wl1251_event_mbox_dump(struct event_mailbox *mbox) in wl1251_event_mbox_dump()
97 static int wl1251_event_process(struct wl1251 *wl, struct event_mailbox *mbox) in wl1251_event_process()
219 struct event_mailbox mbox; in wl1251_event_handle() local
/Linux-v4.19/drivers/scsi/megaraid/
Dmegaraid_mbox.c1393 mbox_t *mbox; in mbox_post_cmd() local
1510 mbox_t *mbox; in DEF_SCSI_QCMD() local
2057 mbox_t *mbox; in megaraid_ack_sequence() local
2232 mbox_t *mbox; in megaraid_mbox_dpc() local
2729 mbox_t *mbox; in mbox_post_sync_cmd() local
2861 mbox_t *mbox; in mbox_post_sync_cmd_fast() local
2911 mbox_t *mbox = raid_dev->mbox; in megaraid_busywait_mbox() local
2936 mbox_t *mbox; in megaraid_mbox_product_info() local
3059 mbox_t *mbox; in megaraid_mbox_extended_cdb() local
3095 mbox_t *mbox; in megaraid_mbox_support_ha() local
[all …]
/Linux-v4.19/drivers/scsi/
Dmegaraid.c199 mbox_t *mbox; in mega_query_adapter() local
528 mbox_t *mbox; in mega_build_cmd() local
1104 volatile mbox_t *mbox = adapter->mbox; in issue_scb() local
1183 volatile mbox_t *mbox = adapter->mbox; in issue_scb_block() local
1423 mbox_t *mbox = NULL; in mega_cmd_done() local
1706 volatile mbox_t *mbox = adapter->mbox; in __mega_busywait_mbox() local
2161 volatile mbox_t *mbox = adapter->mbox; in proc_show_mbox() local
3590 mbox_t *mbox; in mega_is_bios_enabled() local
3623 mbox_t *mbox; in mega_enum_raid_scsi() local
3678 mbox_t *mbox; in mega_get_boot_drv() local
[all …]
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c282 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()
4116 int t4_link_l1cfg_core(struct adapter *adapter, unsigned int mbox, in t4_link_l1cfg_core()
4205 int t4_restart_aneg(struct adapter *adap, unsigned int mbox, unsigned int port) in t4_restart_aneg()
5077 int t4_config_rss_range(struct adapter *adapter, int mbox, unsigned int viid, in t4_config_rss_range()
5135 int t4_config_glbl_rss(struct adapter *adapter, int mbox, unsigned int mode, in t4_config_glbl_rss()
5166 int t4_config_vi_rss(struct adapter *adapter, int mbox, unsigned int viid, in t4_config_vi_rss()
6413 int t4_fwaddrspace_write(struct adapter *adap, unsigned int mbox, in t4_fwaddrspace_write()
6443 int t4_mdio_rd(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, in t4_mdio_rd()
6477 int t4_mdio_wr(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, in t4_mdio_wr()
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c283 static int mlxsw_pci_sdq_init(struct mlxsw_pci *mlxsw_pci, char *mbox, in mlxsw_pci_sdq_init()
385 static int mlxsw_pci_rdq_init(struct mlxsw_pci *mlxsw_pci, char *mbox, in mlxsw_pci_rdq_init()
460 static int mlxsw_pci_cq_init(struct mlxsw_pci *mlxsw_pci, char *mbox, in mlxsw_pci_cq_init()
644 static int mlxsw_pci_eq_init(struct mlxsw_pci *mlxsw_pci, char *mbox, in mlxsw_pci_eq_init()
807 static int mlxsw_pci_queue_init(struct mlxsw_pci *mlxsw_pci, char *mbox, in mlxsw_pci_queue_init()
881 static int mlxsw_pci_queue_group_init(struct mlxsw_pci *mlxsw_pci, char *mbox, in mlxsw_pci_queue_group_init()
923 static int mlxsw_pci_aqs_init(struct mlxsw_pci *mlxsw_pci, char *mbox) in mlxsw_pci_aqs_init()
1022 char *mbox, int index, in mlxsw_pci_config_profile_swid_config()
1040 static int mlxsw_pci_resources_query(struct mlxsw_pci *mlxsw_pci, char *mbox, in mlxsw_pci_resources_query()
1097 static int mlxsw_pci_config_profile(struct mlxsw_pci *mlxsw_pci, char *mbox, in mlxsw_pci_config_profile()
[all …]
/Linux-v4.19/drivers/rapidio/devices/
Dtsi721.c627 int mbox; in tsi721_omsg_msix() local
644 int mbox; in tsi721_imsg_msix() local
1680 tsi721_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox, in tsi721_add_outb_message()
1887 int mbox, int entries) in tsi721_open_outb_mbox()
2067 static void tsi721_close_outb_mbox(struct rio_mport *mport, int mbox) in tsi721_close_outb_mbox()
2128 u32 mbox = ch - 4; in tsi721_imsg_handler() local
2174 int mbox, int entries) in tsi721_open_inb_mbox()
2367 static void tsi721_close_inb_mbox(struct rio_mport *mport, int mbox) in tsi721_close_inb_mbox()
2426 static int tsi721_add_inb_buffer(struct rio_mport *mport, int mbox, void *buf) in tsi721_add_inb_buffer()
2457 static void *tsi721_get_inb_message(struct rio_mport *mport, int mbox) in tsi721_get_inb_message()
/Linux-v4.19/include/linux/
Drio_drv.h316 struct rio_dev *rdev, int mbox, in rio_add_outb_message()
336 static inline int rio_add_inb_buffer(struct rio_mport *mport, int mbox, in rio_add_inb_buffer()
349 static inline void *rio_get_inb_message(struct rio_mport *mport, int mbox) in rio_get_inb_message()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dqp.c353 static int mbox_alloc(struct mbox_info *mbox, int inlen, int outlen) in mbox_alloc()
368 static void mbox_free(struct mbox_info *mbox) in mbox_free()
376 struct mbox_info *mbox) in modify_qp_mbox_alloc()
381 #define MBOX_ALLOC(mbox, typ) \ in modify_qp_mbox_alloc() argument
455 struct mbox_info mbox; in mlx5_core_qp_modify() local
/Linux-v4.19/arch/powerpc/sysdev/
Dfsl_rmu.c664 fsl_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox, in fsl_add_outb_message()
724 fsl_open_outb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entries) in fsl_open_outb_mbox()
828 void fsl_close_outb_mbox(struct rio_mport *mport, int mbox) in fsl_close_outb_mbox()
857 fsl_open_inb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entries) in fsl_open_inb_mbox()
929 void fsl_close_inb_mbox(struct rio_mport *mport, int mbox) in fsl_close_inb_mbox()
954 int fsl_add_inb_buffer(struct rio_mport *mport, int mbox, void *buf) in fsl_add_inb_buffer()
986 void *fsl_get_inb_message(struct rio_mport *mport, int mbox) in fsl_get_inb_message()
/Linux-v4.19/arch/mips/paravirt/
Dparavirt-irq.c217 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
/Linux-v4.19/drivers/net/wireless/ti/wl12xx/
Devent.c50 struct wl12xx_event_mailbox *mbox = wl->mbox; in wl12xx_process_mailbox_events() local

1234