/openbmc/linux/drivers/dma/ |
H A D | img-mdc-dma.c | 160 return mdc_readl(mchan->mdma, mchan->chan_nr * 0x040 + reg); in mdc_chan_readl() 165 mdc_writel(mchan->mdma, val, mchan->chan_nr * 0x040 + reg); in mdc_chan_writel() 300 mdesc->chan = mchan; in mdc_prep_dma_memcpy() 388 mdesc->chan = mchan; in mdc_prep_dma_cyclic() 471 mdesc->chan = mchan; in mdc_prep_slave_sg() 540 mchan->chan_nr); in mdc_issue_desc() 565 if (vchan_issue_pending(&mchan->vc) && !mchan->desc) in mdc_issue_pending() 592 } else if (mchan->desc && mchan->desc->vd.tx.cookie == cookie) { in mdc_tx_status() 701 if (mchan->desc) { in mdc_terminate_all() 774 mchan->chan_nr); in mdc_chan_irq() [all …]
|
H 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 …]
|
H A D | bcm-sba-raid.c | 140 struct mbox_chan *mchan; member 218 mbox_client_peek_data(sba->mchan); in sba_alloc_request() 360 ret = mbox_send_message(sba->mchan, &req->msg); in sba_send_mbox_request() 373 mbox_client_txdone(sba->mchan, ret); in sba_send_mbox_request() 550 mbox_client_peek_data(sba->mchan); in sba_tx_status() 1680 sba->mchan = mbox_request_channel(&sba->client, 0); in sba_probe() 1681 if (IS_ERR(sba->mchan)) { in sba_probe() 1682 ret = PTR_ERR(sba->mchan); in sba_probe() 1733 mbox_free_channel(sba->mchan); in sba_probe() 1747 mbox_free_channel(sba->mchan); in sba_remove()
|
/openbmc/linux/drivers/dma/qcom/ |
H 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() 242 if (!mchan->running) { in hidma_issue_pending() 246 mchan->running = desc; in hidma_issue_pending() 292 if (mchan->running) in hidma_tx_status() 351 if (mchan->allocated) in hidma_alloc_chan_resources() 568 if (!mchan->paused) { in hidma_pause() 572 mchan->paused = true; in hidma_pause() [all …]
|
H 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 …]
|
/openbmc/linux/drivers/mailbox/ |
H A D | zynqmp-ipi-mailbox.c | 165 if (mchan->is_opened) { in zynqmp_ipi_interrupt() 166 msg = mchan->rx_buf; in zynqmp_ipi_interrupt() 282 mchan->req_buf_size); in zynqmp_ipi_send_data() 324 if (mchan->is_opened) in zynqmp_ipi_startup() 346 mchan->is_opened = 1; in zynqmp_ipi_startup() 365 if (!mchan->is_opened) in zynqmp_ipi_shutdown() 381 mchan->is_opened = 0; in zynqmp_ipi_shutdown() 506 if (!mchan->req_buf) { in zynqmp_ipi_mbox_probe() 533 if (!mchan->rx_buf) in zynqmp_ipi_mbox_probe() 543 if (!mchan->req_buf) { in zynqmp_ipi_mbox_probe() [all …]
|
H A D | hi6220-mailbox.c | 83 struct hi6220_mbox_chan *mchan; member 132 mchan->dir = MBOX_TX; in hi6220_mbox_send_data() 152 struct hi6220_mbox_chan *mchan; in hi6220_mbox_interrupt() local 175 mchan = chan->con_priv; in hi6220_mbox_interrupt() 176 if (mchan->dir == MBOX_TX) in hi6220_mbox_interrupt() 199 mchan->dir = 0; in hi6220_mbox_startup() 249 mchan = chan->con_priv; in hi6220_mbox_xlate() 250 mchan->dst_irq = dst_irq; in hi6220_mbox_xlate() 251 mchan->ack_irq = ack_irq; in hi6220_mbox_xlate() 278 if (!mbox->mchan) in hi6220_mbox_probe() [all …]
|
H A D | hi3660-mailbox.c | 76 struct hi3660_chan_info mchan[MBOX_CHAN_MAX]; member 89 struct hi3660_chan_info *mchan = &mbox->mchan[ch]; in hi3660_mbox_check_state() local 107 writel(BIT(mchan->ack_irq), base + MBOX_ICLR_REG); in hi3660_mbox_check_state() 137 struct hi3660_chan_info *mchan = &mbox->mchan[ch]; in hi3660_mbox_acquire_channel() local 148 if (val & BIT(mchan->ack_irq)) in hi3660_mbox_acquire_channel() 178 struct hi3660_chan_info *mchan = &mbox->mchan[ch]; in hi3660_mbox_send_data() local 202 writel(BIT(mchan->ack_irq), base + MBOX_SEND_REG); in hi3660_mbox_send_data() 215 struct hi3660_chan_info *mchan; in hi3660_mbox_xlate() local 223 mchan = &mbox->mchan[ch]; in hi3660_mbox_xlate() 224 mchan->dst_irq = spec->args[1]; in hi3660_mbox_xlate() [all …]
|
H A D | qcom-ipcc.c | 55 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 …]
|
H A D | pcc.c | 291 chan = pchan->chan.mchan; in pcc_mbox_request_channel() 313 struct mbox_chan *chan = pchan->mchan; in pcc_mbox_free_channel() 681 pchan->chan.mchan = &pcc_mbox_channels[i]; in pcc_mbox_probe()
|
/openbmc/linux/drivers/acpi/ |
H A D | acpi_pcc.c | 78 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()
|
H A D | cppc_acpi.c | 318 ret = mbox_send_message(pcc_ss_data->pcc_channel->mchan, &cmd); in send_pcc_cmd() 331 if (pcc_ss_data->pcc_channel->mchan->mbox->txdone_irq) in send_pcc_cmd() 332 mbox_chan_txdone(pcc_ss_data->pcc_channel->mchan, ret); in send_pcc_cmd() 334 mbox_client_txdone(pcc_ss_data->pcc_channel->mchan, ret); in send_pcc_cmd()
|
/openbmc/linux/include/acpi/ |
H A D | pcc.h | 13 struct mbox_chan *mchan; member
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-xgene-slimpro.c | 497 ctx->mbox_chan = pcc_chan->mchan; in xgene_slimpro_i2c_probe()
|
/openbmc/linux/drivers/hwmon/ |
H A D | xgene-hwmon.c | 686 ctx->mbox_chan = pcc_chan->mchan; in xgene_hwmon_probe()
|
/openbmc/linux/drivers/soc/hisilicon/ |
H A D | kunpeng_hccs.c | 143 cl_info->mbox_chan = pcc_chan->mchan; in hccs_register_pcc_channel()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | cfg80211.c | 7418 bool mon_flag, mbss, p2p, rsdb, mchan; in brcmf_setup_ifmodes() local 7425 mchan = brcmf_feat_is_enabled(ifp, BRCMF_FEAT_MCHAN); in brcmf_setup_ifmodes() 7449 combo[c].num_different_channels = 1 + (rsdb || (p2p && mchan)); in brcmf_setup_ifmodes() 7450 c0_limits[i].max = 1 + (p2p && mchan); in brcmf_setup_ifmodes()
|
/openbmc/linux/ |
H A D | MAINTAINERS | 4363 M: Michael Chan <mchan@broadcom.com>
|