Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/mailbox/
Drockchip-mailbox.c39 int num_chans; member
92 writel_relaxed((1 << mb->mbox.num_chans) - 1, in rockchip_mbox_startup()
121 for (idx = 0; idx < mb->mbox.num_chans; idx++) { in rockchip_mbox_irq()
139 for (idx = 0; idx < mb->mbox.num_chans; idx++) { in rockchip_mbox_isr()
163 .num_chans = 4,
190 mb->chans = devm_kcalloc(&pdev->dev, drv_data->num_chans, in rockchip_mbox_probe()
195 mb->mbox.chans = devm_kcalloc(&pdev->dev, drv_data->num_chans, in rockchip_mbox_probe()
203 mb->mbox.num_chans = drv_data->num_chans; in rockchip_mbox_probe()
216 mb->buf_size = (size_t)resource_size(res) / (drv_data->num_chans * 2); in rockchip_mbox_probe()
232 for (i = 0; i < mb->mbox.num_chans; i++) { in rockchip_mbox_probe()
Dmailbox.c124 for (i = 0; i < mbox->num_chans; i++) { in txdone_hrtimer()
435 if (ind >= mbox->num_chans) in of_mbox_index_xlate()
452 if (!mbox || !mbox->dev || !mbox->ops || !mbox->num_chans) in mbox_controller_register()
474 for (i = 0; i < mbox->num_chans; i++) { in mbox_controller_register()
509 for (i = 0; i < mbox->num_chans; i++) in mbox_controller_unregister()
Dpcc.c94 if (id < 0 || id >= pcc_mbox_ctrl.num_chans) in get_pcc_channel()
303 if (id >= pcc_mbox_ctrl.num_chans) { in pcc_mbox_free_channel()
343 if (id >= pcc_mbox_ctrl.num_chans) { in pcc_send_data()
530 pcc_mbox_ctrl.num_chans = count; in acpi_pcc_probe()
532 pr_info("Detected %d PCC Subspaces\n", pcc_mbox_ctrl.num_chans); in acpi_pcc_probe()
Dmailbox-sti.c108 for (i = 0; i < mbox->num_chans; i++) { in sti_mbox_to_channel()
310 for (i = 0; i < mbox->num_chans; i++) in sti_mbox_shutdown_chan()
314 if (mbox->num_chans == i) { in sti_mbox_shutdown_chan()
344 for (i = 0; i < mbox->num_chans; i++) { in sti_mbox_xlate()
463 mbox->num_chans = STI_MBOX_CHAN_MAX; in sti_mbox_probe()
Dtegra-hsp.c161 for_each_set_bit(master, &value, hsp->mbox.num_chans) { in tegra_hsp_doorbell_irq()
238 if (db->master >= hsp->mbox.num_chans) { in tegra_hsp_doorbell_startup()
319 for (i = 0; i < hsp->mbox.num_chans; i++) { in of_tegra_hsp_xlate()
403 hsp->mbox.num_chans = 32; in tegra_hsp_probe()
409 hsp->mbox.chans = devm_kcalloc(&pdev->dev, hsp->mbox.num_chans, in tegra_hsp_probe()
Dstm32-ipcc.c290 ipcc->controller.num_chans = ipcc->n_chans; in stm32_ipcc_probe()
291 ipcc->controller.chans = devm_kcalloc(dev, ipcc->controller.num_chans, in stm32_ipcc_probe()
299 for (i = 0; i < ipcc->controller.num_chans; i++) in stm32_ipcc_probe()
313 ipcc->controller.num_chans, ipcc->proc_id); in stm32_ipcc_probe()
Dimx-mailbox.c246 if (chan >= mbox->num_chans) { in imx_mu_xlate()
319 priv->mbox.num_chans = IMX_MU_CHANS; in imx_mu_probe()
Dqcom-apcs-ipc-mailbox.c92 apcs->mbox.num_chans = ARRAY_SIZE(apcs->mbox_chans); in qcom_apcs_ipc_probe()
Darm_mhu.c147 mhu->mbox.num_chans = MHU_CHANS; in mhu_probe()
Dbcm2835-mailbox.c175 mbox->controller.num_chans = 1; in bcm2835_mbox_probe()
Dplatform_mhu.c158 mhu->mbox.num_chans = MHU_CHANS; in platform_mhu_probe()
Dmailbox-xgene-slimpro.c225 ctx->mb_ctrl.num_chans = i; in slimpro_mbox_probe()
Dmtk-cmdq-mailbox.c447 if (ind >= mbox->num_chans) in cmdq_xlate()
504 cmdq->mbox.num_chans = cmdq->thread_nr; in cmdq_probe()
Dhi3660-mailbox.c261 mbox->controller.num_chans = MBOX_CHAN_MAX; in hi3660_mbox_probe()
Dmailbox-altera.c331 mbox->controller.num_chans = 1; in altera_mbox_probe()
Dbcm-pdc-mailbox.c1461 mbc->num_chans = 1; in pdc_mb_init()
1462 mbc->chans = devm_kcalloc(dev, mbc->num_chans, sizeof(*mbc->chans), in pdc_mb_init()
1470 for (chan_index = 0; chan_index < mbc->num_chans; chan_index++) in pdc_mb_init()
Dhi6220-mailbox.c323 mbox->controller.num_chans = mbox->chan_num; in hi6220_mbox_probe()
Dbcm-flexrm-mailbox.c1468 if (pa->args[0] >= cntlr->num_chans) in flexrm_mbox_of_xlate()
1656 mbox->controller.num_chans = mbox->num_rings; in flexrm_mbox_probe()
1673 mbox->controller.num_chans); in flexrm_mbox_probe()
/Linux-v4.19/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()
/Linux-v4.19/include/linux/
Dmailbox_controller.h78 int num_chans; member
/Linux-v4.19/drivers/firmware/
Darm_scpi.c260 int num_chans; member
499 scpi_info->num_chans; in scpi_send_message()
868 for (i = 0; i < info->num_chans; i++) in scpi_free_channels()
940 for (; scpi_info->num_chans < count; scpi_info->num_chans++) { in scpi_probe()
942 int idx = scpi_info->num_chans; in scpi_probe()
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dp2p.c629 static s32 brcmf_p2p_escan(struct brcmf_p2p_info *p2p, u32 num_chans, in brcmf_p2p_escan() argument
644 memsize += num_chans * sizeof(__le16); in brcmf_p2p_escan()
702 if (num_chans == SOCIAL_CHAN_CNT || num_chans == (SOCIAL_CHAN_CNT + 1)) in brcmf_p2p_escan()
704 else if (num_chans == AF_PEER_SEARCH_CNT) in brcmf_p2p_escan()
712 if (num_chans == 1) { in brcmf_p2p_escan()
729 sparams->channel_num = cpu_to_le32(num_chans & in brcmf_p2p_escan()
731 for (i = 0; i < num_chans; i++) in brcmf_p2p_escan()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_structs.h105 unsigned int num_chans; member
/Linux-v4.19/sound/pci/hda/
Dpatch_ca0132.c2339 unsigned int num_chans, in dsp_allocate_router_ports() argument
2354 val |= num_chans - 1; in dsp_allocate_router_ports()
2400 unsigned int num_chans, in dsp_allocate_ports() argument
2412 status = dsp_allocate_router_ports(codec, num_chans, in dsp_allocate_ports()
2425 unsigned int num_chans; in dsp_allocate_ports_format() local
2436 num_chans = get_hdafmt_chs(fmt) + 1; in dsp_allocate_ports_format()
2438 status = dsp_allocate_ports(codec, num_chans, rate_multi, port_map); in dsp_allocate_ports_format()
2673 unsigned int num_chans; in dspxfr_one_seg() local
2729 num_chans = get_hdafmt_chs(hda_format) + 1; in dspxfr_one_seg()
2732 (num_chans * sample_rate_mul / sample_rate_div)); in dspxfr_one_seg()
[all …]
/Linux-v4.19/drivers/net/wireless/quantenna/qtnfmac/
Dqlink.h887 u8 num_chans; member

12