Lines Matching refs:mask_val
433 unsigned int regmap_reg, mask_val; in tps6594_handle_post_irq() local
448 mask_val = TPS6594_BIT_COMM_ERR_INT; in tps6594_handle_post_irq()
451 mask_val = TPS6594_BIT_COMM_ADR_ERR_INT; in tps6594_handle_post_irq()
454 ret = regmap_write_bits(tps->regmap, regmap_reg, mask_val, mask_val); in tps6594_handle_post_irq()
508 unsigned int regmap_reg, mask_val; in tps6594_check_crc_mode() local
512 mask_val = TPS65224_BIT_I2C1_SPI_CRC_EN; in tps6594_check_crc_mode()
515 mask_val = TPS6594_BIT_I2C1_SPI_CRC_EN; in tps6594_check_crc_mode()
523 ret = regmap_test_bits(tps->regmap, regmap_reg, mask_val); in tps6594_check_crc_mode()
538 unsigned int regmap_reg, mask_val; in tps6594_set_crc_feature() local
542 mask_val = TPS65224_BIT_I2C1_SPI_CRC_EN; in tps6594_set_crc_feature()
545 mask_val = TPS6594_BIT_TRIGGER_I2C(2); in tps6594_set_crc_feature()
555 ret = regmap_write_bits(tps->regmap, regmap_reg, mask_val, mask_val); in tps6594_set_crc_feature()