Home
last modified time | relevance | path

Searched refs:num_chans (Results 1 – 25 of 48) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/mailbox/
Drockchip-mailbox.c31 int num_chans; member
84 writel_relaxed((1 << mb->mbox.num_chans) - 1, in rockchip_mbox_startup()
113 for (idx = 0; idx < mb->mbox.num_chans; idx++) { in rockchip_mbox_irq()
131 for (idx = 0; idx < mb->mbox.num_chans; idx++) { in rockchip_mbox_isr()
155 .num_chans = 4,
182 mb->chans = devm_kcalloc(&pdev->dev, drv_data->num_chans, in rockchip_mbox_probe()
187 mb->mbox.chans = devm_kcalloc(&pdev->dev, drv_data->num_chans, in rockchip_mbox_probe()
195 mb->mbox.num_chans = drv_data->num_chans; in rockchip_mbox_probe()
208 mb->buf_size = (size_t)resource_size(res) / (drv_data->num_chans * 2); in rockchip_mbox_probe()
224 for (i = 0; i < mb->mbox.num_chans; i++) { in rockchip_mbox_probe()
Darm_mhu_db.c66 for (i = 0; i < mbox->num_chans; i++) { in mhu_db_mbox_to_channel()
172 for (i = 0; i < mbox->num_chans; i++) in mhu_db_shutdown()
176 if (mbox->num_chans == i) { in mhu_db_shutdown()
214 for (i = 0; i < mbox->num_chans; i++) in mhu_db_mbox_xlate()
218 if (mbox->num_chans == i) { in mhu_db_mbox_xlate()
293 mhu->mbox.num_chans = max_chans; in mhu_db_probe()
Dpcc.c85 if (id < 0 || id >= pcc_mbox_ctrl.num_chans) in get_pcc_channel()
294 if (id >= pcc_mbox_ctrl.num_chans) { in pcc_mbox_free_channel()
334 if (id >= pcc_mbox_ctrl.num_chans) { in pcc_send_data()
527 pcc_mbox_ctrl.num_chans = count; in acpi_pcc_probe()
529 pr_info("Detected %d PCC Subspaces\n", pcc_mbox_ctrl.num_chans); in acpi_pcc_probe()
Dmailbox-sti.c104 for (i = 0; i < mbox->num_chans; i++) { in sti_mbox_to_channel()
306 for (i = 0; i < mbox->num_chans; i++) in sti_mbox_shutdown_chan()
310 if (mbox->num_chans == i) { in sti_mbox_shutdown_chan()
340 for (i = 0; i < mbox->num_chans; i++) { in sti_mbox_xlate()
459 mbox->num_chans = STI_MBOX_CHAN_MAX; in sti_mbox_probe()
Dmailbox.c125 for (i = 0; i < mbox->num_chans; i++) { in txdone_hrtimer()
472 if (ind >= mbox->num_chans) in of_mbox_index_xlate()
489 if (!mbox || !mbox->dev || !mbox->ops || !mbox->num_chans) in mbox_controller_register()
512 for (i = 0; i < mbox->num_chans; i++) { in mbox_controller_register()
547 for (i = 0; i < mbox->num_chans; i++) in mbox_controller_unregister()
Dtegra-hsp.c181 for_each_set_bit(master, &value, hsp->mbox_db.num_chans) { in tegra_hsp_doorbell_irq()
316 if (db->master >= chan->mbox->num_chans) { in tegra_hsp_doorbell_startup()
528 for (i = 0; i < mbox->num_chans; i++) { in tegra_hsp_db_xlate()
709 hsp->mbox_db.num_chans = 32; in tegra_hsp_probe()
713 hsp->mbox_db.chans = devm_kcalloc(&pdev->dev, hsp->mbox_db.num_chans, in tegra_hsp_probe()
737 hsp->mbox_sm.num_chans = hsp->num_sm; in tegra_hsp_probe()
741 hsp->mbox_sm.chans = devm_kcalloc(&pdev->dev, hsp->mbox_sm.num_chans, in tegra_hsp_probe()
Dstm32-ipcc.c300 ipcc->controller.num_chans = ipcc->n_chans; in stm32_ipcc_probe()
301 ipcc->controller.chans = devm_kcalloc(dev, ipcc->controller.num_chans, in stm32_ipcc_probe()
309 for (i = 0; i < ipcc->controller.num_chans; i++) in stm32_ipcc_probe()
323 ipcc->controller.num_chans, ipcc->proc_id); in stm32_ipcc_probe()
Dimx-mailbox.c402 if (chan >= mbox->num_chans) { in imx_mu_scu_xlate()
424 if (chan >= mbox->num_chans) { in imx_mu_xlate()
447 priv->mbox.num_chans = IMX_MU_CHANS; in imx_mu_init_generic()
472 priv->mbox.num_chans = IMX_MU_SCU_CHANS; in imx_mu_init_scu()
Darm_mhu.c139 mhu->mbox.num_chans = MHU_CHANS; in mhu_probe()
Dqcom-apcs-ipc-mailbox.c120 apcs->mbox.num_chans = ARRAY_SIZE(apcs->mbox_chans); in qcom_apcs_ipc_probe()
Dplatform_mhu.c150 mhu->mbox.num_chans = MHU_CHANS; in platform_mhu_probe()
Dbcm2835-mailbox.c169 mbox->controller.num_chans = 1; in bcm2835_mbox_probe()
Darmada-37xx-rwtm-mailbox.c171 mbox->controller.num_chans = 1; in armada_37xx_mbox_probe()
Dmailbox-xgene-slimpro.c212 ctx->mb_ctrl.num_chans = i; in slimpro_mbox_probe()
Dhi3660-mailbox.c259 mbox->controller.num_chans = MBOX_CHAN_MAX; in hi3660_mbox_probe()
Dqcom-ipcc.c202 mbox->num_chans = IPCC_MBOX_MAX_CHAN; in qcom_ipcc_setup_mbox()
Dmtk-cmdq-mailbox.c499 if (ind >= mbox->num_chans) in cmdq_xlate()
563 cmdq->mbox.num_chans = cmdq->thread_nr; in cmdq_probe()
/kernel/linux/linux-5.10/drivers/input/joystick/
Dadc-joystick.c28 int num_chans; member
41 for (i = 0; i < joy->num_chans; ++i) { in adc_joystick_handle()
119 if (num_axes != joy->num_chans) { in adc_joystick_set_axes()
121 num_axes, joy->num_chans); in adc_joystick_set_axes()
207 joy->num_chans = i; in adc_joystick_probe()
/kernel/linux/linux-5.10/drivers/edac/
Dcell_edac.c175 int rc, chanmask, num_chans; in cell_edac_probe() local
200 num_chans = chanmask == 3 ? 2 : 1; in cell_edac_probe()
206 layers[1].size = num_chans; in cell_edac_probe()
/kernel/linux/linux-5.10/drivers/firmware/
Darm_scpi.c249 int num_chans; member
488 scpi_info->num_chans; in scpi_send_message()
859 for (i = 0; i < info->num_chans; i++) in scpi_free_channels()
932 for (; scpi_drvinfo->num_chans < count; scpi_drvinfo->num_chans++) { in scpi_probe()
934 int idx = scpi_drvinfo->num_chans; in scpi_probe()
/kernel/linux/linux-5.10/include/linux/
Dmailbox_controller.h78 int num_chans; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_socbb.h69 uint32_t num_chans; member
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dp2p.c643 static s32 brcmf_p2p_escan(struct brcmf_p2p_info *p2p, u32 num_chans, in brcmf_p2p_escan() argument
659 memsize += num_chans * sizeof(__le16); in brcmf_p2p_escan()
717 if (num_chans == SOCIAL_CHAN_CNT || num_chans == (SOCIAL_CHAN_CNT + 1)) in brcmf_p2p_escan()
719 else if (num_chans == AF_PEER_SEARCH_CNT) in brcmf_p2p_escan()
727 if (num_chans == 1) { in brcmf_p2p_escan()
744 sparams->channel_num = cpu_to_le32(num_chans & in brcmf_p2p_escan()
746 for (i = 0; i < num_chans; i++) in brcmf_p2p_escan()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0026_linux_drivers_mailbox.patch645 + int num_chans = priv->dcfg->type & IMX_MU_V2_S4 ? IMX_MU_S4_CHANS : IMX_MU_SCU_CHANS;
648 + for (i = 0; i < num_chans; i++) {
656 - priv->mbox.num_chans = IMX_MU_SCU_CHANS;
658 + priv->mbox.num_chans = num_chans;
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/
Dgrph_object_ctrl_defs.h187 unsigned int num_chans; member

12