cpu_port 132 drivers/bus/arm-cci.c static inline void init_cpu_port(struct cpu_port *port, u32 index, u64 mpidr) cpu_port 138 drivers/bus/arm-cci.c static inline bool cpu_port_is_valid(struct cpu_port *port) cpu_port 143 drivers/bus/arm-cci.c static inline bool cpu_port_match(struct cpu_port *port, u64 mpidr) cpu_port 148 drivers/bus/arm-cci.c static struct cpu_port cpu_port[NR_CPUS]; cpu_port 205 drivers/bus/arm-cci.c init_cpu_port(&cpu_port[cpu], port, cpu_logical_map(cpu)); cpu_port 209 drivers/bus/arm-cci.c WARN(!cpu_port_is_valid(&cpu_port[cpu]), cpu_port 270 drivers/bus/arm-cci.c is_valid = cpu_port_is_valid(&cpu_port[cpu]); cpu_port 271 drivers/bus/arm-cci.c if (is_valid && cpu_port_match(&cpu_port[cpu], mpidr)) { cpu_port 272 drivers/bus/arm-cci.c cci_port_control(cpu_port[cpu].port, false); cpu_port 362 drivers/bus/arm-cci.c [sizeof_cpu_port] "i" (sizeof(cpu_port)), cpu_port 366 drivers/bus/arm-cci.c [offsetof_cpu_port_mpidr_lsb] "i" (offsetof(struct cpu_port, mpidr)), cpu_port 368 drivers/bus/arm-cci.c [offsetof_cpu_port_mpidr_lsb] "i" (offsetof(struct cpu_port, mpidr)+4), cpu_port 370 drivers/bus/arm-cci.c [offsetof_cpu_port_port] "i" (offsetof(struct cpu_port, port)), cpu_port 371 drivers/bus/arm-cci.c [sizeof_struct_cpu_port] "i" (sizeof(struct cpu_port)), cpu_port 521 drivers/bus/arm-cci.c sync_cache_w(&cpu_port); cpu_port 499 drivers/net/dsa/b53/b53_common.c void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port) cpu_port 511 drivers/net/dsa/b53/b53_common.c pvlan |= BIT(cpu_port); cpu_port 520 drivers/net/dsa/b53/b53_common.c unsigned int cpu_port; cpu_port 527 drivers/net/dsa/b53/b53_common.c cpu_port = ds->ports[port].cpu_dp->index; cpu_port 549 drivers/net/dsa/b53/b53_common.c b53_imp_vlan_setup(ds, cpu_port); cpu_port 999 drivers/net/dsa/b53/b53_common.c if (port == dev->cpu_port) { cpu_port 1022 drivers/net/dsa/b53/b53_common.c if (port == dev->cpu_port) { cpu_port 1075 drivers/net/dsa/b53/b53_common.c if (is5301x(dev) && port == dev->cpu_port) cpu_port 1144 drivers/net/dsa/b53/b53_common.c if (port != dev->cpu_port) { cpu_port 1145 drivers/net/dsa/b53/b53_common.c b53_force_port_config(dev, dev->cpu_port, 2000, cpu_port 1147 drivers/net/dsa/b53/b53_common.c b53_force_link(dev, dev->cpu_port, 1); cpu_port 1667 drivers/net/dsa/b53/b53_common.c s8 cpu_port = ds->ports[port].cpu_dp->index; cpu_port 1677 drivers/net/dsa/b53/b53_common.c if ((reg & BIT(cpu_port)) == BIT(cpu_port)) cpu_port 1678 drivers/net/dsa/b53/b53_common.c reg &= ~BIT(cpu_port); cpu_port 1713 drivers/net/dsa/b53/b53_common.c s8 cpu_port = ds->ports[port].cpu_dp->index; cpu_port 1743 drivers/net/dsa/b53/b53_common.c if (!(reg & BIT(cpu_port))) cpu_port 1744 drivers/net/dsa/b53/b53_common.c reg |= BIT(cpu_port); cpu_port 1748 drivers/net/dsa/b53/b53_common.c vl->members |= BIT(port) | BIT(cpu_port); cpu_port 1749 drivers/net/dsa/b53/b53_common.c vl->untag |= BIT(port) | BIT(cpu_port); cpu_port 2046 drivers/net/dsa/b53/b53_common.c u8 cpu_port; cpu_port 2068 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT_25, cpu_port 2077 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT_25, cpu_port 2086 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT, cpu_port 2098 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT, cpu_port 2110 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT, cpu_port 2122 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT, cpu_port 2135 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT, cpu_port 2146 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT, cpu_port 2158 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT, cpu_port 2170 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT, cpu_port 2182 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT_25, /* TODO: auto detect */ cpu_port 2194 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT_25, /* TODO: auto detect */ cpu_port 2206 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT_25, /* TODO: auto detect */ cpu_port 2218 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT_25, /* TODO: auto detect */ cpu_port 2230 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT_25, /* TODO: auto detect */ cpu_port 2242 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT, cpu_port 2254 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT, cpu_port 2266 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT, cpu_port 2278 drivers/net/dsa/b53/b53_common.c .cpu_port = B53_CPU_PORT, cpu_port 2303 drivers/net/dsa/b53/b53_common.c dev->cpu_port = chip->cpu_port; cpu_port 2340 drivers/net/dsa/b53/b53_common.c dev->cpu_port = 5; cpu_port 2344 drivers/net/dsa/b53/b53_common.c dev->num_ports = dev->cpu_port + 1; cpu_port 2345 drivers/net/dsa/b53/b53_common.c dev->enabled_ports |= BIT(dev->cpu_port); cpu_port 124 drivers/net/dsa/b53/b53_priv.h unsigned int cpu_port; cpu_port 311 drivers/net/dsa/b53/b53_priv.h void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port); cpu_port 764 drivers/net/dsa/bcm_sf2.c s8 cpu_port = ds->ports[port].cpu_dp->index; cpu_port 781 drivers/net/dsa/bcm_sf2.c if (priv->wol_ports_mask && priv->wol_ports_mask != (1 << cpu_port)) cpu_port 782 drivers/net/dsa/bcm_sf2.c priv->wol_ports_mask |= (1 << cpu_port); cpu_port 784 drivers/net/dsa/bcm_sf2.c priv->wol_ports_mask &= ~(1 << cpu_port); cpu_port 824 drivers/net/dsa/bcm_sf2_cfp.c s8 cpu_port = ds->ports[port].cpu_dp->index; cpu_port 833 drivers/net/dsa/bcm_sf2_cfp.c ring_cookie = cpu_port * SF2_NUM_EGRESS_QUEUES; cpu_port 223 drivers/net/dsa/lantiq_gswip.c int cpu_port; cpu_port 602 drivers/net/dsa/lantiq_gswip.c unsigned int cpu_port = priv->hw_info->cpu_port; cpu_port 628 drivers/net/dsa/lantiq_gswip.c vlan_mapping.val[1] = BIT(port) | BIT(cpu_port); cpu_port 774 drivers/net/dsa/lantiq_gswip.c unsigned int cpu_port = priv->hw_info->cpu_port; cpu_port 798 drivers/net/dsa/lantiq_gswip.c gswip_switch_w(priv, BIT(cpu_port), GSWIP_PCE_PMAP1); cpu_port 799 drivers/net/dsa/lantiq_gswip.c gswip_switch_w(priv, BIT(cpu_port), GSWIP_PCE_PMAP2); cpu_port 800 drivers/net/dsa/lantiq_gswip.c gswip_switch_w(priv, BIT(cpu_port), GSWIP_PCE_PMAP3); cpu_port 814 drivers/net/dsa/lantiq_gswip.c GSWIP_FDMA_PCTRLp(cpu_port)); cpu_port 818 drivers/net/dsa/lantiq_gswip.c GSWIP_PCE_PCTRL_0p(cpu_port)); cpu_port 821 drivers/net/dsa/lantiq_gswip.c GSWIP_MAC_CTRL_2p(cpu_port)); cpu_port 839 drivers/net/dsa/lantiq_gswip.c gswip_port_enable(ds, cpu_port, NULL); cpu_port 913 drivers/net/dsa/lantiq_gswip.c unsigned int cpu_port = priv->hw_info->cpu_port; cpu_port 953 drivers/net/dsa/lantiq_gswip.c vlan_mapping.val[1] |= BIT(cpu_port); cpu_port 975 drivers/net/dsa/lantiq_gswip.c unsigned int cpu_port = priv->hw_info->cpu_port; cpu_port 1022 drivers/net/dsa/lantiq_gswip.c vlan_mapping.val[1] |= BIT(cpu_port); cpu_port 1023 drivers/net/dsa/lantiq_gswip.c vlan_mapping.val[2] |= BIT(cpu_port); cpu_port 1050 drivers/net/dsa/lantiq_gswip.c unsigned int cpu_port = priv->hw_info->cpu_port; cpu_port 1086 drivers/net/dsa/lantiq_gswip.c if ((vlan_mapping.val[1] & ~BIT(cpu_port)) == 0) { cpu_port 1305 drivers/net/dsa/lantiq_gswip.c unsigned int cpu_port = priv->hw_info->cpu_port; cpu_port 1313 drivers/net/dsa/lantiq_gswip.c for (i = cpu_port; i < ARRAY_SIZE(priv->vlans); i++) { cpu_port 1892 drivers/net/dsa/lantiq_gswip.c if (!dsa_is_cpu_port(priv->ds, priv->hw_info->cpu_port)) { cpu_port 1894 drivers/net/dsa/lantiq_gswip.c priv->hw_info->cpu_port); cpu_port 1942 drivers/net/dsa/lantiq_gswip.c .cpu_port = 6, cpu_port 709 drivers/net/dsa/microchip/ksz8795.c if (port == dev->cpu_port) cpu_port 923 drivers/net/dsa/microchip/ksz8795.c static void ksz8795_port_setup(struct ksz_device *dev, int port, bool cpu_port) cpu_port 942 drivers/net/dsa/microchip/ksz8795.c if (cpu_port) { cpu_port 1004 drivers/net/dsa/microchip/ksz8795.c p = &dev->ports[dev->cpu_port]; cpu_port 1008 drivers/net/dsa/microchip/ksz8795.c ksz8795_port_setup(dev, dev->cpu_port, true); cpu_port 1177 drivers/net/dsa/microchip/ksz8795.c dev->cpu_port = dev->mib_port_cnt - 1; cpu_port 1178 drivers/net/dsa/microchip/ksz8795.c dev->host_mask = BIT(dev->cpu_port); cpu_port 411 drivers/net/dsa/microchip/ksz9477.c if (port != dev->cpu_port) cpu_port 416 drivers/net/dsa/microchip/ksz9477.c if (port != dev->cpu_port && cpu_port 427 drivers/net/dsa/microchip/ksz9477.c if (port == dev->cpu_port) cpu_port 442 drivers/net/dsa/microchip/ksz9477.c if (port != dev->cpu_port && cpu_port 540 drivers/net/dsa/microchip/ksz9477.c vlan_table[1] &= ~(BIT(dev->cpu_port)); cpu_port 542 drivers/net/dsa/microchip/ksz9477.c vlan_table[2] |= BIT(port) | BIT(dev->cpu_port); cpu_port 1188 drivers/net/dsa/microchip/ksz9477.c static void ksz9477_port_setup(struct ksz_device *dev, int port, bool cpu_port) cpu_port 1196 drivers/net/dsa/microchip/ksz9477.c if (cpu_port) cpu_port 1270 drivers/net/dsa/microchip/ksz9477.c if (cpu_port) { cpu_port 1302 drivers/net/dsa/microchip/ksz9477.c dev->cpu_port = i; cpu_port 1303 drivers/net/dsa/microchip/ksz9477.c dev->host_mask = (1 << dev->cpu_port); cpu_port 1321 drivers/net/dsa/microchip/ksz9477.c p = &dev->ports[dev->cpu_port]; cpu_port 1330 drivers/net/dsa/microchip/ksz9477.c if (i == dev->cpu_port) cpu_port 29 drivers/net/dsa/microchip/ksz_common.c if (i == port || i == dev->cpu_port) cpu_port 67 drivers/net/dsa/microchip/ksz_common.h int cpu_port; /* port connected to CPU */ cpu_port 126 drivers/net/dsa/microchip/ksz_common.h void (*port_setup)(struct ksz_device *dev, int port, bool cpu_port); cpu_port 59 drivers/net/dsa/realtek-smi-core.h unsigned int cpu_port; cpu_port 271 drivers/net/dsa/rtl8366.c if (port == smi->cpu_port) cpu_port 280 drivers/net/dsa/rtl8366.c mask = BIT(port) | BIT(smi->cpu_port); cpu_port 856 drivers/net/dsa/rtl8366rb.c RTL8368RB_CPU_INSTAG | BIT(smi->cpu_port)); cpu_port 862 drivers/net/dsa/rtl8366rb.c BIT(smi->cpu_port), cpu_port 992 drivers/net/dsa/rtl8366rb.c if (port != smi->cpu_port) cpu_port 1400 drivers/net/dsa/rtl8366rb.c smi->cpu_port = RTL8366RB_PORT_NUM_CPU; cpu_port 421 sound/soc/generic/audio-graph-card.c struct device_node *cpu_port; cpu_port 432 sound/soc/generic/audio-graph-card.c cpu_port = it.node; cpu_port 437 sound/soc/generic/audio-graph-card.c cpu_ep = of_get_next_child(cpu_port, cpu_ep);