Lines Matching refs:ctrl2
407 unsigned int ctrl1 = 0, ctrl2 = 0; in ssm2518_set_dai_fmt() local
423 ctrl2 |= SSM2518_SAI_CTRL2_BCLK_INVERT; in ssm2518_set_dai_fmt()
430 ctrl2 |= SSM2518_SAI_CTRL2_BCLK_INVERT; in ssm2518_set_dai_fmt()
452 ctrl2 |= SSM2518_SAI_CTRL2_LRCLK_PULSE; in ssm2518_set_dai_fmt()
457 ctrl2 |= SSM2518_SAI_CTRL2_LRCLK_PULSE; in ssm2518_set_dai_fmt()
466 ctrl2 |= SSM2518_SAI_CTRL2_LRCLK_INVERT; in ssm2518_set_dai_fmt()
472 return regmap_write(ssm2518->regmap, SSM2518_REG_SAI_CTRL2, ctrl2); in ssm2518_set_dai_fmt()
526 unsigned int ctrl1, ctrl2; in ssm2518_set_tdm_slot() local
560 ctrl2 = SSM2518_SAI_CTRL2_SLOT_WIDTH_16; in ssm2518_set_tdm_slot()
563 ctrl2 = SSM2518_SAI_CTRL2_SLOT_WIDTH_24; in ssm2518_set_tdm_slot()
566 ctrl2 = SSM2518_SAI_CTRL2_SLOT_WIDTH_32; in ssm2518_set_tdm_slot()
604 SSM2518_SAI_CTRL2_SLOT_WIDTH_MASK, ctrl2); in ssm2518_set_tdm_slot()