Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/net/ethernet/ti/am65-cpsw-nuss.c, line 920
- drivers/net/ethernet/ti/cpsw.c
- drivers/net/ethernet/ti/cpsw_ale.c
- drivers/net/ethernet/ti/cpsw_new.c
- drivers/net/ethernet/ti/netcp_ethss.c, line 2508
Smatch caller information:
drivers/net/ethernet/ti/cpsw.c cpsw_add_default_vlan() -> cpsw_ale_add_vlan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | port_mask | 7 |
| PARAM_VALUE | 3 | untag | 7 |
| PARAM_VALUE | 4 | reg_mcast | 7 |
| PARAM_VALUE | 5 | unreg_mcast | 6-7 |
| FUZZY_MAX | 5 | unreg_mcast | 7 |
| BIT_INFO | 5 | unreg_mcast | 0x6,0x7 |
| HARD_MAX | 5 | unreg_mcast | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/ti/cpsw.c cpsw_add_dual_emac_def_ale_entries() -> cpsw_ale_add_vlan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 5 | unreg_mcast | 0 |
| BIT_INFO | 2 | port_mask | 0x1,0xffffffff |
| BIT_INFO | 3 | untag | 0x1,0xffffffff |
| BIT_INFO | 4 | reg_mcast | 0x1,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | vid | unit_array_size |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/ti/cpsw.c cpsw_add_vlan_ale_entry() -> cpsw_ale_add_vlan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | untag | 0 |
| PARAM_VALUE | 5 | unreg_mcast | 0-1,6-7 |
| DATA_SOURCE | 1 | vid | $1 |
| FUZZY_MAX | 5 | unreg_mcast | 7 |
| BIT_INFO | 2 | port_mask | 0x1,0xffffffff |
| BIT_INFO | 4 | reg_mcast | 0x1,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | vid | 1-4094 |
| UNITS | 1 | vid | unit_array_size |
drivers/net/ethernet/ti/cpsw.c cpsw_ndo_open() -> cpsw_ale_add_vlan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | port_mask | 7 |
| PARAM_VALUE | 3 | untag | 7 |
| PARAM_VALUE | 4 | reg_mcast | 0 |
| PARAM_VALUE | 5 | unreg_mcast | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/ti/cpsw_new.c cpsw_add_vlan_ale_entry() -> cpsw_ale_add_vlan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | untag | 0 |
| PARAM_VALUE | 5 | unreg_mcast | 0-1 |
| DATA_SOURCE | 1 | vid | $1 |
| FUZZY_MAX | 5 | unreg_mcast | 0 |
| BIT_INFO | 2 | port_mask | 0x1,0xffffffff |
| BIT_INFO | 4 | reg_mcast | 0x1,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | vid | 1-4094 |
| UNITS | 1 | vid | unit_array_size |
drivers/net/ethernet/ti/cpsw_new.c cpsw_init_host_port_dual_mac() -> cpsw_ale_add_vlan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ale->features | 0-1,3 |
| PARAM_VALUE | 0 | ale->params.ale_ageout | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | ale->params.ale_ports | 0,3 |
| PARAM_VALUE | 2 | port_mask | 7 |
| PARAM_VALUE | 3 | untag | 7 |
| PARAM_VALUE | 4 | reg_mcast | 0 |
| PARAM_VALUE | 5 | unreg_mcast | 0 |
| CAPPED_DATA | 0 | ale->params.ale_ports | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | vid | unit_array_size |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/ti/cpsw_new.c cpsw_init_host_port_switch() -> cpsw_ale_add_vlan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ale->features | 0-1,3 |
| PARAM_VALUE | 0 | ale->params.ale_ageout | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | ale->params.ale_ports | 0,3 |
| PARAM_VALUE | 2 | port_mask | 7 |
| PARAM_VALUE | 3 | untag | 7 |
| PARAM_VALUE | 4 | reg_mcast | 7 |
| PARAM_VALUE | 5 | unreg_mcast | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | vid | unit_array_size |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/ti/cpsw_new.c cpsw_port_add_dual_emac_def_ale_entries() -> cpsw_ale_add_vlan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 5 | unreg_mcast | 0 |
| BIT_INFO | 2 | port_mask | 0x1,0xffffffff |
| BIT_INFO | 3 | untag | 0x1,0xffffffff |
| BIT_INFO | 4 | reg_mcast | 0x1,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | vid | unit_array_size |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/ti/cpsw_ale.c cpsw_ale_vlan_add_modify() -> cpsw_ale_add_vlan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ale | 4096-ptr_max |
| PARAM_VALUE | 0 | ale->params.ale_entries | 0-u32max |
| PARAM_VALUE | 2 | port_mask | 0-s32max |
| PARAM_VALUE | 3 | untag | 0-s32max |
| PARAM_VALUE | 4 | reg_mcast | 0-s32max |
| PARAM_VALUE | 5 | unreg_mcast | 0-7 |
| CAPPED_DATA | 0 | ale->params.ale_entries | 1 |
| CAPPED_DATA | 3 | untag | 1 |
| CAPPED_DATA | 4 | reg_mcast | 1 |
| CAPPED_DATA | 5 | unreg_mcast | 1 |
| DATA_SOURCE | 0 | ale | $0 |
| DATA_SOURCE | 1 | vid | $1 |
| UNITS | 1 | vid | unit_array_size |