Home
last modified time | relevance | path

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

/Linux-v5.10/sound/soc/atmel/
Datmel-i2s.c201 const struct atmel_i2s_gck_param *gck_param; member
303 dev->gck_param = NULL; in atmel_i2s_get_gck_param()
306 const struct atmel_i2s_gck_param *gck_param = &gck_params[i]; in atmel_i2s_get_gck_param() local
307 int val = abs(fs - gck_param->fs); in atmel_i2s_get_gck_param()
311 dev->gck_param = gck_param; in atmel_i2s_get_gck_param()
349 dev->gck_param = NULL; in atmel_i2s_hw_params()
439 if (!dev->gck_param) in atmel_i2s_switch_mck_generator()
442 gclk_rate = dev->gck_param->mck * (dev->gck_param->imckdiv + 1); in atmel_i2s_switch_mck_generator()
453 mr |= ATMEL_I2SC_MR_IMCKDIV(dev->gck_param->imckdiv); in atmel_i2s_switch_mck_generator()
454 mr |= ATMEL_I2SC_MR_IMCKFS(dev->gck_param->imckfs); in atmel_i2s_switch_mck_generator()