Lines Matching refs:where
118 unsigned char where = 0; /* Write to static Device/Vendor ID */ in gen_pci_cfg_wr_show() local
146 (where & 0xFC); in gen_pci_cfg_wr_show()
363 unsigned char where, in msp_pcibios_config_access() argument
426 (where & 0xFC); in msp_pcibios_config_access()
492 int where, in msp_pcibios_read_config_byte() argument
503 where, &data)) { in msp_pcibios_read_config_byte()
508 *val = (data >> ((where & 3) << 3)) & 0x0ff; in msp_pcibios_read_config_byte()
540 int where, in msp_pcibios_read_config_word() argument
551 if ((where & 3) == 3) { in msp_pcibios_read_config_word()
562 where, &data)) { in msp_pcibios_read_config_word()
567 *val = (data >> ((where & 3) << 3)) & 0x0ffff; in msp_pcibios_read_config_word()
597 int where, in msp_pcibios_read_config_dword() argument
603 if (where & 3) { in msp_pcibios_read_config_dword()
614 where, &data)) { in msp_pcibios_read_config_dword()
650 int where, in msp_pcibios_write_config_byte() argument
657 where, &data)) in msp_pcibios_write_config_byte()
661 data = (data & ~(0xff << ((where & 3) << 3))) | in msp_pcibios_write_config_byte()
662 (val << ((where & 3) << 3)); in msp_pcibios_write_config_byte()
666 where, &data)) in msp_pcibios_write_config_byte()
699 int where, in msp_pcibios_write_config_word() argument
705 if ((where & 3) == 3) in msp_pcibios_write_config_word()
710 where, &data)) in msp_pcibios_write_config_word()
714 data = (data & ~(0xffff << ((where & 3) << 3))) | in msp_pcibios_write_config_word()
715 (val << ((where & 3) << 3)); in msp_pcibios_write_config_word()
719 where, &data)) in msp_pcibios_write_config_word()
751 int where, in msp_pcibios_write_config_dword() argument
755 if (where & 3) in msp_pcibios_write_config_dword()
760 where, &val)) in msp_pcibios_write_config_dword()
793 int where, in msp_pcibios_read_config() argument
798 if (msp_pcibios_read_config_byte(bus, devfn, where, val)) { in msp_pcibios_read_config()
802 if (msp_pcibios_read_config_word(bus, devfn, where, val)) { in msp_pcibios_read_config()
806 if (msp_pcibios_read_config_dword(bus, devfn, where, val)) { in msp_pcibios_read_config()
844 int where, in msp_pcibios_write_config() argument
850 where, (u8)(0xFF & val))) { in msp_pcibios_write_config()
855 where, (u16)(0xFFFF & val))) { in msp_pcibios_write_config()
859 if (msp_pcibios_write_config_dword(bus, devfn, where, val)) { in msp_pcibios_write_config()