Home
last modified time | relevance | path

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

1234567

/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c18 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()
130 int otx2_mbox_init(struct otx2_mbox *mbox, void *hwbase, struct pci_dev *pdev, in otx2_mbox_init()
158 int otx2_mbox_regions_init(struct otx2_mbox *mbox, void **hwbase, in otx2_mbox_regions_init()
187 int otx2_mbox_wait_for_rsp(struct otx2_mbox *mbox, int devid) in otx2_mbox_wait_for_rsp()
203 int otx2_mbox_busy_poll_for_rsp(struct otx2_mbox *mbox, int devid) in otx2_mbox_busy_poll_for_rsp()
217 static void otx2_mbox_msg_send_data(struct otx2_mbox *mbox, int devid, u64 data) in otx2_mbox_msg_send_data()
270 void otx2_mbox_msg_send(struct otx2_mbox *mbox, int devid) in otx2_mbox_msg_send()
[all …]
/linux-6.12.1/drivers/mailbox/
Dmailbox-altera.c60 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 …]
Domap-mailbox.c106 static u32 mbox_fifo_read(struct omap_mbox *mbox) in mbox_fifo_read()
113 static void mbox_fifo_write(struct omap_mbox *mbox, u32 msg) in mbox_fifo_write()
120 static int mbox_fifo_empty(struct omap_mbox *mbox) in mbox_fifo_empty()
127 static int mbox_fifo_full(struct omap_mbox *mbox) in mbox_fifo_full()
135 static void ack_mbox_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in ack_mbox_irq()
148 static int is_mbox_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in is_mbox_irq()
162 static void omap_mbox_enable_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in omap_mbox_enable_irq()
175 static void omap_mbox_disable_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq) in omap_mbox_disable_irq()
195 static void __mbox_tx_interrupt(struct omap_mbox *mbox) in __mbox_tx_interrupt()
202 static void __mbox_rx_interrupt(struct omap_mbox *mbox) in __mbox_rx_interrupt()
[all …]
Dbcm2835-mailbox.c68 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
Dsun6i-msgbox.c44 #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
Dmailbox.c120 struct mbox_controller *mbox = in txdone_hrtimer() local
406 struct mbox_controller *mbox; in mbox_request_channel() local
498 of_mbox_index_xlate(struct mbox_controller *mbox, in of_mbox_index_xlate()
515 int mbox_controller_register(struct mbox_controller *mbox) in mbox_controller_register()
567 void mbox_controller_unregister(struct mbox_controller *mbox) in mbox_controller_unregister()
590 struct mbox_controller **mbox = res; in __devm_mbox_controller_unregister() local
597 struct mbox_controller **mbox = res; in devm_mbox_controller_match() local
618 struct mbox_controller *mbox) in devm_mbox_controller_register()
651 void devm_mbox_controller_unregister(struct device *dev, struct mbox_controller *mbox) in devm_mbox_controller_unregister()
Dmailbox-mpfs.c74 static bool mpfs_mbox_busy(struct mpfs_mbox *mbox) in mpfs_mbox_busy()
85 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_last_tx_done() local
106 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_send_data() local
153 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_rx_data() local
186 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_inbox_isr() local
197 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_startup() local
212 struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv; in mpfs_mbox_shutdown() local
226 struct mpfs_mbox *mbox; in mpfs_mbox_probe() local
Dhi3660-mailbox.c25 #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
Darmada-37xx-rwtm-mailbox.c45 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
Dhi6220-mailbox.c90 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
Dmtk-adsp-mailbox.c19 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
Darm_mhu_db.c41 struct mbox_controller mbox; member
59 mhu_db_mbox_to_channel(struct mbox_controller *mbox, unsigned int pchan, in mhu_db_mbox_to_channel()
99 struct mbox_controller *mbox = &mhu->mbox; in mhu_db_mbox_irq_to_channel() local
168 struct mbox_controller *mbox = &chan_info->mhu->mbox; in mhu_db_shutdown() local
186 static struct mbox_chan *mhu_db_mbox_xlate(struct mbox_controller *mbox, in mhu_db_mbox_xlate()
/linux-6.12.1/drivers/crypto/marvell/octeontx2/
Dotx2_cpt_mbox_common.c7 int otx2_cpt_send_mbox_msg(struct otx2_mbox *mbox, struct pci_dev *pdev) in otx2_cpt_send_mbox_msg()
24 int otx2_cpt_send_ready_msg(struct otx2_mbox *mbox, struct pci_dev *pdev) in otx2_cpt_send_ready_msg()
42 int otx2_cpt_send_af_reg_requests(struct otx2_mbox *mbox, struct pci_dev *pdev) in otx2_cpt_send_af_reg_requests()
48 static int otx2_cpt_add_read_af_reg(struct otx2_mbox *mbox, in otx2_cpt_add_read_af_reg()
74 int otx2_cpt_add_write_af_reg(struct otx2_mbox *mbox, struct pci_dev *pdev, in otx2_cpt_add_write_af_reg()
100 int otx2_cpt_read_af_reg(struct otx2_mbox *mbox, struct pci_dev *pdev, in otx2_cpt_read_af_reg()
113 int otx2_cpt_write_af_reg(struct otx2_mbox *mbox, struct pci_dev *pdev, in otx2_cpt_write_af_reg()
128 struct otx2_mbox *mbox = lfs->mbox; in otx2_cpt_attach_rscrs_msg() local
158 struct otx2_mbox *mbox = lfs->mbox; in otx2_cpt_detach_rsrcs_msg() local
187 struct otx2_mbox *mbox = lfs->mbox; in otx2_cpt_msix_offset_msg() local
[all …]
Dotx2_cptvf_mbox.c28 static void otx2_cpt_sync_mbox_bbuf(struct otx2_mbox *mbox, int devid) in otx2_cpt_sync_mbox_bbuf()
178 struct otx2_mbox *mbox = &cptvf->pfvf_mbox; in otx2_cptvf_send_eng_grp_num_msg() local
199 struct otx2_mbox *mbox = &cptvf->pfvf_mbox; in otx2_cptvf_send_kvf_limits_msg() local
219 struct otx2_mbox *mbox = &cptvf->pfvf_mbox; in otx2_cptvf_send_caps_msg() local
/linux-6.12.1/drivers/gpu/drm/i915/
Dintel_pcode.c10 static int gen6_check_mailbox_status(u32 mbox) in gen6_check_mailbox_status()
30 static int gen7_check_mailbox_status(u32 mbox) in gen7_check_mailbox_status()
55 static int __snb_pcode_rw(struct intel_uncore *uncore, u32 mbox, in __snb_pcode_rw()
95 int snb_pcode_read(struct intel_uncore *uncore, u32 mbox, u32 *val, u32 *val1) in snb_pcode_read()
112 int snb_pcode_write_timeout(struct intel_uncore *uncore, u32 mbox, u32 val, in snb_pcode_write_timeout()
131 static bool skl_pcode_try_request(struct intel_uncore *uncore, u32 mbox, in skl_pcode_try_request()
159 int skl_pcode_request(struct intel_uncore *uncore, u32 mbox, u32 request, in skl_pcode_request()
248 u32 mbox; in snb_pcode_read_p() local
264 u32 mbox; in snb_pcode_write_p() local
/linux-6.12.1/drivers/scsi/lpfc/
Dlpfc_mbox.c63 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()
1942 lpfc_sli4_mbox_rsrc_extent(struct lpfc_hba *phba, struct lpfcMboxq *mbox, in lpfc_sli4_mbox_rsrc_extent()
2013 lpfc_sli_config_mbox_subsys_get(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox) in lpfc_sli_config_mbox_subsys_get()
[all …]
/linux-6.12.1/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()
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-6.12.1/drivers/net/wireless/ti/wl1251/
Devent.c16 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-6.12.1/drivers/soc/apple/
Dmailbox.c99 int apple_mbox_send(struct apple_mbox *mbox, const struct apple_mbox_msg msg, in apple_mbox_send()
165 struct apple_mbox *mbox = data; in apple_mbox_send_empty_irq() local
182 static int apple_mbox_poll_locked(struct apple_mbox *mbox) in apple_mbox_poll_locked()
218 struct apple_mbox *mbox = data; in apple_mbox_recv_irq() local
227 int apple_mbox_poll(struct apple_mbox *mbox) in apple_mbox_poll()
240 int apple_mbox_start(struct apple_mbox *mbox) in apple_mbox_start()
271 void apple_mbox_stop(struct apple_mbox *mbox) in apple_mbox_stop()
287 struct apple_mbox *mbox; in apple_mbox_get() local
328 struct apple_mbox *mbox; in apple_mbox_probe() local
/linux-6.12.1/drivers/gpu/drm/xe/compat-i915-headers/
Dintel_pcode.h13 snb_pcode_write_timeout(struct intel_uncore *uncore, u32 mbox, u32 val, in snb_pcode_write_timeout()
21 snb_pcode_write(struct intel_uncore *uncore, u32 mbox, u32 val) in snb_pcode_write()
28 snb_pcode_read(struct intel_uncore *uncore, u32 mbox, u32 *val, u32 *val1) in snb_pcode_read()
34 skl_pcode_request(struct intel_uncore *uncore, u32 mbox, in skl_pcode_request()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_pcode.c57 static int __pcode_mailbox_rw(struct xe_tile *tile, u32 mbox, u32 *data0, u32 *data1, in __pcode_mailbox_rw()
88 static int pcode_mailbox_rw(struct xe_tile *tile, u32 mbox, u32 *data0, u32 *data1, in pcode_mailbox_rw()
100 int xe_pcode_write_timeout(struct xe_tile *tile, u32 mbox, u32 data, int timeout) in xe_pcode_write_timeout()
111 int xe_pcode_read(struct xe_tile *tile, u32 mbox, u32 *val, u32 *val1) in xe_pcode_read()
122 static int pcode_try_request(struct xe_tile *tile, u32 mbox, in pcode_try_request()
169 int xe_pcode_request(struct xe_tile *tile, u32 mbox, u32 request, in xe_pcode_request()
/linux-6.12.1/drivers/vdpa/octeon_ep/
Doctep_vdpa_hw.c55 static inline int octep_wait_for_mbox_avail(struct octep_mbox __iomem *mbox) in octep_wait_for_mbox_avail()
63 static inline int octep_wait_for_mbox_rsp(struct octep_mbox __iomem *mbox) in octep_wait_for_mbox_rsp()
71 static inline void octep_write_hdr(struct octep_mbox __iomem *mbox, u16 id, u16 sig) in octep_write_hdr()
77 static inline u32 octep_read_sig(struct octep_mbox __iomem *mbox) in octep_read_sig()
82 static inline void octep_write_sts(struct octep_mbox __iomem *mbox, u32 sts) in octep_write_sts()
87 static inline u32 octep_read_sts(struct octep_mbox __iomem *mbox) in octep_read_sts()
92 static inline u32 octep_read32_word(struct octep_mbox __iomem *mbox, u16 word_idx) in octep_read32_word()
97 static inline void octep_write32_word(struct octep_mbox __iomem *mbox, u16 word_idx, u32 word) in octep_write32_word()
105 struct octep_mbox __iomem *mbox = octep_get_mbox(oct_hw); in octep_process_mbox() local
160 static void octep_mbox_init(struct octep_mbox __iomem *mbox) in octep_mbox_init()
[all …]
/linux-6.12.1/drivers/scsi/
Dmyrb.c153 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 …]
/linux-6.12.1/drivers/scsi/megaraid/
Dmegaraid_mbox.c1380 mbox_t *mbox; in mbox_post_cmd() local
1489 mbox_t *mbox; in DEF_SCSI_QCMD() local
2034 mbox_t *mbox; in megaraid_ack_sequence() local
2184 mbox_t *mbox; in megaraid_mbox_dpc() local
2669 mbox_t *mbox; in mbox_post_sync_cmd() local
2799 mbox_t *mbox; in mbox_post_sync_cmd_fast() local
2849 mbox_t *mbox = raid_dev->mbox; in megaraid_busywait_mbox() local
2874 mbox_t *mbox; in megaraid_mbox_product_info() local
2996 mbox_t *mbox; in megaraid_mbox_extended_cdb() local
3032 mbox_t *mbox; in megaraid_mbox_support_ha() local
[all …]
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dcn10k_macsec.c144 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_alloc_rsrc() local
204 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_free_rsrc() local
263 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_write_rx_secy() local
317 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_write_rx_flowid() local
362 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_write_sc_cam() local
430 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_write_rx_sa_plcy() local
475 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_write_rx_sa_pn() local
502 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_write_tx_secy() local
584 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_write_tx_flowid() local
631 struct mbox *mbox = &pfvf->mbox; in cn10k_mcs_link_tx_sa2sc() local
[all …]

1234567