/kernel/linux/linux-4.19/drivers/mailbox/ |
D | mailbox-altera.c | 71 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 …]
|
D | omap-mailbox.c | 68 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 …]
|
D | bcm2835-mailbox.c | 74 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
|
D | hi3660-mailbox.c | 24 #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
|
D | hi6220-mailbox.c | 98 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
|
D | mailbox.c | 122 struct mbox_controller *mbox = in txdone_hrtimer() local 308 struct mbox_controller *mbox; in mbox_request_channel() local 434 of_mbox_index_xlate(struct mbox_controller *mbox, in of_mbox_index_xlate() 451 int mbox_controller_register(struct mbox_controller *mbox) in mbox_controller_register() 502 void mbox_controller_unregister(struct mbox_controller *mbox) in mbox_controller_unregister()
|
/kernel/linux/linux-5.10/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 | 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 201 struct sun6i_msgbox *mbox; in sun6i_msgbox_probe() local 299 struct sun6i_msgbox *mbox = platform_get_drvdata(pdev); in sun6i_msgbox_remove() local
|
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()
|
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
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.c | 21 void __otx2_mbox_reset(struct otx2_mbox *mbox, int devid) in __otx2_mbox_reset() 39 void otx2_mbox_reset(struct otx2_mbox *mbox, int devid) in otx2_mbox_reset() 49 void otx2_mbox_destroy(struct otx2_mbox *mbox) in otx2_mbox_destroy() 59 int otx2_mbox_init(struct otx2_mbox *mbox, void *hwbase, struct pci_dev *pdev, in otx2_mbox_init() 146 int otx2_mbox_wait_for_rsp(struct otx2_mbox *mbox, int devid) in otx2_mbox_wait_for_rsp() 162 int otx2_mbox_busy_poll_for_rsp(struct otx2_mbox *mbox, int devid) in otx2_mbox_busy_poll_for_rsp() 176 void otx2_mbox_msg_send(struct otx2_mbox *mbox, int devid) in otx2_mbox_msg_send() 224 struct mbox_msghdr *otx2_mbox_alloc_msg_rsp(struct otx2_mbox *mbox, int devid, in otx2_mbox_alloc_msg_rsp() 259 struct mbox_msghdr *otx2_mbox_get_rsp(struct otx2_mbox *mbox, int devid, in otx2_mbox_get_rsp() 293 int otx2_mbox_check_rsp_msgs(struct otx2_mbox *mbox, int devid) in otx2_mbox_check_rsp_msgs() [all …]
|
/kernel/linux/linux-5.10/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() 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
|
/kernel/linux/linux-4.19/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() 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
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-4.19/drivers/net/wireless/ti/wl1251/ |
D | event.c | 30 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
|
/kernel/liteos_m/components/net/lwip-2.1/porting/src/ |
D | sys_arch.c | 144 err_t sys_mbox_new(sys_mbox_t *mbox, int size) in sys_mbox_new() 166 void sys_mbox_post(sys_mbox_t *mbox, void *msg) in sys_mbox_post() 180 err_t sys_mbox_trypost(sys_mbox_t *mbox, void *msg) in sys_mbox_trypost() 201 err_t sys_mbox_trypost_fromisr(sys_mbox_t *mbox, void *msg) in sys_mbox_trypost_fromisr() 208 u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeoutMs) in sys_arch_mbox_fetch() 231 u32_t sys_arch_mbox_tryfetch(sys_mbox_t *mbox, void **msg) in sys_arch_mbox_tryfetch() 254 void sys_mbox_free(sys_mbox_t *mbox) in sys_mbox_free() 264 int sys_mbox_valid(sys_mbox_t *mbox) in sys_mbox_valid() 275 void sys_mbox_set_invalid(sys_mbox_t *mbox) in sys_mbox_set_invalid()
|
/kernel/linux/linux-4.19/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 …]
|
/kernel/liteos_a/net/lwip-2.1/porting/src/ |
D | sys_arch.c | 149 err_t sys_mbox_new(sys_mbox_t *mbox, int size) in sys_mbox_new() 166 void sys_mbox_post(sys_mbox_t *mbox, void *msg) in sys_mbox_post() 175 err_t sys_mbox_trypost(sys_mbox_t *mbox, void *msg) in sys_mbox_trypost() 193 u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeoutMs) in sys_arch_mbox_fetch() 211 u32_t sys_arch_mbox_tryfetch(sys_mbox_t *mbox, void **msg) in sys_arch_mbox_tryfetch() 229 void sys_mbox_free(sys_mbox_t *mbox) in sys_mbox_free() 234 int sys_mbox_valid(sys_mbox_t *mbox) in sys_mbox_valid() 240 void sys_mbox_set_invalid(sys_mbox_t *mbox) in sys_mbox_set_invalid()
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
D | lpfc_mbox.c | 845 LPFC_MBOXQ_t *mbox; in lpfc_sli4_unreg_all_rpis() local 1625 MAILBOX_t *mbox = &mboxq->u.mb; in lpfc_mbox_tmo_val() local 1685 lpfc_sli4_mbx_sge_set(struct lpfcMboxq *mbox, uint32_t sgentry, in lpfc_sli4_mbx_sge_set() 1707 lpfc_sli4_mbx_sge_get(struct lpfcMboxq *mbox, uint32_t sgentry, in lpfc_sli4_mbx_sge_get() 1727 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() 2118 lpfc_init_vfi(struct lpfcMboxq *mbox, struct lpfc_vport *vport) in lpfc_init_vfi() [all …]
|
/kernel/linux/linux-4.19/drivers/scsi/megaraid/ |
D | megaraid_mbox.c | 1393 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 …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_common.h | 143 struct mbox { struct 144 struct otx2_mbox mbox; member 145 struct work_struct mbox_wrk; argument 146 struct otx2_mbox mbox_up; argument 147 struct work_struct mbox_up_wrk; argument 149 void *bbuf_base; /* Bounce buffer for mbox memory */ argument 151 int num_msgs; /* mbox number of messages */ argument 152 int up_num_msgs; /* mbox_up number of messages */ argument 249 struct mbox mbox; member 357 static inline int otx2_mbox_bbuf_init(struct mbox *mbox, struct pci_dev *pdev) in otx2_mbox_bbuf_init() [all …]
|