Lines Matching full:qos
2 /* Texas Instruments K3 AM65 Ethernet QoS submodule
13 #include "am65-cpsw-qos.h"
58 return port->qos.est_oper || port->qos.est_admin; in am65_cpsw_port_est_enabled()
167 if (port->qos.est_oper) in am65_cpsw_admin_to_oper()
168 devm_kfree(&ndev->dev, port->qos.est_oper); in am65_cpsw_admin_to_oper()
170 port->qos.est_oper = port->qos.est_admin; in am65_cpsw_admin_to_oper()
171 port->qos.est_admin = NULL; in am65_cpsw_admin_to_oper()
187 if (port->qos.est_oper && port->qos.est_admin && in am65_cpsw_port_est_get_buf_num()
188 est_new->buf == port->qos.est_oper->buf) in am65_cpsw_port_est_get_buf_num()
217 if (!port->qos.est_admin) in am65_cpsw_est_update_state()
306 port->qos.link_speed); in am65_cpsw_est_check_scheds()
336 port->qos.link_speed); in am65_cpsw_est_set_sched_list()
393 if (!port->qos.est_oper) in am65_cpsw_timer_act()
397 taprio_oper = &port->qos.est_oper->taprio; in am65_cpsw_timer_act()
435 if (port->qos.est_admin) in am65_cpsw_purge_est()
436 devm_kfree(&ndev->dev, port->qos.est_admin); in am65_cpsw_purge_est()
438 if (port->qos.est_oper) in am65_cpsw_purge_est()
439 devm_kfree(&ndev->dev, port->qos.est_oper); in am65_cpsw_purge_est()
441 port->qos.est_oper = NULL; in am65_cpsw_purge_est()
442 port->qos.est_admin = NULL; in am65_cpsw_purge_est()
525 if (port->qos.est_admin) in am65_cpsw_set_taprio()
526 devm_kfree(&ndev->dev, port->qos.est_admin); in am65_cpsw_set_taprio()
528 port->qos.est_admin = est_new; in am65_cpsw_set_taprio()
546 port->qos.link_speed = link_speed; in am65_cpsw_est_link_up()
550 if (port->qos.link_down_time) { in am65_cpsw_est_link_up()
552 delta = ktime_us_delta(cur_time, port->qos.link_down_time); in am65_cpsw_est_link_up()
585 if (port->qos.link_speed == SPEED_UNKNOWN) in am65_cpsw_setup_taprio()
610 port->qos.link_down_time = 0; in am65_cpsw_qos_link_up()
620 if (!port->qos.link_down_time) in am65_cpsw_qos_link_down()
621 port->qos.link_down_time = ktime_get(); in am65_cpsw_qos_link_down()
623 port->qos.link_speed = SPEED_UNKNOWN; in am65_cpsw_qos_link_down()