Searched refs:config (Results 326 - 350 of 3125) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/iio/common/st_sensors/
H A Dst_sensors_i2c.c42 const struct regmap_config *config; local
45 config = &st_sensors_i2c_regmap_multiread_bit_config;
47 config = &st_sensors_i2c_regmap_config;
49 sdata->regmap = devm_regmap_init_i2c(client, config);
/linux-master/include/linux/mfd/
H A Docelot.h19 const struct regmap_config *config)
34 return devm_regmap_init_mmio(dev, regs, config);
54 const struct regmap_config *config)
58 map = ocelot_regmap_from_resource_optional(pdev, index, config);
17 ocelot_regmap_from_resource_optional(struct platform_device *pdev, unsigned int index, const struct regmap_config *config) argument
53 ocelot_regmap_from_resource(struct platform_device *pdev, unsigned int index, const struct regmap_config *config) argument
/linux-master/drivers/gpio/
H A Dgpio-i8255.h32 const struct i8255_regmap_config *config);
H A Dgpio-idio-16.h30 int devm_idio_16_regmap_register(struct device *dev, const struct idio_16_regmap_config *config);
/linux-master/drivers/nfc/nfcmrvl/
H A Dmain.c56 if (priv->config.hci_muxed) {
113 memcpy(&priv->config, pdata, sizeof(*pdata));
115 if (gpio_is_valid(priv->config.reset_n_io)) {
116 rc = gpio_request_one(priv->config.reset_n_io,
120 priv->config.reset_n_io = -EINVAL;
131 if (priv->config.hci_muxed)
175 if (gpio_is_valid(priv->config.reset_n_io))
176 gpio_free(priv->config.reset_n_io);
192 if (gpio_is_valid(priv->config.reset_n_io))
193 gpio_free(priv->config
[all...]
/linux-master/drivers/regulator/
H A Ddummy.c42 struct regulator_config config = { }; local
45 config.dev = &pdev->dev;
46 config.init_data = &dummy_initdata;
49 &config);
H A Dsy8106a-regulator.c68 struct regulator_config config = { }; local
90 config.dev = &i2c->dev;
91 config.regmap = regmap;
93 config.of_node = dev->of_node;
94 config.init_data = of_get_regulator_init_data(dev, dev->of_node,
97 if (!config.init_data)
116 rdev = devm_regulator_register(&i2c->dev, &sy8106a_reg, &config);
H A Dmax77503-regulator.c90 struct regulator_config config = {}; local
93 config.dev = dev;
94 config.of_node = dev->of_node;
95 config.regmap = devm_regmap_init_i2c(client, &max77503_regmap_config);
96 if (IS_ERR(config.regmap)) {
98 return PTR_ERR(config.regmap);
101 rdev = devm_regulator_register(dev, &max77503_regulators_desc, &config);
/linux-master/include/linux/mdio/
H A Dmdio-regmap.h24 const struct mdio_regmap_config *config);
/linux-master/tools/perf/arch/x86/util/
H A Dtopdown.c47 if (leader->core.attr.config == TOPDOWN_SLOTS)
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dtypes.h133 #define CONF_HAS(config, val) ((config) & (1 << (val)))
134 #define CONF_MSK(config, mask) ((config) & (mask))
136 #define CONF_RANGE(config, low, hi) (CONF_MSK(config, MSK_RANGE(low, high)))
138 #define CONF_IS(config, val) ((config) == (1 << (val)))
139 #define CONF_GE(config, val) ((config)
[all...]
/linux-master/arch/loongarch/mm/
H A Dcache.c118 unsigned int config = read_cpucfg(LOONGARCH_CPUCFG16); local
121 if (config & L1IUPRE) {
122 if (config & L1IUUNIFY)
126 populate_cache_properties(config, cdesc, level, leaf);
129 if (config & L1DPRE) {
131 populate_cache_properties(config, cdesc, level, leaf);
134 config = config >> 3;
136 if (!config)
139 if (config
[all...]
/linux-master/drivers/media/dvb-frontends/
H A Dix2505v.c26 const struct ix2505v_config *config; member in struct:ix2505v_state
51 u8 addr = state->config->tuner_address;
68 { .addr = state->config->tuner_address, .flags = 0,
133 if (state->config->tuner_gain)
134 gain = (state->config->tuner_gain < 4)
135 ? state->config->tuner_gain : 0;
139 if (state->config->tuner_chargepump)
140 cc = state->config->tuner_chargepump;
230 if (state->config->min_delay_ms)
231 msleep(state->config
258 ix2505v_attach(struct dvb_frontend *fe, const struct ix2505v_config *config, struct i2c_adapter *i2c) argument
[all...]
H A Dlnbh25.c24 * @config: Registers configuration:
32 u8 config[3]; member in struct:lnbh25_priv
91 .len = sizeof(priv->config),
92 .buf = priv->config
111 priv->config[1] = data1_reg;
115 priv->config[0], priv->config[1], priv->config[2]);
156 priv->config[0] = 0x02;
157 priv->config[
[all...]
/linux-master/sound/soc/codecs/
H A Dpcm512x-i2c.c19 struct regmap_config config = pcm512x_regmap; local
22 config.read_flag_mask = 0x80;
23 config.write_flag_mask = 0x80;
25 regmap = devm_regmap_init_i2c(i2c, &config);
/linux-master/drivers/media/pci/mgb4/
H A Dmgb4_sysfs_pci.c34 u32 config = mgb4_read_reg(&mgbdev->video, 0xC4); local
36 return sprintf(buf, "%u\n", config & 0xFFFF);
43 u32 config = mgb4_read_reg(&mgbdev->video, 0xC4); local
45 return sprintf(buf, "%u\n", config >> 24);
/linux-master/drivers/md/dm-vdo/indexer/
H A Dconfig.h114 void uds_free_configuration(struct uds_configuration *config);
117 struct uds_configuration *config);
120 struct uds_configuration *config, u32 version);
122 void uds_log_configuration(struct uds_configuration *config);
/linux-master/include/linux/
H A Dphylink.h158 void (*get_fixed_state)(struct phylink_config *config,
164 void phylink_limit_mac_speed(struct phylink_config *config, u32 max_speed);
179 unsigned long (*mac_get_caps)(struct phylink_config *config,
181 struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config,
183 int (*mac_prepare)(struct phylink_config *config, unsigned int mode,
185 void (*mac_config)(struct phylink_config *config, unsigned int mode,
187 int (*mac_finish)(struct phylink_config *config, unsigned int mode,
189 void (*mac_link_down)(struct phylink_config *config, unsigned int mode,
191 void (*mac_link_up)(struct phylink_config *config,
200 * @config
[all...]
/linux-master/drivers/nvmem/
H A Dmeson-mx-efuse.c46 struct nvmem_config config; member in struct:meson_mx_efuse
124 dev_err(efuse->config.dev,
149 for (i = 0; i < bytes; i += efuse->config.word_size) {
150 addr = (offset + i) / efuse->config.word_size;
157 min_t(size_t, bytes - i, efuse->config.word_size));
209 efuse->config.name = drvdata->name;
210 efuse->config.owner = THIS_MODULE;
211 efuse->config.dev = &pdev->dev;
212 efuse->config.priv = efuse;
213 efuse->config
[all...]
H A Dlayerscape-sfp.c51 struct regmap_config config = { 0 }; local
63 config.reg_bits = 32;
64 config.reg_stride = 4;
65 config.val_bits = 32;
66 config.val_format_endian = data->endian;
67 config.max_register = LAYERSCAPE_SFP_OTP_OFFSET + data->size - 4;
68 priv->regmap = devm_regmap_init_mmio(&pdev->dev, base, &config);
/linux-master/drivers/hid/
H A Dhid-led.c97 const struct hidled_config *config; member in struct:hidled_device
123 memcpy(ldev->buf, buf, ldev->config->report_size);
125 if (ldev->config->report_type == RAW_REQUEST)
127 ldev->config->report_size,
130 else if (ldev->config->report_type == OUTPUT_REPORT)
132 ldev->config->report_size);
141 return ret == ldev->config->report_size ? 0 : -EMSGSIZE;
149 if (ldev->config->report_type != RAW_REQUEST)
154 memcpy(ldev->buf, buf, ldev->config->report_size);
157 ldev->config
413 const struct hidled_config *config = rgb->ldev->config; local
[all...]
/linux-master/drivers/soc/tegra/
H A Dcommon.c115 struct dev_pm_opp_config config = { local
129 config.supported_hw = &hw_version;
130 config.supported_hw_count = 1;
133 config.supported_hw = &hw_version;
134 config.supported_hw_count = 1;
137 err = devm_pm_opp_set_config(dev, &config);
139 dev_err(dev, "failed to set OPP config: %d\n", err);
147 if (!config.supported_hw)
/linux-master/drivers/hwmon/
H A Dlm95241.c84 u8 status, config, model, trutherm; member in struct:lm95241_data
150 if (!channel || (data->config & BIT(channel - 1)))
159 *val = (data->config & R1DF_MASK) ? -128000 : 0;
161 *val = (data->config & R2DF_MASK) ? -128000 : 0;
165 *val = (data->config & R1DF_MASK) ? 127875 : 255875;
167 *val = (data->config & R2DF_MASK) ? 127875 : 255875;
204 u8 config; local
211 config = data->config & ~CFG_CRMASK;
214 config |
[all...]
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_1.0/
H A Dia_css_ynr.host.c192 const struct ia_css_nr_config *config,
196 "config.direction=%d, config.bnr_gain=%d, config.ynr_gain=%d, config.threshold_cb=%d, config.threshold_cr=%d\n",
197 config->direction,
198 config->bnr_gain, config->ynr_gain,
199 config
191 ia_css_nr_debug_dtrace( const struct ia_css_nr_config *config, unsigned int level) argument
203 ia_css_ee_debug_dtrace( const struct ia_css_ee_config *config, unsigned int level) argument
[all...]
/linux-master/drivers/gpu/drm/display/
H A Ddrm_scdc_helper.c175 * Writes the TMDS config register over SCDC channel, and:
185 u8 config; local
188 ret = drm_scdc_readb(connector->ddc, SCDC_TMDS_CONFIG, &config);
191 "[CONNECTOR:%d:%s] Failed to read TMDS config: %d\n",
197 config |= SCDC_SCRAMBLING_ENABLE;
199 config &= ~SCDC_SCRAMBLING_ENABLE;
201 ret = drm_scdc_writeb(connector->ddc, SCDC_TMDS_CONFIG, config);
234 * Writes to the TMDS config register over SCDC channel, and:
245 u8 config; local
248 ret = drm_scdc_readb(connector->ddc, SCDC_TMDS_CONFIG, &config);
[all...]

Completed in 452 milliseconds

<<11121314151617181920>>