Lines Matching refs:val16
154 u16 val16, core_index; in bcma_core_pci_fixcfg() local
160 val16 = pcicore_read16(pc, regoff); in bcma_core_pci_fixcfg()
161 if (((val16 & BCMA_CORE_PCI_SPROM_PI_MASK) >> BCMA_CORE_PCI_SPROM_PI_SHIFT) in bcma_core_pci_fixcfg()
163 val16 = (core_index << BCMA_CORE_PCI_SPROM_PI_SHIFT) | in bcma_core_pci_fixcfg()
164 (val16 & ~BCMA_CORE_PCI_SPROM_PI_MASK); in bcma_core_pci_fixcfg()
165 pcicore_write16(pc, regoff, val16); in bcma_core_pci_fixcfg()
223 u16 val16; in bcma_core_pci_config_fixup() local
228 val16 = pcicore_read16(pc, regoff); in bcma_core_pci_config_fixup()
230 if (!(val16 & BCMA_CORE_PCI_SPROM_L23READY_EXIT_NOPERST)) { in bcma_core_pci_config_fixup()
231 val16 |= BCMA_CORE_PCI_SPROM_L23READY_EXIT_NOPERST; in bcma_core_pci_config_fixup()
232 pcicore_write16(pc, regoff, val16); in bcma_core_pci_config_fixup()