Lines Matching refs:amd_chipset

139 } amd_chipset;  variable
215 if (amd_chipset.probe_count > 0) { in usb_amd_find_chipset_info()
216 amd_chipset.probe_count++; in usb_amd_find_chipset_info()
268 if (amd_chipset.probe_count > 0) { in usb_amd_find_chipset_info()
272 amd_chipset.probe_count++; in usb_amd_find_chipset_info()
282 amd_chipset = info; in usb_amd_find_chipset_info()
291 if (amd_chipset.sb_type.gen == AMD_CHIPSET_YANGTZE || in usb_hcd_amd_remote_wakeup_quirk()
292 amd_chipset.sb_type.gen == AMD_CHIPSET_TAISHAN) { in usb_hcd_amd_remote_wakeup_quirk()
305 rev = amd_chipset.sb_type.rev; in usb_amd_hang_symptom_quirk()
307 return amd_chipset.sb_type.gen == AMD_CHIPSET_SB600 || in usb_amd_hang_symptom_quirk()
308 (amd_chipset.sb_type.gen == AMD_CHIPSET_SB700 && in usb_amd_hang_symptom_quirk()
317 return amd_chipset.sb_type.gen == AMD_CHIPSET_SB800; in usb_amd_prefetch_quirk()
324 return amd_chipset.need_pll_quirk; in usb_amd_quirk_pll_check()
347 amd_chipset.isoc_reqs++; in usb_amd_quirk_pll()
348 if (amd_chipset.isoc_reqs > 1) { in usb_amd_quirk_pll()
353 amd_chipset.isoc_reqs--; in usb_amd_quirk_pll()
354 if (amd_chipset.isoc_reqs > 0) { in usb_amd_quirk_pll()
360 if (amd_chipset.sb_type.gen == AMD_CHIPSET_SB800 || in usb_amd_quirk_pll()
361 amd_chipset.sb_type.gen == AMD_CHIPSET_HUDSON2 || in usb_amd_quirk_pll()
362 amd_chipset.sb_type.gen == AMD_CHIPSET_BOLTON) { in usb_amd_quirk_pll()
373 } else if (amd_chipset.sb_type.gen == AMD_CHIPSET_SB700 && in usb_amd_quirk_pll()
374 amd_chipset.sb_type.rev <= 0x3b) { in usb_amd_quirk_pll()
375 pci_read_config_dword(amd_chipset.smbus_dev, in usb_amd_quirk_pll()
395 if (!amd_chipset.nb_dev) { in usb_amd_quirk_pll()
400 if (amd_chipset.nb_type == 1 || amd_chipset.nb_type == 3) { in usb_amd_quirk_pll()
402 pci_write_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
404 pci_read_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
410 pci_write_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
414 pci_write_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
416 pci_read_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
421 pci_write_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
423 } else if (amd_chipset.nb_type == 2) { in usb_amd_quirk_pll()
425 pci_write_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
427 pci_read_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
434 pci_write_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
438 pci_write_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
440 pci_read_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
447 pci_write_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
518 amd_chipset.probe_count--; in usb_amd_dev_put()
519 if (amd_chipset.probe_count > 0) { in usb_amd_dev_put()
525 nb = amd_chipset.nb_dev; in usb_amd_dev_put()
526 smbus = amd_chipset.smbus_dev; in usb_amd_dev_put()
528 amd_chipset.nb_dev = NULL; in usb_amd_dev_put()
529 amd_chipset.smbus_dev = NULL; in usb_amd_dev_put()
530 amd_chipset.nb_type = 0; in usb_amd_dev_put()
531 memset(&amd_chipset.sb_type, 0, sizeof(amd_chipset.sb_type)); in usb_amd_dev_put()
532 amd_chipset.isoc_reqs = 0; in usb_amd_dev_put()
533 amd_chipset.need_pll_quirk = false; in usb_amd_dev_put()