Searched refs:p4_out (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/pci/ |
| H A D | pci_sh7751.c | 73 #define p4_out(data, addr) (*addr) = (data) macro 81 p4_out(par_data | (offset & 0xfc), SH7751_PCIPAR); in pci_sh4_read_config_dword() 92 p4_out(par_data | (offset & 0xfc), SH7751_PCIPAR); in pci_sh4_write_config_dword() 93 p4_out(value, SH7751_PCIPDR); in pci_sh4_write_config_dword() 127 p4_out((p4_in(SH7751_BCR1) | BCR1_BREQEN), SH7751_BCR1); in pci_sh7751_init() 130 p4_out((SH7751_PCICR_PREFIX | SH7751_PCICR_PRST), SH7751_PCICR); in pci_sh7751_init() 132 p4_out(SH7751_PCICR_PREFIX, SH7751_PCICR); in pci_sh7751_init() 136 p4_out(0xfb900047, SH7751_PCICONF1); /* K.Kino */ in pci_sh7751_init() 139 p4_out((SH7751_PCI_HOST_BRIDGE << 24), SH7751_PCICONF2); in pci_sh7751_init() 142 p4_out(0, SH7751_PCICLKR); in pci_sh7751_init() [all …]
|
| H A D | pci_sh7780.c | 30 #define p4_out(data, addr) (*(vu_long *)addr) = (data) macro 39 p4_out(par_data | (offset & 0xfc), SH7780_PCIPAR); in pci_sh4_read_config_dword() 50 p4_out(par_data | (offset & 0xfc), SH7780_PCIPAR); in pci_sh4_write_config_dword() 51 p4_out(value, SH7780_PCIPDR); in pci_sh4_write_config_dword() 57 p4_out(0x01, SH7780_PCIECR); in pci_sh7780_init() 67 p4_out((SH7780_PCICR_PREFIX | SH7780_PCICR_PRST), SH7780_PCICR); in pci_sh7780_init() 69 p4_out(SH7780_PCICR_PREFIX, SH7780_PCICR); in pci_sh7780_init() 72 p4_out(CONFIG_SH7780_PCI_LSR, SH7780_PCILSR0); in pci_sh7780_init() 73 p4_out(CONFIG_SH7780_PCI_LAR, SH7780_PCILAR0); in pci_sh7780_init() 74 p4_out(0x00000000, SH7780_PCILSR1); in pci_sh7780_init() [all …]
|