Lines Matching refs:cpu_port
116 struct cpu_port { struct
132 static inline void init_cpu_port(struct cpu_port *port, u32 index, u64 mpidr) in init_cpu_port() argument
138 static inline bool cpu_port_is_valid(struct cpu_port *port) in cpu_port_is_valid()
143 static inline bool cpu_port_match(struct cpu_port *port, u64 mpidr) in cpu_port_match()
148 static struct cpu_port cpu_port[NR_CPUS]; variable
205 init_cpu_port(&cpu_port[cpu], port, cpu_logical_map(cpu)); in cci_ace_init_ports()
209 WARN(!cpu_port_is_valid(&cpu_port[cpu]), in cci_ace_init_ports()
270 is_valid = cpu_port_is_valid(&cpu_port[cpu]); in cci_disable_port_by_cpu()
271 if (is_valid && cpu_port_match(&cpu_port[cpu], mpidr)) { in cci_disable_port_by_cpu()
272 cci_port_control(cpu_port[cpu].port, false); in cci_disable_port_by_cpu()
362 [sizeof_cpu_port] "i" (sizeof(cpu_port)), in cci_enable_port_for_self()
366 [offsetof_cpu_port_mpidr_lsb] "i" (offsetof(struct cpu_port, mpidr)), in cci_enable_port_for_self()
368 [offsetof_cpu_port_mpidr_lsb] "i" (offsetof(struct cpu_port, mpidr)+4), in cci_enable_port_for_self()
370 [offsetof_cpu_port_port] "i" (offsetof(struct cpu_port, port)), in cci_enable_port_for_self()
371 [sizeof_struct_cpu_port] "i" (sizeof(struct cpu_port)), in cci_enable_port_for_self()
521 sync_cache_w(&cpu_port); in cci_probe_ports()