| /Linux-v5.4/drivers/mailbox/ |
| D | rockchip-mailbox.c | 31 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()
|
| D | pcc.c | 85 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() 524 pcc_mbox_ctrl.num_chans = count; in acpi_pcc_probe() 526 pr_info("Detected %d PCC Subspaces\n", pcc_mbox_ctrl.num_chans); in acpi_pcc_probe()
|
| D | mailbox-sti.c | 104 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()
|
| D | mailbox.c | 121 for (i = 0; i < mbox->num_chans; i++) { in txdone_hrtimer() 464 if (ind >= mbox->num_chans) in of_mbox_index_xlate() 481 if (!mbox || !mbox->dev || !mbox->ops || !mbox->num_chans) in mbox_controller_register() 503 for (i = 0; i < mbox->num_chans; i++) { in mbox_controller_register() 538 for (i = 0; i < mbox->num_chans; i++) in mbox_controller_unregister()
|
| D | tegra-hsp.c | 179 for_each_set_bit(master, &value, hsp->mbox_db.num_chans) { in tegra_hsp_doorbell_irq() 314 if (db->master >= chan->mbox->num_chans) { in tegra_hsp_doorbell_startup() 516 for (i = 0; i < mbox->num_chans; i++) { in tegra_hsp_db_xlate() 697 hsp->mbox_db.num_chans = 32; in tegra_hsp_probe() 701 hsp->mbox_db.chans = devm_kcalloc(&pdev->dev, hsp->mbox_db.num_chans, in tegra_hsp_probe() 725 hsp->mbox_sm.num_chans = hsp->num_sm; in tegra_hsp_probe() 729 hsp->mbox_sm.chans = devm_kcalloc(&pdev->dev, hsp->mbox_sm.num_chans, in tegra_hsp_probe()
|
| D | stm32-ipcc.c | 308 ipcc->controller.num_chans = ipcc->n_chans; in stm32_ipcc_probe() 309 ipcc->controller.chans = devm_kcalloc(dev, ipcc->controller.num_chans, in stm32_ipcc_probe() 317 for (i = 0; i < ipcc->controller.num_chans; i++) in stm32_ipcc_probe() 331 ipcc->controller.num_chans, ipcc->proc_id); in stm32_ipcc_probe()
|
| D | imx-mailbox.c | 246 if (chan >= mbox->num_chans) { in imx_mu_xlate() 317 priv->mbox.num_chans = IMX_MU_CHANS; in imx_mu_probe()
|
| D | qcom-apcs-ipc-mailbox.c | 88 apcs->mbox.num_chans = ARRAY_SIZE(apcs->mbox_chans); in qcom_apcs_ipc_probe()
|
| D | arm_mhu.c | 136 mhu->mbox.num_chans = MHU_CHANS; in mhu_probe()
|
| D | platform_mhu.c | 150 mhu->mbox.num_chans = MHU_CHANS; in platform_mhu_probe()
|
| D | bcm2835-mailbox.c | 169 mbox->controller.num_chans = 1; in bcm2835_mbox_probe()
|
| D | armada-37xx-rwtm-mailbox.c | 178 mbox->controller.num_chans = 1; in armada_37xx_mbox_probe()
|
| D | mailbox-xgene-slimpro.c | 212 ctx->mb_ctrl.num_chans = i; in slimpro_mbox_probe()
|
| D | mtk-cmdq-mailbox.c | 447 if (ind >= mbox->num_chans) in cmdq_xlate() 506 cmdq->mbox.num_chans = cmdq->thread_nr; in cmdq_probe()
|
| D | hi3660-mailbox.c | 259 mbox->controller.num_chans = MBOX_CHAN_MAX; in hi3660_mbox_probe()
|
| D | mailbox-altera.c | 320 mbox->controller.num_chans = 1; in altera_mbox_probe()
|
| D | bcm-pdc-mailbox.c | 1447 mbc->num_chans = 1; in pdc_mb_init() 1448 mbc->chans = devm_kcalloc(dev, mbc->num_chans, sizeof(*mbc->chans), in pdc_mb_init() 1456 for (chan_index = 0; chan_index < mbc->num_chans; chan_index++) in pdc_mb_init()
|
| D | hi6220-mailbox.c | 314 mbox->controller.num_chans = mbox->chan_num; in hi6220_mbox_probe()
|
| /Linux-v5.4/drivers/edac/ |
| D | cell_edac.c | 175 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()
|
| /Linux-v5.4/drivers/firmware/ |
| D | arm_scpi.c | 249 int num_chans; member 488 scpi_info->num_chans; in scpi_send_message() 857 for (i = 0; i < info->num_chans; i++) in scpi_free_channels() 929 for (; scpi_info->num_chans < count; scpi_info->num_chans++) { in scpi_probe() 931 int idx = scpi_info->num_chans; in scpi_probe()
|
| D | stratix10-svc.c | 137 int num_chans; member 998 controller->num_chans = SVC_NUM_CHANNEL; in stratix10_svc_drv_probe()
|
| /Linux-v5.4/include/linux/ |
| D | mailbox_controller.h | 78 int num_chans; member
|
| /Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_socbb.h | 69 uint32_t num_chans; member
|
| /Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| D | p2p.c | 620 static s32 brcmf_p2p_escan(struct brcmf_p2p_info *p2p, u32 num_chans, in brcmf_p2p_escan() argument 636 memsize += num_chans * sizeof(__le16); in brcmf_p2p_escan() 694 if (num_chans == SOCIAL_CHAN_CNT || num_chans == (SOCIAL_CHAN_CNT + 1)) in brcmf_p2p_escan() 696 else if (num_chans == AF_PEER_SEARCH_CNT) in brcmf_p2p_escan() 704 if (num_chans == 1) { in brcmf_p2p_escan() 721 sparams->channel_num = cpu_to_le32(num_chans & in brcmf_p2p_escan() 723 for (i = 0; i < num_chans; i++) in brcmf_p2p_escan()
|
| /Linux-v5.4/drivers/gpu/drm/amd/display/dc/dml/ |
| D | display_mode_structs.h | 99 unsigned int num_chans; member
|