Symbol: cpu_port
drivers/bus/arm-cci.c
132
static inline void init_cpu_port(struct cpu_port *port, u32 index, u64 mpidr)
drivers/bus/arm-cci.c
138
static inline bool cpu_port_is_valid(struct cpu_port *port)
drivers/bus/arm-cci.c
143
static inline bool cpu_port_match(struct cpu_port *port, u64 mpidr)
drivers/bus/arm-cci.c
148
static struct cpu_port cpu_port[NR_CPUS];
drivers/bus/arm-cci.c
205
init_cpu_port(&cpu_port[cpu], port, cpu_logical_map(cpu));
drivers/bus/arm-cci.c
209
WARN(!cpu_port_is_valid(&cpu_port[cpu]),
drivers/bus/arm-cci.c
270
is_valid = cpu_port_is_valid(&cpu_port[cpu]);
drivers/bus/arm-cci.c
271
if (is_valid && cpu_port_match(&cpu_port[cpu], mpidr)) {
drivers/bus/arm-cci.c
272
cci_port_control(cpu_port[cpu].port, false);
drivers/bus/arm-cci.c
362
[sizeof_cpu_port] "i" (sizeof(cpu_port)),
drivers/bus/arm-cci.c
366
[offsetof_cpu_port_mpidr_lsb] "i" (offsetof(struct cpu_port, mpidr)),
drivers/bus/arm-cci.c
368
[offsetof_cpu_port_mpidr_lsb] "i" (offsetof(struct cpu_port, mpidr)+4),
drivers/bus/arm-cci.c
370
[offsetof_cpu_port_port] "i" (offsetof(struct cpu_port, port)),
drivers/bus/arm-cci.c
371
[sizeof_struct_cpu_port] "i" (sizeof(struct cpu_port)),
drivers/bus/arm-cci.c
521
sync_cache_w(&cpu_port);
drivers/net/dsa/b53/b53_common.c
2268
s8 cpu_port = dsa_to_port(ds, port)->cpu_dp->index;
drivers/net/dsa/b53/b53_common.c
2289
if ((reg & BIT(cpu_port)) == BIT(cpu_port))
drivers/net/dsa/b53/b53_common.c
2290
reg &= ~BIT(cpu_port);
drivers/net/dsa/b53/b53_common.c
2334
s8 cpu_port = dsa_to_port(ds, port)->cpu_dp->index;
drivers/net/dsa/b53/b53_common.c
2369
if (!(reg & BIT(cpu_port)))
drivers/net/dsa/b53/b53_common.c
2370
reg |= BIT(cpu_port);
drivers/net/dsa/b53/b53_common.c
2767
u8 cpu_port;
drivers/net/dsa/b53/b53_common.c
3080
.cpu_port = B53_CPU_PORT,
drivers/net/dsa/b53/b53_common.c
540
void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port)
drivers/net/dsa/b53/b53_common.c
547
if ((is5325(dev) || is5365(dev)) && cpu_port == B53_CPU_PORT_25)
drivers/net/dsa/b53/b53_common.c
548
cpu_port = B53_CPU_PORT;
drivers/net/dsa/b53/b53_common.c
556
pvlan |= BIT(cpu_port);
drivers/net/dsa/b53/b53_common.c
703
unsigned int cpu_port;
drivers/net/dsa/b53/b53_common.c
710
cpu_port = dsa_to_port(ds, port)->cpu_dp->index;
drivers/net/dsa/b53/b53_common.c
733
b53_imp_vlan_setup(ds, cpu_port);
drivers/net/dsa/b53/b53_priv.h
491
void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port);
drivers/net/dsa/bcm_sf2.c
1033
s8 cpu_port = dsa_to_port(ds, port)->cpu_dp->index;
drivers/net/dsa/bcm_sf2.c
1050
if (priv->wol_ports_mask && priv->wol_ports_mask != (1 << cpu_port))
drivers/net/dsa/bcm_sf2.c
1051
priv->wol_ports_mask |= (1 << cpu_port);
drivers/net/dsa/bcm_sf2.c
1053
priv->wol_ports_mask &= ~(1 << cpu_port);
drivers/net/dsa/bcm_sf2_cfp.c
850
s8 cpu_port = dsa_to_port(ds, port)->cpu_dp->index;
drivers/net/dsa/bcm_sf2_cfp.c
861
ring_cookie = cpu_port * SF2_NUM_EGRESS_QUEUES;
drivers/net/dsa/hirschmann/hellcreek.c
1009
struct hellcreek_port *cpu_port = &hellcreek->ports[CPU_PORT];
drivers/net/dsa/hirschmann/hellcreek.c
1022
cpu_port->ptcfg = ptcfg;
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1658
int cpu_port = -1;
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1661
if (cpu_port != -1)
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1665
cpu_port = cpu_dp->index;
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1668
if (cpu_port == -1)
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1671
if (BIT(cpu_port) & ~priv->hw_info->allowed_cpu_ports)
drivers/net/dsa/microchip/ksz8.c
1506
port != dev->cpu_port) {
drivers/net/dsa/microchip/ksz8.c
1657
void ksz8_port_setup(struct ksz_device *dev, int port, bool cpu_port)
drivers/net/dsa/microchip/ksz8.c
1682
if (cpu_port)
drivers/net/dsa/microchip/ksz8.c
1693
if (ksz_is_ksz87xx(dev) && !cpu_port)
drivers/net/dsa/microchip/ksz8.c
1699
struct dsa_port *cpu_dp = dsa_to_port(dev->ds, dev->cpu_port);
drivers/net/dsa/microchip/ksz8.c
1727
ksz8_port_setup(dev, dev->cpu_port, true);
drivers/net/dsa/microchip/ksz8.c
1729
ksz8795_cpu_interface_select(dev, dev->cpu_port);
drivers/net/dsa/microchip/ksz8.c
1898
if (dev->cpu_port == port)
drivers/net/dsa/microchip/ksz8.c
2101
dev->cpu_port = fls(dev->info->cpu_ports) - 1;
drivers/net/dsa/microchip/ksz8.h
19
void ksz8_port_setup(struct ksz_device *dev, int port, bool cpu_port);
drivers/net/dsa/microchip/ksz9477.c
1241
void ksz9477_port_setup(struct ksz_device *dev, int port, bool cpu_port)
drivers/net/dsa/microchip/ksz9477.c
1249
if (cpu_port)
drivers/net/dsa/microchip/ksz9477.c
1274
if (cpu_port)
drivers/net/dsa/microchip/ksz9477.c
1309
dev->cpu_port = i;
drivers/net/dsa/microchip/ksz9477.c
1348
if (i == dev->cpu_port)
drivers/net/dsa/microchip/ksz9477.c
1412
update = BIT(dev->cpu_port);
drivers/net/dsa/microchip/ksz9477.c
1417
update = BIT(dev->cpu_port);
drivers/net/dsa/microchip/ksz9477.c
1423
update = dev->port_mask & ~BIT(dev->cpu_port);
drivers/net/dsa/microchip/ksz9477.c
667
vlan_table[1] &= ~(BIT(dev->cpu_port));
drivers/net/dsa/microchip/ksz9477.c
669
vlan_table[2] |= BIT(port) | BIT(dev->cpu_port);
drivers/net/dsa/microchip/ksz9477.h
18
void ksz9477_port_setup(struct ksz_device *dev, int port, bool cpu_port);
drivers/net/dsa/microchip/ksz_common.c
2408
u8 port_member = 0, cpu_port;
drivers/net/dsa/microchip/ksz_common.c
2416
cpu_port = BIT(dsa_upstream_port(ds, port));
drivers/net/dsa/microchip/ksz_common.c
2474
dev->dev_ops->cfg_port_member(dev, i, val | cpu_port);
drivers/net/dsa/microchip/ksz_common.c
2483
dev->dev_ops->cfg_port_member(dev, port, port_member | cpu_port);
drivers/net/dsa/microchip/ksz_common.c
3043
p = &dev->ports[dev->cpu_port];
drivers/net/dsa/microchip/ksz_common.h
183
int cpu_port; /* port connected to CPU */
drivers/net/dsa/microchip/ksz_common.h
365
void (*port_setup)(struct ksz_device *dev, int port, bool cpu_port);
drivers/net/dsa/microchip/lan937x.h
12
void lan937x_port_setup(struct ksz_device *dev, int port, bool cpu_port);
drivers/net/dsa/microchip/lan937x_main.c
376
void lan937x_port_setup(struct ksz_device *dev, int port, bool cpu_port)
drivers/net/dsa/microchip/lan937x_main.c
384
if (cpu_port)
drivers/net/dsa/microchip/lan937x_main.c
404
if (cpu_port)
drivers/net/dsa/microchip/lan937x_main.c
419
dev->cpu_port = dp->index;
drivers/net/dsa/qca/qca8k-8xxx.c
1837
int cpu_port, ret;
drivers/net/dsa/qca/qca8k-8xxx.c
1840
cpu_port = qca8k_find_cpu_port(ds);
drivers/net/dsa/qca/qca8k-8xxx.c
1841
if (cpu_port < 0) {
drivers/net/dsa/qca/qca8k-8xxx.c
1843
return cpu_port;
drivers/net/dsa/qca/qca8k-8xxx.c
1920
FIELD_PREP(QCA8K_GLOBAL_FW_CTRL1_IGMP_DP_MASK, BIT(cpu_port)) |
drivers/net/dsa/qca/qca8k-8xxx.c
1921
FIELD_PREP(QCA8K_GLOBAL_FW_CTRL1_BC_DP_MASK, BIT(cpu_port)) |
drivers/net/dsa/qca/qca8k-8xxx.c
1922
FIELD_PREP(QCA8K_GLOBAL_FW_CTRL1_MC_DP_MASK, BIT(cpu_port)) |
drivers/net/dsa/qca/qca8k-8xxx.c
1923
FIELD_PREP(QCA8K_GLOBAL_FW_CTRL1_UC_DP_MASK, BIT(cpu_port)));
drivers/net/dsa/qca/qca8k-8xxx.c
1928
ret = qca8k_rmw(priv, QCA8K_PORT_LOOKUP_CTRL(cpu_port),
drivers/net/dsa/qca/qca8k-8xxx.c
1941
BIT(cpu_port));
drivers/net/dsa/realtek/realtek.h
68
unsigned int cpu_port;
drivers/net/dsa/realtek/rtl8366rb.c
1038
if (port == priv->cpu_port) {
drivers/net/dsa/realtek/rtl8366rb.c
1078
if (port != priv->cpu_port)
drivers/net/dsa/realtek/rtl8366rb.c
1145
if (port != priv->cpu_port)
drivers/net/dsa/realtek/rtl8366rb.c
1773
priv->cpu_port = RTL8366RB_PORT_NUM_CPU;
drivers/net/dsa/realtek/rtl8366rb.c
917
BIT(priv->cpu_port));
drivers/net/dsa/realtek/rtl8366rb.c
923
BIT(priv->cpu_port),
drivers/net/dsa/realtek/rtl8366rb.c
935
if (i == priv->cpu_port)
drivers/net/dsa/xrs700x/xrs700x.c
385
bool cpu_port = dsa_is_cpu_port(ds, port);
drivers/net/dsa/xrs700x/xrs700x.c
403
val = cpu_port ? XRS_PORT_MODE_MANAGEMENT : XRS_PORT_MODE_NORMAL;
drivers/net/dsa/xrs700x/xrs700x.c
408
if (!cpu_port) {
drivers/net/ethernet/microchip/lan966x/lan966x_mdb.c
109
bool cpu_port = netif_is_bridge_master(mdb->obj.orig_dev);
drivers/net/ethernet/microchip/lan966x/lan966x_mdb.c
125
if (cpu_port)
drivers/net/ethernet/microchip/lan966x/lan966x_mdb.c
144
bool cpu_port = netif_is_bridge_master(mdb->obj.orig_dev);
drivers/net/ethernet/microchip/lan966x/lan966x_mdb.c
155
if (cpu_port) {
drivers/net/ethernet/microchip/lan966x/lan966x_mdb.c
252
bool cpu_port = netif_is_bridge_master(mdb->obj.orig_dev);
drivers/net/ethernet/microchip/lan966x/lan966x_mdb.c
269
if (cpu_port) {
drivers/net/ethernet/microchip/lan966x/lan966x_mdb.c
301
bool cpu_port = netif_is_bridge_master(mdb->obj.orig_dev);
drivers/net/ethernet/microchip/lan966x/lan966x_mdb.c
313
if (cpu_port) {
drivers/net/ethernet/mscc/ocelot.c
1793
struct ocelot_port *cpu_port = ocelot_port->dsa_8021q_cpu;
drivers/net/ethernet/mscc/ocelot.c
1795
if (!cpu_port)
drivers/net/ethernet/mscc/ocelot.c
1798
if (cpu_port->bond)
drivers/net/ethernet/mscc/ocelot.c
1799
return ocelot_get_bond_mask(ocelot, cpu_port->bond);
drivers/net/ethernet/mscc/ocelot.c
1801
return BIT(cpu_port->index);
drivers/net/ethernet/mscc/ocelot.c
1926
struct ocelot_port *cpu_port = ocelot->ports[cpu];
drivers/net/ethernet/mscc/ocelot.c
1931
cpu_port->is_dsa_8021q_cpu = true;
drivers/net/ethernet/mscc/ocelot.c
1944
struct ocelot_port *cpu_port = ocelot->ports[cpu];
drivers/net/ethernet/mscc/ocelot.c
1949
cpu_port->is_dsa_8021q_cpu = false;
drivers/net/ethernet/mscc/ocelot.c
1952
ocelot_vlan_member_del(ocelot, cpu_port->index, vid);
drivers/net/ethernet/mscc/ocelot.c
1963
struct ocelot_port *cpu_port = ocelot->ports[cpu];
drivers/net/ethernet/mscc/ocelot.c
1967
ocelot->ports[port]->dsa_8021q_cpu = cpu_port;
drivers/net/ethernet/ti/am65-cpsw-switchdev.c
152
bool cpu_port = netif_is_bridge_master(orig_dev);
drivers/net/ethernet/ti/am65-cpsw-switchdev.c
161
if (cpu_port) {
drivers/net/ethernet/ti/am65-cpsw-switchdev.c
183
if (cpu_port)
drivers/net/ethernet/ti/am65-cpsw-switchdev.c
200
bool cpu_port = netif_is_bridge_master(orig_dev);
drivers/net/ethernet/ti/am65-cpsw-switchdev.c
205
if (cpu_port)
drivers/net/ethernet/ti/am65-cpsw-switchdev.c
217
if (cpu_port)
drivers/net/ethernet/ti/am65-cpsw-switchdev.c
260
bool cpu_port = netif_is_bridge_master(orig_dev);
drivers/net/ethernet/ti/am65-cpsw-switchdev.c
265
if (cpu_port)
drivers/net/ethernet/ti/am65-cpsw-switchdev.c
283
bool cpu_port = netif_is_bridge_master(orig_dev);
drivers/net/ethernet/ti/am65-cpsw-switchdev.c
287
if (cpu_port)
drivers/net/ethernet/ti/cpsw_switchdev.c
168
bool cpu_port = netif_is_bridge_master(orig_dev);
drivers/net/ethernet/ti/cpsw_switchdev.c
177
if (cpu_port) {
drivers/net/ethernet/ti/cpsw_switchdev.c
199
if (cpu_port)
drivers/net/ethernet/ti/cpsw_switchdev.c
215
bool cpu_port = netif_is_bridge_master(orig_dev);
drivers/net/ethernet/ti/cpsw_switchdev.c
220
if (cpu_port)
drivers/net/ethernet/ti/cpsw_switchdev.c
232
if (cpu_port)
drivers/net/ethernet/ti/cpsw_switchdev.c
268
bool cpu_port = netif_is_bridge_master(orig_dev);
drivers/net/ethernet/ti/cpsw_switchdev.c
273
if (cpu_port)
drivers/net/ethernet/ti/cpsw_switchdev.c
291
bool cpu_port = netif_is_bridge_master(orig_dev);
drivers/net/ethernet/ti/cpsw_switchdev.c
296
if (cpu_port)
drivers/net/ethernet/ti/icssg/icssg_switchdev.c
233
bool cpu_port = netif_is_bridge_master(orig_dev);
drivers/net/ethernet/ti/icssg/icssg_switchdev.c
238
if (cpu_port)
drivers/net/ethernet/ti/icssg/icssg_switchdev.c
262
bool cpu_port = netif_is_bridge_master(orig_dev);
drivers/net/ethernet/ti/icssg/icssg_switchdev.c
266
if (cpu_port)
drivers/net/ethernet/ti/icssg/icssg_switchdev.c
273
if (cpu_port)
drivers/net/ethernet/ti/icssg/icssg_switchdev.c
291
bool cpu_port = netif_is_bridge_master(orig_dev);
drivers/net/ethernet/ti/icssg/icssg_switchdev.c
297
if (cpu_port && !(vlan->flags & BRIDGE_VLAN_INFO_BRENTRY))
drivers/net/ethernet/ti/icssg/icssg_switchdev.c
322
bool cpu_port;
drivers/net/ethernet/ti/icssg/icssg_switchdev.c
325
cpu_port = netif_is_bridge_master(orig_dev);
drivers/net/ethernet/ti/icssg/icssg_switchdev.c
327
if (cpu_port)
drivers/net/ethernet/ti/icssg/icssg_switchdev.c
346
bool cpu_port;
drivers/net/ethernet/ti/icssg/icssg_switchdev.c
348
cpu_port = netif_is_bridge_master(orig_dev);
drivers/net/ethernet/ti/icssg/icssg_switchdev.c
350
if (cpu_port)
net/dsa/tag_mxl862xx.c
32
unsigned int cpu_port, sub_interface;
net/dsa/tag_mxl862xx.c
35
cpu_port = cpu_dp->index;
net/dsa/tag_mxl862xx.c
38
sub_interface = dp->index + 16 - cpu_port;
net/dsa/tag_mxl862xx.c
54
mxl862_tag[3] = htons(FIELD_PREP(MXL862_IGP_EGP, cpu_port));
sound/soc/generic/audio-graph-card.c
355
struct device_node *cpu_port;
sound/soc/generic/audio-graph-card.c
362
cpu_port = it.node;
sound/soc/generic/audio-graph-card.c
365
for_each_of_graph_port_endpoint(cpu_port, cpu_ep) {
sound/soc/generic/audio-graph-card2.c
1137
struct device_node *cpu_port = lnk;
sound/soc/generic/audio-graph-card2.c
1138
struct device_node *cpu_ep __free(device_node) = of_graph_get_next_port_endpoint(cpu_port, NULL);
sound/soc/generic/audio-graph-card2.c
1152
li->num[li->link].platforms = graph_counter(cpu_port);
sound/soc/generic/audio-graph-card2.c
844
struct device_node *cpu_port = lnk;
sound/soc/generic/audio-graph-card2.c
845
struct device_node *cpu_ep __free(device_node) = of_graph_get_next_port_endpoint(cpu_port, NULL);