Lines Matching refs:ctrl2
409 unsigned int ctrl1 = 0, ctrl2 = 0; in ssm2518_set_dai_fmt() local
425 ctrl2 |= SSM2518_SAI_CTRL2_BCLK_INVERT; in ssm2518_set_dai_fmt()
432 ctrl2 |= SSM2518_SAI_CTRL2_BCLK_INVERT; in ssm2518_set_dai_fmt()
454 ctrl2 |= SSM2518_SAI_CTRL2_LRCLK_PULSE; in ssm2518_set_dai_fmt()
459 ctrl2 |= SSM2518_SAI_CTRL2_LRCLK_PULSE; in ssm2518_set_dai_fmt()
468 ctrl2 |= SSM2518_SAI_CTRL2_LRCLK_INVERT; in ssm2518_set_dai_fmt()
474 return regmap_write(ssm2518->regmap, SSM2518_REG_SAI_CTRL2, ctrl2); in ssm2518_set_dai_fmt()
528 unsigned int ctrl1, ctrl2; in ssm2518_set_tdm_slot() local
562 ctrl2 = SSM2518_SAI_CTRL2_SLOT_WIDTH_16; in ssm2518_set_tdm_slot()
565 ctrl2 = SSM2518_SAI_CTRL2_SLOT_WIDTH_24; in ssm2518_set_tdm_slot()
568 ctrl2 = SSM2518_SAI_CTRL2_SLOT_WIDTH_32; in ssm2518_set_tdm_slot()
606 SSM2518_SAI_CTRL2_SLOT_WIDTH_MASK, ctrl2); in ssm2518_set_tdm_slot()