Home
last modified time | relevance | path

Searched refs:nr_devices (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/drivers/ssb/
A Dscan.c295 bus->nr_devices = 0; in ssb_bus_scan()
305 bus->nr_devices = (tmp & SSB_CHIPCO_NRCORESMASK) >> in ssb_bus_scan()
323 if (!bus->nr_devices) in ssb_bus_scan()
324 bus->nr_devices = chipid_to_nrcores(bus->chip_id); in ssb_bus_scan()
325 if (bus->nr_devices > ARRAY_SIZE(bus->devices)) { in ssb_bus_scan()
327 SSB_MAX_NR_CORES, bus->nr_devices); in ssb_bus_scan()
337 mmio = ioremap(baseaddr, SSB_CORE_SIZE * bus->nr_devices); in ssb_bus_scan()
344 for (i = 0, dev_i = 0; i < bus->nr_devices; i++) { in ssb_bus_scan()
438 bus->nr_devices = dev_i; in ssb_bus_scan()
A Ddriver_mipscore.c87 for (i = 0; i < bus->nr_devices; i++) { in find_device()
195 for (i = 0; i < bus->nr_devices; i++) { in dump_irq()
317 for (irq = 2, i = 0; i < bus->nr_devices; i++) { in ssb_mipscore_init()
A Dembedded.c181 for (i = 0; i < bus->nr_devices; i++) { in gige_pci_init_callback()
223 for (i = 0; i < bus->nr_devices; i++) { in gige_map_irq_callback()
A Dmain.c215 WARN_ON(bus->nr_devices > ARRAY_SIZE(ctx->device_frozen)); in ssb_devices_freeze()
217 for (i = 0; i < bus->nr_devices; i++) { in ssb_devices_freeze()
249 for (i = 0; i < bus->nr_devices; i++) { in ssb_devices_thaw()
418 for (i = bus->nr_devices - 1; i >= 0; i--) { in ssb_devices_unregister()
465 for (i = 0; i < bus->nr_devices; i++) { in ssb_devices_register()
811 for (i = 0; i < bus->nr_devices; i++) { in ssb_set_devtypedata()
/linux-6.3-rc2/drivers/leds/
A Dleds-ss4200.c507 int nr_devices = 0; in nas_gpio_init() local
509 nr_devices = dmi_check_system(nas_led_whitelist); in nas_gpio_init()
513 nr_devices++; in nas_gpio_init()
516 if (nr_devices <= 0) { in nas_gpio_init()
/linux-6.3-rc2/fs/btrfs/
A Dsuper.c1892 size_t nr_devices) in btrfs_descending_sort_devices() argument
1912 int i = 0, nr_devices; in btrfs_calc_avail_data_space() local
1920 if (!nr_devices) { in btrfs_calc_avail_data_space()
1923 ASSERT(nr_devices); in btrfs_calc_avail_data_space()
1924 if (!nr_devices) { in btrfs_calc_avail_data_space()
1940 num_stripes = nr_devices; in btrfs_calc_avail_data_space()
1957 if (i >= nr_devices) in btrfs_calc_avail_data_space()
1981 nr_devices = i; in btrfs_calc_avail_data_space()
1985 i = nr_devices - 1; in btrfs_calc_avail_data_space()
1987 while (nr_devices >= rattr->devs_min) { in btrfs_calc_avail_data_space()
[all …]
/linux-6.3-rc2/drivers/sh/superhyway/
A Dsuperhyway.c95 int nr_devices) in superhyway_add_devices() argument
99 for (i = 0; i < nr_devices; i++) { in superhyway_add_devices()
/linux-6.3-rc2/include/linux/
A Dsuperhyway.h101 …rhyway_add_devices(struct superhyway_bus *bus, struct superhyway_device **devices, int nr_devices);
/linux-6.3-rc2/Documentation/block/
A Dnull_blk.rst48 nr_devices=[Number of devices]: Default: 1
134 nr_devices > 1, otherwise there's no tag set to share.
/linux-6.3-rc2/drivers/s390/block/
A Dscm_blk.c30 static atomic_t nr_devices = ATOMIC_INIT(0); variable
441 devindex = atomic_inc_return(&nr_devices) - 1; in scm_blk_dev_setup()
508 atomic_dec(&nr_devices); in scm_blk_dev_setup()
/linux-6.3-rc2/drivers/block/null_blk/
A Dmain.c160 static unsigned int nr_devices = 1; variable
161 module_param(nr_devices, uint, 0444);
162 MODULE_PARM_DESC(nr_devices, "Number of devices to register");
2275 for (i = 0; i < nr_devices; i++) { in null_init()
/linux-6.3-rc2/include/linux/ssb/
A Dssb.h464 u8 nr_devices; member

Completed in 35 milliseconds