Lines Matching refs:val32
103 u32 val32; in alcor_pci_find_cap_offset() local
112 pci_read_config_dword(pci, where, &val32); in alcor_pci_find_cap_offset()
113 if (val32 == 0xffffffff) { in alcor_pci_find_cap_offset()
115 val32); in alcor_pci_find_cap_offset()
119 if ((val32 & 0xff) == 0x10) { in alcor_pci_find_cap_offset()
124 if ((val32 & 0xff00) == 0x00) { in alcor_pci_find_cap_offset()
126 val32); in alcor_pci_find_cap_offset()
129 where = (int)((val32 >> 8) & 0xff); in alcor_pci_find_cap_offset()
139 u32 val32; in alcor_pci_init_check_aspm() local
160 pci_read_config_dword(pci, where, &val32); in alcor_pci_init_check_aspm()
161 priv->pdev_aspm_cap = (u8)(val32 >> 10) & 0x03; in alcor_pci_init_check_aspm()
165 pci_read_config_dword(pci, where, &val32); in alcor_pci_init_check_aspm()
166 priv->parent_aspm_cap = (u8)(val32 >> 10) & 0x03; in alcor_pci_init_check_aspm()
188 u32 val32; in alcor_pci_aspm_ctrl() local
221 pci_read_config_dword(pci, where, &val32); in alcor_pci_aspm_ctrl()
222 val32 &= (~0x03); in alcor_pci_aspm_ctrl()
223 val32 |= (aspm_ctrl & priv->pdev_aspm_cap); in alcor_pci_aspm_ctrl()
224 pci_write_config_byte(pci, where, (u8)val32); in alcor_pci_aspm_ctrl()