Lines Matching refs:ale
738 struct cpsw_ale *ale; member
2089 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()
2259 cpsw_ale_del_mcast(gbe_dev->ale, intf->ndev->broadcast, in gbe_slave_stop()
2305 cpsw_ale_control_set(priv->ale, slave->port_num, in gbe_slave_open()
2307 cpsw_ale_add_mcast(priv->ale, gbe_intf->ndev->broadcast, in gbe_slave_open()
2368 cpsw_ale_start(priv->ale); in gbe_init_host_port()
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()
2392 cpsw_ale_control_set(priv->ale, 0, in gbe_init_host_port()
2402 cpsw_ale_add_mcast(gbe_dev->ale, addr, in gbe_add_mcast_addr()
2406 cpsw_ale_add_mcast(gbe_dev->ale, addr, in gbe_add_mcast_addr()
2417 cpsw_ale_add_ucast(gbe_dev->ale, addr, gbe_dev->host_port, 0, 0); in gbe_add_ucast_addr()
2420 cpsw_ale_add_ucast(gbe_dev->ale, addr, gbe_dev->host_port, in gbe_add_ucast_addr()
2429 cpsw_ale_del_mcast(gbe_dev->ale, addr, 0, 0, 0); in gbe_del_mcast_addr()
2432 cpsw_ale_del_mcast(gbe_dev->ale, addr, 0, ALE_VLAN, vlan_id); in gbe_del_mcast_addr()
2441 cpsw_ale_del_ucast(gbe_dev->ale, addr, gbe_dev->host_port, 0, 0); in gbe_del_ucast_addr()
2444 cpsw_ale_del_ucast(gbe_dev->ale, addr, gbe_dev->host_port, in gbe_del_ucast_addr()
2508 cpsw_ale_add_vlan(gbe_dev->ale, vid, in gbe_add_vid()
2522 cpsw_ale_del_vlan(gbe_dev->ale, vid, 0); in gbe_del_vid()
2763 struct cpsw_ale *ale = gbe_dev->ale; in gbe_set_rx_mode() local
2771 cpsw_ale_control_set(ale, i, in gbe_set_rx_mode()
2773 cpsw_ale_control_set(ale, i, in gbe_set_rx_mode()
2779 cpsw_ale_control_set(ale, 0, ALE_P0_UNI_FLOOD, 0); in gbe_set_rx_mode()
2787 cpsw_ale_control_set(ale, 0, ALE_AGEOUT, 1); in gbe_set_rx_mode()
2790 if (cpsw_ale_control_get(ale, 0, ALE_AGEOUT)) { in gbe_set_rx_mode()
2798 if (ret && !cpsw_ale_control_get(ale, 0, ALE_AGEOUT)) in gbe_set_rx_mode()
2801 cpsw_ale_control_set(ale, 0, ALE_AGEOUT, 1); in gbe_set_rx_mode()
2804 cpsw_ale_flush_multicast(ale, in gbe_set_rx_mode()
2809 cpsw_ale_control_set(ale, 0, ALE_P0_UNI_FLOOD, 1); in gbe_set_rx_mode()
3693 gbe_dev->ale = cpsw_ale_create(&ale_params); in gbe_probe()
3694 if (IS_ERR(gbe_dev->ale)) { in gbe_probe()
3696 ret = PTR_ERR(gbe_dev->ale); in gbe_probe()
3801 cpsw_ale_stop(gbe_dev->ale); in gbe_remove()