Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/atmel/
H A Datmel-i2s.c204 const struct atmel_i2s_gck_param *gck_param; member
307 dev->gck_param = NULL; in atmel_i2s_get_gck_param()
310 const struct atmel_i2s_gck_param *gck_param = &gck_params[i]; in atmel_i2s_get_gck_param() local
311 int val = abs(fs - gck_param->fs); in atmel_i2s_get_gck_param()
315 dev->gck_param = gck_param; in atmel_i2s_get_gck_param()
360 dev->gck_param = NULL; in atmel_i2s_hw_params()
450 if (!dev->gck_param) in atmel_i2s_switch_mck_generator()
453 gclk_rate = dev->gck_param->mck * (dev->gck_param->imckdiv + 1); in atmel_i2s_switch_mck_generator()
464 mr |= ATMEL_I2SC_MR_IMCKDIV(dev->gck_param->imckdiv); in atmel_i2s_switch_mck_generator()
465 mr |= ATMEL_I2SC_MR_IMCKFS(dev->gck_param->imckfs); in atmel_i2s_switch_mck_generator()