Home
last modified time | relevance | path

Searched refs:tc_cfg (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_dcb.c664 tc_cfg = &type->tc_cfg[tc]; in qlcnic_dcb_fill_cee_tc_params()
665 tc_cfg->valid = true; in qlcnic_dcb_fill_cee_tc_params()
679 tc_cfg->pgid = pgid; in qlcnic_dcb_fill_cee_tc_params()
751 memset(type->tc_cfg, 0, in qlcnic_dcb_map_cee_params()
810 tc_cfg = &type->tc_cfg[tc]; in qlcnic_dcb_get_pg_tc_cfg_tx()
811 if (!tc_cfg->valid) in qlcnic_dcb_get_pg_tc_cfg_tx()
814 *pgid = tc_cfg->pgid; in qlcnic_dcb_get_pg_tc_cfg_tx()
870 tc_cfg = &type->tc_cfg[i]; in qlcnic_dcb_get_pfc_cfg()
871 if (!tc_cfg->valid) in qlcnic_dcb_get_pfc_cfg()
874 if ((val & tc_cfg->up_tc_map) && (tc_cfg->prio_cfg[prio].valid)) in qlcnic_dcb_get_pfc_cfg()
[all …]
/linux/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_encoder_phys_cmd.c327 struct dpu_hw_tear_check tc_cfg = { 0 }; in dpu_encoder_phys_cmd_tearcheck_config() local
365 tc_cfg.vsync_count = vsync_hz / in dpu_encoder_phys_cmd_tearcheck_config()
372 tc_cfg.hw_vsync_mode = 1; in dpu_encoder_phys_cmd_tearcheck_config()
373 tc_cfg.sync_cfg_height = mode->vtotal * 2; in dpu_encoder_phys_cmd_tearcheck_config()
374 tc_cfg.vsync_init_val = mode->vdisplay; in dpu_encoder_phys_cmd_tearcheck_config()
377 tc_cfg.start_pos = mode->vdisplay; in dpu_encoder_phys_cmd_tearcheck_config()
378 tc_cfg.rd_ptr_irq = mode->vdisplay + 1; in dpu_encoder_phys_cmd_tearcheck_config()
387 tc_cfg.rd_ptr_irq); in dpu_encoder_phys_cmd_tearcheck_config()
390 phys_enc->hw_pp->idx - PINGPONG_0, tc_cfg.hw_vsync_mode, in dpu_encoder_phys_cmd_tearcheck_config()
391 tc_cfg.vsync_count, tc_cfg.vsync_init_val); in dpu_encoder_phys_cmd_tearcheck_config()
[all …]
/linux/drivers/net/ethernet/intel/ice/
A Dice_lib.c850 if (!vsi->tc_cfg.numtc) { in ice_vsi_setup_q_map()
852 vsi->tc_cfg.numtc = 1; in ice_vsi_setup_q_map()
853 vsi->tc_cfg.ena_tc = 1; in ice_vsi_setup_q_map()
2348 vsi->tc_cfg.numtc = 1; in ice_vsi_set_tc_cfg()
2526 (u8)vsi->tc_cfg.ena_tc); in ice_set_agg_vsi()
2539 (u8)vsi->tc_cfg.ena_tc); in ice_set_agg_vsi()
3427 vsi->tc_cfg.ena_tc, max_txqs); in ice_vsi_rebuild()
3523 int numtc = vsi->tc_cfg.numtc; in ice_vsi_cfg_netdev_tc()
3549 if (vsi->tc_cfg.ena_tc & BIT(i)) in ice_vsi_cfg_netdev_tc()
3690 vsi->tc_cfg.ena_tc = ena_tc; in ice_vsi_cfg_tc()
[all …]
A Dice_dcb_lib.c42 if (vsi->tc_cfg.ena_tc & BIT(i)) in ice_is_pfc_causing_hung_q()
48 vsi->tc_cfg.tc_info[tc + 1].qoffset, in ice_is_pfc_causing_hung_q()
185 vsi->tc_cfg.ena_tc = ice_dcb_get_ena_tc(cfg); in ice_vsi_set_dcb_tc_cfg()
186 vsi->tc_cfg.numtc = ice_dcb_get_num_tc(cfg); in ice_vsi_set_dcb_tc_cfg()
190 vsi->tc_cfg.numtc = 1; in ice_vsi_set_dcb_tc_cfg()
195 vsi->tc_cfg.ena_tc = ICE_DFLT_TRAFFIC_CLASS; in ice_vsi_set_dcb_tc_cfg()
196 vsi->tc_cfg.numtc = 1; in ice_vsi_set_dcb_tc_cfg()
235 if (!(vsi->tc_cfg.ena_tc & BIT(n))) in ice_vsi_cfg_dcb_rings()
238 qoffset = vsi->tc_cfg.tc_info[n].qoffset; in ice_vsi_cfg_dcb_rings()
239 qcount = vsi->tc_cfg.tc_info[n].qcount_tx; in ice_vsi_cfg_dcb_rings()
[all …]
A Dice_dcb_lib.h71 vsi->tc_cfg.ena_tc = ICE_DFLT_TRAFFIC_CLASS; in ice_vsi_set_dcb_tc_cfg()
72 vsi->tc_cfg.numtc = 1; in ice_vsi_set_dcb_tc_cfg()
A Dice.h387 struct ice_tc_cfg tc_cfg; member
810 if (vsi->tc_cfg.numtc > ICE_CHNL_START_TC && in ice_is_adq_active()
A Dice_idc.c97 status = ice_cfg_vsi_rdma(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc, in ice_add_rdma_qset()
A Dice_base.c235 return ring->q_index - vsi->tc_cfg.tc_info[tc].qoffset; in ice_calc_txq_handle()
A Dice_main.c2602 for (i = 0; i < vsi->tc_cfg.numtc; i++) in ice_prepare_xdp_rings()
2605 status = ice_cfg_vsi_lan(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc, in ice_prepare_xdp_rings()
2708 for (i = 0; i < vsi->tc_cfg.numtc; i++) in ice_destroy_xdp_rings()
2714 return ice_cfg_vsi_lan(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc, in ice_destroy_xdp_rings()
3310 ice_vsi_cfg_netdev_tc(vsi, vsi->tc_cfg.ena_tc); in ice_cfg_netdev()
8157 if (ena_tc_qdisc == vsi->tc_cfg.ena_tc && in ice_setup_tc_mqprio_qdisc()
A Dice_dcb_nl.c1020 if (tc_map & vsi->tc_cfg.ena_tc) { in ice_dcbnl_set_all()
A Dice_virtchnl_pf.c1433 vsi->idx, vsi->tc_cfg.ena_tc); in ice_vf_rebuild_aggregator_node_cfg()
/linux/drivers/counter/
A Dmicrochip-tcb-capture.c26 const struct atmel_tcb_config *tc_cfg; member
103 if (priv->tc_cfg->has_gclk) in mchp_tc_count_function_write()
112 if (!priv->tc_cfg->has_qdec) in mchp_tc_count_function_write()
363 priv->tc_cfg = tcb_config; in mchp_tc_probe()
/linux/drivers/net/ethernet/hisilicon/hns/
A Dhns_dsaf_main.c1275 u32 tc_cfg; in hns_dsaf_inode_init() local
1279 tc_cfg = HNS_DSAF_I4TC_CFG; in hns_dsaf_inode_init()
1281 tc_cfg = HNS_DSAF_I8TC_CFG; in hns_dsaf_inode_init()
1316 dsaf_write_dev(dsaf_dev, reg, tc_cfg); in hns_dsaf_inode_init()

Completed in 54 milliseconds