Searched refs:nr_ports (Results 1 - 11 of 11) sorted by path
/drivers/ata/ |
H A D | libata-pmp.c | 267 int nr_ports, rc; local 269 nr_ports = sata_pmp_gscr_ports(gscr); 271 if (nr_ports <= 0 || nr_ports > SATA_PMP_MAX_PORTS) { 273 reason = "invalid nr_ports"; 319 nr_ports, gscr[SATA_PMP_GSCR_FEAT_EN], 337 static int sata_pmp_init_links (struct ata_port *ap, int nr_ports) argument 361 for (i = 0; i < nr_ports; i++) { 620 "Port Multiplier nr_ports mismatch '0x%x' != '0x%x'\n",
|
H A D | pata_icside.c | 69 unsigned int nr_ports; member in struct:pata_icside_info 385 info->nr_ports = 1; 426 info->nr_ports = 2; 454 host = ata_host_alloc(&ec->dev, info->nr_ports); 461 for (i = 0; i < info->nr_ports; i++) {
|
H A D | sata_promise.c | 707 unsigned int nr_ports = pdc_sata_nr_ports(ap); local 710 for (i = 0; i < nr_ports && host->ports[i] != ap; ++i) 712 BUG_ON(i >= nr_ports);
|
/drivers/atm/ |
H A D | solos-pci.c | 117 int nr_ports; member in struct:solos_card 777 for (port = 0; port < card->nr_ports; port++) { 1273 card->nr_ports = (data32 & 0x000000FF); 1280 card->dma_bounce = kmalloc(card->nr_ports * BUF_SIZE, GFP_KERNEL); 1355 for (i = 0; i < card->nr_ports; i++) { 1403 for (i = 0; i < card->nr_ports; i++) {
|
/drivers/char/ |
H A D | virtio_console.c | 1861 u32 i, j, nr_ports, nr_queues; local 1864 nr_ports = portdev->config.max_nr_ports; 1865 nr_queues = use_multiport(portdev) ? (nr_ports + 1) * 2 : 2; 1870 portdev->in_vqs = kmalloc(nr_ports * sizeof(struct virtqueue *), 1872 portdev->out_vqs = kmalloc(nr_ports * sizeof(struct virtqueue *), 1898 for (i = 1; i < nr_ports; i++) { 1921 for (i = 1; i < nr_ports; i++) {
|
/drivers/gpio/ |
H A D | gpio-dwapb.c | 82 unsigned int nr_ports; member in struct:dwapb_gpio 450 for (m = 0; m < gpio->nr_ports; ++m) 562 gpio->nr_ports = pdata->nports; 564 gpio->ports = devm_kcalloc(&pdev->dev, gpio->nr_ports, 578 for (i = 0; i < gpio->nr_ports; i++) { 624 for (i = 0; i < gpio->nr_ports; i++) { 666 for (i = 0; i < gpio->nr_ports; i++) {
|
/drivers/infiniband/hw/ehca/ |
H A D | ehca_main.c | 79 module_param_named(nr_ports, ehca_nr_ports, int, S_IRUGO); 97 MODULE_PARM_DESC(nr_ports,
|
/drivers/ssb/ |
H A D | driver_chipcommon.c | 605 int nr_ports = 0; local 688 nr_ports++; 695 return nr_ports;
|
H A D | driver_extif.c | 57 u32 i, nr_ports = 0; local 73 nr_ports++; 82 return nr_ports;
|
/drivers/tty/serial/8250/ |
H A D | 8250_pci.c | 3692 int rc, nr_ports, i; local 3694 nr_ports = board->num_ports; 3715 nr_ports = rc; 3719 sizeof(unsigned int) * nr_ports, 3735 for (i = 0; i < nr_ports; i++) {
|
/drivers/xen/events/ |
H A D | events_base.c | 1504 poll.nr_ports = 1;
|
Completed in 393 milliseconds