Lines Matching defs:hellcreek
95 static u16 hellcreek_read(struct hellcreek *hellcreek, unsigned int offset) in hellcreek_read()
100 static u16 hellcreek_read_ctrl(struct hellcreek *hellcreek) in hellcreek_read_ctrl()
105 static u16 hellcreek_read_stat(struct hellcreek *hellcreek) in hellcreek_read_stat()
110 static void hellcreek_write(struct hellcreek *hellcreek, u16 data, in hellcreek_write()
116 static void hellcreek_select_port(struct hellcreek *hellcreek, int port) in hellcreek_select_port()
123 static void hellcreek_select_prio(struct hellcreek *hellcreek, int prio) in hellcreek_select_prio()
130 static void hellcreek_select_port_prio(struct hellcreek *hellcreek, int port, in hellcreek_select_port_prio()
140 static void hellcreek_select_counter(struct hellcreek *hellcreek, int counter) in hellcreek_select_counter()
150 static void hellcreek_select_vlan(struct hellcreek *hellcreek, int vid, in hellcreek_select_vlan()
165 static void hellcreek_select_tgd(struct hellcreek *hellcreek, int port) in hellcreek_select_tgd()
172 static int hellcreek_wait_until_ready(struct hellcreek *hellcreek) in hellcreek_wait_until_ready()
182 static int hellcreek_wait_until_transitioned(struct hellcreek *hellcreek) in hellcreek_wait_until_transitioned()
191 static int hellcreek_wait_fdb_ready(struct hellcreek *hellcreek) in hellcreek_wait_fdb_ready()
200 static int hellcreek_detect(struct hellcreek *hellcreek) in hellcreek_detect()
227 static void hellcreek_feature_detect(struct hellcreek *hellcreek) in hellcreek_feature_detect()
250 struct hellcreek *hellcreek = ds->priv; in hellcreek_port_enable() local
273 struct hellcreek *hellcreek = ds->priv; in hellcreek_port_disable() local
312 struct hellcreek *hellcreek = ds->priv; in hellcreek_get_ethtool_stats() local
352 struct hellcreek *hellcreek = ds->priv; in hellcreek_vlan_prepare() local
376 static void hellcreek_select_vlan_params(struct hellcreek *hellcreek, int port, in hellcreek_select_vlan_params()
402 static void hellcreek_apply_vlan(struct hellcreek *hellcreek, int port, u16 vid, in hellcreek_apply_vlan()
431 static void hellcreek_unapply_vlan(struct hellcreek *hellcreek, int port, in hellcreek_unapply_vlan()
461 struct hellcreek *hellcreek = ds->priv; in hellcreek_vlan_add() local
480 struct hellcreek *hellcreek = ds->priv; in hellcreek_vlan_del() local
492 struct hellcreek *hellcreek = ds->priv; in hellcreek_port_stp_state_set() local
542 static void hellcreek_setup_ingressflt(struct hellcreek *hellcreek, int port, in hellcreek_setup_ingressflt()
564 static void hellcreek_setup_vlan_awareness(struct hellcreek *hellcreek, in hellcreek_setup_vlan_awareness()
589 struct hellcreek *hellcreek = ds->priv; in hellcreek_setup_vlan_membership() local
604 static void hellcreek_port_set_ucast_flood(struct hellcreek *hellcreek, in hellcreek_port_set_ucast_flood()
629 static void hellcreek_port_set_mcast_flood(struct hellcreek *hellcreek, in hellcreek_port_set_mcast_flood()
668 struct hellcreek *hellcreek = ds->priv; in hellcreek_bridge_flags() local
686 struct hellcreek *hellcreek = ds->priv; in hellcreek_port_bridge_join() local
703 struct hellcreek *hellcreek = ds->priv; in hellcreek_port_bridge_leave() local
714 static int __hellcreek_fdb_add(struct hellcreek *hellcreek, in __hellcreek_fdb_add()
748 static int __hellcreek_fdb_del(struct hellcreek *hellcreek, in __hellcreek_fdb_del()
760 static void hellcreek_populate_fdb_entry(struct hellcreek *hellcreek, in hellcreek_populate_fdb_entry()
798 static int hellcreek_fdb_get(struct hellcreek *hellcreek, in hellcreek_fdb_get()
840 struct hellcreek *hellcreek = ds->priv; in hellcreek_fdb_add() local
886 struct hellcreek *hellcreek = ds->priv; in hellcreek_fdb_del() local
925 struct hellcreek *hellcreek = ds->priv; in hellcreek_fdb_dump() local
973 struct hellcreek *hellcreek = ds->priv; in hellcreek_vlan_filtering() local
989 static int hellcreek_enable_ip_core(struct hellcreek *hellcreek) in hellcreek_enable_ip_core()
1006 static void hellcreek_setup_cpu_and_tunnel_port(struct hellcreek *hellcreek) in hellcreek_setup_cpu_and_tunnel_port()
1028 static void hellcreek_setup_tc_identity_mapping(struct hellcreek *hellcreek) in hellcreek_setup_tc_identity_mapping()
1062 static int hellcreek_setup_fdb(struct hellcreek *hellcreek) in hellcreek_setup_fdb()
1173 struct hellcreek *hellcreek = ds->priv; in hellcreek_devlink_info_get() local
1182 struct hellcreek *hellcreek = priv; in hellcreek_devlink_vlan_table_get() local
1197 struct hellcreek *hellcreek = priv; in hellcreek_devlink_fdb_table_get() local
1214 struct hellcreek *hellcreek = ds->priv; in hellcreek_setup_devlink_resources() local
1265 struct hellcreek *hellcreek = ds->priv; in hellcreek_devlink_region_vlan_snapshot() local
1293 struct hellcreek *hellcreek = ds->priv; in hellcreek_devlink_region_fdb_snapshot() local
1337 struct hellcreek *hellcreek = ds->priv; in hellcreek_setup_devlink_regions() local
1375 struct hellcreek *hellcreek = ds->priv; in hellcreek_teardown_devlink_regions() local
1383 struct hellcreek *hellcreek = ds->priv; in hellcreek_setup() local
1467 struct hellcreek *hellcreek = ds->priv; in hellcreek_phylink_get_caps() local
1493 struct hellcreek *hellcreek = ds->priv; in hellcreek_port_prechangeupper() local
1540 static void hellcreek_setup_maxsdu(struct hellcreek *hellcreek, int port, in hellcreek_setup_maxsdu()
1563 static void hellcreek_reset_maxsdu(struct hellcreek *hellcreek, int port) in hellcreek_reset_maxsdu()
1579 static void hellcreek_setup_gcl(struct hellcreek *hellcreek, int port, in hellcreek_setup_gcl()
1626 static void hellcreek_set_cycle_time(struct hellcreek *hellcreek, in hellcreek_set_cycle_time()
1635 static void hellcreek_switch_schedule(struct hellcreek *hellcreek, in hellcreek_switch_schedule()
1650 static bool hellcreek_schedule_startable(struct hellcreek *hellcreek, int port) in hellcreek_schedule_startable()
1673 static void hellcreek_start_schedule(struct hellcreek *hellcreek, int port) in hellcreek_start_schedule()
1714 struct hellcreek *hellcreek; in hellcreek_check_schedule() local
1741 struct hellcreek *hellcreek = ds->priv; in hellcreek_port_set_schedule() local
1800 struct hellcreek *hellcreek = ds->priv; in hellcreek_port_del_schedule() local
1832 static bool hellcreek_validate_schedule(struct hellcreek *hellcreek, in hellcreek_validate_schedule()
1875 struct hellcreek *hellcreek = ds->priv; in hellcreek_port_setup_tc() local
1934 struct hellcreek *hellcreek; in hellcreek_probe() local
2061 struct hellcreek *hellcreek = platform_get_drvdata(pdev); in hellcreek_remove() local
2073 struct hellcreek *hellcreek = platform_get_drvdata(pdev); in hellcreek_shutdown() local