Home
last modified time | relevance | path

Searched refs:cpu_port (Results 1 – 16 of 16) sorted by relevance

/Linux-v4.19/drivers/bus/
Darm-cci.c116 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()
[all …]
/Linux-v4.19/sound/soc/generic/
Daudio-graph-scu-card.c179 struct device_node *cpu_port; in asoc_graph_card_parse_of() local
210 cpu_port = it.node; in asoc_graph_card_parse_of()
211 cpu_ep = of_get_next_child(cpu_port, NULL); in asoc_graph_card_parse_of()
232 of_node_put(cpu_port); in asoc_graph_card_parse_of()
246 cpu_port = it.node; in asoc_graph_card_parse_of()
247 cpu_ep = of_get_next_child(cpu_port, NULL); in asoc_graph_card_parse_of()
267 of_node_put(cpu_port); in asoc_graph_card_parse_of()
274 of_node_put(cpu_port); in asoc_graph_card_parse_of()
295 struct device_node *cpu_port; in asoc_graph_get_dais_count() local
305 cpu_port = it.node; in asoc_graph_get_dais_count()
[all …]
Daudio-graph-card.c157 static int asoc_graph_card_dai_link_of(struct device_node *cpu_port, in asoc_graph_card_dai_link_of() argument
166 struct device_node *cpu_ep = of_get_next_child(cpu_port, NULL); in asoc_graph_card_dai_link_of()
/Linux-v4.19/drivers/net/dsa/b53/
Db53_common.c483 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port) in b53_imp_vlan_setup() argument
495 pvlan |= BIT(cpu_port); in b53_imp_vlan_setup()
504 unsigned int cpu_port = ds->ports[port].cpu_dp->index; in b53_enable_port() local
520 b53_imp_vlan_setup(ds, cpu_port); in b53_enable_port()
952 if (port == dev->cpu_port) { in b53_adjust_link()
986 if (is5301x(dev) && port == dev->cpu_port) in b53_adjust_link()
1054 if (port != dev->cpu_port) { in b53_adjust_link()
1055 u8 po_reg = B53_GMII_PORT_OVERRIDE_CTRL(dev->cpu_port); in b53_adjust_link()
1393 s8 cpu_port = ds->ports[port].cpu_dp->index; in b53_br_join() local
1403 if ((reg & BIT(cpu_port)) == BIT(cpu_port)) in b53_br_join()
[all …]
Db53_priv.h105 unsigned int cpu_port; member
290 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port);
/Linux-v4.19/Documentation/devicetree/bindings/sound/
Dst,stm32-adfsdm.txt19 dais = <&cpu_port>;
47 cpu_port: port {
Daudio-graph-card.txt40 dais = <&cpu_port>;
45 cpu_port: port {
Daudio-graph-scu-card.txt49 dais = <&cpu_port>;
64 cpu_port: port {
/Linux-v4.19/drivers/net/dsa/microchip/
Dksz_common.c302 static void port_setup(struct ksz_device *dev, int port, bool cpu_port) in port_setup() argument
308 if (cpu_port) in port_setup()
357 dev->cpu_port = i; in ksz_config_cpu_port()
595 vlan_table[1] &= ~(BIT(dev->cpu_port)); in ksz_port_vlan_add()
597 vlan_table[2] |= BIT(port) | BIT(dev->cpu_port); in ksz_port_vlan_add()
Dksz_priv.h56 int cpu_port; /* port connected to CPU */ member
/Linux-v4.19/drivers/net/dsa/
Drealtek-smi.h59 unsigned int cpu_port; member
Drtl8366rb.c852 RTL8368RB_CPU_INSTAG | BIT(smi->cpu_port)); in rtl8366rb_setup()
858 BIT(smi->cpu_port), in rtl8366rb_setup()
988 if (port != smi->cpu_port) in rtl8366rb_adjust_link()
1397 smi->cpu_port = RTL8366RB_PORT_NUM_CPU; in rtl8366rb_detect()
Drtl8366.c271 if (port == smi->cpu_port) in rtl8366_init_vlan()
280 mask = BIT(port) | BIT(smi->cpu_port); in rtl8366_init_vlan()
Dbcm_sf2.c750 s8 cpu_port = ds->ports[port].cpu_dp->index; in bcm_sf2_sw_set_wol() local
766 if (priv->wol_ports_mask && priv->wol_ports_mask != (1 << cpu_port)) in bcm_sf2_sw_set_wol()
767 priv->wol_ports_mask |= (1 << cpu_port); in bcm_sf2_sw_set_wol()
769 priv->wol_ports_mask &= ~(1 << cpu_port); in bcm_sf2_sw_set_wol()
Dbcm_sf2_cfp.c735 s8 cpu_port = ds->ports[port].cpu_dp->index; in bcm_sf2_cfp_rule_set() local
757 ring_cookie = cpu_port * SF2_NUM_EGRESS_QUEUES; in bcm_sf2_cfp_rule_set()
/Linux-v4.19/arch/arm/boot/dts/
Dam335x-sl50.dts187 dais = <&cpu_port>;
580 cpu_port: port { label