Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/drivers/md/
Draid0.c42 int raid_disks = conf->strip_zone[0].nb_dev; in dump_zones()
50 for (k = 0; k < conf->strip_zone[j].nb_dev; k++) in dump_zones()
222 zone->nb_dev = cnt; in create_strip_zones()
262 zone->nb_dev = c; in create_strip_zones()
266 zone->nb_dev, (unsigned long long)sectors); in create_strip_zones()
317 int raid_disks = conf->strip_zone[0].nb_dev; in map_sector()
328 sector_div(chunk, zone->nb_dev << chunksect_bits); in map_sector()
332 sector_div(chunk, chunk_sects * zone->nb_dev); in map_sector()
341 + sector_div(sector, zone->nb_dev)]; in map_sector()
460 stripe_size = zone->nb_dev * mddev->chunk_sectors; in raid0_handle_discard()
[all …]
Draid0.h8 int nb_dev; /* # of devices attached to the zone */ member
Draid10.c4038 raid0_conf->strip_zone->nb_dev); in raid10_takeover()
Draid5.c8391 sector_div(sectors, raid0_conf->strip_zone[0].nb_dev); in raid45_takeover_raid0()