Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c49 struct tc_taprio_qopt_offload *admin_conf) in enetc_setup_taprio() argument
63 if (admin_conf->num_entries > enetc_get_max_gcl_len(&priv->si->hw)) in enetc_setup_taprio()
65 gcl_len = admin_conf->num_entries; in enetc_setup_taprio()
68 if (!admin_conf->enable) { in enetc_setup_taprio()
75 if (admin_conf->cycle_time > U32_MAX || in enetc_setup_taprio()
76 admin_conf->cycle_time_extension > U32_MAX) in enetc_setup_taprio()
95 gcl_data->btl = cpu_to_le32(lower_32_bits(admin_conf->base_time)); in enetc_setup_taprio()
96 gcl_data->bth = cpu_to_le32(upper_32_bits(admin_conf->base_time)); in enetc_setup_taprio()
97 gcl_data->ct = cpu_to_le32(admin_conf->cycle_time); in enetc_setup_taprio()
98 gcl_data->cte = cpu_to_le32(admin_conf->cycle_time_extension); in enetc_setup_taprio()
[all …]