Lines Matching refs:shift
51 u32 cf, shift, mask; in pci_conf0_read_config() local
96 shift = ((where & 3) << 3); in pci_conf0_read_config()
98 *value = (cf >> shift) & mask; in pci_conf0_read_config()
112 u32 cf, shift, mask; in pci_conf1_read_config() local
160 shift = ((where & 3) << 3); in pci_conf1_read_config()
162 *value = (cf >> shift) & mask; in pci_conf1_read_config()
184 u32 cf, shift, mask, smask; in pci_conf0_write_config() local
231 shift = ((where & 3) << 3); in pci_conf0_write_config()
233 smask = mask << shift; in pci_conf0_write_config()
235 cf = (cf & ~smask) | ((value & mask) << shift); in pci_conf0_write_config()
251 u32 cf, shift, mask, smask; in pci_conf1_write_config() local
299 shift = ((where & 3) << 3); in pci_conf1_write_config()
301 smask = mask << shift; in pci_conf1_write_config()
303 cf = (cf & ~smask) | ((value & mask) << shift); in pci_conf1_write_config()