Searched refs:new_conf (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/usb/typec/mux/ |
D | pi3usb30532.c | 31 static int pi3usb30532_set_conf(struct pi3usb30532 *pi, u8 new_conf) in pi3usb30532_set_conf() argument 35 if (pi->conf == new_conf) in pi3usb30532_set_conf() 38 ret = i2c_smbus_write_byte_data(pi->client, PI3USB30532_CONF, new_conf); in pi3usb30532_set_conf() 44 pi->conf = new_conf; in pi3usb30532_set_conf() 52 u8 new_conf; in pi3usb30532_sw_set() local 56 new_conf = pi->conf; in pi3usb30532_sw_set() 60 new_conf = PI3USB30532_CONF_OPEN; in pi3usb30532_sw_set() 63 new_conf &= ~PI3USB30532_CONF_SWAP; in pi3usb30532_sw_set() 66 new_conf |= PI3USB30532_CONF_SWAP; in pi3usb30532_sw_set() 70 ret = pi3usb30532_set_conf(pi, new_conf); in pi3usb30532_sw_set() [all …]
|
/Linux-v4.19/drivers/hwmon/ |
D | ds620.c | 81 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 …]
|
D | ds1621.c | 157 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 …]
|
/Linux-v4.19/drivers/media/platform/omap3isp/ |
D | ispstat.h | 55 int (*validate_params)(struct ispstat *stat, void *new_conf); 64 void (*set_params)(struct ispstat *stat, void *new_conf); 130 int omap3isp_stat_config(struct ispstat *stat, void *new_conf);
|
D | isph3a_aewb.c | 115 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()
|
D | isph3a_af.c | 156 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()
|
D | isphist.c | 307 static int hist_validate_params(struct ispstat *hist, void *new_conf) in hist_validate_params() argument 309 struct omap3isp_hist_config *user_cfg = new_conf; in hist_validate_params() 407 static void hist_set_params(struct ispstat *hist, void *new_conf) in hist_set_params() argument 409 struct omap3isp_hist_config *user_cfg = new_conf; in hist_set_params()
|
D | ispstat.c | 540 int omap3isp_stat_config(struct ispstat *stat, void *new_conf) in omap3isp_stat_config() argument 544 struct ispstat_generic_config *user_cfg = new_conf; in omap3isp_stat_config() 553 ret = stat->ops->validate_params(stat, new_conf); in omap3isp_stat_config() 604 stat->ops->set_params(stat, new_conf); in omap3isp_stat_config()
|
/Linux-v4.19/net/mac80211/ |
D | cfg.c | 241 struct cfg80211_nan_conf new_conf; in ieee80211_nan_change_conf() local 250 new_conf = sdata->u.nan.conf; in ieee80211_nan_change_conf() 253 new_conf.master_pref = conf->master_pref; in ieee80211_nan_change_conf() 256 new_conf.bands = conf->bands; in ieee80211_nan_change_conf() 258 ret = drv_nan_change_conf(sdata->local, sdata, &new_conf, changes); in ieee80211_nan_change_conf() 260 sdata->u.nan.conf = new_conf; in ieee80211_nan_change_conf()
|