Searched refs:new_conf (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/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-6.1.9/drivers/hwmon/ |
D | ds620.c | 68 u16 conf, new_conf; in ds620_init_client() local 70 new_conf = conf = in ds620_init_client() 74 new_conf &= ~DS620_REG_CONFIG_1SHOT; in ds620_init_client() 76 new_conf |= DS620_REG_CONFIG_PO2; in ds620_init_client() 79 new_conf &= ~DS620_REG_CONFIG_PO1; /* PO_LOW */ in ds620_init_client() 81 new_conf |= DS620_REG_CONFIG_PO1; /* PO_HIGH */ in ds620_init_client() 83 new_conf &= ~DS620_REG_CONFIG_PO2; /* always low */ in ds620_init_client() 85 new_conf |= DS620_REG_CONFIG_R1 | DS620_REG_CONFIG_R0; in ds620_init_client() 87 if (conf != new_conf) in ds620_init_client() 88 i2c_smbus_write_word_swapped(client, DS620_REG_CONF, new_conf); in ds620_init_client() [all …]
|
D | ds1621.c | 144 u8 conf, new_conf, sreg, resol; in ds1621_init_client() local 146 new_conf = conf = i2c_smbus_read_byte_data(client, DS1621_REG_CONF); in ds1621_init_client() 148 new_conf &= ~DS1621_REG_CONFIG_1SHOT; in ds1621_init_client() 152 new_conf &= ~DS1621_REG_CONFIG_POLARITY; in ds1621_init_client() 154 new_conf |= DS1621_REG_CONFIG_POLARITY; in ds1621_init_client() 156 if (conf != new_conf) in ds1621_init_client() 157 i2c_smbus_write_byte_data(client, DS1621_REG_CONF, new_conf); in ds1621_init_client() 168 resol = (new_conf & DS1621_REG_CONFIG_RESOL) >> in ds1621_init_client() 189 u8 new_conf; in ds1621_update_client() local 206 new_conf = data->conf; in ds1621_update_client() [all …]
|
/linux-6.1.9/drivers/media/platform/ti/omap3isp/ |
D | ispstat.h | 52 int (*validate_params)(struct ispstat *stat, void *new_conf); 61 void (*set_params)(struct ispstat *stat, void *new_conf); 127 int omap3isp_stat_config(struct ispstat *stat, void *new_conf);
|
D | isph3a_aewb.c | 112 static int h3a_aewb_validate_params(struct ispstat *aewb, void *new_conf) in h3a_aewb_validate_params() argument 114 struct omap3isp_h3a_aewb_config *user_cfg = new_conf; in h3a_aewb_validate_params() 179 static void h3a_aewb_set_params(struct ispstat *aewb, void *new_conf) in h3a_aewb_set_params() argument 181 struct omap3isp_h3a_aewb_config *user_cfg = new_conf; in h3a_aewb_set_params()
|
D | isph3a_af.c | 153 static int h3a_af_validate_params(struct ispstat *af, void *new_conf) in h3a_af_validate_params() argument 155 struct omap3isp_h3a_af_config *user_cfg = new_conf; in h3a_af_validate_params() 227 static void h3a_af_set_params(struct ispstat *af, void *new_conf) in h3a_af_set_params() argument 229 struct omap3isp_h3a_af_config *user_cfg = new_conf; in h3a_af_set_params()
|
D | isphist.c | 304 static int hist_validate_params(struct ispstat *hist, void *new_conf) in hist_validate_params() argument 306 struct omap3isp_hist_config *user_cfg = new_conf; in hist_validate_params() 404 static void hist_set_params(struct ispstat *hist, void *new_conf) in hist_set_params() argument 406 struct omap3isp_hist_config *user_cfg = new_conf; in hist_set_params()
|
D | ispstat.c | 538 int omap3isp_stat_config(struct ispstat *stat, void *new_conf) in omap3isp_stat_config() argument 542 struct ispstat_generic_config *user_cfg = new_conf; in omap3isp_stat_config() 551 ret = stat->ops->validate_params(stat, new_conf); in omap3isp_stat_config() 602 stat->ops->set_params(stat, new_conf); in omap3isp_stat_config()
|
/linux-6.1.9/net/mac80211/ |
D | cfg.c | 320 struct cfg80211_nan_conf new_conf; in ieee80211_nan_change_conf() local 329 new_conf = sdata->u.nan.conf; in ieee80211_nan_change_conf() 332 new_conf.master_pref = conf->master_pref; in ieee80211_nan_change_conf() 335 new_conf.bands = conf->bands; in ieee80211_nan_change_conf() 337 ret = drv_nan_change_conf(sdata->local, sdata, &new_conf, changes); in ieee80211_nan_change_conf() 339 sdata->u.nan.conf = new_conf; in ieee80211_nan_change_conf()
|