Home
last modified time | relevance | path

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

/Linux-v6.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.c67 if (priv->emac_port == HOST_PORT_NUM) in cpsw_slave_index_priv()
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()
419 HOST_PORT_NUM, ALE_VLAN, vid); in cpsw_add_vlan_ale_entry()
431 HOST_PORT_NUM, ALE_VLAN, vid); in cpsw_add_vlan_ale_entry()
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()
[all …]
Dam65-cpsw-nuss.c392 val = BIT(HOST_PORT_NUM); in am65_cpsw_nuss_common_open()
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()
1214 HOST_PORT_NUM, 0, 0); in am65_cpsw_nuss_ndo_slave_set_mac_address()
1216 HOST_PORT_NUM, ALE_SECURE, 0); in am65_cpsw_nuss_ndo_slave_set_mac_address()
2248 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, ALE_P0_UNI_FLOOD, 1); in am65_cpsw_init_host_port_switch()
2250 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.h57 #define HOST_PORT_NUM 0 macro