/linux-5.19.10/drivers/mailbox/ ! |
D | pcc.c | 233 struct pcc_chan_info *pchan; in pcc_mbox_irq() local 238 pchan = chan->con_priv; in pcc_mbox_irq() 240 ret = pcc_chan_reg_read(&pchan->cmd_complete, &val); in pcc_mbox_irq() 245 val &= pchan->cmd_complete.status_mask; in pcc_mbox_irq() 250 ret = pcc_chan_reg_read(&pchan->error, &val); in pcc_mbox_irq() 253 val &= pchan->error.status_mask; in pcc_mbox_irq() 255 val &= ~pchan->error.status_mask; in pcc_mbox_irq() 256 pcc_chan_reg_write(&pchan->error, val); in pcc_mbox_irq() 260 if (pcc_chan_reg_read_modify_write(&pchan->plat_irq_ack)) in pcc_mbox_irq() 283 struct pcc_chan_info *pchan; in pcc_mbox_request_channel() local [all …]
|
D | arm_mhu_db.c | 55 unsigned int pchan; member 60 mhu_db_mbox_to_channel(struct mbox_controller *mbox, unsigned int pchan, in mhu_db_mbox_to_channel() argument 68 if (chan_info && chan_info->pchan == pchan && in mhu_db_mbox_to_channel() 79 void __iomem *base = chan_info->mhu->mlink[chan_info->pchan].rx_reg; in mhu_db_mbox_clear_irq() 86 unsigned int pchan; in mhu_db_mbox_irq_to_pchan_num() local 88 for (pchan = 0; pchan < MHU_CHANS; pchan++) in mhu_db_mbox_irq_to_pchan_num() 89 if (mhu->mlink[pchan].irq == irq) in mhu_db_mbox_irq_to_pchan_num() 91 return pchan; in mhu_db_mbox_irq_to_pchan_num() 95 mhu_db_mbox_irq_to_channel(struct arm_mhu *mhu, unsigned int pchan) in mhu_db_mbox_irq_to_channel() argument 101 void __iomem *base = mhu->mlink[pchan].rx_reg; in mhu_db_mbox_irq_to_channel() [all …]
|
/linux-5.19.10/drivers/dma/ ! |
D | owl-dma.c | 204 struct owl_dma_pchan *pchan; member 240 static void pchan_update(struct owl_dma_pchan *pchan, u32 reg, in pchan_update() argument 245 regval = readl(pchan->base + reg); in pchan_update() 252 writel(val, pchan->base + reg); in pchan_update() 255 static void pchan_writel(struct owl_dma_pchan *pchan, u32 reg, u32 data) in pchan_writel() argument 257 writel(data, pchan->base + reg); in pchan_writel() 260 static u32 pchan_readl(struct owl_dma_pchan *pchan, u32 reg) in pchan_readl() argument 262 return readl(pchan->base + reg); in pchan_readl() 470 struct owl_dma_pchan *pchan = NULL; in owl_dma_get_pchan() local 475 pchan = &od->pchans[i]; in owl_dma_get_pchan() [all …]
|
D | sun6i-dma.c | 251 struct sun6i_pchan *pchan) in sun6i_dma_dump_chan_regs() argument 262 pchan->idx, in sun6i_dma_dump_chan_regs() 264 readl(pchan->base + DMA_CHAN_ENABLE), in sun6i_dma_dump_chan_regs() 266 readl(pchan->base + DMA_CHAN_PAUSE), in sun6i_dma_dump_chan_regs() 268 readl(pchan->base + DMA_CHAN_LLI_ADDR), in sun6i_dma_dump_chan_regs() 270 readl(pchan->base + DMA_CHAN_CUR_CFG), in sun6i_dma_dump_chan_regs() 272 readl(pchan->base + DMA_CHAN_CUR_SRC), in sun6i_dma_dump_chan_regs() 274 readl(pchan->base + DMA_CHAN_CUR_DST), in sun6i_dma_dump_chan_regs() 276 readl(pchan->base + DMA_CHAN_CUR_CNT), in sun6i_dma_dump_chan_regs() 278 readl(pchan->base + DMA_CHAN_CUR_PARA)); in sun6i_dma_dump_chan_regs() [all …]
|
D | sun4i-dma.c | 137 struct sun4i_dma_pchan *pchan; member 220 struct sun4i_dma_pchan *pchan = NULL, *pchans = priv->pchans; in find_and_use_pchan() local 238 pchan = &pchans[i]; in find_and_use_pchan() 239 pchan->vchan = vchan; in find_and_use_pchan() 245 return pchan; in find_and_use_pchan() 249 struct sun4i_dma_pchan *pchan) in release_pchan() argument 252 int nr = pchan - priv->pchans; in release_pchan() 256 pchan->vchan = NULL; in release_pchan() 262 static void configure_pchan(struct sun4i_dma_pchan *pchan, in configure_pchan() argument 269 if (pchan->is_dedicated) { in configure_pchan() [all …]
|
D | timb_dma.c | 685 struct timb_dma_platform_data_channel *pchan = in td_probe() local 689 if ((i % 2) == pchan->rx) { in td_probe() 702 td_chan->descs = pchan->descriptors; in td_probe() 703 td_chan->desc_elems = pchan->descriptor_elements; in td_probe() 704 td_chan->bytes_per_line = pchan->bytes_per_line; in td_probe() 705 td_chan->direction = pchan->rx ? DMA_DEV_TO_MEM : in td_probe() 710 (pchan->rx ? 0 : TIMBDMA_INSTANCE_TX_OFFSET); in td_probe()
|
D | mmp_pdma.c | 239 static struct mmp_pdma_phy *lookup_phy(struct mmp_pdma_chan *pchan) in lookup_phy() argument 242 struct mmp_pdma_device *pdev = to_mmp_pdma_dev(pchan->chan.device); in lookup_phy() 261 phy->vchan = pchan; in lookup_phy() 273 static void mmp_pdma_free_phy(struct mmp_pdma_chan *pchan) in mmp_pdma_free_phy() argument 275 struct mmp_pdma_device *pdev = to_mmp_pdma_dev(pchan->chan.device); in mmp_pdma_free_phy() 279 if (!pchan->phy) in mmp_pdma_free_phy() 283 reg = DRCMR(pchan->drcmr); in mmp_pdma_free_phy() 284 writel(0, pchan->phy->base + reg); in mmp_pdma_free_phy() 287 pchan->phy->vchan = NULL; in mmp_pdma_free_phy() 288 pchan->phy = NULL; in mmp_pdma_free_phy()
|
D | pxa_dma.c | 369 static struct pxad_phy *lookup_phy(struct pxad_chan *pchan) in lookup_phy() argument 372 struct pxad_device *pdev = to_pxad_dev(pchan->vc.chan.device); in lookup_phy() 385 for (prio = pchan->prio; prio >= PXAD_PRIO_HIGHEST; prio--) { in lookup_phy() 391 phy->vchan = pchan; in lookup_phy() 400 dev_dbg(&pchan->vc.chan.dev->device, in lookup_phy()
|
D | pl330.c | 535 struct dma_pl330_chan *pchan; member 1559 pch = desc->pchan; in dma_pl330_rqcb() 2603 desc->pchan = pch; in pl330_get_desc() 2653 struct dma_pl330_chan *pch = desc->pchan; in get_burst_len()
|
/linux-5.19.10/drivers/w1/masters/ ! |
D | ds2482.c | 265 struct ds2482_w1_chan *pchan = data; in ds2482_w1_touch_bit() local 266 struct ds2482_data *pdev = pchan->pdev; in ds2482_w1_touch_bit() 274 ds2482_set_channel(pdev, pchan->channel); in ds2482_w1_touch_bit() 297 struct ds2482_w1_chan *pchan = data; in ds2482_w1_triplet() local 298 struct ds2482_data *pdev = pchan->pdev; in ds2482_w1_triplet() 306 ds2482_set_channel(pdev, pchan->channel); in ds2482_w1_triplet() 327 struct ds2482_w1_chan *pchan = data; in ds2482_w1_write_byte() local 328 struct ds2482_data *pdev = pchan->pdev; in ds2482_w1_write_byte() 335 ds2482_set_channel(pdev, pchan->channel); in ds2482_w1_write_byte() 351 struct ds2482_w1_chan *pchan = data; in ds2482_w1_read_byte() local [all …]
|
/linux-5.19.10/drivers/gpu/drm/nouveau/ ! |
D | nouveau_chan.c | 84 nouveau_channel_del(struct nouveau_channel **pchan) in nouveau_channel_del() argument 86 struct nouveau_channel *chan = *pchan; in nouveau_channel_del() 109 *pchan = NULL; in nouveau_channel_del() 139 u32 size, struct nouveau_channel **pchan) in nouveau_channel_prep() argument 147 chan = *pchan = kzalloc(sizeof(*chan), GFP_KERNEL); in nouveau_channel_prep() 170 nouveau_channel_del(pchan); in nouveau_channel_prep() 192 nouveau_channel_del(pchan); in nouveau_channel_prep() 242 nouveau_channel_del(pchan); in nouveau_channel_prep() 251 u64 runlist, bool priv, struct nouveau_channel **pchan) in nouveau_channel_ind() argument 277 *pchan = chan; in nouveau_channel_ind() [all …]
|
/linux-5.19.10/drivers/iio/multiplexer/ ! |
D | iio-mux.c | 246 struct iio_chan_spec const *pchan = mux->parent->channel; in mux_configure_channel() local 253 chan->output = pchan->output; in mux_configure_channel() 263 if (iio_channel_has_info(pchan, IIO_CHAN_INFO_RAW)) in mux_configure_channel() 265 if (iio_channel_has_info(pchan, IIO_CHAN_INFO_SCALE)) in mux_configure_channel() 268 if (iio_channel_has_available(pchan, IIO_CHAN_INFO_RAW)) in mux_configure_channel() 294 if (!pchan->ext_info[i].write) in mux_configure_channel() 296 if (!pchan->ext_info[i].read) in mux_configure_channel() 304 pchan->ext_info[i].name); in mux_configure_channel() 309 pchan->ext_info[i].name); in mux_configure_channel()
|
/linux-5.19.10/drivers/firmware/ ! |
D | arm_scpi.c | 943 struct scpi_chan *pchan = scpi_drvinfo->channels + idx; in scpi_probe() local 944 struct mbox_client *cl = &pchan->cl; in scpi_probe() 958 pchan->rx_payload = devm_ioremap(dev, res.start, size); in scpi_probe() 959 if (!pchan->rx_payload) { in scpi_probe() 963 pchan->tx_payload = pchan->rx_payload + (size >> 1); in scpi_probe() 972 INIT_LIST_HEAD(&pchan->rx_pending); in scpi_probe() 973 INIT_LIST_HEAD(&pchan->xfers_list); in scpi_probe() 974 spin_lock_init(&pchan->rx_lock); in scpi_probe() 975 mutex_init(&pchan->xfers_lock); in scpi_probe() 977 ret = scpi_alloc_xfer_list(dev, pchan); in scpi_probe() [all …]
|
/linux-5.19.10/net/bluetooth/ ! |
D | l2cap_sock.c | 1780 struct l2cap_chan *pchan = l2cap_pi(parent)->chan; in l2cap_sock_init() local 1785 chan->chan_type = pchan->chan_type; in l2cap_sock_init() 1786 chan->imtu = pchan->imtu; in l2cap_sock_init() 1787 chan->omtu = pchan->omtu; in l2cap_sock_init() 1788 chan->conf_state = pchan->conf_state; in l2cap_sock_init() 1789 chan->mode = pchan->mode; in l2cap_sock_init() 1790 chan->fcs = pchan->fcs; in l2cap_sock_init() 1791 chan->max_tx = pchan->max_tx; in l2cap_sock_init() 1792 chan->tx_win = pchan->tx_win; in l2cap_sock_init() 1793 chan->tx_win_max = pchan->tx_win_max; in l2cap_sock_init() [all …]
|
D | l2cap_core.c | 4116 struct l2cap_chan *chan = NULL, *pchan; in l2cap_connect() local 4125 pchan = l2cap_global_chan_by_psm(BT_LISTEN, psm, &conn->hcon->src, in l2cap_connect() 4127 if (!pchan) { in l2cap_connect() 4133 l2cap_chan_lock(pchan); in l2cap_connect() 4157 chan = pchan->ops->new_connection(pchan); in l2cap_connect() 4217 l2cap_chan_unlock(pchan); in l2cap_connect() 4219 l2cap_chan_put(pchan); in l2cap_connect() 5785 struct l2cap_chan *chan, *pchan; in l2cap_le_connect_req() local 5807 pchan = l2cap_global_chan_by_psm(BT_LISTEN, psm, &conn->hcon->src, in l2cap_le_connect_req() 5809 if (!pchan) { in l2cap_le_connect_req() [all …]
|
D | 6lowpan.c | 737 static inline struct l2cap_chan *chan_new_conn_cb(struct l2cap_chan *pchan) in chan_new_conn_cb() argument 745 chan->ops = pchan->ops; in chan_new_conn_cb() 747 BT_DBG("chan %p pchan %p", chan, pchan); in chan_new_conn_cb()
|
D | smp.c | 3230 static inline struct l2cap_chan *smp_new_conn_cb(struct l2cap_chan *pchan) in smp_new_conn_cb() argument 3234 BT_DBG("pchan %p", pchan); in smp_new_conn_cb() 3240 chan->chan_type = pchan->chan_type; in smp_new_conn_cb() 3242 chan->scid = pchan->scid; in smp_new_conn_cb() 3244 chan->imtu = pchan->imtu; in smp_new_conn_cb() 3245 chan->omtu = pchan->omtu; in smp_new_conn_cb() 3246 chan->mode = pchan->mode; in smp_new_conn_cb()
|
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ ! |
D | base.c | 67 struct nvkm_fifo_chan **pchan) in nvkm_fifo_chan_put() argument 69 struct nvkm_fifo_chan *chan = *pchan; in nvkm_fifo_chan_put() 71 *pchan = NULL; in nvkm_fifo_chan_put()
|