Searched refs:n_slots (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/net/ethernet/microchip/sparx5/lan969x/ |
| H A D | lan969x_calendar.c | 31 u32 n_slots; member 81 u32 cal_len, n_slots, taxi_bw, n_devs = 0, required_bw = 0; in lan969x_dsm_calendar_calc() local 138 n_slots = 0; in lan969x_dsm_calendar_calc() 147 speed->n_slots = DIV_ROUND_UP(required_bw, bw_per_slot); in lan969x_dsm_calendar_calc() 149 if (speed->n_slots) in lan969x_dsm_calendar_calc() 151 speed->n_slots); in lan969x_dsm_calendar_calc() 155 n_slots += speed->n_slots * speed->n_devs; in lan969x_dsm_calendar_calc() 158 if (n_slots <= cal_len) in lan969x_dsm_calendar_calc() 162 cal_len = n_slots; in lan969x_dsm_calendar_calc() 179 for (n_slots = 0; n_slots < speed->n_slots; n_slots++) { in lan969x_dsm_calendar_calc()
|
| /linux/sound/soc/codecs/ |
| H A D | cs42l43.c | 415 int n_slots = n_chans; in cs42l43_asp_hw_params() local 421 if (priv->n_slots) { in cs42l43_asp_hw_params() 422 n_slots = priv->n_slots; in cs42l43_asp_hw_params() 426 if (!dsp_mode && (n_slots & 0x1)) { in cs42l43_asp_hw_params() 428 n_slots++; in cs42l43_asp_hw_params() 431 frame = n_slots * slot_width; in cs42l43_asp_hw_params() 446 n, m, bclk_target, n_slots, slot_width); in cs42l43_asp_hw_params() 608 priv->n_slots = slots; in cs42l43_asp_set_tdm_slot()
|
| H A D | cs48l32.c | 2138 unsigned int slotw, n_slots, n_slots_multiple, val; in cs48l32_hw_params() 2148 n_slots = cs48l32_codec->tdm_slots[dai_id]; in cs48l32_hw_params() 2151 n_slots = params_channels(params); in cs48l32_hw_params() 2162 sclk_target = snd_soc_tdm_params_to_bclk(params, slotw, n_slots, n_slots_multiple); in cs48l32_hw_params() 2180 cs48l32_asp_dbg(dai, "hwparams out: n_slots:%u dataw:%u slotw:%u bclk:%u bclkid:%u\n", in cs48l32_hw_params() 2181 n_slots, dataw, slotw, sclk_target, sclk); in cs48l32_hw_params() 2139 unsigned int slotw, n_slots, n_slots_multiple, val; cs48l32_hw_params() local
|