Searched refs:nr_devices (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/drivers/ssb/ |
D | scan.c | 295 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()
|
D | driver_mipscore.c | 87 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()
|
D | embedded.c | 181 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()
|
D | main.c | 215 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.1.9/drivers/leds/ |
D | leds-ss4200.c | 507 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.1.9/fs/btrfs/ |
D | super.c | 2200 size_t nr_devices) in btrfs_descending_sort_devices() argument 2202 sort(devices, nr_devices, sizeof(struct btrfs_device_info), in btrfs_descending_sort_devices() 2220 int i = 0, nr_devices; in btrfs_calc_avail_data_space() local 2227 nr_devices = fs_info->fs_devices->open_devices; in btrfs_calc_avail_data_space() 2228 if (!nr_devices) { in btrfs_calc_avail_data_space() 2230 nr_devices = fs_info->fs_devices->open_devices; in btrfs_calc_avail_data_space() 2231 ASSERT(nr_devices); in btrfs_calc_avail_data_space() 2232 if (!nr_devices) { in btrfs_calc_avail_data_space() 2238 devices_info = kmalloc_array(nr_devices, sizeof(*devices_info), in btrfs_calc_avail_data_space() 2248 num_stripes = nr_devices; in btrfs_calc_avail_data_space() [all …]
|
/linux-6.1.9/drivers/sh/superhyway/ |
D | superhyway.c | 95 int nr_devices) in superhyway_add_devices() argument 99 for (i = 0; i < nr_devices; i++) { in superhyway_add_devices()
|
/linux-6.1.9/include/linux/ |
D | superhyway.h | 101 …rhyway_add_devices(struct superhyway_bus *bus, struct superhyway_device **devices, int nr_devices);
|
/linux-6.1.9/Documentation/block/ |
D | null_blk.rst | 48 nr_devices=[Number of devices]: Default: 1 134 nr_devices > 1, otherwise there's no tag set to share.
|
/linux-6.1.9/drivers/s390/block/ |
D | scm_blk.c | 30 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.1.9/drivers/block/null_blk/ |
D | main.c | 160 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"); 2256 for (i = 0; i < nr_devices; i++) { in null_init()
|
/linux-6.1.9/include/linux/ssb/ |
D | ssb.h | 464 u8 nr_devices; member
|