Searched refs:cfud (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/sound/soc/codecs/
H A Dsta32x.c277 unsigned int cfud, val; sta32x_coefficient_get() local
283 regmap_read(sta32x->regmap, STA32X_CFUD, &cfud); sta32x_coefficient_get()
284 cfud &= 0xf0; sta32x_coefficient_get()
289 regmap_write(sta32x->regmap, STA32X_CFUD, cfud); sta32x_coefficient_get()
293 regmap_write(sta32x->regmap, STA32X_CFUD, cfud | 0x04); sta32x_coefficient_get()
295 regmap_write(sta32x->regmap, STA32X_CFUD, cfud | 0x08); sta32x_coefficient_get()
319 unsigned int cfud; sta32x_coefficient_put() local
323 regmap_read(sta32x->regmap, STA32X_CFUD, &cfud); sta32x_coefficient_put()
324 cfud &= 0xf0; sta32x_coefficient_put()
329 regmap_write(sta32x->regmap, STA32X_CFUD, cfud); sta32x_coefficient_put()
341 regmap_write(sta32x->regmap, STA32X_CFUD, cfud | 0x01); sta32x_coefficient_put()
343 regmap_write(sta32x->regmap, STA32X_CFUD, cfud | 0x02); sta32x_coefficient_put()
353 unsigned int cfud; sta32x_sync_coef_shadow() local
357 regmap_read(sta32x->regmap, STA32X_CFUD, &cfud); sta32x_sync_coef_shadow()
358 cfud &= 0xf0; sta32x_sync_coef_shadow()
372 regmap_write(sta32x->regmap, STA32X_CFUD, cfud); sta32x_sync_coef_shadow()
373 regmap_write(sta32x->regmap, STA32X_CFUD, cfud | 0x01); sta32x_sync_coef_shadow()
H A Dsta350.c316 unsigned int cfud, val; sta350_coefficient_get() local
322 regmap_read(sta350->regmap, STA350_CFUD, &cfud); sta350_coefficient_get()
323 cfud &= 0xf0; sta350_coefficient_get()
328 regmap_write(sta350->regmap, STA350_CFUD, cfud); sta350_coefficient_get()
332 regmap_write(sta350->regmap, STA350_CFUD, cfud | 0x04); sta350_coefficient_get()
334 regmap_write(sta350->regmap, STA350_CFUD, cfud | 0x08); sta350_coefficient_get()
358 unsigned int cfud; sta350_coefficient_put() local
362 regmap_read(sta350->regmap, STA350_CFUD, &cfud); sta350_coefficient_put()
363 cfud &= 0xf0; sta350_coefficient_put()
368 regmap_write(sta350->regmap, STA350_CFUD, cfud); sta350_coefficient_put()
380 regmap_write(sta350->regmap, STA350_CFUD, cfud | 0x01); sta350_coefficient_put()
382 regmap_write(sta350->regmap, STA350_CFUD, cfud | 0x02); sta350_coefficient_put()
392 unsigned int cfud; sta350_sync_coef_shadow() local
396 regmap_read(sta350->regmap, STA350_CFUD, &cfud); sta350_sync_coef_shadow()
397 cfud &= 0xf0; sta350_sync_coef_shadow()
411 regmap_write(sta350->regmap, STA350_CFUD, cfud); sta350_sync_coef_shadow()
412 regmap_write(sta350->regmap, STA350_CFUD, cfud | 0x01); sta350_sync_coef_shadow()

Completed in 102 milliseconds