Home
last modified time | relevance | path

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

/Linux-v5.15/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()
270 port_mask = BIT(HOST_PORT_NUM); in am65_cpsw_port_mdb_add()
292 del_mask = BIT(HOST_PORT_NUM); in am65_cpsw_port_mdb_del()
391 port_id = HOST_PORT_NUM; in am65_cpsw_switchdev_event_work()
407 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()
278 port_mask = BIT(HOST_PORT_NUM); in cpsw_port_mdb_add()
301 del_mask = BIT(HOST_PORT_NUM); in cpsw_port_mdb_del()
401 port = HOST_PORT_NUM; in cpsw_switchdev_event_work()
417 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.c456 val = BIT(HOST_PORT_NUM); in am65_cpsw_nuss_common_open()
471 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, in am65_cpsw_nuss_common_open()
473 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, in am65_cpsw_nuss_common_open()
476 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, ALE_VLAN_AWARE, 1); in am65_cpsw_nuss_common_open()
477 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, in am65_cpsw_nuss_common_open()
541 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, in am65_cpsw_nuss_common_stop()
1302 HOST_PORT_NUM, 0, 0); in am65_cpsw_nuss_ndo_slave_set_mac_address()
1304 HOST_PORT_NUM, ALE_SECURE, 0); in am65_cpsw_nuss_ndo_slave_set_mac_address()
2219 cpsw_ale_control_set(common->ale, HOST_PORT_NUM, ALE_P0_UNI_FLOOD, 1); in am65_cpsw_init_host_port_switch()
2221 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()
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()
1111 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.h55 #define HOST_PORT_NUM 0 macro