Searched refs:p4_out (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/drivers/pci/ |
H A D | pci_sh7751.c | 72 #define p4_out(data, addr) (*addr) = (data) macro 80 p4_out(par_data | (offset & 0xfc), SH7751_PCIPAR); in pci_sh4_read_config_dword() 91 p4_out(par_data | (offset & 0xfc), SH7751_PCIPAR); in pci_sh4_write_config_dword() 92 p4_out(value, SH7751_PCIPDR); in pci_sh4_write_config_dword() 126 p4_out((p4_in(SH7751_BCR1) | BCR1_BREQEN), SH7751_BCR1); in pci_sh7751_init() 129 p4_out((SH7751_PCICR_PREFIX | SH7751_PCICR_PRST), SH7751_PCICR); in pci_sh7751_init() 131 p4_out(SH7751_PCICR_PREFIX, SH7751_PCICR); in pci_sh7751_init() 135 p4_out(0xfb900047, SH7751_PCICONF1); /* K.Kino */ in pci_sh7751_init() 138 p4_out((SH7751_PCI_HOST_BRIDGE << 24), SH7751_PCICONF2); in pci_sh7751_init() 141 p4_out(0, SH7751_PCICLKR); in pci_sh7751_init() [all …]
|
H A D | pci_sh7780.c | 29 #define p4_out(data, addr) (*(vu_long *)addr) = (data) macro 38 p4_out(par_data | (offset & 0xfc), SH7780_PCIPAR); in pci_sh4_read_config_dword() 49 p4_out(par_data | (offset & 0xfc), SH7780_PCIPAR); in pci_sh4_write_config_dword() 50 p4_out(value, SH7780_PCIPDR); in pci_sh4_write_config_dword() 56 p4_out(0x01, SH7780_PCIECR); in pci_sh7780_init() 66 p4_out((SH7780_PCICR_PREFIX | SH7780_PCICR_PRST), SH7780_PCICR); in pci_sh7780_init() 68 p4_out(SH7780_PCICR_PREFIX, SH7780_PCICR); in pci_sh7780_init() 71 p4_out(CONFIG_SH7780_PCI_LSR, SH7780_PCILSR0); in pci_sh7780_init() 72 p4_out(CONFIG_SH7780_PCI_LAR, SH7780_PCILAR0); in pci_sh7780_init() 73 p4_out(0x00000000, SH7780_PCILSR1); in pci_sh7780_init() [all …]
|