Home
last modified time | relevance | path

Searched refs:mchan (Results 1 – 17 of 17) sorted by relevance

/linux-6.3-rc2/drivers/dma/
A Dimg-mdc-dma.c161 return mdc_readl(mchan->mdma, mchan->chan_nr * 0x040 + reg); in mdc_chan_readl()
166 mdc_writel(mchan->mdma, val, mchan->chan_nr * 0x040 + reg); in mdc_chan_writel()
301 mdesc->chan = mchan; in mdc_prep_dma_memcpy()
389 mdesc->chan = mchan; in mdc_prep_dma_cyclic()
472 mdesc->chan = mchan; in mdc_prep_slave_sg()
541 mchan->chan_nr); in mdc_issue_desc()
566 if (vchan_issue_pending(&mchan->vc) && !mchan->desc) in mdc_issue_pending()
593 } else if (mchan->desc && mchan->desc->vd.tx.cookie == cookie) { in mdc_tx_status()
702 if (mchan->desc) { in mdc_terminate_all()
775 mchan->chan_nr); in mdc_chan_irq()
[all …]
A Dmpc512x_dma.c320 struct mpc_dma_chan *mchan; in mpc_dma_irq_process() local
329 spin_lock(&mchan->lock); in mpc_dma_irq_process()
340 list_splice_tail_init(&mchan->active, &mchan->completed); in mpc_dma_irq_process()
342 mpc_dma_execute(mchan); in mpc_dma_irq_process()
344 spin_unlock(&mchan->lock); in mpc_dma_irq_process()
476 mpc_dma_execute(mchan); in mpc_dma_tx_submit()
532 mchan->tcd = tcd; in mpc_dma_alloc_chan_resources()
564 tcd = mchan->tcd; in mpc_dma_free_chan_resources()
889 list_splice_tail_init(&mchan->prepared, &mchan->free); in mpc_dma_device_terminate_all()
890 list_splice_tail_init(&mchan->queued, &mchan->free); in mpc_dma_device_terminate_all()
[all …]
A Dbcm-sba-raid.c138 struct mbox_chan *mchan; member
216 mbox_client_peek_data(sba->mchan); in sba_alloc_request()
358 ret = mbox_send_message(sba->mchan, &req->msg); in sba_send_mbox_request()
371 mbox_client_txdone(sba->mchan, ret); in sba_send_mbox_request()
548 mbox_client_peek_data(sba->mchan); in sba_tx_status()
1678 sba->mchan = mbox_request_channel(&sba->client, 0); in sba_probe()
1679 if (IS_ERR(sba->mchan)) { in sba_probe()
1680 ret = PTR_ERR(sba->mchan); in sba_probe()
1731 mbox_free_channel(sba->mchan); in sba_probe()
1745 mbox_free_channel(sba->mchan); in sba_remove()
/linux-6.3-rc2/drivers/dma/qcom/
A Dhidma.c181 mchan->running = list_first_entry(&mchan->active, in hidma_callback()
199 mchan = devm_kzalloc(dmadev->ddev.dev, sizeof(*mchan), GFP_KERNEL); in hidma_chan_init()
200 if (!mchan) in hidma_chan_init()
205 mchan->dmadev = dmadev; in hidma_chan_init()
243 if (!mchan->running) { in hidma_issue_pending()
247 mchan->running = desc; in hidma_issue_pending()
293 if (mchan->running) in hidma_tx_status()
352 if (mchan->allocated) in hidma_alloc_chan_resources()
569 if (!mchan->paused) { in hidma_pause()
573 mchan->paused = true; in hidma_pause()
[all …]
A Dhidma_dbg.c86 struct hidma_chan *mchan = s->private; in hidma_chan_show() local
88 struct hidma_dev *dmadev = mchan->dmadev; in hidma_chan_show()
91 seq_printf(s, "paused=%u\n", mchan->paused); in hidma_chan_show()
92 seq_printf(s, "dma_sig=%u\n", mchan->dma_sig); in hidma_chan_show()
94 list_for_each_entry(mdesc, &mchan->prepared, node) in hidma_chan_show()
95 hidma_ll_chstats(s, mchan->dmadev->lldev, mdesc->tre_ch); in hidma_chan_show()
98 list_for_each_entry(mdesc, &mchan->active, node) in hidma_chan_show()
99 hidma_ll_chstats(s, mchan->dmadev->lldev, mdesc->tre_ch); in hidma_chan_show()
102 list_for_each_entry(mdesc, &mchan->completed, node) in hidma_chan_show()
103 hidma_ll_chstats(s, mchan->dmadev->lldev, mdesc->tre_ch); in hidma_chan_show()
[all …]
/linux-6.3-rc2/drivers/mailbox/
A Dzynqmp-ipi-mailbox.c167 if (mchan->is_opened) { in zynqmp_ipi_interrupt()
168 msg = mchan->rx_buf; in zynqmp_ipi_interrupt()
284 mchan->req_buf_size); in zynqmp_ipi_send_data()
326 if (mchan->is_opened) in zynqmp_ipi_startup()
348 mchan->is_opened = 1; in zynqmp_ipi_startup()
367 if (!mchan->is_opened) in zynqmp_ipi_shutdown()
383 mchan->is_opened = 0; in zynqmp_ipi_shutdown()
508 if (!mchan->req_buf) { in zynqmp_ipi_mbox_probe()
535 if (!mchan->rx_buf) in zynqmp_ipi_mbox_probe()
545 if (!mchan->req_buf) { in zynqmp_ipi_mbox_probe()
[all …]
A Dhi6220-mailbox.c82 struct hi6220_mbox_chan *mchan; member
131 mchan->dir = MBOX_TX; in hi6220_mbox_send_data()
151 struct hi6220_mbox_chan *mchan; in hi6220_mbox_interrupt() local
174 mchan = chan->con_priv; in hi6220_mbox_interrupt()
175 if (mchan->dir == MBOX_TX) in hi6220_mbox_interrupt()
198 mchan->dir = 0; in hi6220_mbox_startup()
248 mchan = chan->con_priv; in hi6220_mbox_xlate()
249 mchan->dst_irq = dst_irq; in hi6220_mbox_xlate()
250 mchan->ack_irq = ack_irq; in hi6220_mbox_xlate()
277 if (!mbox->mchan) in hi6220_mbox_probe()
[all …]
A Dhi3660-mailbox.c75 struct hi3660_chan_info mchan[MBOX_CHAN_MAX]; member
88 struct hi3660_chan_info *mchan = &mbox->mchan[ch]; in hi3660_mbox_check_state() local
106 writel(BIT(mchan->ack_irq), base + MBOX_ICLR_REG); in hi3660_mbox_check_state()
136 struct hi3660_chan_info *mchan = &mbox->mchan[ch]; in hi3660_mbox_acquire_channel() local
147 if (val & BIT(mchan->ack_irq)) in hi3660_mbox_acquire_channel()
177 struct hi3660_chan_info *mchan = &mbox->mchan[ch]; in hi3660_mbox_send_data() local
201 writel(BIT(mchan->ack_irq), base + MBOX_SEND_REG); in hi3660_mbox_send_data()
214 struct hi3660_chan_info *mchan; in hi3660_mbox_xlate() local
222 mchan = &mbox->mchan[ch]; in hi3660_mbox_xlate()
223 mchan->dst_irq = spec->args[1]; in hi3660_mbox_xlate()
[all …]
A Dqcom-ipcc.c55 struct qcom_ipcc_chan_info *mchan; member
152 hwirq = qcom_ipcc_get_hwirq(mchan->client_id, mchan->signal_id); in qcom_ipcc_mbox_send_data()
167 struct qcom_ipcc_chan_info *mchan; in qcom_ipcc_mbox_xlate() local
179 mchan = chan->con_priv; in qcom_ipcc_mbox_xlate()
181 if (!mchan) in qcom_ipcc_mbox_xlate()
184 mchan->signal_id == ph->args[1]) in qcom_ipcc_mbox_xlate()
191 mchan = devm_kzalloc(dev, sizeof(*mchan), GFP_KERNEL); in qcom_ipcc_mbox_xlate()
192 if (!mchan) in qcom_ipcc_mbox_xlate()
195 mchan->client_id = ph->args[0]; in qcom_ipcc_mbox_xlate()
196 mchan->signal_id = ph->args[1]; in qcom_ipcc_mbox_xlate()
[all …]
A Dpcc.c292 chan = pchan->chan.mchan; in pcc_mbox_request_channel()
337 struct mbox_chan *chan = pchan->mchan; in pcc_mbox_free_channel()
675 pchan->chan.mchan = &pcc_mbox_channels[i]; in pcc_mbox_probe()
/linux-6.3-rc2/drivers/acpi/
A Dacpi_pcc.c78 if (!pcc_chan->mchan->mbox->txdone_irq) { in acpi_pcc_address_space_setup()
118 ret = mbox_send_message(data->pcc_chan->mchan, NULL); in acpi_pcc_address_space_handler()
135 mbox_chan_txdone(data->pcc_chan->mchan, ret); in acpi_pcc_address_space_handler()
A Dcppc_acpi.c311 ret = mbox_send_message(pcc_ss_data->pcc_channel->mchan, &cmd); in send_pcc_cmd()
324 if (pcc_ss_data->pcc_channel->mchan->mbox->txdone_irq) in send_pcc_cmd()
325 mbox_chan_txdone(pcc_ss_data->pcc_channel->mchan, ret); in send_pcc_cmd()
327 mbox_client_txdone(pcc_ss_data->pcc_channel->mchan, ret); in send_pcc_cmd()
/linux-6.3-rc2/include/acpi/
A Dpcc.h13 struct mbox_chan *mchan; member
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-xgene-slimpro.c494 ctx->mbox_chan = pcc_chan->mchan; in xgene_slimpro_i2c_probe()
/linux-6.3-rc2/drivers/hwmon/
A Dxgene-hwmon.c686 ctx->mbox_chan = pcc_chan->mchan; in xgene_hwmon_probe()
/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dcfg80211.c7291 bool mon_flag, mbss, p2p, rsdb, mchan; in brcmf_setup_ifmodes() local
7298 mchan = brcmf_feat_is_enabled(ifp, BRCMF_FEAT_MCHAN); in brcmf_setup_ifmodes()
7322 combo[c].num_different_channels = 1 + (rsdb || (p2p && mchan)); in brcmf_setup_ifmodes()
7323 c0_limits[i].max = 1 + (p2p && mchan); in brcmf_setup_ifmodes()
/linux-6.3-rc2/
A DMAINTAINERS4343 M: Michael Chan <mchan@broadcom.com>

Completed in 80 milliseconds