Lines Matching refs:iface
421 int iface; in uda1380_set_dai_fmt_both() local
424 iface = uda1380_read_reg_cache(component, UDA1380_IFACE); in uda1380_set_dai_fmt_both()
425 iface &= ~(R01_SFORI_MASK | R01_SIM | R01_SFORO_MASK); in uda1380_set_dai_fmt_both()
429 iface |= R01_SFORI_I2S | R01_SFORO_I2S; in uda1380_set_dai_fmt_both()
432 iface |= R01_SFORI_LSB16 | R01_SFORO_LSB16; in uda1380_set_dai_fmt_both()
435 iface |= R01_SFORI_MSB | R01_SFORO_MSB; in uda1380_set_dai_fmt_both()
442 uda1380_write_reg_cache(component, UDA1380_IFACE, iface); in uda1380_set_dai_fmt_both()
451 int iface; in uda1380_set_dai_fmt_playback() local
454 iface = uda1380_read_reg_cache(component, UDA1380_IFACE); in uda1380_set_dai_fmt_playback()
455 iface &= ~R01_SFORI_MASK; in uda1380_set_dai_fmt_playback()
459 iface |= R01_SFORI_I2S; in uda1380_set_dai_fmt_playback()
462 iface |= R01_SFORI_LSB16; in uda1380_set_dai_fmt_playback()
465 iface |= R01_SFORI_MSB; in uda1380_set_dai_fmt_playback()
472 uda1380_write(component, UDA1380_IFACE, iface); in uda1380_set_dai_fmt_playback()
481 int iface; in uda1380_set_dai_fmt_capture() local
484 iface = uda1380_read_reg_cache(component, UDA1380_IFACE); in uda1380_set_dai_fmt_capture()
485 iface &= ~(R01_SIM | R01_SFORO_MASK); in uda1380_set_dai_fmt_capture()
489 iface |= R01_SFORO_I2S; in uda1380_set_dai_fmt_capture()
492 iface |= R01_SFORO_LSB16; in uda1380_set_dai_fmt_capture()
495 iface |= R01_SFORO_MSB; in uda1380_set_dai_fmt_capture()
499 iface |= R01_SIM; in uda1380_set_dai_fmt_capture()
501 uda1380_write(component, UDA1380_IFACE, iface); in uda1380_set_dai_fmt_capture()