Home
last modified time | relevance | path

Searched refs:maxnr (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/arch/powerpc/lib/
Drheap.c707 int maxnr; in rh_dump() local
710 maxnr = ARRAY_SIZE(st); in rh_dump()
717 nr = rh_get_stats(info, RHGS_FREE, maxnr, st); in rh_dump()
718 if (nr > maxnr) in rh_dump()
719 nr = maxnr; in rh_dump()
728 nr = rh_get_stats(info, RHGS_TAKEN, maxnr, st); in rh_dump()
729 if (nr > maxnr) in rh_dump()
730 nr = maxnr; in rh_dump()
/Linux-v5.4/drivers/tty/serial/8250/
D8250_exar.c546 unsigned int nr_ports, i, bar = 0, maxnr; in exar_pci_probe() local
560 maxnr = pci_resource_len(pcidev, bar) >> (board->reg_shift + 3); in exar_pci_probe()
592 for (i = 0; i < nr_ports && i < maxnr; i++) { in exar_pci_probe()
D8250_pci.c1439 unsigned int bar, offset = board->first_offset, maxnr; in pci_default_setup() local
1447 maxnr = (pci_resource_len(priv->dev, bar) - board->first_offset) >> in pci_default_setup()
1450 if (board->flags & FL_REGION_SZ_CAP && idx >= maxnr) in pci_default_setup()
1489 unsigned int bar, offset = board->first_offset, maxnr; in pci_pericom_setup() local
1498 maxnr = (pci_resource_len(priv->dev, bar) - board->first_offset) >> in pci_pericom_setup()
1501 if (board->flags & FL_REGION_SZ_CAP && idx >= maxnr) in pci_pericom_setup()
1513 unsigned int bar, offset = board->first_offset, maxnr; in pci_pericom_setup_four_at_eight() local
1524 maxnr = (pci_resource_len(priv->dev, bar) - board->first_offset) >> in pci_pericom_setup_four_at_eight()
1527 if (board->flags & FL_REGION_SZ_CAP && idx >= maxnr) in pci_pericom_setup_four_at_eight()