Lines Matching refs:hal

226 	sc->hal.arswitch_vlan_init_hw(sc);  in arswitch_set_vlan_mode()
528 sc->hal.arswitch_port_init = ar8xxx_port_init; in arswitch_attach()
529 sc->hal.arswitch_port_vlan_setup = ar8xxx_port_vlan_setup; in arswitch_attach()
530 sc->hal.arswitch_port_vlan_get = ar8xxx_port_vlan_get; in arswitch_attach()
531 sc->hal.arswitch_vlan_init_hw = ar8xxx_reset_vlans; in arswitch_attach()
532 sc->hal.arswitch_hw_get_switch_macaddr = ar8xxx_hw_get_switch_macaddr; in arswitch_attach()
533 sc->hal.arswitch_hw_set_switch_macaddr = ar8xxx_hw_set_switch_macaddr; in arswitch_attach()
535 sc->hal.arswitch_vlan_getvgroup = ar8xxx_getvgroup; in arswitch_attach()
536 sc->hal.arswitch_vlan_setvgroup = ar8xxx_setvgroup; in arswitch_attach()
538 sc->hal.arswitch_vlan_get_pvid = ar8xxx_get_pvid; in arswitch_attach()
539 sc->hal.arswitch_vlan_set_pvid = ar8xxx_set_pvid; in arswitch_attach()
541 sc->hal.arswitch_get_dot1q_vlan = ar8xxx_get_dot1q_vlan; in arswitch_attach()
542 sc->hal.arswitch_set_dot1q_vlan = ar8xxx_set_dot1q_vlan; in arswitch_attach()
543 sc->hal.arswitch_flush_dot1q_vlan = ar8xxx_flush_dot1q_vlan; in arswitch_attach()
544 sc->hal.arswitch_purge_dot1q_vlan = ar8xxx_purge_dot1q_vlan; in arswitch_attach()
545 sc->hal.arswitch_get_port_vlan = ar8xxx_get_port_vlan; in arswitch_attach()
546 sc->hal.arswitch_set_port_vlan = ar8xxx_set_port_vlan; in arswitch_attach()
548 sc->hal.arswitch_atu_flush = ar8xxx_atu_flush; in arswitch_attach()
549 sc->hal.arswitch_atu_flush_port = ar8xxx_atu_flush_port; in arswitch_attach()
550 sc->hal.arswitch_atu_learn_default = ar8xxx_atu_learn_default; in arswitch_attach()
551 sc->hal.arswitch_atu_fetch_table = ar8xxx_atu_fetch_table; in arswitch_attach()
553 sc->hal.arswitch_phy_read = arswitch_readphy_internal; in arswitch_attach()
554 sc->hal.arswitch_phy_write = arswitch_writephy_internal; in arswitch_attach()
604 err = sc->hal.arswitch_hw_setup(sc); in arswitch_attach()
611 err = sc->hal.arswitch_hw_global_setup(sc); in arswitch_attach()
622 err = sc->hal.arswitch_atu_learn_default(sc); in arswitch_attach()
631 sc->hal.arswitch_port_init(sc, port); in arswitch_attach()
831 sc->hal.arswitch_atu_flush(sc); in arswitch_miipollstat()
877 sc->hal.arswitch_vlan_get_pvid(sc, p->es_port, &p->es_pvid); in ar8xxx_port_vlan_get()
915 err = sc->hal.arswitch_port_vlan_get(sc, p); in arswitch_getport()
983 sc->hal.arswitch_vlan_set_pvid(sc, p->es_port, p->es_pvid); in ar8xxx_port_vlan_setup()
1026 err = sc->hal.arswitch_port_vlan_setup(sc, p); in arswitch_setport()
1127 ret = sc->hal.arswitch_hw_get_switch_macaddr(sc, in arswitch_getconf()
1164 err = sc->hal.arswitch_atu_flush(sc); in arswitch_atu_flush_all()
1179 err = sc->hal.arswitch_atu_flush_port(sc, port); in arswitch_atu_flush_port()
1197 err = sc->hal.arswitch_atu_fetch_table(sc, NULL, 0); in arswitch_atu_fetch_table()
1201 err = sc->hal.arswitch_atu_fetch_table(sc, in arswitch_atu_fetch_table()
1241 return (sc->hal.arswitch_vlan_getvgroup(sc, e)); in arswitch_getvgroup()
1249 return (sc->hal.arswitch_vlan_setvgroup(sc, e)); in arswitch_setvgroup()
1257 return (sc->hal.arswitch_phy_read(dev, phy, reg)); in arswitch_readphy()
1265 return (sc->hal.arswitch_phy_write(dev, phy, reg, val)); in arswitch_writephy()