Lines Matching refs:max_sdu

1143 				     u32 max_sdu)  in vsc9959_port_qmaxsdu_set()  argument
1147 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_0, in vsc9959_port_qmaxsdu_set()
1151 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_1, in vsc9959_port_qmaxsdu_set()
1155 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_2, in vsc9959_port_qmaxsdu_set()
1159 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_3, in vsc9959_port_qmaxsdu_set()
1163 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_4, in vsc9959_port_qmaxsdu_set()
1167 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_5, in vsc9959_port_qmaxsdu_set()
1171 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_6, in vsc9959_port_qmaxsdu_set()
1175 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_7, in vsc9959_port_qmaxsdu_set()
1199 if (!taprio || !taprio->max_sdu[tc]) in vsc9959_tas_tc_max_sdu()
1202 return taprio->max_sdu[tc] + ETH_HLEN + 2 * VLAN_HLEN + ETH_FCS_LEN; in vsc9959_tas_tc_max_sdu()
1269 u32 max_sdu; in vsc9959_tas_guard_bands_update() local
1278 max_sdu = requested_max_sdu; in vsc9959_tas_guard_bands_update()
1295 max_sdu = div_u64(remaining_gate_len_ps, picos_per_byte); in vsc9959_tas_guard_bands_update()
1300 if (!max_sdu) in vsc9959_tas_guard_bands_update()
1301 max_sdu = 1; in vsc9959_tas_guard_bands_update()
1307 if (max_sdu > 20) in vsc9959_tas_guard_bands_update()
1308 max_sdu -= 20; in vsc9959_tas_guard_bands_update()
1310 if (requested_max_sdu && requested_max_sdu < max_sdu) in vsc9959_tas_guard_bands_update()
1311 max_sdu = requested_max_sdu; in vsc9959_tas_guard_bands_update()
1319 max_sdu); in vsc9959_tas_guard_bands_update()
1322 vsc9959_port_qmaxsdu_set(ocelot, port, tc, max_sdu); in vsc9959_tas_guard_bands_update()