Lines Matching refs:taprio
1191 struct tc_taprio_qopt_offload *taprio) in vsc9959_qos_port_tas_set() argument
1197 if (!taprio->enable) { in vsc9959_qos_port_tas_set()
1207 if (taprio->cycle_time > NSEC_PER_SEC || in vsc9959_qos_port_tas_set()
1208 taprio->cycle_time_extension >= NSEC_PER_SEC) in vsc9959_qos_port_tas_set()
1211 if (taprio->num_entries > VSC9959_TAS_GCL_ENTRY_MAX) in vsc9959_qos_port_tas_set()
1236 vsc9959_new_base_time(ocelot, taprio->base_time, in vsc9959_qos_port_tas_set()
1237 taprio->cycle_time, &base_ts); in vsc9959_qos_port_tas_set()
1243 QSYS_PARAM_CFG_REG_3_LIST_LENGTH(taprio->num_entries), in vsc9959_qos_port_tas_set()
1245 ocelot_write(ocelot, taprio->cycle_time, QSYS_PARAM_CFG_REG_4); in vsc9959_qos_port_tas_set()
1246 ocelot_write(ocelot, taprio->cycle_time_extension, QSYS_PARAM_CFG_REG_5); in vsc9959_qos_port_tas_set()
1248 for (i = 0; i < taprio->num_entries; i++) in vsc9959_qos_port_tas_set()
1249 vsc9959_tas_gcl_set(ocelot, i, &taprio->entries[i]); in vsc9959_qos_port_tas_set()