Lines Matching refs:where
101 int where; in alcor_pci_find_cap_offset() local
105 where = ALCOR_CAP_START_OFFSET; in alcor_pci_find_cap_offset()
106 pci_read_config_byte(pci, where, &val8); in alcor_pci_find_cap_offset()
110 where = (int)val8; in alcor_pci_find_cap_offset()
112 pci_read_config_dword(pci, where, &val32); in alcor_pci_find_cap_offset()
120 dev_dbg(priv->dev, "pcie cap offset: %x\n", where); in alcor_pci_find_cap_offset()
121 return where; in alcor_pci_find_cap_offset()
129 where = (int)((val32 >> 8) & 0xff); in alcor_pci_find_cap_offset()
138 int where; in alcor_pci_init_check_aspm() local
159 where = priv->pdev_cap_off + ALCOR_PCIE_LINK_CAP_OFFSET; in alcor_pci_init_check_aspm()
160 pci_read_config_dword(pci, where, &val32); in alcor_pci_init_check_aspm()
164 where = priv->parent_cap_off + ALCOR_PCIE_LINK_CAP_OFFSET; in alcor_pci_init_check_aspm()
165 pci_read_config_dword(pci, where, &val32); in alcor_pci_init_check_aspm()
187 int where; in alcor_pci_aspm_ctrl() local
213 where = priv->parent_cap_off in alcor_pci_aspm_ctrl()
217 where = priv->pdev_cap_off in alcor_pci_aspm_ctrl()
221 pci_read_config_dword(pci, where, &val32); in alcor_pci_aspm_ctrl()
224 pci_write_config_byte(pci, where, (u8)val32); in alcor_pci_aspm_ctrl()