Home
last modified time | relevance | path

Searched refs:HOST_PORT_NUM (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/ti/
Dam65-cpsw-switchdev.c162 port_mask = BIT(HOST_PORT_NUM); in am65_cpsw_port_vlan_add()
185 HOST_PORT_NUM, ALE_VLAN | ALE_SECURE, vid); in am65_cpsw_port_vlan_add()
206 port_mask = BIT(HOST_PORT_NUM); in am65_cpsw_port_vlan_del()
219 HOST_PORT_NUM, ALE_VLAN, vid); in am65_cpsw_port_vlan_del()
266 port_mask = BIT(HOST_PORT_NUM); in am65_cpsw_port_mdb_add()
288 del_mask = BIT(HOST_PORT_NUM); in am65_cpsw_port_mdb_del()
387 port_id = HOST_PORT_NUM; in am65_cpsw_switchdev_event_work()
403 port_id = HOST_PORT_NUM; in am65_cpsw_switchdev_event_work()
Dcpsw_switchdev.c178 port_mask = BIT(HOST_PORT_NUM); in cpsw_port_vlan_add()
201 HOST_PORT_NUM, ALE_VLAN, vid); in cpsw_port_vlan_add()
221 port_mask = BIT(HOST_PORT_NUM); in cpsw_port_vlan_del()
234 HOST_PORT_NUM, ALE_VLAN, vid); in cpsw_port_vlan_del()
274 port_mask = BIT(HOST_PORT_NUM); in cpsw_port_mdb_add()
297 del_mask = BIT(HOST_PORT_NUM); in cpsw_port_mdb_del()
397 port = HOST_PORT_NUM; in cpsw_switchdev_event_work()
413 port = HOST_PORT_NUM; in cpsw_switchdev_event_work()
Dcpsw_new.c68 if (priv->emac_port == HOST_PORT_NUM) in cpsw_slave_index_priv()
104 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()
420 HOST_PORT_NUM, ALE_VLAN, vid); in cpsw_add_vlan_ale_entry()
432 HOST_PORT_NUM, ALE_VLAN, vid); in cpsw_add_vlan_ale_entry()
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()
[all …]
Dam65-cpsw-nuss.c396 val = BIT(HOST_PORT_NUM); in am65_cpsw_nuss_common_open()
411 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, in am65_cpsw_nuss_common_open()
413 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, in am65_cpsw_nuss_common_open()
416 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, ALE_VLAN_AWARE, 1); in am65_cpsw_nuss_common_open()
417 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, in am65_cpsw_nuss_common_open()
483 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, in am65_cpsw_nuss_common_stop()
1254 HOST_PORT_NUM, 0, 0); in am65_cpsw_nuss_ndo_slave_set_mac_address()
1256 HOST_PORT_NUM, ALE_SECURE, 0); in am65_cpsw_nuss_ndo_slave_set_mac_address()
2430 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, ALE_P0_UNI_FLOOD, 1); in am65_cpsw_init_host_port_switch()
2432 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, ALE_PORT_NOLEARN, 0); in am65_cpsw_init_host_port_switch()
[all …]
Dcpsw.c556 HOST_PORT_NUM, ALE_VLAN | in cpsw_add_dual_emac_def_ale_entries()
686 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, ALE_VLAN_AWARE, in cpsw_init_host_port()
700 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, in cpsw_init_host_port()
704 cpsw_ale_add_ucast(cpsw->ale, priv->mac_addr, HOST_PORT_NUM, in cpsw_init_host_port()
980 cpsw_ale_del_ucast(cpsw->ale, priv->mac_addr, HOST_PORT_NUM, in cpsw_ndo_set_mac_address()
982 cpsw_ale_add_ucast(cpsw->ale, addr->sa_data, HOST_PORT_NUM, in cpsw_ndo_set_mac_address()
1025 HOST_PORT_NUM, ALE_VLAN, vid); in cpsw_add_vlan_ale_entry()
1037 HOST_PORT_NUM, ALE_VLAN, vid); in cpsw_add_vlan_ale_entry()
1105 HOST_PORT_NUM, ALE_VLAN, vid); in cpsw_ndo_vlan_rx_kill_vid()
Dam65-cpsw-nuss.h21 #define HOST_PORT_NUM 0 macro
Dcpsw_priv.h58 #define HOST_PORT_NUM 0 macro