Home
last modified time | relevance | path

Searched refs:nb_dev (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/usb/host/
Dpci-quirks.c132 struct pci_dev *nb_dev; member
250 info.nb_dev = pci_get_device(PCI_VENDOR_ID_AMD, 0x9601, NULL); in usb_amd_find_chipset_info()
251 if (info.nb_dev) { in usb_amd_find_chipset_info()
254 info.nb_dev = pci_get_device(PCI_VENDOR_ID_AMD, 0x1510, NULL); in usb_amd_find_chipset_info()
255 if (info.nb_dev) { in usb_amd_find_chipset_info()
258 info.nb_dev = pci_get_device(PCI_VENDOR_ID_AMD, in usb_amd_find_chipset_info()
260 if (info.nb_dev) in usb_amd_find_chipset_info()
278 pci_dev_put(info.nb_dev); in usb_amd_find_chipset_info()
397 if (!amd_chipset.nb_dev) { in usb_amd_quirk_pll()
404 pci_write_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
[all …]
/linux-6.1.9/drivers/md/
Draid0.c41 int raid_disks = conf->strip_zone[0].nb_dev; in dump_zones()
49 for (k = 0; k < conf->strip_zone[j].nb_dev; k++) in dump_zones()
203 zone->nb_dev = cnt; in create_strip_zones()
243 zone->nb_dev = c; in create_strip_zones()
247 zone->nb_dev, (unsigned long long)sectors); in create_strip_zones()
257 if (conf->nr_strip_zones == 1 || conf->strip_zone[1].nb_dev == 1) { in create_strip_zones()
314 int raid_disks = conf->strip_zone[0].nb_dev; in map_sector()
325 sector_div(chunk, zone->nb_dev << chunksect_bits); in map_sector()
329 sector_div(chunk, chunk_sects * zone->nb_dev); in map_sector()
338 + sector_div(sector, zone->nb_dev)]; in map_sector()
[all …]
Draid0.h8 int nb_dev; /* # of devices attached to the zone */ member
Draid10.c4416 raid0_conf->strip_zone->nb_dev); in raid10_takeover()
Draid5.c8708 sector_div(sectors, raid0_conf->strip_zone[0].nb_dev); in raid45_takeover_raid0()