Lines Matching refs:amd_chipset

139 } amd_chipset;  variable
216 if (amd_chipset.probe_count > 0) { in usb_amd_find_chipset_info()
217 amd_chipset.probe_count++; in usb_amd_find_chipset_info()
270 if (amd_chipset.probe_count > 0) { in usb_amd_find_chipset_info()
274 amd_chipset.probe_count++; in usb_amd_find_chipset_info()
284 amd_chipset = info; in usb_amd_find_chipset_info()
293 if (amd_chipset.sb_type.gen == AMD_CHIPSET_YANGTZE || in usb_hcd_amd_remote_wakeup_quirk()
294 amd_chipset.sb_type.gen == AMD_CHIPSET_TAISHAN) { in usb_hcd_amd_remote_wakeup_quirk()
307 rev = amd_chipset.sb_type.rev; in usb_amd_hang_symptom_quirk()
309 return amd_chipset.sb_type.gen == AMD_CHIPSET_SB600 || in usb_amd_hang_symptom_quirk()
310 (amd_chipset.sb_type.gen == AMD_CHIPSET_SB700 && in usb_amd_hang_symptom_quirk()
319 return amd_chipset.sb_type.gen == AMD_CHIPSET_SB800; in usb_amd_prefetch_quirk()
326 return amd_chipset.need_pll_quirk; in usb_amd_quirk_pll_check()
349 amd_chipset.isoc_reqs++; in usb_amd_quirk_pll()
350 if (amd_chipset.isoc_reqs > 1) { in usb_amd_quirk_pll()
355 amd_chipset.isoc_reqs--; in usb_amd_quirk_pll()
356 if (amd_chipset.isoc_reqs > 0) { in usb_amd_quirk_pll()
362 if (amd_chipset.sb_type.gen == AMD_CHIPSET_SB800 || in usb_amd_quirk_pll()
363 amd_chipset.sb_type.gen == AMD_CHIPSET_HUDSON2 || in usb_amd_quirk_pll()
364 amd_chipset.sb_type.gen == AMD_CHIPSET_BOLTON) { in usb_amd_quirk_pll()
375 } else if (amd_chipset.sb_type.gen == AMD_CHIPSET_SB700 && in usb_amd_quirk_pll()
376 amd_chipset.sb_type.rev <= 0x3b) { in usb_amd_quirk_pll()
377 pci_read_config_dword(amd_chipset.smbus_dev, in usb_amd_quirk_pll()
397 if (!amd_chipset.nb_dev) { in usb_amd_quirk_pll()
402 if (amd_chipset.nb_type == 1 || amd_chipset.nb_type == 3) { in usb_amd_quirk_pll()
404 pci_write_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
406 pci_read_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
412 pci_write_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
416 pci_write_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
418 pci_read_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
423 pci_write_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
425 } else if (amd_chipset.nb_type == 2) { in usb_amd_quirk_pll()
427 pci_write_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
429 pci_read_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
436 pci_write_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
440 pci_write_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
442 pci_read_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
449 pci_write_config_dword(amd_chipset.nb_dev, in usb_amd_quirk_pll()
520 amd_chipset.probe_count--; in usb_amd_dev_put()
521 if (amd_chipset.probe_count > 0) { in usb_amd_dev_put()
527 nb = amd_chipset.nb_dev; in usb_amd_dev_put()
528 smbus = amd_chipset.smbus_dev; in usb_amd_dev_put()
530 amd_chipset.nb_dev = NULL; in usb_amd_dev_put()
531 amd_chipset.smbus_dev = NULL; in usb_amd_dev_put()
532 amd_chipset.nb_type = 0; in usb_amd_dev_put()
533 memset(&amd_chipset.sb_type, 0, sizeof(amd_chipset.sb_type)); in usb_amd_dev_put()
534 amd_chipset.isoc_reqs = 0; in usb_amd_dev_put()
535 amd_chipset.need_pll_quirk = false; in usb_amd_dev_put()