Home
last modified time | relevance | path

Searched refs:pch (Results 1 – 8 of 8) sorted by relevance

/linux-4.1.27/drivers/net/ppp/
Dppp_generic.c253 static void ppp_channel_push(struct channel *pch);
255 struct channel *pch);
262 struct channel *pch);
278 static int ppp_connect_channel(struct channel *pch, int unit);
279 static int ppp_disconnect_channel(struct channel *pch);
280 static void ppp_destroy_channel(struct channel *pch);
610 struct channel *pch; in ppp_ioctl() local
614 pch = PF_TO_CHANNEL(pf); in ppp_ioctl()
620 err = ppp_connect_channel(pch, unit); in ppp_ioctl()
624 err = ppp_disconnect_channel(pch); in ppp_ioctl()
[all …]
/linux-4.1.27/drivers/dma/
Dpl330.c1448 struct dma_pl330_chan *pch; in dma_pl330_rqcb() local
1454 pch = desc->pchan; in dma_pl330_rqcb()
1457 if (!pch) in dma_pl330_rqcb()
1460 spin_lock_irqsave(&pch->lock, flags); in dma_pl330_rqcb()
1464 spin_unlock_irqrestore(&pch->lock, flags); in dma_pl330_rqcb()
1466 tasklet_schedule(&pch->task); in dma_pl330_rqcb()
1942 static inline void fill_queue(struct dma_pl330_chan *pch) in fill_queue() argument
1947 list_for_each_entry(desc, &pch->work_list, node) { in fill_queue()
1953 ret = pl330_submit_req(pch->thread, desc); in fill_queue()
1962 dev_err(pch->dmac->ddma.dev, "%s:%d Bad Desc(%d)\n", in fill_queue()
[all …]
Dsa11x0-dma.c335 unsigned pch, pch_alloc = 0; in sa11x0_dma_tasklet() local
357 for (pch = 0; pch < NR_PHY_CHAN; pch++) { in sa11x0_dma_tasklet()
358 p = &d->phy[pch]; in sa11x0_dma_tasklet()
365 pch_alloc |= 1 << pch; in sa11x0_dma_tasklet()
370 dev_dbg(d->slave.dev, "pchan %u: alloc vchan %p\n", pch, &c->vc); in sa11x0_dma_tasklet()
375 for (pch = 0; pch < NR_PHY_CHAN; pch++) { in sa11x0_dma_tasklet()
376 if (pch_alloc & (1 << pch)) { in sa11x0_dma_tasklet()
377 p = &d->phy[pch]; in sa11x0_dma_tasklet()
977 unsigned pch; in sa11x0_dma_remove() local
982 for (pch = 0; pch < NR_PHY_CHAN; pch++) in sa11x0_dma_remove()
[all …]
Dk3dma.c266 unsigned pch, pch_alloc = 0; in k3_dma_tasklet() local
286 for (pch = 0; pch < d->dma_channels; pch++) { in k3_dma_tasklet()
287 p = &d->phy[pch]; in k3_dma_tasklet()
294 pch_alloc |= 1 << pch; in k3_dma_tasklet()
298 dev_dbg(d->slave.dev, "pchan %u: alloc vchan %p\n", pch, &c->vc); in k3_dma_tasklet()
303 for (pch = 0; pch < d->dma_channels; pch++) { in k3_dma_tasklet()
304 if (pch_alloc & (1 << pch)) { in k3_dma_tasklet()
305 p = &d->phy[pch]; in k3_dma_tasklet()
/linux-4.1.27/drivers/isdn/mISDN/
Dstack.c572 struct mISDNchannel *pch; in delete_channel() local
599 pch = get_channel4id(ch->st, ch->nr); in delete_channel()
600 if (pch) { in delete_channel()
602 list_del(&pch->list); in delete_channel()
604 pch->ctrl(pch, CLOSE_CHANNEL, NULL); in delete_channel()
605 pch = ch->st->dev->teimgr; in delete_channel()
606 pch->ctrl(pch, CLOSE_CHANNEL, NULL); in delete_channel()
612 pch = ch->st->dev->teimgr; in delete_channel()
613 if (pch) { in delete_channel()
614 pch->ctrl(pch, CLOSE_CHANNEL, NULL); in delete_channel()
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_drv.c437 struct pci_dev *pch = NULL; in intel_detect_pch() local
458 while ((pch = pci_get_class(PCI_CLASS_BRIDGE_ISA << 8, pch))) { in intel_detect_pch()
459 if (pch->vendor == PCI_VENDOR_ID_INTEL) { in intel_detect_pch()
460 unsigned short id = pch->device & INTEL_PCH_DEVICE_ID_MASK; in intel_detect_pch()
500 if (!pch) in intel_detect_pch()
503 pci_dev_put(pch); in intel_detect_pch()
/linux-4.1.27/drivers/spi/
DMakefile87 obj-$(CONFIG_SPI_TOPCLIFF_PCH) += spi-topcliff-pch.o
/linux-4.1.27/drivers/gpio/
DMakefile71 obj-$(CONFIG_GPIO_PCH) += gpio-pch.o