/linux/drivers/mailbox/ |
H A D | hi6220-mailbox.c | 83 struct hi6220_mbox_chan *mchan; member 112 struct hi6220_mbox_chan *mchan = chan->con_priv; in hi6220_mbox_last_tx_done() local 113 struct hi6220_mbox *mbox = mchan->parent; in hi6220_mbox_last_tx_done() 119 state = readl(mbox->base + MBOX_MODE_REG(mchan->slot)); in hi6220_mbox_last_tx_done() 125 struct hi6220_mbox_chan *mchan = chan->con_priv; in hi6220_mbox_send_data() local 126 struct hi6220_mbox *mbox = mchan->parent; in hi6220_mbox_send_data() 127 unsigned int slot = mchan->slot; in hi6220_mbox_send_data() 132 mchan->dir = MBOX_TX; in hi6220_mbox_send_data() 145 writel(BIT(mchan->dst_irq), DST_INT_RAW_REG(mbox->ipc)); in hi6220_mbox_send_data() 152 struct hi6220_mbox_chan *mchan; in hi6220_mbox_interrupt() local [all …]
|
H A D | zynqmp-ipi-mailbox.c | 177 struct zynqmp_ipi_mchan *mchan; in zynqmp_ipi_interrupt() local 188 mchan = &ipi_mbox->mchans[IPI_MB_CHNL_RX]; in zynqmp_ipi_interrupt() 193 if (mchan->is_opened) { in zynqmp_ipi_interrupt() 194 msg = mchan->rx_buf; in zynqmp_ipi_interrupt() 196 msg->len = mchan->req_buf_size; in zynqmp_ipi_interrupt() 197 memcpy_fromio(msg->data, mchan->req_buf, in zynqmp_ipi_interrupt() 227 struct zynqmp_ipi_mchan *mchan = chan->con_priv; in zynqmp_ipi_peek_data() local 241 if (mchan->chan_type == IPI_MB_CHNL_TX) { in zynqmp_ipi_peek_data() 267 struct zynqmp_ipi_mchan *mchan = chan->con_priv; in zynqmp_ipi_last_tx_done() local 277 if (mchan->chan_type == IPI_MB_CHNL_TX) { in zynqmp_ipi_last_tx_done() [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 144 writel(BIT(mchan->ack_irq), base + MBOX_SRC_REG); in hi3660_mbox_acquire_channel() 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 189 writel_relaxed(~BIT(mchan->dst_irq), base + MBOX_IMASK_REG); in hi3660_mbox_send_data() 192 writel_relaxed(BIT(mchan->dst_irq), base + MBOX_DST_REG); in hi3660_mbox_send_data() 202 writel(BIT(mchan->ack_irq), base + MBOX_SEND_REG); in hi3660_mbox_send_data() [all …]
|
H A D | qcom-ipcc.c | 55 struct qcom_ipcc_chan_info *mchan; 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 179 mchan = chan->con_priv; in qcom_ipcc_mbox_xlate() 181 if (!mchan) in qcom_ipcc_mbox_xlate() 183 else if (mchan->client_id == ph->args[0] && 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() [all …]
|
H A D | pcc.c | 367 chan = pchan->chan.mchan; in pcc_mbox_request_channel() 389 struct mbox_chan *chan = pchan->mchan; in pcc_mbox_free_channel() 794 pchan->chan.mchan = &pcc_mbox_channels[i]; in pcc_mbox_probe()
|
/linux/drivers/dma/qcom/ |
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 …]
|
/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 | 331 ret = mbox_send_message(pcc_ss_data->pcc_channel->mchan, &cmd); in send_pcc_cmd() 344 if (pcc_ss_data->pcc_channel->mchan->mbox->txdone_irq) in send_pcc_cmd() 345 mbox_chan_txdone(pcc_ss_data->pcc_channel->mchan, ret); in send_pcc_cmd() 347 mbox_client_txdone(pcc_ss_data->pcc_channel->mchan, ret); in send_pcc_cmd()
|
/linux/include/acpi/ |
H A D | pcc.h | 13 struct mbox_chan *mchan; member
|
/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()
|
/linux/ |
H A D | MAINTAINERS | 4859 M: Michael Chan <mchan@broadcom.com>
|