Home
last modified time | relevance | path

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

/linux-6.12.1/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 …]
Dcpsw.c556 HOST_PORT_NUM, ALE_VLAN | in cpsw_add_dual_emac_def_ale_entries()
688 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, ALE_VLAN_AWARE, in cpsw_init_host_port()
702 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, in cpsw_init_host_port()
706 cpsw_ale_add_ucast(cpsw->ale, priv->mac_addr, HOST_PORT_NUM, in cpsw_init_host_port()
982 cpsw_ale_del_ucast(cpsw->ale, priv->mac_addr, HOST_PORT_NUM, in cpsw_ndo_set_mac_address()
984 cpsw_ale_add_ucast(cpsw->ale, addr->sa_data, HOST_PORT_NUM, in cpsw_ndo_set_mac_address()
1027 HOST_PORT_NUM, ALE_VLAN, vid); in cpsw_add_vlan_ale_entry()
1039 HOST_PORT_NUM, ALE_VLAN, vid); in cpsw_add_vlan_ale_entry()
1107 HOST_PORT_NUM, ALE_VLAN, vid); in cpsw_ndo_vlan_rx_kill_vid()
Dam65-cpsw-nuss.c647 val = BIT(HOST_PORT_NUM); in am65_cpsw_nuss_common_open()
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()
1756 HOST_PORT_NUM, 0, 0); in am65_cpsw_nuss_ndo_slave_set_mac_address()
1758 HOST_PORT_NUM, ALE_SECURE, 0); in am65_cpsw_nuss_ndo_slave_set_mac_address()
3026 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, ALE_P0_UNI_FLOOD, 1); in am65_cpsw_init_host_port_switch()
3028 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, ALE_PORT_NOLEARN, 0); in am65_cpsw_init_host_port_switch()
[all …]
Dam65-cpsw-nuss.h22 #define HOST_PORT_NUM 0 macro
Dcpsw_priv.h58 #define HOST_PORT_NUM 0 macro