Lines Matching refs:hellcreek_port
251 struct hellcreek_port *hellcreek_port; in hellcreek_port_enable() local
254 hellcreek_port = &hellcreek->ports[port]; in hellcreek_port_enable()
261 val = hellcreek_port->ptcfg; in hellcreek_port_enable()
264 hellcreek_port->ptcfg = val; in hellcreek_port_enable()
274 struct hellcreek_port *hellcreek_port; in hellcreek_port_disable() local
277 hellcreek_port = &hellcreek->ports[port]; in hellcreek_port_disable()
284 val = hellcreek_port->ptcfg; in hellcreek_port_disable()
287 hellcreek_port->ptcfg = val; in hellcreek_port_disable()
317 struct hellcreek_port *hellcreek_port; in hellcreek_get_ethtool_stats() local
320 hellcreek_port = &hellcreek->ports[port]; in hellcreek_get_ethtool_stats()
340 hellcreek_port->counter_values[i] += value; in hellcreek_get_ethtool_stats()
341 data[i] = hellcreek_port->counter_values[i]; in hellcreek_get_ethtool_stats()
497 struct hellcreek_port *hellcreek_port; in hellcreek_port_stp_state_set() local
503 hellcreek_port = &hellcreek->ports[port]; in hellcreek_port_stp_state_set()
504 val = hellcreek_port->ptcfg; in hellcreek_port_stp_state_set()
538 hellcreek_port->ptcfg = val; in hellcreek_port_stp_state_set()
549 struct hellcreek_port *hellcreek_port = &hellcreek->ports[port]; in hellcreek_setup_ingressflt() local
554 ptcfg = hellcreek_port->ptcfg; in hellcreek_setup_ingressflt()
563 hellcreek_port->ptcfg = ptcfg; in hellcreek_setup_ingressflt()
611 struct hellcreek_port *hellcreek_port; in hellcreek_port_set_ucast_flood() local
614 hellcreek_port = &hellcreek->ports[port]; in hellcreek_port_set_ucast_flood()
622 val = hellcreek_port->ptcfg; in hellcreek_port_set_ucast_flood()
628 hellcreek_port->ptcfg = val; in hellcreek_port_set_ucast_flood()
636 struct hellcreek_port *hellcreek_port; in hellcreek_port_set_mcast_flood() local
639 hellcreek_port = &hellcreek->ports[port]; in hellcreek_port_set_mcast_flood()
647 val = hellcreek_port->ptcfg; in hellcreek_port_set_mcast_flood()
653 hellcreek_port->ptcfg = val; in hellcreek_port_set_mcast_flood()
1012 struct hellcreek_port *tunnel_port = &hellcreek->ports[TUNNEL_PORT]; in hellcreek_setup_cpu_and_tunnel_port()
1013 struct hellcreek_port *cpu_port = &hellcreek->ports[CPU_PORT]; in hellcreek_setup_cpu_and_tunnel_port()
1656 struct hellcreek_port *hellcreek_port = &hellcreek->ports[port]; in hellcreek_schedule_startable() local
1672 base_time_ns = ktime_to_ns(hellcreek_port->current_schedule->base_time); in hellcreek_schedule_startable()
1679 struct hellcreek_port *hellcreek_port = &hellcreek->ports[port]; in hellcreek_start_schedule() local
1693 base_time = hellcreek_port->current_schedule->base_time; in hellcreek_start_schedule()
1694 cycle_time = hellcreek_port->current_schedule->cycle_time; in hellcreek_start_schedule()
1707 taprio_offload_free(hellcreek_port->current_schedule); in hellcreek_start_schedule()
1708 hellcreek_port->current_schedule = NULL; in hellcreek_start_schedule()
1711 hellcreek_port->port); in hellcreek_start_schedule()
1717 struct hellcreek_port *hellcreek_port; in hellcreek_check_schedule() local
1721 hellcreek_port = dw_to_hellcreek_port(dw); in hellcreek_check_schedule()
1722 hellcreek = hellcreek_port->hellcreek; in hellcreek_check_schedule()
1728 hellcreek_port->port); in hellcreek_check_schedule()
1730 hellcreek_start_schedule(hellcreek, hellcreek_port->port); in hellcreek_check_schedule()
1738 schedule_delayed_work(&hellcreek_port->schedule_work, in hellcreek_check_schedule()
1746 struct hellcreek_port *hellcreek_port; in hellcreek_port_set_schedule() local
1750 hellcreek_port = &hellcreek->ports[port]; in hellcreek_port_set_schedule()
1756 cancel_delayed_work_sync(&hellcreek_port->schedule_work); in hellcreek_port_set_schedule()
1760 if (hellcreek_port->current_schedule) { in hellcreek_port_set_schedule()
1761 taprio_offload_free(hellcreek_port->current_schedule); in hellcreek_port_set_schedule()
1762 hellcreek_port->current_schedule = NULL; in hellcreek_port_set_schedule()
1764 hellcreek_port->current_schedule = taprio_offload_get(taprio); in hellcreek_port_set_schedule()
1767 hellcreek_setup_maxsdu(hellcreek, port, hellcreek_port->current_schedule); in hellcreek_port_set_schedule()
1780 hellcreek_setup_gcl(hellcreek, port, hellcreek_port->current_schedule); in hellcreek_port_set_schedule()
1783 hellcreek_set_cycle_time(hellcreek, hellcreek_port->current_schedule); in hellcreek_port_set_schedule()
1796 schedule_delayed_work(&hellcreek_port->schedule_work, in hellcreek_port_set_schedule()
1805 struct hellcreek_port *hellcreek_port; in hellcreek_port_del_schedule() local
1807 hellcreek_port = &hellcreek->ports[port]; in hellcreek_port_del_schedule()
1812 cancel_delayed_work_sync(&hellcreek_port->schedule_work); in hellcreek_port_del_schedule()
1816 if (hellcreek_port->current_schedule) { in hellcreek_port_del_schedule()
1817 taprio_offload_free(hellcreek_port->current_schedule); in hellcreek_port_del_schedule()
1818 hellcreek_port->current_schedule = NULL; in hellcreek_port_del_schedule()
1961 struct hellcreek_port *port = &hellcreek->ports[i]; in hellcreek_probe()