Home
last modified time | relevance | path

Searched refs:nr_ports (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/drivers/soundwire/
Dintel.c470 for (i = 0; i < dma->nr_ports; i++) { in intel_port_cleanup()
504 dma->nr_ports = sdw_cdns_get_stream(cdns, &cdns->pdm, ch, dir); in intel_hw_params()
507 dma->nr_ports = sdw_cdns_get_stream(cdns, &cdns->pcm, ch, dir); in intel_hw_params()
510 if (!dma->nr_ports) { in intel_hw_params()
515 dma->port = kcalloc(dma->nr_ports, sizeof(*dma->port), GFP_KERNEL); in intel_hw_params()
519 for (i = 0; i < dma->nr_ports; i++) { in intel_hw_params()
528 for (i = 0; i < dma->nr_ports; i++) { in intel_hw_params()
548 pconfig = kcalloc(dma->nr_ports, sizeof(*pconfig), GFP_KERNEL); in intel_hw_params()
554 for (i = 0; i < dma->nr_ports; i++) { in intel_hw_params()
560 pconfig, dma->nr_ports, dma->stream); in intel_hw_params()
Dcadence_master.h107 int nr_ports; member
/linux-4.19.296/drivers/gpio/
Dgpio-dwapb.c100 unsigned int nr_ports; member
163 for (i = 0; i < gpio->nr_ports; i++) { in dwapb_offs_to_port()
558 for (m = 0; m < gpio->nr_ports; ++m) { in dwapb_gpio_unregister()
687 gpio->nr_ports = pdata->nports; in dwapb_gpio_probe()
695 gpio->ports = devm_kcalloc(&pdev->dev, gpio->nr_ports, in dwapb_gpio_probe()
728 for (i = 0; i < gpio->nr_ports; i++) { in dwapb_gpio_probe()
767 for (i = 0; i < gpio->nr_ports; i++) { in dwapb_gpio_suspend()
815 for (i = 0; i < gpio->nr_ports; i++) { in dwapb_gpio_resume()
/linux-4.19.296/include/xen/interface/
Dsched.h140 unsigned int nr_ports; member
Dphysdev.h100 uint32_t nr_ports; member
/linux-4.19.296/drivers/char/
Dvirtio_console.c1874 u32 i, j, nr_ports, nr_queues; in init_vqs() local
1877 nr_ports = portdev->max_nr_ports; in init_vqs()
1878 nr_queues = use_multiport(portdev) ? (nr_ports + 1) * 2 : 2; in init_vqs()
1884 portdev->in_vqs = kmalloc_array(nr_ports, sizeof(struct virtqueue *), in init_vqs()
1886 portdev->out_vqs = kmalloc_array(nr_ports, sizeof(struct virtqueue *), in init_vqs()
1912 for (i = 1; i < nr_ports; i++) { in init_vqs()
1935 for (i = 1; i < nr_ports; i++) { in init_vqs()
/linux-4.19.296/drivers/xen/events/
Devents_base.c1966 poll.nr_ports = 1; in xen_poll_irq_timeout()