Home
last modified time | relevance | path

Searched refs:mbox_info (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/drivers/net/wireless/ath/ath10k/
Dsdio.c37 return __ALIGN_MASK((len), ar_sdio->mbox_info.block_mask); in ath10k_sdio_calc_txrx_padded_len()
205 ret = sdio_set_block_size(func, ar_sdio->mbox_info.block_size); in ath10k_sdio_config()
208 ar_sdio->mbox_info.block_size, ret); in ath10k_sdio_config()
358 len = round_down(len, ar_sdio->mbox_info.block_size); in ath10k_sdio_readsb()
650 ret = ath10k_sdio_readsb(ar, ar_sdio->mbox_info.htc_addr, in ath10k_sdio_mbox_rx_fetch()
691 ret = ath10k_sdio_readsb(ar, ar_sdio->mbox_info.htc_addr, in ath10k_sdio_mbox_rx_fetch_bundle()
1081 struct ath10k_mbox_info *mbox_info = &ar_sdio->mbox_info; in ath10k_sdio_set_mbox_info() local
1084 mbox_info->htc_addr = ATH10K_HIF_MBOX_BASE_ADDR; in ath10k_sdio_set_mbox_info()
1085 mbox_info->block_size = ATH10K_HIF_MBOX_BLOCK_SIZE; in ath10k_sdio_set_mbox_info()
1086 mbox_info->block_mask = ATH10K_HIF_MBOX_BLOCK_SIZE - 1; in ath10k_sdio_set_mbox_info()
[all …]
Dsdio.h187 struct ath10k_mbox_info mbox_info; member
/linux-6.6.21/drivers/remoteproc/
Dxlnx_r5_remoteproc.c64 struct mbox_info { struct
103 struct mbox_info *ipi;
150 struct mbox_info *ipi; in handle_event_notified()
153 ipi = container_of(work, struct mbox_info, mbox_work); in handle_event_notified()
177 struct mbox_info *ipi; in zynqmp_r5_mb_rx_cb()
180 ipi = container_of(cl, struct mbox_info, mbox_cl); in zynqmp_r5_mb_rx_cb()
210 static struct mbox_info *zynqmp_r5_setup_mbox(struct device *cdev) in zynqmp_r5_setup_mbox()
213 struct mbox_info *ipi; in zynqmp_r5_setup_mbox()
250 static void zynqmp_r5_free_mbox(struct mbox_info *ipi) in zynqmp_r5_free_mbox()
278 struct mbox_info *ipi; in zynqmp_r5_rproc_kick()
[all …]
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mbox.c1121 static int init_mbox_info(struct hinic_recv_mbox *mbox_info) in init_mbox_info() argument
1125 mbox_info->seq_id = SEQ_ID_MAX_VAL; in init_mbox_info()
1127 mbox_info->mbox = kzalloc(MBOX_MAX_BUF_SZ, GFP_KERNEL); in init_mbox_info()
1128 if (!mbox_info->mbox) in init_mbox_info()
1131 mbox_info->buf_out = kzalloc(MBOX_MAX_BUF_SZ, GFP_KERNEL); in init_mbox_info()
1132 if (!mbox_info->buf_out) { in init_mbox_info()
1137 atomic_set(&mbox_info->msg_cnt, 0); in init_mbox_info()
1142 kfree(mbox_info->mbox); in init_mbox_info()
1147 static void clean_mbox_info(struct hinic_recv_mbox *mbox_info) in clean_mbox_info() argument
1149 kfree(mbox_info->buf_out); in clean_mbox_info()
[all …]
/linux-6.6.21/drivers/net/wireless/ath/ath6kl/
Dhif.c237 scat_req->addr = dev->ar->mbox_info.htc_addr; in ath6kl_hif_submit_scat_req()
243 dev->ar->mbox_info.htc_ext_addr : in ath6kl_hif_submit_scat_req()
244 dev->ar->mbox_info.htc_addr; in ath6kl_hif_submit_scat_req()
680 dev->htc_cnxt->block_sz = dev->ar->mbox_info.block_size; in ath6kl_hif_setup()
693 dev->htc_cnxt->block_sz, dev->ar->mbox_info.htc_addr); in ath6kl_hif_setup()
Dsdio.c98 struct ath6kl_mbox_info *mbox_info = &ar->mbox_info; in ath6kl_sdio_set_mbox_info() local
101 mbox_info->htc_addr = HIF_MBOX_BASE_ADDR; in ath6kl_sdio_set_mbox_info()
102 mbox_info->htc_ext_addr = HIF_MBOX0_EXT_BASE_ADDR; in ath6kl_sdio_set_mbox_info()
103 mbox_info->htc_ext_sz = HIF_MBOX0_EXT_WIDTH; in ath6kl_sdio_set_mbox_info()
104 mbox_info->block_size = HIF_MBOX_BLOCK_SIZE; in ath6kl_sdio_set_mbox_info()
105 mbox_info->gmbox_addr = HIF_GMBOX_BASE_ADDR; in ath6kl_sdio_set_mbox_info()
106 mbox_info->gmbox_sz = HIF_GMBOX_WIDTH; in ath6kl_sdio_set_mbox_info()
1141 addr = ar->mbox_info.htc_addr; in ath6kl_sdio_bmi_write()
1210 addr = ar->mbox_info.htc_addr; in ath6kl_sdio_bmi_read()
Dhtc_mbox.c524 target->dev->ar->mbox_info.htc_addr, in ath6kl_htc_tx_issue()
529 target->dev->ar->mbox_info.htc_addr, in ath6kl_htc_tx_issue()
537 target->dev->ar->mbox_info.htc_addr, in ath6kl_htc_tx_issue()
1319 padded_len, dev->ar->mbox_info.htc_addr); in ath6kl_htc_rx_packet()
1322 dev->ar->mbox_info.htc_addr, in ath6kl_htc_rx_packet()
2789 block_size = target->dev->ar->mbox_info.block_size; in ath6kl_htc_reset()
Dcore.h809 struct ath6kl_mbox_info mbox_info; member
Dusb.c1163 ar->mbox_info.block_size = 16; in ath6kl_usb_probe()
Dinit.c422 blk_size = ar->mbox_info.block_size; in ath6kl_set_htc_params()
Ddebug.c218 if (dev->ar->mbox_info.gmbox_addr != 0) { in ath6kl_dump_registers()
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dqpc.c332 struct mbox_info { struct
339 static int mbox_alloc(struct mbox_info *mbox, int inlen, int outlen) in mbox_alloc() argument
354 static void mbox_free(struct mbox_info *mbox) in mbox_free()
389 struct mbox_info *mbox, u16 uid, u32 ece) in modify_qp_mbox_alloc()
482 struct mbox_info mbox; in mlx5_core_qp_modify()