Lines Matching refs:ndis_adapter
66 u8 pcibridge_vendor = pcipriv->ndis_adapter.pcibridge_vendor; in _rtl_pci_update_default_setting()
194 u8 pcibridge_vendor = pcipriv->ndis_adapter.pcibridge_vendor; in rtl_pci_disable_aspm()
195 u8 num4bytes = pcipriv->ndis_adapter.num4bytes; in rtl_pci_disable_aspm()
197 u8 linkctrl_reg = pcipriv->ndis_adapter.linkctrl_reg; in rtl_pci_disable_aspm()
198 u16 pcibridge_linkctrlreg = pcipriv->ndis_adapter. in rtl_pci_disable_aspm()
247 u8 pcibridge_vendor = pcipriv->ndis_adapter.pcibridge_vendor; in rtl_pci_enable_aspm()
248 u8 num4bytes = pcipriv->ndis_adapter.num4bytes; in rtl_pci_enable_aspm()
265 pcipriv->ndis_adapter.pcibridge_linkctrlreg | in rtl_pci_enable_aspm()
276 (pcipriv->ndis_adapter.pcibridge_pciehdr_offset + 0x10), in rtl_pci_enable_aspm()
283 u_device_aspmsetting = pcipriv->ndis_adapter.linkctrl_reg; in rtl_pci_enable_aspm()
335 pcipriv->ndis_adapter.funcnumber); in rtl_pci_check_buddy_priv()
338 tpcipriv->ndis_adapter.funcnumber); in rtl_pci_check_buddy_priv()
340 if (pcipriv->ndis_adapter.busnumber == in rtl_pci_check_buddy_priv()
341 tpcipriv->ndis_adapter.busnumber && in rtl_pci_check_buddy_priv()
342 pcipriv->ndis_adapter.devnumber == in rtl_pci_check_buddy_priv()
343 tpcipriv->ndis_adapter.devnumber && in rtl_pci_check_buddy_priv()
344 pcipriv->ndis_adapter.funcnumber != in rtl_pci_check_buddy_priv()
345 tpcipriv->ndis_adapter.funcnumber) { in rtl_pci_check_buddy_priv()
365 u8 capabilityoffset = pcipriv->ndis_adapter.pcibridge_pciehdr_offset; in rtl_pci_get_linkcontrol_field()
374 pcipriv->ndis_adapter.pcibridge_linkctrlreg = linkctrl_reg; in rtl_pci_get_linkcontrol_field()
388 pcipriv->ndis_adapter.linkctrl_reg = (u8)linkctrl_reg; in rtl_pci_parse_configuration()
391 pcipriv->ndis_adapter.linkctrl_reg); in rtl_pci_parse_configuration()
1877 pcipriv->ndis_adapter.pcibridge_vendor = PCI_BRIDGE_VENDOR_UNKNOWN; in _rtl_pci_find_adapter()
2005 pcipriv->ndis_adapter.busnumber = pdev->bus->number; in _rtl_pci_find_adapter()
2006 pcipriv->ndis_adapter.devnumber = PCI_SLOT(pdev->devfn); in _rtl_pci_find_adapter()
2007 pcipriv->ndis_adapter.funcnumber = PCI_FUNC(pdev->devfn); in _rtl_pci_find_adapter()
2010 pcipriv->ndis_adapter.pcibridge_vendor = PCI_BRIDGE_VENDOR_UNKNOWN; in _rtl_pci_find_adapter()
2016 pcipriv->ndis_adapter.pcibridge_vendorid = bridge_pdev->vendor; in _rtl_pci_find_adapter()
2019 pcipriv->ndis_adapter.pcibridge_vendor = tmp; in _rtl_pci_find_adapter()
2028 if (pcipriv->ndis_adapter.pcibridge_vendor != in _rtl_pci_find_adapter()
2030 pcipriv->ndis_adapter.pcibridge_busnum = in _rtl_pci_find_adapter()
2032 pcipriv->ndis_adapter.pcibridge_devnum = in _rtl_pci_find_adapter()
2034 pcipriv->ndis_adapter.pcibridge_funcnum = in _rtl_pci_find_adapter()
2036 pcipriv->ndis_adapter.pcibridge_pciehdr_offset = in _rtl_pci_find_adapter()
2038 pcipriv->ndis_adapter.num4bytes = in _rtl_pci_find_adapter()
2039 (pcipriv->ndis_adapter.pcibridge_pciehdr_offset + 0x10) / 4; in _rtl_pci_find_adapter()
2043 if (pcipriv->ndis_adapter.pcibridge_vendor == in _rtl_pci_find_adapter()
2045 pcipriv->ndis_adapter.amd_l1_patch = in _rtl_pci_find_adapter()
2052 pcipriv->ndis_adapter.busnumber, in _rtl_pci_find_adapter()
2053 pcipriv->ndis_adapter.devnumber, in _rtl_pci_find_adapter()
2054 pcipriv->ndis_adapter.funcnumber, in _rtl_pci_find_adapter()
2055 pdev->vendor, pcipriv->ndis_adapter.linkctrl_reg); in _rtl_pci_find_adapter()
2059 pcipriv->ndis_adapter.pcibridge_busnum, in _rtl_pci_find_adapter()
2060 pcipriv->ndis_adapter.pcibridge_devnum, in _rtl_pci_find_adapter()
2061 pcipriv->ndis_adapter.pcibridge_funcnum, in _rtl_pci_find_adapter()
2062 pcibridge_vendors[pcipriv->ndis_adapter.pcibridge_vendor], in _rtl_pci_find_adapter()
2063 pcipriv->ndis_adapter.pcibridge_pciehdr_offset, in _rtl_pci_find_adapter()
2064 pcipriv->ndis_adapter.pcibridge_linkctrlreg, in _rtl_pci_find_adapter()
2065 pcipriv->ndis_adapter.amd_l1_patch); in _rtl_pci_find_adapter()