Home
last modified time | relevance | path

Searched refs:cpsw_ale_control_set (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/ti/
Dcpsw_new.c104 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, in cpsw_set_promiscious()
110 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, in cpsw_set_promiscious()
527 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, ALE_P0_UNI_FLOOD, 1); in cpsw_init_host_port_switch()
529 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, ALE_PORT_NOLEARN, 0); in cpsw_init_host_port_switch()
538 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, ALE_P0_UNI_FLOOD, 0); in cpsw_init_host_port_dual_mac()
545 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, ALE_PORT_NOLEARN, 1); in cpsw_init_host_port_dual_mac()
558 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, ALE_VLAN_AWARE, in cpsw_init_host_port()
583 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, in cpsw_init_host_port()
606 cpsw_ale_control_set(cpsw->ale, priv->emac_port, in cpsw_port_add_dual_emac_def_ale_entries()
609 cpsw_ale_control_set(cpsw->ale, priv->emac_port, in cpsw_port_add_dual_emac_def_ale_entries()
[all …]
Dcpsw.c118 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 …]
Dcpsw_ale.c1122 int cpsw_ale_control_set(struct cpsw_ale *ale, int port, int control, in cpsw_ale_control_set() function
1191 cpsw_ale_control_set(ale, port, ALE_PORT_MCAST_LIMIT, val); in cpsw_ale_rx_ratelimit_mc()
1213 cpsw_ale_control_set(ale, port, ALE_PORT_BCAST_LIMIT, val); in cpsw_ale_rx_ratelimit_bc()
1224 cpsw_ale_control_set(ale, 0, ALE_AGEOUT, 1); in cpsw_ale_timer()
1301 cpsw_ale_control_set(ale, 0, ALE_RATE_LIMIT, 1); in cpsw_ale_start()
1303 cpsw_ale_control_set(ale, 0, ALE_ENABLE, 1); in cpsw_ale_start()
1304 cpsw_ale_control_set(ale, 0, ALE_CLEAR, 1); in cpsw_ale_start()
1312 cpsw_ale_control_set(ale, 0, ALE_CLEAR, 1); in cpsw_ale_stop()
1313 cpsw_ale_control_set(ale, 0, ALE_ENABLE, 0); in cpsw_ale_stop()
1612 cpsw_ale_control_set(ale, 0, ALE_CLEAR, 1); in cpsw_ale_create()
Dam65-cpsw-nuss.c265 cpsw_ale_control_set(common->ale, port->port_id, in am65_cpsw_slave_set_promisc()
270 cpsw_ale_control_set(common->ale, port->port_id, in am65_cpsw_slave_set_promisc()
662 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, in am65_cpsw_nuss_common_open()
664 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, in am65_cpsw_nuss_common_open()
667 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, ALE_VLAN_AWARE, 1); in am65_cpsw_nuss_common_open()
668 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, in am65_cpsw_nuss_common_open()
779 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, in am65_cpsw_nuss_common_stop()
2099 cpsw_ale_control_set(common->ale, port->port_id, ALE_PORT_STATE, ALE_PORT_STATE_DISABLE); in am65_cpsw_nuss_mac_link_down()
2155 cpsw_ale_control_set(common->ale, port->port_id, ALE_PORT_STATE, ALE_PORT_STATE_FORWARD); in am65_cpsw_nuss_mac_link_up()
2174 cpsw_ale_control_set(common->ale, port->port_id, in am65_cpsw_nuss_slave_disable_unused()
[all …]
Dnetcp_ethss.c2089 cpsw_ale_control_set(gbe_dev->ale, slave->port_num, in netcp_ethss_link_state_action()
2101 cpsw_ale_control_set(gbe_dev->ale, slave->port_num, in netcp_ethss_link_state_action()
2257 cpsw_ale_control_set(gbe_dev->ale, slave->port_num, in gbe_slave_stop()
2305 cpsw_ale_control_set(priv->ale, slave->port_num, in gbe_slave_open()
2373 cpsw_ale_control_set(priv->ale, 0, ALE_BYPASS, bypass_en); in gbe_init_host_port()
2375 cpsw_ale_control_set(priv->ale, 0, ALE_NO_PORT_VLAN, 1); in gbe_init_host_port()
2377 cpsw_ale_control_set(priv->ale, priv->host_port, in gbe_init_host_port()
2380 cpsw_ale_control_set(priv->ale, 0, in gbe_init_host_port()
2384 cpsw_ale_control_set(priv->ale, 0, in gbe_init_host_port()
2388 cpsw_ale_control_set(priv->ale, 0, in gbe_init_host_port()
[all …]
Dcpsw_ale.h181 int cpsw_ale_control_set(struct cpsw_ale *ale, int port,
Dam65-cpsw-switchdev.c49 ret = cpsw_ale_control_set(cpsw->ale, port->port_id, in am65_cpsw_port_stp_state_set()
Dcpsw_switchdev.c51 ret = cpsw_ale_control_set(cpsw->ale, priv->emac_port, in cpsw_port_stp_state_set()