pchan 240 drivers/dma/mmp_pdma.c static struct mmp_pdma_phy *lookup_phy(struct mmp_pdma_chan *pchan) pchan 243 drivers/dma/mmp_pdma.c struct mmp_pdma_device *pdev = to_mmp_pdma_dev(pchan->chan.device); pchan 262 drivers/dma/mmp_pdma.c phy->vchan = pchan; pchan 274 drivers/dma/mmp_pdma.c static void mmp_pdma_free_phy(struct mmp_pdma_chan *pchan) pchan 276 drivers/dma/mmp_pdma.c struct mmp_pdma_device *pdev = to_mmp_pdma_dev(pchan->chan.device); pchan 280 drivers/dma/mmp_pdma.c if (!pchan->phy) pchan 284 drivers/dma/mmp_pdma.c reg = DRCMR(pchan->drcmr); pchan 285 drivers/dma/mmp_pdma.c writel(0, pchan->phy->base + reg); pchan 288 drivers/dma/mmp_pdma.c pchan->phy->vchan = NULL; pchan 289 drivers/dma/mmp_pdma.c pchan->phy = NULL; pchan 195 drivers/dma/owl-dma.c struct owl_dma_pchan *pchan; pchan 229 drivers/dma/owl-dma.c static void pchan_update(struct owl_dma_pchan *pchan, u32 reg, pchan 234 drivers/dma/owl-dma.c regval = readl(pchan->base + reg); pchan 241 drivers/dma/owl-dma.c writel(val, pchan->base + reg); pchan 244 drivers/dma/owl-dma.c static void pchan_writel(struct owl_dma_pchan *pchan, u32 reg, u32 data) pchan 246 drivers/dma/owl-dma.c writel(data, pchan->base + reg); pchan 249 drivers/dma/owl-dma.c static u32 pchan_readl(struct owl_dma_pchan *pchan, u32 reg) pchan 251 drivers/dma/owl-dma.c return readl(pchan->base + reg); pchan 431 drivers/dma/owl-dma.c struct owl_dma_pchan *pchan = NULL; pchan 436 drivers/dma/owl-dma.c pchan = &od->pchans[i]; pchan 439 drivers/dma/owl-dma.c if (!pchan->vchan) { pchan 440 drivers/dma/owl-dma.c pchan->vchan = vchan; pchan 448 drivers/dma/owl-dma.c return pchan; pchan 451 drivers/dma/owl-dma.c static int owl_dma_pchan_busy(struct owl_dma *od, struct owl_dma_pchan *pchan) pchan 457 drivers/dma/owl-dma.c return !(val & (1 << pchan->id)); pchan 461 drivers/dma/owl-dma.c struct owl_dma_pchan *pchan) pchan 466 drivers/dma/owl-dma.c pchan_writel(pchan, OWL_DMAX_START, 0); pchan 467 drivers/dma/owl-dma.c pchan_update(pchan, OWL_DMAX_INT_STATUS, 0xff, false); pchan 470 drivers/dma/owl-dma.c dma_update(od, OWL_DMA_IRQ_EN0, (1 << pchan->id), false); pchan 473 drivers/dma/owl-dma.c if (irq_pd & (1 << pchan->id)) { pchan 476 drivers/dma/owl-dma.c pchan->id); pchan 477 drivers/dma/owl-dma.c dma_writel(od, OWL_DMA_IRQ_PD0, (1 << pchan->id)); pchan 480 drivers/dma/owl-dma.c pchan->vchan = NULL; pchan 485 drivers/dma/owl-dma.c static void owl_dma_pause_pchan(struct owl_dma_pchan *pchan) pchan 487 drivers/dma/owl-dma.c pchan_writel(pchan, 1, OWL_DMAX_PAUSE); pchan 490 drivers/dma/owl-dma.c static void owl_dma_resume_pchan(struct owl_dma_pchan *pchan) pchan 492 drivers/dma/owl-dma.c pchan_writel(pchan, 0, OWL_DMAX_PAUSE); pchan 499 drivers/dma/owl-dma.c struct owl_dma_pchan *pchan = vchan->pchan; pchan 510 drivers/dma/owl-dma.c while (owl_dma_pchan_busy(od, pchan)) pchan 521 drivers/dma/owl-dma.c pchan_writel(pchan, OWL_DMAX_MODE, OWL_DMA_MODE_LME); pchan 522 drivers/dma/owl-dma.c pchan_writel(pchan, OWL_DMAX_LINKLIST_CTL, pchan 524 drivers/dma/owl-dma.c pchan_writel(pchan, OWL_DMAX_NEXT_DESCRIPTOR, lli->phys); pchan 525 drivers/dma/owl-dma.c pchan_writel(pchan, OWL_DMAX_INT_CTL, int_ctl); pchan 528 drivers/dma/owl-dma.c pchan_update(pchan, OWL_DMAX_INT_STATUS, 0xff, false); pchan 532 drivers/dma/owl-dma.c dma_update(od, OWL_DMA_IRQ_EN0, (1 << pchan->id), true); pchan 536 drivers/dma/owl-dma.c dev_dbg(chan2dev(&vchan->vc.chan), "starting pchan %d\n", pchan->id); pchan 539 drivers/dma/owl-dma.c pchan_writel(pchan, OWL_DMAX_START, 0x1); pchan 547 drivers/dma/owl-dma.c owl_dma_terminate_pchan(od, vchan->pchan); pchan 549 drivers/dma/owl-dma.c vchan->pchan = NULL; pchan 556 drivers/dma/owl-dma.c struct owl_dma_pchan *pchan; pchan 567 drivers/dma/owl-dma.c pchan = &od->pchans[i]; pchan 568 drivers/dma/owl-dma.c pchan_update(pchan, OWL_DMAX_INT_STATUS, 0xff, false); pchan 576 drivers/dma/owl-dma.c pchan = &od->pchans[i]; pchan 577 drivers/dma/owl-dma.c chan_irq_pending = pchan_readl(pchan, OWL_DMAX_INT_CTL) & pchan 578 drivers/dma/owl-dma.c pchan_readl(pchan, OWL_DMAX_INT_STATUS); pchan 590 drivers/dma/owl-dma.c pchan_update(pchan, OWL_DMAX_INT_STATUS, pchan 603 drivers/dma/owl-dma.c pchan = &od->pchans[i]; pchan 605 drivers/dma/owl-dma.c vchan = pchan->vchan; pchan 608 drivers/dma/owl-dma.c pchan->id); pchan 666 drivers/dma/owl-dma.c if (vchan->pchan) pchan 704 drivers/dma/owl-dma.c owl_dma_pause_pchan(vchan->pchan); pchan 716 drivers/dma/owl-dma.c if (!vchan->pchan && !vchan->txd) pchan 723 drivers/dma/owl-dma.c owl_dma_resume_pchan(vchan->pchan); pchan 732 drivers/dma/owl-dma.c struct owl_dma_pchan *pchan; pchan 738 drivers/dma/owl-dma.c pchan = vchan->pchan; pchan 741 drivers/dma/owl-dma.c if (!pchan || !txd) pchan 745 drivers/dma/owl-dma.c bytes = pchan_readl(pchan, OWL_DMAX_REMAIN_CNT); pchan 748 drivers/dma/owl-dma.c if (pchan_readl(pchan, OWL_DMAX_MODE) & OWL_DMA_MODE_LME) { pchan 749 drivers/dma/owl-dma.c next_lli_phy = pchan_readl(pchan, OWL_DMAX_NEXT_DESCRIPTOR); pchan 800 drivers/dma/owl-dma.c struct owl_dma_pchan *pchan; pchan 802 drivers/dma/owl-dma.c pchan = owl_dma_get_pchan(od, vchan); pchan 803 drivers/dma/owl-dma.c if (!pchan) pchan 806 drivers/dma/owl-dma.c dev_dbg(od->dma.dev, "allocated pchan %d\n", pchan->id); pchan 808 drivers/dma/owl-dma.c vchan->pchan = pchan; pchan 819 drivers/dma/owl-dma.c if (!vchan->pchan) pchan 1132 drivers/dma/owl-dma.c struct owl_dma_pchan *pchan = &od->pchans[i]; pchan 1134 drivers/dma/owl-dma.c pchan->id = i; pchan 1135 drivers/dma/owl-dma.c pchan->base = od->base + OWL_DMA_CHAN_BASE(i); pchan 533 drivers/dma/pl330.c struct dma_pl330_chan *pchan; pchan 1553 drivers/dma/pl330.c pch = desc->pchan; pchan 2599 drivers/dma/pl330.c desc->pchan = pch; pchan 2649 drivers/dma/pl330.c struct dma_pl330_chan *pch = desc->pchan; pchan 369 drivers/dma/pxa_dma.c static struct pxad_phy *lookup_phy(struct pxad_chan *pchan) pchan 372 drivers/dma/pxa_dma.c struct pxad_device *pdev = to_pxad_dev(pchan->vc.chan.device); pchan 385 drivers/dma/pxa_dma.c for (prio = pchan->prio; prio >= PXAD_PRIO_HIGHEST; prio--) { pchan 391 drivers/dma/pxa_dma.c phy->vchan = pchan; pchan 400 drivers/dma/pxa_dma.c dev_dbg(&pchan->vc.chan.dev->device, pchan 137 drivers/dma/sun4i-dma.c struct sun4i_dma_pchan *pchan; pchan 220 drivers/dma/sun4i-dma.c struct sun4i_dma_pchan *pchan = NULL, *pchans = priv->pchans; pchan 238 drivers/dma/sun4i-dma.c pchan = &pchans[i]; pchan 239 drivers/dma/sun4i-dma.c pchan->vchan = vchan; pchan 245 drivers/dma/sun4i-dma.c return pchan; pchan 249 drivers/dma/sun4i-dma.c struct sun4i_dma_pchan *pchan) pchan 252 drivers/dma/sun4i-dma.c int nr = pchan - priv->pchans; pchan 256 drivers/dma/sun4i-dma.c pchan->vchan = NULL; pchan 262 drivers/dma/sun4i-dma.c static void configure_pchan(struct sun4i_dma_pchan *pchan, pchan 269 drivers/dma/sun4i-dma.c if (pchan->is_dedicated) { pchan 270 drivers/dma/sun4i-dma.c writel_relaxed(d->src, pchan->base + SUN4I_DDMA_SRC_ADDR_REG); pchan 271 drivers/dma/sun4i-dma.c writel_relaxed(d->dst, pchan->base + SUN4I_DDMA_DST_ADDR_REG); pchan 272 drivers/dma/sun4i-dma.c writel_relaxed(d->len, pchan->base + SUN4I_DDMA_BYTE_COUNT_REG); pchan 273 drivers/dma/sun4i-dma.c writel_relaxed(d->para, pchan->base + SUN4I_DDMA_PARA_REG); pchan 274 drivers/dma/sun4i-dma.c writel_relaxed(d->cfg, pchan->base + SUN4I_DDMA_CFG_REG); pchan 276 drivers/dma/sun4i-dma.c writel_relaxed(d->src, pchan->base + SUN4I_NDMA_SRC_ADDR_REG); pchan 277 drivers/dma/sun4i-dma.c writel_relaxed(d->dst, pchan->base + SUN4I_NDMA_DST_ADDR_REG); pchan 278 drivers/dma/sun4i-dma.c writel_relaxed(d->len, pchan->base + SUN4I_NDMA_BYTE_COUNT_REG); pchan 279 drivers/dma/sun4i-dma.c writel_relaxed(d->cfg, pchan->base + SUN4I_NDMA_CFG_REG); pchan 284 drivers/dma/sun4i-dma.c struct sun4i_dma_pchan *pchan, pchan 288 drivers/dma/sun4i-dma.c int pchan_number = pchan - priv->pchans; pchan 324 drivers/dma/sun4i-dma.c struct sun4i_dma_pchan *pchan; pchan 331 drivers/dma/sun4i-dma.c pchan = find_and_use_pchan(priv, vchan); pchan 332 drivers/dma/sun4i-dma.c if (!pchan) pchan 374 drivers/dma/sun4i-dma.c vchan->pchan = pchan; pchan 375 drivers/dma/sun4i-dma.c set_pchan_interrupt(priv, pchan, contract->is_cyclic, 1); pchan 376 drivers/dma/sun4i-dma.c configure_pchan(pchan, promise); pchan 382 drivers/dma/sun4i-dma.c release_pchan(priv, pchan); pchan 866 drivers/dma/sun4i-dma.c struct sun4i_dma_pchan *pchan = vchan->pchan; pchan 878 drivers/dma/sun4i-dma.c if (pchan) { pchan 879 drivers/dma/sun4i-dma.c if (pchan->is_dedicated) pchan 880 drivers/dma/sun4i-dma.c writel(0, pchan->base + SUN4I_DDMA_CFG_REG); pchan 882 drivers/dma/sun4i-dma.c writel(0, pchan->base + SUN4I_NDMA_CFG_REG); pchan 883 drivers/dma/sun4i-dma.c set_pchan_interrupt(priv, pchan, 0, 0); pchan 884 drivers/dma/sun4i-dma.c release_pchan(priv, pchan); pchan 891 drivers/dma/sun4i-dma.c vchan->pchan = NULL; pchan 942 drivers/dma/sun4i-dma.c struct sun4i_dma_pchan *pchan = vchan->pchan; pchan 970 drivers/dma/sun4i-dma.c if (promise && pchan) { pchan 972 drivers/dma/sun4i-dma.c if (pchan->is_dedicated) pchan 973 drivers/dma/sun4i-dma.c bytes += readl(pchan->base + SUN4I_DDMA_BYTE_COUNT_REG); pchan 975 drivers/dma/sun4i-dma.c bytes += readl(pchan->base + SUN4I_NDMA_BYTE_COUNT_REG); pchan 1007 drivers/dma/sun4i-dma.c struct sun4i_dma_pchan *pchans = priv->pchans, *pchan; pchan 1022 drivers/dma/sun4i-dma.c pchan = &pchans[bit >> 1]; pchan 1023 drivers/dma/sun4i-dma.c vchan = pchan->vchan; pchan 1059 drivers/dma/sun4i-dma.c configure_pchan(pchan, promise); pchan 1063 drivers/dma/sun4i-dma.c vchan->pchan = NULL; pchan 1067 drivers/dma/sun4i-dma.c release_pchan(priv, pchan); pchan 242 drivers/dma/sun6i-dma.c struct sun6i_pchan *pchan) pchan 244 drivers/dma/sun6i-dma.c phys_addr_t reg = virt_to_phys(pchan->base); pchan 255 drivers/dma/sun6i-dma.c pchan->idx, ®, pchan 257 drivers/dma/sun6i-dma.c readl(pchan->base + DMA_CHAN_ENABLE), pchan 259 drivers/dma/sun6i-dma.c readl(pchan->base + DMA_CHAN_PAUSE), pchan 261 drivers/dma/sun6i-dma.c readl(pchan->base + DMA_CHAN_LLI_ADDR), pchan 263 drivers/dma/sun6i-dma.c readl(pchan->base + DMA_CHAN_CUR_CFG), pchan 265 drivers/dma/sun6i-dma.c readl(pchan->base + DMA_CHAN_CUR_SRC), pchan 267 drivers/dma/sun6i-dma.c readl(pchan->base + DMA_CHAN_CUR_DST), pchan 269 drivers/dma/sun6i-dma.c readl(pchan->base + DMA_CHAN_CUR_CNT), pchan 271 drivers/dma/sun6i-dma.c readl(pchan->base + DMA_CHAN_CUR_PARA)); pchan 341 drivers/dma/sun6i-dma.c static size_t sun6i_get_chan_size(struct sun6i_pchan *pchan) pchan 343 drivers/dma/sun6i-dma.c struct sun6i_desc *txd = pchan->desc; pchan 348 drivers/dma/sun6i-dma.c pos = readl(pchan->base + DMA_CHAN_LLI_ADDR); pchan 349 drivers/dma/sun6i-dma.c bytes = readl(pchan->base + DMA_CHAN_CUR_CNT); pchan 431 drivers/dma/sun6i-dma.c struct sun6i_pchan *pchan = vchan->phy; pchan 434 drivers/dma/sun6i-dma.c if (!pchan) pchan 438 drivers/dma/sun6i-dma.c pchan->desc = NULL; pchan 439 drivers/dma/sun6i-dma.c pchan->done = NULL; pchan 445 drivers/dma/sun6i-dma.c pchan->desc = to_sun6i_desc(&desc->tx); pchan 446 drivers/dma/sun6i-dma.c pchan->done = NULL; pchan 448 drivers/dma/sun6i-dma.c sun6i_dma_dump_lli(vchan, pchan->desc->v_lli); pchan 450 drivers/dma/sun6i-dma.c irq_reg = pchan->idx / DMA_IRQ_CHAN_NR; pchan 451 drivers/dma/sun6i-dma.c irq_offset = pchan->idx % DMA_IRQ_CHAN_NR; pchan 461 drivers/dma/sun6i-dma.c writel(pchan->desc->p_lli, pchan->base + DMA_CHAN_LLI_ADDR); pchan 462 drivers/dma/sun6i-dma.c writel(DMA_CHAN_ENABLE_START, pchan->base + DMA_CHAN_ENABLE); pchan 465 drivers/dma/sun6i-dma.c sun6i_dma_dump_chan_regs(sdev, pchan); pchan 474 drivers/dma/sun6i-dma.c struct sun6i_pchan *pchan; pchan 481 drivers/dma/sun6i-dma.c pchan = vchan->phy; pchan 483 drivers/dma/sun6i-dma.c if (pchan && pchan->done) { pchan 489 drivers/dma/sun6i-dma.c pchan->idx); pchan 493 drivers/dma/sun6i-dma.c pchan->vchan = NULL; pchan 501 drivers/dma/sun6i-dma.c pchan = &sdev->pchans[pchan_idx]; pchan 503 drivers/dma/sun6i-dma.c if (pchan->vchan || list_empty(&sdev->pending)) pchan 514 drivers/dma/sun6i-dma.c pchan->vchan = vchan; pchan 515 drivers/dma/sun6i-dma.c vchan->phy = pchan; pchan 517 drivers/dma/sun6i-dma.c pchan->idx, &vchan->vc); pchan 525 drivers/dma/sun6i-dma.c pchan = sdev->pchans + pchan_idx; pchan 526 drivers/dma/sun6i-dma.c vchan = pchan->vchan; pchan 539 drivers/dma/sun6i-dma.c struct sun6i_pchan *pchan; pchan 554 drivers/dma/sun6i-dma.c pchan = sdev->pchans + j; pchan 555 drivers/dma/sun6i-dma.c vchan = pchan->vchan; pchan 558 drivers/dma/sun6i-dma.c vchan_cyclic_callback(&pchan->desc->vd); pchan 561 drivers/dma/sun6i-dma.c vchan_cookie_complete(&pchan->desc->vd); pchan 562 drivers/dma/sun6i-dma.c pchan->done = pchan->desc; pchan 843 drivers/dma/sun6i-dma.c struct sun6i_pchan *pchan = vchan->phy; pchan 847 drivers/dma/sun6i-dma.c if (pchan) { pchan 849 drivers/dma/sun6i-dma.c pchan->base + DMA_CHAN_PAUSE); pchan 863 drivers/dma/sun6i-dma.c struct sun6i_pchan *pchan = vchan->phy; pchan 870 drivers/dma/sun6i-dma.c if (pchan) { pchan 872 drivers/dma/sun6i-dma.c pchan->base + DMA_CHAN_PAUSE); pchan 888 drivers/dma/sun6i-dma.c struct sun6i_pchan *pchan = vchan->phy; pchan 900 drivers/dma/sun6i-dma.c if (pchan && pchan->desc) { pchan 901 drivers/dma/sun6i-dma.c struct virt_dma_desc *vd = &pchan->desc->vd; pchan 910 drivers/dma/sun6i-dma.c if (pchan) { pchan 911 drivers/dma/sun6i-dma.c writel(DMA_CHAN_ENABLE_STOP, pchan->base + DMA_CHAN_ENABLE); pchan 912 drivers/dma/sun6i-dma.c writel(DMA_CHAN_PAUSE_RESUME, pchan->base + DMA_CHAN_PAUSE); pchan 915 drivers/dma/sun6i-dma.c pchan->vchan = NULL; pchan 916 drivers/dma/sun6i-dma.c pchan->desc = NULL; pchan 917 drivers/dma/sun6i-dma.c pchan->done = NULL; pchan 932 drivers/dma/sun6i-dma.c struct sun6i_pchan *pchan = vchan->phy; pchan 952 drivers/dma/sun6i-dma.c } else if (!pchan || !pchan->desc) { pchan 955 drivers/dma/sun6i-dma.c bytes = sun6i_get_chan_size(pchan); pchan 1349 drivers/dma/sun6i-dma.c struct sun6i_pchan *pchan = &sdc->pchans[i]; pchan 1351 drivers/dma/sun6i-dma.c pchan->idx = i; pchan 1352 drivers/dma/sun6i-dma.c pchan->base = sdc->base + 0x100 + i * 0x40; pchan 685 drivers/dma/timb_dma.c struct timb_dma_platform_data_channel *pchan = pchan 689 drivers/dma/timb_dma.c if ((i % 2) == pchan->rx) { pchan 702 drivers/dma/timb_dma.c td_chan->descs = pchan->descriptors; pchan 703 drivers/dma/timb_dma.c td_chan->desc_elems = pchan->descriptor_elements; pchan 704 drivers/dma/timb_dma.c td_chan->bytes_per_line = pchan->bytes_per_line; pchan 705 drivers/dma/timb_dma.c td_chan->direction = pchan->rx ? DMA_DEV_TO_MEM : pchan 710 drivers/dma/timb_dma.c (pchan->rx ? 0 : TIMBDMA_INSTANCE_TX_OFFSET); pchan 932 drivers/firmware/arm_scpi.c struct scpi_chan *pchan = scpi_info->channels + idx; pchan 933 drivers/firmware/arm_scpi.c struct mbox_client *cl = &pchan->cl; pchan 944 drivers/firmware/arm_scpi.c pchan->rx_payload = devm_ioremap(dev, res.start, size); pchan 945 drivers/firmware/arm_scpi.c if (!pchan->rx_payload) { pchan 949 drivers/firmware/arm_scpi.c pchan->tx_payload = pchan->rx_payload + (size >> 1); pchan 958 drivers/firmware/arm_scpi.c INIT_LIST_HEAD(&pchan->rx_pending); pchan 959 drivers/firmware/arm_scpi.c INIT_LIST_HEAD(&pchan->xfers_list); pchan 960 drivers/firmware/arm_scpi.c spin_lock_init(&pchan->rx_lock); pchan 961 drivers/firmware/arm_scpi.c mutex_init(&pchan->xfers_lock); pchan 963 drivers/firmware/arm_scpi.c ret = scpi_alloc_xfer_list(dev, pchan); pchan 965 drivers/firmware/arm_scpi.c pchan->chan = mbox_request_channel(cl, idx); pchan 966 drivers/firmware/arm_scpi.c if (!IS_ERR(pchan->chan)) pchan 968 drivers/firmware/arm_scpi.c ret = PTR_ERR(pchan->chan); pchan 85 drivers/gpu/drm/nouveau/nouveau_chan.c nouveau_channel_del(struct nouveau_channel **pchan) pchan 87 drivers/gpu/drm/nouveau/nouveau_chan.c struct nouveau_channel *chan = *pchan; pchan 119 drivers/gpu/drm/nouveau/nouveau_chan.c *pchan = NULL; pchan 124 drivers/gpu/drm/nouveau/nouveau_chan.c u32 size, struct nouveau_channel **pchan) pchan 132 drivers/gpu/drm/nouveau/nouveau_chan.c chan = *pchan = kzalloc(sizeof(*chan), GFP_KERNEL); pchan 155 drivers/gpu/drm/nouveau/nouveau_chan.c nouveau_channel_del(pchan); pchan 169 drivers/gpu/drm/nouveau/nouveau_chan.c nouveau_channel_del(pchan); pchan 218 drivers/gpu/drm/nouveau/nouveau_chan.c nouveau_channel_del(pchan); pchan 227 drivers/gpu/drm/nouveau/nouveau_chan.c u64 runlist, bool priv, struct nouveau_channel **pchan) pchan 252 drivers/gpu/drm/nouveau/nouveau_chan.c *pchan = chan; pchan 312 drivers/gpu/drm/nouveau/nouveau_chan.c nouveau_channel_del(pchan); pchan 318 drivers/gpu/drm/nouveau/nouveau_chan.c struct nouveau_channel **pchan) pchan 332 drivers/gpu/drm/nouveau/nouveau_chan.c *pchan = chan; pchan 350 drivers/gpu/drm/nouveau/nouveau_chan.c nouveau_channel_del(pchan); pchan 476 drivers/gpu/drm/nouveau/nouveau_chan.c struct nouveau_channel **pchan) pchan 486 drivers/gpu/drm/nouveau/nouveau_chan.c ret = nouveau_channel_ind(drm, device, arg0, priv, pchan); pchan 489 drivers/gpu/drm/nouveau/nouveau_chan.c ret = nouveau_channel_dma(drm, device, pchan); pchan 496 drivers/gpu/drm/nouveau/nouveau_chan.c ret = nouveau_channel_init(*pchan, arg0, arg1); pchan 499 drivers/gpu/drm/nouveau/nouveau_chan.c nouveau_channel_del(pchan); pchan 502 drivers/gpu/drm/nouveau/nouveau_chan.c ret = nouveau_svmm_join((*pchan)->vmm->svmm, (*pchan)->inst); pchan 504 drivers/gpu/drm/nouveau/nouveau_chan.c nouveau_channel_del(pchan); pchan 67 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c struct nvkm_fifo_chan **pchan) pchan 69 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c struct nvkm_fifo_chan *chan = *pchan; pchan 71 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c *pchan = NULL; pchan 243 drivers/iio/multiplexer/iio-mux.c struct iio_chan_spec const *pchan = mux->parent->channel; pchan 250 drivers/iio/multiplexer/iio-mux.c chan->output = pchan->output; pchan 260 drivers/iio/multiplexer/iio-mux.c if (iio_channel_has_info(pchan, IIO_CHAN_INFO_RAW)) pchan 262 drivers/iio/multiplexer/iio-mux.c if (iio_channel_has_info(pchan, IIO_CHAN_INFO_SCALE)) pchan 265 drivers/iio/multiplexer/iio-mux.c if (iio_channel_has_available(pchan, IIO_CHAN_INFO_RAW)) pchan 291 drivers/iio/multiplexer/iio-mux.c if (!pchan->ext_info[i].write) pchan 293 drivers/iio/multiplexer/iio-mux.c if (!pchan->ext_info[i].read) pchan 301 drivers/iio/multiplexer/iio-mux.c pchan->ext_info[i].name); pchan 306 drivers/iio/multiplexer/iio-mux.c pchan->ext_info[i].name); pchan 265 drivers/w1/masters/ds2482.c struct ds2482_w1_chan *pchan = data; pchan 266 drivers/w1/masters/ds2482.c struct ds2482_data *pdev = pchan->pdev; pchan 274 drivers/w1/masters/ds2482.c ds2482_set_channel(pdev, pchan->channel); pchan 297 drivers/w1/masters/ds2482.c struct ds2482_w1_chan *pchan = data; pchan 298 drivers/w1/masters/ds2482.c struct ds2482_data *pdev = pchan->pdev; pchan 306 drivers/w1/masters/ds2482.c ds2482_set_channel(pdev, pchan->channel); pchan 327 drivers/w1/masters/ds2482.c struct ds2482_w1_chan *pchan = data; pchan 328 drivers/w1/masters/ds2482.c struct ds2482_data *pdev = pchan->pdev; pchan 335 drivers/w1/masters/ds2482.c ds2482_set_channel(pdev, pchan->channel); pchan 351 drivers/w1/masters/ds2482.c struct ds2482_w1_chan *pchan = data; pchan 352 drivers/w1/masters/ds2482.c struct ds2482_data *pdev = pchan->pdev; pchan 360 drivers/w1/masters/ds2482.c ds2482_set_channel(pdev, pchan->channel); pchan 388 drivers/w1/masters/ds2482.c struct ds2482_w1_chan *pchan = data; pchan 389 drivers/w1/masters/ds2482.c struct ds2482_data *pdev = pchan->pdev; pchan 398 drivers/w1/masters/ds2482.c ds2482_set_channel(pdev, pchan->channel); pchan 420 drivers/w1/masters/ds2482.c struct ds2482_w1_chan *pchan = data; pchan 421 drivers/w1/masters/ds2482.c struct ds2482_data *pdev = pchan->pdev; pchan 756 net/bluetooth/6lowpan.c static inline struct l2cap_chan *chan_new_conn_cb(struct l2cap_chan *pchan) pchan 764 net/bluetooth/6lowpan.c chan->ops = pchan->ops; pchan 766 net/bluetooth/6lowpan.c BT_DBG("chan %p pchan %p", chan, pchan); pchan 3842 net/bluetooth/l2cap_core.c struct l2cap_chan *chan = NULL, *pchan; pchan 3851 net/bluetooth/l2cap_core.c pchan = l2cap_global_chan_by_psm(BT_LISTEN, psm, &conn->hcon->src, pchan 3853 net/bluetooth/l2cap_core.c if (!pchan) { pchan 3859 net/bluetooth/l2cap_core.c l2cap_chan_lock(pchan); pchan 3883 net/bluetooth/l2cap_core.c chan = pchan->ops->new_connection(pchan); pchan 3943 net/bluetooth/l2cap_core.c l2cap_chan_unlock(pchan); pchan 3945 net/bluetooth/l2cap_core.c l2cap_chan_put(pchan); pchan 5502 net/bluetooth/l2cap_core.c struct l2cap_chan *chan, *pchan; pchan 5524 net/bluetooth/l2cap_core.c pchan = l2cap_global_chan_by_psm(BT_LISTEN, psm, &conn->hcon->src, pchan 5526 net/bluetooth/l2cap_core.c if (!pchan) { pchan 5533 net/bluetooth/l2cap_core.c l2cap_chan_lock(pchan); pchan 5535 net/bluetooth/l2cap_core.c if (!smp_sufficient_security(conn->hcon, pchan->sec_level, pchan 5556 net/bluetooth/l2cap_core.c chan = pchan->ops->new_connection(pchan); pchan 5597 net/bluetooth/l2cap_core.c l2cap_chan_unlock(pchan); pchan 5599 net/bluetooth/l2cap_core.c l2cap_chan_put(pchan); pchan 7393 net/bluetooth/l2cap_core.c struct l2cap_chan *pchan; pchan 7421 net/bluetooth/l2cap_core.c pchan = l2cap_global_fixed_chan(NULL, hcon); pchan 7422 net/bluetooth/l2cap_core.c while (pchan) { pchan 7426 net/bluetooth/l2cap_core.c if (__l2cap_get_chan_by_dcid(conn, pchan->scid)) pchan 7429 net/bluetooth/l2cap_core.c l2cap_chan_lock(pchan); pchan 7430 net/bluetooth/l2cap_core.c chan = pchan->ops->new_connection(pchan); pchan 7440 net/bluetooth/l2cap_core.c l2cap_chan_unlock(pchan); pchan 7442 net/bluetooth/l2cap_core.c next = l2cap_global_fixed_chan(pchan, hcon); pchan 7443 net/bluetooth/l2cap_core.c l2cap_chan_put(pchan); pchan 7444 net/bluetooth/l2cap_core.c pchan = next; pchan 1522 net/bluetooth/l2cap_sock.c struct l2cap_chan *pchan = l2cap_pi(parent)->chan; pchan 1527 net/bluetooth/l2cap_sock.c chan->chan_type = pchan->chan_type; pchan 1528 net/bluetooth/l2cap_sock.c chan->imtu = pchan->imtu; pchan 1529 net/bluetooth/l2cap_sock.c chan->omtu = pchan->omtu; pchan 1530 net/bluetooth/l2cap_sock.c chan->conf_state = pchan->conf_state; pchan 1531 net/bluetooth/l2cap_sock.c chan->mode = pchan->mode; pchan 1532 net/bluetooth/l2cap_sock.c chan->fcs = pchan->fcs; pchan 1533 net/bluetooth/l2cap_sock.c chan->max_tx = pchan->max_tx; pchan 1534 net/bluetooth/l2cap_sock.c chan->tx_win = pchan->tx_win; pchan 1535 net/bluetooth/l2cap_sock.c chan->tx_win_max = pchan->tx_win_max; pchan 1536 net/bluetooth/l2cap_sock.c chan->sec_level = pchan->sec_level; pchan 1537 net/bluetooth/l2cap_sock.c chan->flags = pchan->flags; pchan 1538 net/bluetooth/l2cap_sock.c chan->tx_credits = pchan->tx_credits; pchan 1539 net/bluetooth/l2cap_sock.c chan->rx_credits = pchan->rx_credits; pchan 1542 net/bluetooth/l2cap_sock.c chan->scid = pchan->scid; pchan 1543 net/bluetooth/l2cap_sock.c chan->dcid = pchan->scid; pchan 3166 net/bluetooth/smp.c static inline struct l2cap_chan *smp_new_conn_cb(struct l2cap_chan *pchan) pchan 3170 net/bluetooth/smp.c BT_DBG("pchan %p", pchan); pchan 3176 net/bluetooth/smp.c chan->chan_type = pchan->chan_type; pchan 3178 net/bluetooth/smp.c chan->scid = pchan->scid; pchan 3180 net/bluetooth/smp.c chan->imtu = pchan->imtu; pchan 3181 net/bluetooth/smp.c chan->omtu = pchan->omtu; pchan 3182 net/bluetooth/smp.c chan->mode = pchan->mode;