Searched refs:apc (Results 1 – 6 of 6) sorted by relevance
/arch/mips/pci/ |
D | pci-ar2315.c | 191 static inline u32 ar2315_pci_reg_read(struct ar2315_pci_ctrl *apc, u32 reg) in ar2315_pci_reg_read() argument 193 return __raw_readl(apc->mmr_mem + reg); in ar2315_pci_reg_read() 196 static inline void ar2315_pci_reg_write(struct ar2315_pci_ctrl *apc, u32 reg, in ar2315_pci_reg_write() argument 199 __raw_writel(val, apc->mmr_mem + reg); in ar2315_pci_reg_write() 202 static inline void ar2315_pci_reg_mask(struct ar2315_pci_ctrl *apc, u32 reg, in ar2315_pci_reg_mask() argument 205 u32 ret = ar2315_pci_reg_read(apc, reg); in ar2315_pci_reg_mask() 209 ar2315_pci_reg_write(apc, reg, ret); in ar2315_pci_reg_mask() 212 static int ar2315_pci_cfg_access(struct ar2315_pci_ctrl *apc, unsigned devfn, in ar2315_pci_cfg_access() argument 227 ar2315_pci_reg_write(apc, AR2315_PCI_ISR, AR2315_PCI_INT_ABORT); in ar2315_pci_cfg_access() 229 ar2315_pci_reg_mask(apc, AR2315_PCI_MISC_CONFIG, 0, in ar2315_pci_cfg_access() [all …]
|
D | pci-ar724x.c | 56 static inline bool ar724x_pci_check_link(struct ar724x_pci_controller *apc) in ar724x_pci_check_link() argument 60 reset = __raw_readl(apc->ctrl_base + AR724X_PCI_REG_RESET); in ar724x_pci_check_link() 73 static int ar724x_pci_local_write(struct ar724x_pci_controller *apc, in ar724x_pci_local_write() argument 82 if (!apc->link_up) in ar724x_pci_local_write() 85 base = apc->crp_base; in ar724x_pci_local_write() 116 struct ar724x_pci_controller *apc; in ar724x_pci_read() local 120 apc = pci_bus_to_ar724x_controller(bus); in ar724x_pci_read() 121 if (!apc->link_up) in ar724x_pci_read() 127 base = apc->devcfg_base; in ar724x_pci_read() 150 apc->bar0_is_cached) { in ar724x_pci_read() [all …]
|
D | pci-ar71xx.c | 107 static int ar71xx_pci_check_error(struct ar71xx_pci_controller *apc, int quiet) in ar71xx_pci_check_error() argument 109 void __iomem *base = apc->cfg_base; in ar71xx_pci_check_error() 144 static inline void ar71xx_pci_local_write(struct ar71xx_pci_controller *apc, in ar71xx_pci_local_write() argument 147 void __iomem *base = apc->cfg_base; in ar71xx_pci_local_write() 163 struct ar71xx_pci_controller *apc = pci_bus_to_ar71xx_controller(bus); in ar71xx_pci_set_cfgaddr() local 164 void __iomem *base = apc->cfg_base; in ar71xx_pci_set_cfgaddr() 173 return ar71xx_pci_check_error(apc, 1); in ar71xx_pci_set_cfgaddr() 179 struct ar71xx_pci_controller *apc = pci_bus_to_ar71xx_controller(bus); in ar71xx_pci_read_config() local 180 void __iomem *base = apc->cfg_base; in ar71xx_pci_read_config() 203 struct ar71xx_pci_controller *apc = pci_bus_to_ar71xx_controller(bus); in ar71xx_pci_write_config() local [all …]
|
/arch/sparc/kernel/ |
D | Makefile | 88 obj-$(CONFIG_SUN_PM) += apc.o pmc.o
|
/arch/sparc/include/asm/ |
D | vio.h | 192 u16 apc; /* Alts per cylinder (SCSI) */ member
|
/arch/arm64/boot/dts/qcom/ |
D | qcs404.dtsi | 1153 vdd-apc-supply = <&pms405_s3>;
|