Defined in 1 files as a function:
Referenced in 19 files:
- drivers/net/dsa/b53/b53_common.c, line 895
- drivers/net/dsa/lantiq/lantiq_gswip_common.c
- drivers/net/dsa/mt7530.c
- drivers/net/dsa/mv88e6xxx/chip.c, line 2116
- drivers/net/dsa/mxl862xx/mxl862xx.c
- drivers/net/dsa/netc/netc_main.c, line 569
- drivers/net/dsa/ocelot/felix.c
- drivers/net/dsa/qca/qca8k-8xxx.c
- drivers/net/dsa/realtek/rtl8365mb_main.c, line 3108
- drivers/net/dsa/realtek/rtl8366rb.c, line 965
- drivers/net/dsa/rzn1_a5psw.c
- drivers/net/dsa/sja1105/sja1105_main.c, line 241
- drivers/net/dsa/yt921x.c, line 1114
- include/net/dsa.h
- net/dsa/conduit.c
- net/dsa/dsa.c
- net/dsa/port.c
- net/dsa/switch.c
- net/dsa/tag_8021q.c
Smatch caller information:
drivers/net/dsa/mxl862xx/mxl862xx.c mxl862xx_port_setup() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 0,4096-ptr_max |
| DATA_SOURCE | 0 | port | r dsa_to_port |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dsa2_mutex |
drivers/net/dsa/mxl862xx/mxl862xx.c mxl862xx_set_bridge_port() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->type | 1-u32max |
| DATA_SOURCE | 0 | port | r dsa_to_port |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
net/dsa/dsa.c dsa_port_conduit_is_operational() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/dsa/dsa.c dsa_switch_preferred_default_local_cpu_port() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dsa2_mutex |
net/dsa/dsa.c dsa_switch_release_ports() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dsa2_mutex |
net/dsa/dsa.c dsa_switch_shutdown() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dsa2_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &parent->mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct device)->mutex |
net/dsa/dsa.c dsa_switch_shutdown() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dsa2_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &parent->mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct device)->mutex |
net/dsa/dsa.c dsa_tree_find_first_cpu() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
net/dsa/dsa.c dsa_tree_setup_conduit() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dsa2_mutex | ||
| LOCK2 | global &rtnl_mutex |
net/dsa/dsa.c dsa_tree_setup_cpu_ports() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dsa2_mutex |
net/dsa/dsa.c dsa_tree_setup_ports() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->type | 0-1,3-u32max |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dsa2_mutex |
net/dsa/dsa.c dsa_tree_teardown_conduit() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dsa2_mutex | ||
| LOCK2 | global &rtnl_mutex |
net/dsa/dsa.c dsa_tree_teardown_ports() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->type | 0-1,3-u32max |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | port->pl->sfp_bus->upstream->phydev->skb->data->nlmsg_flags | 0-u16max[u] |
| USER_DATA | 0 | port->pl->sfp_bus->upstream->phydev->skb->data->nlmsg_len | 0-4294967295[u] |
| USER_DATA | 0 | port->pl->sfp_bus->upstream->phydev->skb->data->nlmsg_pid | 0-4294967295[u] |
| USER_DATA | 0 | port->pl->sfp_bus->upstream->phydev->skb->data->nlmsg_type | 0-u16max[u] |
| LOCK2 | global &dsa2_mutex |
net/dsa/conduit.c dsa_conduit_get_ethtool_stats() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->type | 0-1,3-u32max |
| CAPPED_DATA | 0 | &port->list | 1 |
| HOST_DATA | 0 | port->ds->priv->spidev->controller->dev.driver_data->ctx.modulctrl | 0-4294967291[c] |
| HOST_DATA | 0 | port->ds->priv->spidev->controller->dev.driver_data->para | 0-255 |
net/dsa/conduit.c dsa_conduit_get_sset_count() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->type | 0-1,3-u32max |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/dsa/conduit.c dsa_conduit_get_strings() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->type | 0-1,3-u32max |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/dsa/netc/netc_main.c netc_add_standalone_fdb_bcast_entry() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/netc/netc_main.c netc_port_default_config() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/realtek/rtl8366rb.c rtl8366rb_setup() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/realtek/rtl8366rb.c rtl8366rb_setup() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
net/dsa/switch.c dsa_port_do_fdb_add() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| DATA_SOURCE | 0 | port | $0 |
net/dsa/switch.c dsa_port_do_fdb_del() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| DATA_SOURCE | 0 | port | $0 |
net/dsa/switch.c dsa_port_do_mdb_add() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| DATA_SOURCE | 0 | port | $0 |
net/dsa/switch.c dsa_port_do_mdb_del() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| DATA_SOURCE | 0 | port | $0 |
net/dsa/switch.c dsa_port_do_vlan_add() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port | 1 |
| CAPPED_DATA | 0 | port->ds | 1 |
| DATA_SOURCE | 0 | port | $0 |
net/dsa/switch.c dsa_port_do_vlan_del() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port | 1 |
| CAPPED_DATA | 0 | port->ds | 1 |
| DATA_SOURCE | 0 | port | $0 |
net/dsa/switch.c dsa_port_mtu_match() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->type | 0-1,3-u32max |
| CAPPED_DATA | 0 | port->ds | 1 |
| DATA_SOURCE | 0 | port | $0 |
net/dsa/switch.c dsa_switch_change_tag_proto() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
net/dsa/switch.c dsa_switch_host_fdb_add() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | port->index | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
net/dsa/switch.c dsa_switch_host_fdb_del() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | port->index | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
net/dsa/tag_8021q.c dsa_port_do_tag_8021q_vlan_add() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port | 1 |
| CAPPED_DATA | 0 | port->ds | 1 |
| DATA_SOURCE | 0 | port | $0 |
net/dsa/tag_8021q.c dsa_port_do_tag_8021q_vlan_del() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port | 1 |
| CAPPED_DATA | 0 | port->ds | 1 |
| DATA_SOURCE | 0 | port | $0 |
net/dsa/tag_8021q.c dsa_port_tag_8021q_vlan_match() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->type | 0-1,3-u32max |
| CAPPED_DATA | 0 | port->ds | 1 |
| DATA_SOURCE | 0 | port | $0 |
drivers/net/dsa/microchip/lan937x_main.c lan937x_config_cpu_port() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/realtek/rtl8365mb_main.c rtl8365mb_setup() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/realtek/rtl8365mb_main.c rtl8365mb_setup() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/mxl862xx/mxl862xx-host.c mxl862xx_crc_err_work_fn() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/dsa/qca/qca8k-8xxx.c qca8k_phylink_mac_link_up() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| DATA_SOURCE | 0 | port | r dsa_phylink_to_port |
| LOCK2 | &pl->phydev_mutex | ||
| LOCK2 | &pl->state_mutex | ||
| HALF_LOCKED2 | &phy->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct phylink)->phydev_mutex | ||
| TYPE_LOCK | (struct phylink)->state_mutex |
drivers/net/dsa/qca/qca8k-8xxx.c qca8k_phylink_mac_link_up() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| DATA_SOURCE | 0 | port | r dsa_phylink_to_port |
| LOCK2 | &pl->phydev_mutex | ||
| LOCK2 | &pl->state_mutex | ||
| HALF_LOCKED2 | &phy->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct phylink)->phydev_mutex | ||
| TYPE_LOCK | (struct phylink)->state_mutex |
drivers/net/dsa/qca/qca8k-8xxx.c qca8k_setup() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/lantiq/lantiq_gswip_common.c dsa_cpu_ports() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/dsa/lantiq/lantiq_gswip_common.c gswip_phylink_mac_link_down() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| DATA_SOURCE | 0 | port | r dsa_phylink_to_port |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pl->state_mutex | ||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/lantiq/lantiq_gswip_common.c gswip_phylink_mac_link_up() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| DATA_SOURCE | 0 | port | r dsa_phylink_to_port |
| LOCK2 | &pl->phydev_mutex | ||
| LOCK2 | &pl->state_mutex | ||
| HALF_LOCKED2 | &phy->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct phylink)->phydev_mutex | ||
| TYPE_LOCK | (struct phylink)->state_mutex |
drivers/net/dsa/lantiq/lantiq_gswip_common.c gswip_setup() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/lantiq/lantiq_gswip_common.c gswip_validate_cpu_port() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/dsa/yt921x.c dsa_cpu_ports() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &priv->reg_lock | ||
| HALF_LOCKED2 | global &dsa2_mutex | ||
| TYPE_LOCK | (struct yt921x_priv)->reg_lock |
drivers/net/dsa/yt921x.c yt921x_dsa_port_change_mtu() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 0,4096-ptr_max |
| DATA_SOURCE | 0 | port | r dsa_to_port |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/dsa/port.c dsa_shared_port_link_register_of() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->type | 1-2 |
| CAPPED_DATA | 0 | port->ds | 1 |
| DATA_SOURCE | 0 | port | $0 |
| HARD_MAX | 0 | port->type | 2 |
| MEM_ZERO | 0 | &port->devlink_port | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dsa2_mutex |
net/dsa/port.c dsa_shared_port_validate_of() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->type | 1-2 |
| CAPPED_DATA | 0 | port->ds | 1 |
| DATA_SOURCE | 0 | port | $0 |
| HARD_MAX | 0 | port->type | 2 |
| MEM_ZERO | 0 | &port->devlink_port | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dsa2_mutex |
net/dsa/port.c dsa_shared_port_validate_of() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->type | 1-2 |
| CAPPED_DATA | 0 | port->ds | 1 |
| DATA_SOURCE | 0 | port | $0 |
| HARD_MAX | 0 | port->type | 2 |
| MEM_ZERO | 0 | &port->devlink_port | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dsa2_mutex |
drivers/net/dsa/b53/b53_common.c b53_vlan_port_may_join_untagged() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 0,4096-ptr_max |
| DATA_SOURCE | 0 | port | r dsa_to_port |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/dsa/sja1105/sja1105_main.c sja1105_init_mac_settings() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/mv88e6xxx/chip.c mv88e6xxx_change_tag_protocol() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &chip->reg_lock | ||
| HALF_LOCKED2 | global &dsa2_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct mv88e6xxx_chip)->reg_lock |
drivers/net/dsa/mv88e6xxx/chip.c mv88e6xxx_change_tag_protocol() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &chip->reg_lock | ||
| HALF_LOCKED2 | global &dsa2_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct mv88e6xxx_chip)->reg_lock |
drivers/net/dsa/mv88e6xxx/chip.c mv88e6xxx_port_check_hw_vlan() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->type | 0-1,3-u32max |
| DATA_SOURCE | 0 | port | r dsa_to_port |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &chip->reg_lock | ||
| HALF_LOCKED2 | &dp->vlans_lock | ||
| TYPE_LOCK | (struct mv88e6xxx_chip)->reg_lock |
drivers/net/dsa/rzn1_a5psw.c a5psw_phylink_mac_select_pcs() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| DATA_SOURCE | 0 | port | r dsa_phylink_to_port |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/dsa/rzn1_a5psw.c a5psw_setup() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/rzn1_a5psw.c a5psw_setup() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/rzn1_a5psw.c a5psw_setup() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->type | 1-u32max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/ocelot/felix.c dsa_cpu_ports() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/dsa/ocelot/felix.c felix_fdb_add() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 0,4096-ptr_max |
| DATA_SOURCE | 0 | port | r dsa_to_port |
| HALF_LOCKED2 | &dp->addr_lists_lock |
drivers/net/dsa/ocelot/felix.c felix_fdb_add() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| DATA_SOURCE | 0 | port | r dsa_to_port |
| HALF_LOCKED2 | &dp->addr_lists_lock |
drivers/net/dsa/ocelot/felix.c felix_fdb_del() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 0,4096-ptr_max |
| DATA_SOURCE | 0 | port | r dsa_to_port |
| HALF_LOCKED2 | &dp->addr_lists_lock |
drivers/net/dsa/ocelot/felix.c felix_fdb_del() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| DATA_SOURCE | 0 | port | r dsa_to_port |
| HALF_LOCKED2 | &dp->addr_lists_lock |
drivers/net/dsa/ocelot/felix.c felix_tag_8021q_setup() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/dsa/ocelot/felix.c felix_tag_8021q_teardown() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/dsa/ocelot/felix.c felix_tag_8021q_vlan_add() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
drivers/net/dsa/ocelot/felix.c felix_tag_8021q_vlan_add() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
drivers/net/dsa/ocelot/felix.c felix_tag_8021q_vlan_del() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
drivers/net/dsa/ocelot/felix.c felix_tag_8021q_vlan_del() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
drivers/net/dsa/ocelot/felix.c felix_update_tag_8021q_rx_rules() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/dsa/mt7530.c mt7530_hw_vlan_add() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 0,4096-ptr_max |
| DATA_SOURCE | 0 | port | r dsa_to_port |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &priv->reg_mutex | ||
| HALF_LOCKED2 | &dp->vlans_lock | ||
| TYPE_LOCK | (struct mt7530_priv)->reg_mutex |
drivers/net/dsa/mt7530.c mt7530_setup() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| CAPPED_DATA | 0 | port->ds | 1 |
| CAPPED_DATA | 0 | &port->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/mt7530.c mt753x_preferred_default_local_cpu_port() -> dsa_port_is_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 0,4096-ptr_max |
| DATA_SOURCE | 0 | port | r dsa_to_port |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dsa2_mutex |