Lines Matching defs:mode
62 * requested in hw_params(). Unfortunately, I was not able to make the mode
65 * 1. IRQs are generated on mode change only, so there is no notification
66 * on transition between no signal and mode 0 (32kHz).
68 * lowest or the highest mode before zeroing in on the actual mode.
78 unsigned int stat, mode, rate = 0;
81 mode = FIELD_GET(SPDIFIN_STAT0_MODE, stat);
86 * mode is SPDIFIN_MODE_NUM, but not always ...
89 mode < SPDIFIN_MODE_NUM)
90 rate = priv->conf->mode_rates[mode];
115 static void axg_spdifin_write_mode_param(struct regmap *map, int mode,
121 uint64_t offset = mode;
133 static void axg_spdifin_write_timer(struct regmap *map, int mode,
136 axg_spdifin_write_mode_param(map, mode, val, SPDIFIN_TIMER_PER_REG,
140 static void axg_spdifin_write_threshold(struct regmap *map, int mode,
143 axg_spdifin_write_mode_param(map, mode, val, SPDIFIN_THRES_PER_REG,
148 int mode,
155 return rate / (128 * priv->conf->mode_rates[mode]);
173 * the actual rate for the following mode calculation
177 /* HW will update mode every 1ms */
225 dev_err(dai->dev, "mode configuration failed\n");