Searched refs:write_field (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/regulator/ |
D | tps6524x-regulator.c | 292 static int write_field(struct tps6524x *hw, const struct field *field, in write_field() function 467 return write_field(hw, &info->voltage, selector); in set_voltage_sel() 507 return write_field(hw, &info->ilimsel, i); in set_current_limit() 542 return write_field(hw, &info->enable, 1); in enable_supply() 553 return write_field(hw, &info->enable, 0); in disable_supply()
|
/linux-6.12.1/drivers/media/platform/ti/vpe/ |
D | vpe.c | 467 static void write_field(u32 *valp, u32 field, u32 mask, int shift) in write_field() function 481 write_field(&val, field, mask, shift); in write_field_reg() 672 write_field(us1_reg, *cp++, VPE_US_C0_MASK, VPE_US_C0_SHIFT); in set_us_coefficients() 673 write_field(us1_reg, *cp++, VPE_US_C1_MASK, VPE_US_C1_SHIFT); in set_us_coefficients() 701 write_field(us1_reg0, cfg_mode, VPE_US_MODE_MASK, VPE_US_MODE_SHIFT); in set_cfg_modes() 702 write_field(us2_reg0, cfg_mode, VPE_US_MODE_MASK, VPE_US_MODE_SHIFT); in set_cfg_modes() 703 write_field(us3_reg0, cfg_mode, VPE_US_MODE_MASK, VPE_US_MODE_SHIFT); in set_cfg_modes() 843 write_field(edi_config_reg, 1, 1, 2); /* EDI_ENABLE_3D */ in config_edi_input_mode() 846 write_field(edi_config_reg, 1, 1, 3); /* EDI_CHROMA_3D */ in config_edi_input_mode() 848 write_field(edi_config_reg, mode, VPE_EDI_INP_MODE_MASK, in config_edi_input_mode()
|
/linux-6.12.1/drivers/media/dvb-frontends/ |
D | stv0910.c | 184 static int write_field(struct stv *state, u32 field, u8 val) in write_field() function 201 write_field(state, state->nr ? FSTV0910_P2_##_reg : \
|