/linux-6.1.9/drivers/net/ethernet/ti/ |
D | cpsw_new.c | 103 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, in cpsw_set_promiscious() 109 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, in cpsw_set_promiscious() 526 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, ALE_P0_UNI_FLOOD, 1); in cpsw_init_host_port_switch() 528 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, ALE_PORT_NOLEARN, 0); in cpsw_init_host_port_switch() 537 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, ALE_P0_UNI_FLOOD, 0); in cpsw_init_host_port_dual_mac() 544 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, ALE_PORT_NOLEARN, 1); in cpsw_init_host_port_dual_mac() 557 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, ALE_VLAN_AWARE, in cpsw_init_host_port() 582 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, in cpsw_init_host_port() 605 cpsw_ale_control_set(cpsw->ale, priv->emac_port, in cpsw_port_add_dual_emac_def_ale_entries() 608 cpsw_ale_control_set(cpsw->ale, priv->emac_port, in cpsw_port_add_dual_emac_def_ale_entries() [all …]
|
D | cpsw.c | 118 cpsw_ale_control_set(ale, 0, ALE_BYPASS, 1); in cpsw_set_promiscious() 123 cpsw_ale_control_set(ale, 0, ALE_BYPASS, 0); in cpsw_set_promiscious() 132 cpsw_ale_control_set(ale, i, in cpsw_set_promiscious() 134 cpsw_ale_control_set(ale, i, in cpsw_set_promiscious() 139 cpsw_ale_control_set(ale, 0, ALE_AGEOUT, 1); in cpsw_set_promiscious() 145 cpsw_ale_control_set(ale, 0, ALE_AGEOUT, 1); in cpsw_set_promiscious() 152 cpsw_ale_control_set(ale, 0, ALE_P0_UNI_FLOOD, 1); in cpsw_set_promiscious() 156 cpsw_ale_control_set(ale, 0, ALE_P0_UNI_FLOOD, 0); in cpsw_set_promiscious() 160 cpsw_ale_control_set(ale, i, in cpsw_set_promiscious() 162 cpsw_ale_control_set(ale, i, in cpsw_set_promiscious() [all …]
|
D | cpsw_ale.c | 1087 int cpsw_ale_control_set(struct cpsw_ale *ale, int port, int control, in cpsw_ale_control_set() function 1156 cpsw_ale_control_set(ale, port, ALE_PORT_MCAST_LIMIT, val); in cpsw_ale_rx_ratelimit_mc() 1178 cpsw_ale_control_set(ale, port, ALE_PORT_BCAST_LIMIT, val); in cpsw_ale_rx_ratelimit_bc() 1189 cpsw_ale_control_set(ale, 0, ALE_AGEOUT, 1); in cpsw_ale_timer() 1266 cpsw_ale_control_set(ale, 0, ALE_RATE_LIMIT, 1); in cpsw_ale_start() 1268 cpsw_ale_control_set(ale, 0, ALE_ENABLE, 1); in cpsw_ale_start() 1269 cpsw_ale_control_set(ale, 0, ALE_CLEAR, 1); in cpsw_ale_start() 1277 cpsw_ale_control_set(ale, 0, ALE_CLEAR, 1); in cpsw_ale_stop() 1278 cpsw_ale_control_set(ale, 0, ALE_ENABLE, 0); in cpsw_ale_stop() 1441 cpsw_ale_control_set(ale, 0, ALE_CLEAR, 1); in cpsw_ale_create()
|
D | am65-cpsw-nuss.c | 232 cpsw_ale_control_set(common->ale, port->port_id, in am65_cpsw_slave_set_promisc() 237 cpsw_ale_control_set(common->ale, port->port_id, in am65_cpsw_slave_set_promisc() 407 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, in am65_cpsw_nuss_common_open() 409 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, in am65_cpsw_nuss_common_open() 412 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, ALE_VLAN_AWARE, 1); in am65_cpsw_nuss_common_open() 413 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, in am65_cpsw_nuss_common_open() 477 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, in am65_cpsw_nuss_common_stop() 1434 cpsw_ale_control_set(common->ale, port->port_id, ALE_PORT_STATE, ALE_PORT_STATE_DISABLE); in am65_cpsw_nuss_mac_link_down() 1479 cpsw_ale_control_set(common->ale, port->port_id, ALE_PORT_STATE, ALE_PORT_STATE_FORWARD); in am65_cpsw_nuss_mac_link_up() 1499 cpsw_ale_control_set(common->ale, port->port_id, in am65_cpsw_nuss_slave_disable_unused() [all …]
|
D | netcp_ethss.c | 2094 cpsw_ale_control_set(gbe_dev->ale, slave->port_num, in netcp_ethss_link_state_action() 2106 cpsw_ale_control_set(gbe_dev->ale, slave->port_num, in netcp_ethss_link_state_action() 2262 cpsw_ale_control_set(gbe_dev->ale, slave->port_num, in gbe_slave_stop() 2310 cpsw_ale_control_set(priv->ale, slave->port_num, in gbe_slave_open() 2378 cpsw_ale_control_set(priv->ale, 0, ALE_BYPASS, bypass_en); in gbe_init_host_port() 2380 cpsw_ale_control_set(priv->ale, 0, ALE_NO_PORT_VLAN, 1); in gbe_init_host_port() 2382 cpsw_ale_control_set(priv->ale, priv->host_port, in gbe_init_host_port() 2385 cpsw_ale_control_set(priv->ale, 0, in gbe_init_host_port() 2389 cpsw_ale_control_set(priv->ale, 0, in gbe_init_host_port() 2393 cpsw_ale_control_set(priv->ale, 0, in gbe_init_host_port() [all …]
|
D | cpsw_ale.h | 127 int cpsw_ale_control_set(struct cpsw_ale *ale, int port,
|
D | am65-cpsw-switchdev.c | 49 ret = cpsw_ale_control_set(cpsw->ale, port->port_id, in am65_cpsw_port_stp_state_set()
|
D | cpsw_switchdev.c | 51 ret = cpsw_ale_control_set(cpsw->ale, priv->emac_port, in cpsw_port_stp_state_set()
|