Home
last modified time | relevance | path

Searched refs:new_conf (Results 1 – 8 of 8) sorted by relevance

/drivers/hwmon/
Dds620.c81 u16 conf, new_conf; in ds620_init_client() local
83 new_conf = conf = in ds620_init_client()
87 new_conf &= ~DS620_REG_CONFIG_1SHOT; in ds620_init_client()
89 new_conf |= DS620_REG_CONFIG_PO2; in ds620_init_client()
92 new_conf &= ~DS620_REG_CONFIG_PO1; /* PO_LOW */ in ds620_init_client()
94 new_conf |= DS620_REG_CONFIG_PO1; /* PO_HIGH */ in ds620_init_client()
96 new_conf &= ~DS620_REG_CONFIG_PO2; /* always low */ in ds620_init_client()
98 new_conf |= DS620_REG_CONFIG_R1 | DS620_REG_CONFIG_R0; in ds620_init_client()
100 if (conf != new_conf) in ds620_init_client()
101 i2c_smbus_write_word_swapped(client, DS620_REG_CONF, new_conf); in ds620_init_client()
[all …]
Dds1621.c157 u8 conf, new_conf, sreg, resol; in ds1621_init_client() local
159 new_conf = conf = i2c_smbus_read_byte_data(client, DS1621_REG_CONF); in ds1621_init_client()
161 new_conf &= ~DS1621_REG_CONFIG_1SHOT; in ds1621_init_client()
165 new_conf &= ~DS1621_REG_CONFIG_POLARITY; in ds1621_init_client()
167 new_conf |= DS1621_REG_CONFIG_POLARITY; in ds1621_init_client()
169 if (conf != new_conf) in ds1621_init_client()
170 i2c_smbus_write_byte_data(client, DS1621_REG_CONF, new_conf); in ds1621_init_client()
181 resol = (new_conf & DS1621_REG_CONFIG_RESOL) >> in ds1621_init_client()
202 u8 new_conf; in ds1621_update_client() local
219 new_conf = data->conf; in ds1621_update_client()
[all …]
/drivers/tty/serial/
Dmrst_max3110.c578 u16 new_conf = max->cur_conf; in serial_m3110_set_termios() local
583 new_conf |= WC_7BIT_WORD; in serial_m3110_set_termios()
591 new_conf |= WC_8BIT_WORD; in serial_m3110_set_termios()
651 new_conf = (new_conf & ~WC_BAUD_DIV_MASK) | clk_div; in serial_m3110_set_termios()
657 new_conf |= WC_2_STOPBITS; in serial_m3110_set_termios()
659 new_conf &= ~WC_2_STOPBITS; in serial_m3110_set_termios()
662 new_conf |= WC_PARITY_ENABLE; in serial_m3110_set_termios()
665 new_conf &= ~WC_PARITY_ENABLE; in serial_m3110_set_termios()
673 new_conf |= WC_TAG; in serial_m3110_set_termios()
674 if (new_conf != max->cur_conf) { in serial_m3110_set_termios()
[all …]
/drivers/media/platform/omap3isp/
Dispstat.h55 int (*validate_params)(struct ispstat *stat, void *new_conf);
64 void (*set_params)(struct ispstat *stat, void *new_conf);
131 int omap3isp_stat_config(struct ispstat *stat, void *new_conf);
Disph3a_aewb.c115 static int h3a_aewb_validate_params(struct ispstat *aewb, void *new_conf) in h3a_aewb_validate_params() argument
117 struct omap3isp_h3a_aewb_config *user_cfg = new_conf; in h3a_aewb_validate_params()
182 static void h3a_aewb_set_params(struct ispstat *aewb, void *new_conf) in h3a_aewb_set_params() argument
184 struct omap3isp_h3a_aewb_config *user_cfg = new_conf; in h3a_aewb_set_params()
Disph3a_af.c156 static int h3a_af_validate_params(struct ispstat *af, void *new_conf) in h3a_af_validate_params() argument
158 struct omap3isp_h3a_af_config *user_cfg = new_conf; in h3a_af_validate_params()
230 static void h3a_af_set_params(struct ispstat *af, void *new_conf) in h3a_af_set_params() argument
232 struct omap3isp_h3a_af_config *user_cfg = new_conf; in h3a_af_set_params()
Disphist.c296 static int hist_validate_params(struct ispstat *hist, void *new_conf) in hist_validate_params() argument
298 struct omap3isp_hist_config *user_cfg = new_conf; in hist_validate_params()
396 static void hist_set_params(struct ispstat *hist, void *new_conf) in hist_set_params() argument
398 struct omap3isp_hist_config *user_cfg = new_conf; in hist_set_params()
Dispstat.c520 int omap3isp_stat_config(struct ispstat *stat, void *new_conf) in omap3isp_stat_config() argument
524 struct ispstat_generic_config *user_cfg = new_conf; in omap3isp_stat_config()
527 if (!new_conf) { in omap3isp_stat_config()
538 ret = stat->ops->validate_params(stat, new_conf); in omap3isp_stat_config()
588 stat->ops->set_params(stat, new_conf); in omap3isp_stat_config()