/linux/drivers/dma/ |
A D | img-mdc-dma.c | 161 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 D | mpc512x_dma.c | 320 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 D | bcm-sba-raid.c | 148 struct mbox_chan *mchan; member 226 mbox_client_peek_data(sba->mchan); in sba_alloc_request() 368 ret = mbox_send_message(sba->mchan, &req->msg); in sba_send_mbox_request() 381 mbox_client_txdone(sba->mchan, ret); in sba_send_mbox_request() 558 mbox_client_peek_data(sba->mchan); in sba_tx_status() 1688 sba->mchan = mbox_request_channel(&sba->client, 0); in sba_probe() 1689 if (IS_ERR(sba->mchan)) { in sba_probe() 1690 ret = PTR_ERR(sba->mchan); in sba_probe() 1741 mbox_free_channel(sba->mchan); in sba_probe() 1755 mbox_free_channel(sba->mchan); in sba_remove()
|
/linux/drivers/dma/qcom/ |
A D | hidma.c | 181 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() 558 if (!mchan->paused) { in hidma_pause() 562 mchan->paused = true; in hidma_pause() [all …]
|
A D | hidma_dbg.c | 86 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/drivers/mailbox/ |
A D | zynqmp-ipi-mailbox.c | 167 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() 507 if (!mchan->req_buf) { in zynqmp_ipi_mbox_probe() 534 if (!mchan->rx_buf) in zynqmp_ipi_mbox_probe() 544 if (!mchan->req_buf) { in zynqmp_ipi_mbox_probe() [all …]
|
A D | hi6220-mailbox.c | 82 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 D | hi3660-mailbox.c | 77 struct hi3660_chan_info mchan[MBOX_CHAN_MAX]; member 90 struct hi3660_chan_info *mchan = &mbox->mchan[ch]; in hi3660_mbox_check_state() local 108 writel(BIT(mchan->ack_irq), base + MBOX_ICLR_REG); in hi3660_mbox_check_state() 138 struct hi3660_chan_info *mchan = &mbox->mchan[ch]; in hi3660_mbox_acquire_channel() local 149 if (val & BIT(mchan->ack_irq)) in hi3660_mbox_acquire_channel() 179 struct hi3660_chan_info *mchan = &mbox->mchan[ch]; in hi3660_mbox_send_data() local 203 writel(BIT(mchan->ack_irq), base + MBOX_SEND_REG); in hi3660_mbox_send_data() 216 struct hi3660_chan_info *mchan; in hi3660_mbox_xlate() local 224 mchan = &mbox->mchan[ch]; in hi3660_mbox_xlate() 225 mchan->dst_irq = spec->args[1]; in hi3660_mbox_xlate() [all …]
|
A D | qcom-ipcc.c | 56 struct qcom_ipcc_chan_info mchan[IPCC_MBOX_MAX_CHAN]; member 149 struct qcom_ipcc_chan_info *mchan = chan->con_priv; in qcom_ipcc_mbox_send_data() local 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 177 mchan = &ipcc->mchan[i]; in qcom_ipcc_mbox_xlate() 178 mchan->client_id = ph->args[0]; in qcom_ipcc_mbox_xlate() 179 mchan->signal_id = ph->args[1]; in qcom_ipcc_mbox_xlate() 180 chan->con_priv = mchan; in qcom_ipcc_mbox_xlate()
|
A D | pcc.c | 290 chan = pchan->chan.mchan; in pcc_mbox_request_channel() 335 struct mbox_chan *chan = pchan->mchan; in pcc_mbox_free_channel() 673 pchan->chan.mchan = &pcc_mbox_channels[i]; in pcc_mbox_probe()
|
/linux/include/acpi/ |
A D | pcc.h | 13 struct mbox_chan *mchan; member
|
/linux/drivers/acpi/ |
A D | cppc_acpi.c | 298 ret = mbox_send_message(pcc_ss_data->pcc_channel->mchan, &cmd); in send_pcc_cmd() 311 if (pcc_ss_data->pcc_channel->mchan->mbox->txdone_irq) in send_pcc_cmd() 312 mbox_chan_txdone(pcc_ss_data->pcc_channel->mchan, ret); in send_pcc_cmd() 314 mbox_client_txdone(pcc_ss_data->pcc_channel->mchan, ret); in send_pcc_cmd()
|
/linux/drivers/i2c/busses/ |
A D | i2c-xgene-slimpro.c | 494 ctx->mbox_chan = pcc_chan->mchan; in xgene_slimpro_i2c_probe()
|
/linux/drivers/hwmon/ |
A D | xgene-hwmon.c | 684 ctx->mbox_chan = pcc_chan->mchan; in xgene_hwmon_probe()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
A D | cfg80211.c | 6991 bool mon_flag, mbss, p2p, rsdb, mchan; in brcmf_setup_ifmodes() local 6998 mchan = brcmf_feat_is_enabled(ifp, BRCMF_FEAT_MCHAN); in brcmf_setup_ifmodes() 7022 combo[c].num_different_channels = 1 + (rsdb || (p2p && mchan)); in brcmf_setup_ifmodes()
|
/linux/ |
A D | MAINTAINERS | 3991 M: Michael Chan <mchan@broadcom.com>
|