/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | da9063-regulator.c | 774 static int da9063_check_xvp_constraints(struct regulator_config *config) in da9063_check_xvp_constraints() argument 776 struct da9063_regulator *regl = config->driver_data; in da9063_check_xvp_constraints() 777 const struct regulation_constraints *constr = &config->init_data->constraints; in da9063_check_xvp_constraints() 783 dev_err(config->dev, "%s: at most one voltage monitoring severity allowed!\n", in da9063_check_xvp_constraints() 790 dev_err(config->dev, in da9063_check_xvp_constraints() 796 dev_err(config->dev, "%s: error-microvolt: value must be equal for uv and ov!\n", in da9063_check_xvp_constraints() 801 dev_err(config->dev, "%s: warn-microvolt: value must be equal for uv and ov!\n", in da9063_check_xvp_constraints() 895 struct regulator_config config; in da9063_regulator_probe() local 1023 memset(&config, 0, sizeof(config)); in da9063_regulator_probe() [all...] |
H A D | max20086-regulator.c | 109 struct regulator_config config = { }; in max20086_regulators_register() local 112 config.dev = chip->dev; in max20086_regulators_register() 113 config.init_data = reg->init_data; in max20086_regulators_register() 114 config.driver_data = chip; in max20086_regulators_register() 115 config.of_node = reg->of_node; in max20086_regulators_register() 116 config.regmap = chip->regmap; in max20086_regulators_register() 117 config.ena_gpiod = chip->ena_gpiod; in max20086_regulators_register() 119 rdev = devm_regulator_register(chip->dev, reg->desc, &config); in max20086_regulators_register()
|
H A D | anatop-regulator.c | 164 struct regulator_config config = { }; in anatop_regulator_probe() local 251 config.dev = &pdev->dev; in anatop_regulator_probe() 252 config.init_data = initdata; in anatop_regulator_probe() 253 config.driver_data = sreg; in anatop_regulator_probe() 254 config.of_node = pdev->dev.of_node; in anatop_regulator_probe() 255 config.regmap = regmap; in anatop_regulator_probe() 261 ret = regmap_read(config.regmap, rdesc->vsel_reg, &val); in anatop_regulator_probe() 306 rdev = devm_regulator_register(dev, rdesc, &config); in anatop_regulator_probe()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ptp.c | 944 struct hwtstamp_config *config = &adapter->tstamp_config; in ixgbe_ptp_get_ts_config() local 946 return copy_to_user(ifr->ifr_data, config, in ixgbe_ptp_get_ts_config() 947 sizeof(*config)) ? -EFAULT : 0; in ixgbe_ptp_get_ts_config() 953 * @config: the hwtstamp configuration requested 976 struct hwtstamp_config *config) in ixgbe_ptp_set_timestamp_mode() 986 switch (config->tx_type) { in ixgbe_ptp_set_timestamp_mode() 996 switch (config->rx_filter) { in ixgbe_ptp_set_timestamp_mode() 1026 config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in ixgbe_ptp_set_timestamp_mode() 1038 config->rx_filter = HWTSTAMP_FILTER_ALL; in ixgbe_ptp_set_timestamp_mode() 1050 config in ixgbe_ptp_set_timestamp_mode() 975 ixgbe_ptp_set_timestamp_mode(struct ixgbe_adapter *adapter, struct hwtstamp_config *config) ixgbe_ptp_set_timestamp_mode() argument 1135 struct hwtstamp_config config; ixgbe_ptp_set_ts_config() local [all...] |
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | dib0090.c | 126 const struct dib0090_config *config; member 191 const struct dib0090_config *config; member 212 state->msg[0].addr = state->config->i2c_address; in dib0090_read_reg() 216 state->msg[1].addr = state->config->i2c_address; in dib0090_read_reg() 246 state->msg[0].addr = state->config->i2c_address; in dib0090_write_reg() 529 /* Read Pll current config * */ in dib0090_reset_digital() 601 /* Read Pll current config * */ in dib0090_fw_reset_digital() 652 if (state->config->sleep) in dib0090_wakeup() 653 state->config->sleep(fe, 0); in dib0090_wakeup() 663 if (state->config in dib0090_sleep() 2605 dib0090_register(struct dvb_frontend *fe, struct i2c_adapter *i2c, const struct dib0090_config *config) dib0090_register() argument 2637 dib0090_fw_register(struct dvb_frontend *fe, struct i2c_adapter *i2c, const struct dib0090_config *config) dib0090_fw_register() argument [all...] |
H A D | horus3a.c | 336 const struct horus3a_config *config, in horus3a_attach() 345 priv->i2c_address = (config->i2c_address >> 1); in horus3a_attach() 347 priv->set_tuner_data = config->set_tuner_priv; in horus3a_attach() 348 priv->set_tuner = config->set_tuner_callback; in horus3a_attach() 358 buf[0] = config->xtal_freq_mhz; in horus3a_attach() 359 buf[1] = config->xtal_freq_mhz; in horus3a_attach() 365 switch (config->xtal_freq_mhz) { in horus3a_attach() 379 config->xtal_freq_mhz); in horus3a_attach() 335 horus3a_attach(struct dvb_frontend *fe, const struct horus3a_config *config, struct i2c_adapter *i2c) horus3a_attach() argument
|
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | dib0090.c | 126 const struct dib0090_config *config; member 191 const struct dib0090_config *config; member 212 state->msg[0].addr = state->config->i2c_address; in dib0090_read_reg() 216 state->msg[1].addr = state->config->i2c_address; in dib0090_read_reg() 246 state->msg[0].addr = state->config->i2c_address; in dib0090_write_reg() 529 /* Read Pll current config * */ in dib0090_reset_digital() 601 /* Read Pll current config * */ in dib0090_fw_reset_digital() 652 if (state->config->sleep) in dib0090_wakeup() 653 state->config->sleep(fe, 0); in dib0090_wakeup() 663 if (state->config in dib0090_sleep() 2607 dib0090_register(struct dvb_frontend *fe, struct i2c_adapter *i2c, const struct dib0090_config *config) dib0090_register() argument 2639 dib0090_fw_register(struct dvb_frontend *fe, struct i2c_adapter *i2c, const struct dib0090_config *config) dib0090_fw_register() argument [all...] |
H A D | horus3a.c | 336 const struct horus3a_config *config, in horus3a_attach() 345 priv->i2c_address = (config->i2c_address >> 1); in horus3a_attach() 347 priv->set_tuner_data = config->set_tuner_priv; in horus3a_attach() 348 priv->set_tuner = config->set_tuner_callback; in horus3a_attach() 358 buf[0] = config->xtal_freq_mhz; in horus3a_attach() 359 buf[1] = config->xtal_freq_mhz; in horus3a_attach() 365 switch (config->xtal_freq_mhz) { in horus3a_attach() 379 config->xtal_freq_mhz); in horus3a_attach() 335 horus3a_attach(struct dvb_frontend *fe, const struct horus3a_config *config, struct i2c_adapter *i2c) horus3a_attach() argument
|
/drivers/hdf_core/adapter/platform/pwm/ |
H A D | pwm_bes.c | 49 static int32_t PwmDevSetConfig(struct PwmDev *pwm, struct PwmConfig *config); 278 static int32_t PwmDevSetConfig(struct PwmDev *pwm, struct PwmConfig *config) argument 284 if (pwm == NULL || config == NULL || (config->period > UNTIL_NAN0SECONDS)) { 294 pwmCfg->freq = UNTIL_NAN0SECONDS / config->period; 295 pwmCfg->ratio = config->duty * PERCENT / config->period; 301 if (config->status == PWM_ENABLE_STATUS) {
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_kms.c | 236 struct drm_mode_config *config = &kms->base.mode_config; in komeda_kms_mode_config_init() local 243 config->min_width = 0; in komeda_kms_mode_config_init() 244 config->min_height = 0; in komeda_kms_mode_config_init() 245 config->max_width = 4096; in komeda_kms_mode_config_init() 246 config->max_height = 4096; in komeda_kms_mode_config_init() 247 config->allow_fb_modifiers = true; in komeda_kms_mode_config_init() 249 config->funcs = &komeda_mode_config_funcs; in komeda_kms_mode_config_init() 250 config->helper_private = &komeda_mode_config_helpers; in komeda_kms_mode_config_init()
|
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/ |
H A D | max31785.c | 106 int config; in max31785_get_pwm_mode() local 109 config = pmbus_read_byte_data(client, page, PMBUS_FAN_CONFIG_12); in max31785_get_pwm_mode() 110 if (config < 0) in max31785_get_pwm_mode() 111 return config; in max31785_get_pwm_mode() 117 if (config & PB_FAN_1_RPM) in max31785_get_pwm_mode() 193 int config = 0; in max31785_pwm_enable() local 207 config = PB_FAN_1_RPM; in max31785_pwm_enable() 219 return pmbus_update_fan(client, page, 0, config, PB_FAN_1_RPM, rate); in max31785_pwm_enable()
|
/kernel/linux/linux-5.10/tools/lib/perf/tests/ |
H A D | test-evlist.c | 35 .config = PERF_COUNT_SW_CPU_CLOCK, in test_stat_cpu() 39 .config = PERF_COUNT_SW_TASK_CLOCK, in test_stat_cpu() 90 .config = PERF_COUNT_SW_CPU_CLOCK, in test_stat_thread() 94 .config = PERF_COUNT_SW_TASK_CLOCK, in test_stat_thread() 141 .config = PERF_COUNT_SW_CPU_CLOCK, in test_stat_thread_enable() 146 .config = PERF_COUNT_SW_TASK_CLOCK, in test_stat_thread_enable() 223 attr.config = id; in test_mmap_thread() 331 attr.config = id; in test_mmap_cpus()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/ |
H A D | base.c | 104 nvkm_trace(subdev, "write config of extdev %i: 0x%04x\n", sensor->id, sensor->config); in nvkm_iccsense_sensor_config() 105 nv_wr16i2cr(sensor->i2c, sensor->addr, 0x00, sensor->config); in nvkm_iccsense_sensor_config() 200 sensor->config = 0x0; in nvkm_iccsense_create_sensor() 254 if (!sensor->config) in nvkm_iccsense_oneinit() 255 sensor->config = pwr_rail->config; in nvkm_iccsense_oneinit() 256 else if (sensor->config != pwr_rail->config) in nvkm_iccsense_oneinit() 257 nvkm_error(subdev, "config mismatc in nvkm_iccsense_oneinit() [all...] |
/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | anatop-regulator.c | 164 struct regulator_config config = { }; in anatop_regulator_probe() local 251 config.dev = &pdev->dev; in anatop_regulator_probe() 252 config.init_data = initdata; in anatop_regulator_probe() 253 config.driver_data = sreg; in anatop_regulator_probe() 254 config.of_node = pdev->dev.of_node; in anatop_regulator_probe() 255 config.regmap = regmap; in anatop_regulator_probe() 261 ret = regmap_read(config.regmap, rdesc->vsel_reg, &val); in anatop_regulator_probe() 306 rdev = devm_regulator_register(dev, rdesc, &config); in anatop_regulator_probe()
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_mipi.c | 354 if (IS_ISP2401 && pipe->stream->config.online) { in allocate_mipi_frames() 361 if (pipe->stream->config.mode != IA_CSS_INPUT_MODE_BUFFERED_SENSOR) { in allocate_mipi_frames() 368 port = (unsigned int)pipe->stream->config.source.port.port; in allocate_mipi_frames() 376 err = calculate_mipi_buff_size(&pipe->stream->config, in allocate_mipi_frames() 472 if (pipe->stream->config.mode != IA_CSS_INPUT_MODE_BUFFERED_SENSOR) { in free_mipi_frames() 478 port = (unsigned int)pipe->stream->config.source.port.port; in free_mipi_frames() 553 if (pipe->stream->config.mode != IA_CSS_INPUT_MODE_BUFFERED_SENSOR) { in send_mipi_frames() 559 port = (unsigned int)pipe->stream->config.source.port.port; in send_mipi_frames()
|
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-vpu.c | 42 if (!vpu->config) { in mdp_vpu_shared_mem_alloc() 43 vpu->config = dma_alloc_wc(dev, vpu->config_size, in mdp_vpu_shared_mem_alloc() 45 if (!vpu->config) in mdp_vpu_shared_mem_alloc() 76 if (vpu->config && vpu->config_addr) in mdp_vpu_shared_mem_free() 77 dma_free_wc(dev, vpu->config_size, vpu->config, vpu->config_addr); in mdp_vpu_shared_mem_free() 223 "VPU param:%pK pa:%pad sz:%zx, work:%pK pa:%pad sz:%zx, config:%pK pa:%pad sz:%zx", in mdp_vpu_dev_init() 226 vpu->config, &vpu->config_addr, vpu->config_size); in mdp_vpu_dev_init() 274 memset(vpu->config, 0, vpu->config_size); in mdp_vpu_process() 278 param->config_data.va = (unsigned long)vpu->config; in mdp_vpu_process()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/ |
H A D | base.c | 104 nvkm_trace(subdev, "write config of extdev %i: 0x%04x\n", sensor->id, sensor->config); in nvkm_iccsense_sensor_config() 105 nv_wr16i2cr(sensor->i2c, sensor->addr, 0x00, sensor->config); in nvkm_iccsense_sensor_config() 200 sensor->config = 0x0; in nvkm_iccsense_create_sensor() 254 if (!sensor->config) in nvkm_iccsense_oneinit() 255 sensor->config = pwr_rail->config; in nvkm_iccsense_oneinit() 256 else if (sensor->config != pwr_rail->config) in nvkm_iccsense_oneinit() 257 nvkm_error(subdev, "config mismatc in nvkm_iccsense_oneinit() [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/pmbus/ |
H A D | max31785.c | 107 int config; in max31785_get_pwm_mode() local 110 config = pmbus_read_byte_data(client, page, PMBUS_FAN_CONFIG_12); in max31785_get_pwm_mode() 111 if (config < 0) in max31785_get_pwm_mode() 112 return config; in max31785_get_pwm_mode() 118 if (config & PB_FAN_1_RPM) in max31785_get_pwm_mode() 194 int config = 0; in max31785_pwm_enable() local 208 config = PB_FAN_1_RPM; in max31785_pwm_enable() 220 return pmbus_update_fan(client, page, 0, config, PB_FAN_1_RPM, rate); in max31785_pwm_enable()
|
/kernel/linux/linux-6.6/tools/testing/selftests/rcutorture/bin/ |
H A D | kvm-test-1-run.sh | 10 # Usage: kvm-test-1-run.sh config resdir seconds qemu-args boot_args_in 21 # the config fragment. 81 ln -s $base_resdir/.config $resdir # for kvm-recheck.sh 88 ln -s $base_resdir/.config $resdir # for kvm-recheck.sh 101 cp .config $resdir 117 cp .config $resdir || : 163 boot_args="`per_version_boot_params "$boot_args" $resdir/.config $seconds`" 178 echo " 2." Update your bare-metal build tree"'"s .config based on this file: >> $resdir/bare-metal 180 echo " 3." Make the bare-metal kernel"'"s build system aware of your .config updates: >> $resdir/bare-metal 189 echo " 8." Copy your bare-metal kernel"'"s .config fil [all...] |
/kernel/liteos_a/ |
H A D | Makefile | 37 KCONFIG_CMDS := $(notdir $(wildcard $(dir $(shell which menuconfig))*config)) 57 CONFIG ?= $(PRODUCT_PATH)/kernel_configs/release$(tee).config 59 CONFIG ?= $(PRODUCT_PATH)/kernel_configs/debug$(tee).config 74 include $(LITEOSTOPDIR)/config.mk 100 update_config: update product kernel config (use menuconfig) 107 CONFIG: kernel config file to be use 136 $(HIDE)env KCONFIG_CONFIG=$< genconfig --config-out $@ --header-path $(LITEOS_MENUCONFIG_H) 139 $(HIDE)test -f "$(CONFIG)" && cp -v "$(CONFIG)" .config && menuconfig $(args) && savedefconfig --out "$(CONFIG)"
|
/third_party/node/test/pummel/ |
H A D | test-policy-integrity-worker-commonjs.js | 101 const config = toSpawn.shift(); 110 } = config; 189 { config, manifest }, 241 const config = keys[0]; 242 const { [config]: values, ...otherConfigs } = configurations; 244 return permutations(otherConfigs, { ...path, [config]: value }); 372 for (const config of tests) { 373 const parsed = JSON.parse(config);
|
H A D | test-policy-integrity-worker-module.js | 101 const config = toSpawn.shift(); 110 } = config; 189 { config, manifest }, 241 const config = keys[0]; 242 const { [config]: values, ...otherConfigs } = configurations; 244 return permutations(otherConfigs, { ...path, [config]: value }); 370 for (const config of tests) { 371 const parsed = JSON.parse(config);
|
H A D | test-policy-integrity-dep.js | 83 const config = toSpawn.shift(); 92 } = config; 171 { config, manifest }, 224 const config = keys[0]; 225 const { [config]: values, ...otherConfigs } = configurations; 227 return permutations(otherConfigs, { ...path, [config]: value }); 362 for (const config of tests) { 363 const parsed = JSON.parse(config);
|
H A D | test-policy-integrity-parent-commonjs.js | 83 const config = toSpawn.shift(); 93 } = config; 172 { config, manifest }, 224 const config = keys[0]; 225 const { [config]: values, ...otherConfigs } = configurations; 227 return permutations(otherConfigs, { ...path, [config]: value }); 349 for (const config of tests) { 350 const parsed = JSON.parse(config);
|
H A D | test-policy-integrity-parent-module.js | 83 const config = toSpawn.shift(); 93 } = config; 172 { config, manifest }, 224 const config = keys[0]; 225 const { [config]: values, ...otherConfigs } = configurations; 227 return permutations(otherConfigs, { ...path, [config]: value }); 349 for (const config of tests) { 350 const parsed = JSON.parse(config);
|