Lines Matching refs:tcs
81 if (cfg->tcs > 2) in aq_nic_cfg_update_num_vecs()
101 cfg->tcs = AQ_CFG_TCS_DEF; in aq_nic_cfg_start()
153 cfg->prio_tc_map[i] = cfg->tcs * i / 8; in aq_nic_cfg_start()
546 self->aq_vecs * cfg->tcs); in aq_nic_start()
551 self->aq_vecs * cfg->tcs); in aq_nic_start()
555 for (i = 0; i < cfg->tcs; i++) { in aq_nic_start()
918 for (tc = 0U; tc < self->aq_nic_cfg.tcs; tc++) { in aq_nic_get_stats()
1450 int aq_nic_setup_tc_mqprio(struct aq_nic_s *self, u32 tcs, u8 *prio_tc_map) in aq_nic_setup_tc_mqprio() argument
1461 if (tcs == cfg->tcs || (tcs == 0 && !cfg->is_qos)) in aq_nic_setup_tc_mqprio()
1468 cfg->tcs = tcs; in aq_nic_setup_tc_mqprio()
1469 if (cfg->tcs == 0) in aq_nic_setup_tc_mqprio()
1470 cfg->tcs = 1; in aq_nic_setup_tc_mqprio()
1475 cfg->prio_tc_map[i] = cfg->tcs * i / 8; in aq_nic_setup_tc_mqprio()
1477 cfg->is_qos = (tcs != 0 ? true : false); in aq_nic_setup_tc_mqprio()
1478 cfg->is_ptp = (cfg->tcs <= AQ_HW_PTP_TC); in aq_nic_setup_tc_mqprio()
1483 netdev_set_num_tc(self->ndev, cfg->tcs); in aq_nic_setup_tc_mqprio()