Home
last modified time | relevance | path

Searched refs:config_data (Results 1 – 25 of 28) sorted by relevance

12

/drivers/leds/
Dleds-ss4200.c269 u32 config_data = 0; in ich7_gpio_init() local
282 config_data = inl(nas_gpio_io_base + GPIO_USE_SEL); in ich7_gpio_init()
283 dev_dbg(dev, ": Data read from GPIO_USE_SEL = 0x%08x\n", config_data); in ich7_gpio_init()
284 config_data |= all_nas_led + NAS_RECOVERY; in ich7_gpio_init()
285 outl(config_data, nas_gpio_io_base + GPIO_USE_SEL); in ich7_gpio_init()
286 config_data = inl(nas_gpio_io_base + GPIO_USE_SEL); in ich7_gpio_init()
287 dev_dbg(dev, ": GPIO_USE_SEL = 0x%08x\n\n", config_data); in ich7_gpio_init()
295 config_data = inl(nas_gpio_io_base + GP_IO_SEL); in ich7_gpio_init()
297 config_data); in ich7_gpio_init()
298 config_data &= ~all_nas_led; in ich7_gpio_init()
[all …]
/drivers/gpu/drm/amd/display/dc/gpio/
Dgpio_service.c221 struct gpio_config_data config_data; in dal_mux_setup_config() local
226 config_data.config.generic_mux = *config; in dal_mux_setup_config()
227 config_data.type = GPIO_CONFIG_TYPE_GENERIC_MUX; in dal_mux_setup_config()
229 return dal_gpio_set_config(mux, &config_data); in dal_mux_setup_config()
409 struct gpio_config_data config_data; in dal_irq_setup_hpd_filter() local
414 config_data.type = GPIO_CONFIG_TYPE_HPD; in dal_irq_setup_hpd_filter()
415 config_data.config.hpd = *config; in dal_irq_setup_hpd_filter()
417 return dal_gpio_set_config(irq, &config_data); in dal_irq_setup_hpd_filter()
540 struct gpio_config_data config_data; in dal_ddc_open() local
565 config_data.type = GPIO_CONFIG_TYPE_I2C_AUX_DUAL_MODE; in dal_ddc_open()
[all …]
Dhw_ddc.c68 const struct gpio_config_data *config_data) in set_config() argument
89 switch (config_data->config.ddc.type) { in set_config()
105 if (config_data->type == in set_config()
121 if (config_data->type == in set_config()
130 if (config_data->type == in set_config()
139 if (config_data->config.ddc.data_en_bit_present || in set_config()
140 config_data->config.ddc.clock_en_bit_present) in set_config()
Dhw_generic.c69 const struct gpio_config_data *config_data) in set_config() argument
73 if (!config_data) in set_config()
77 GENERIC_EN, config_data->config.generic_mux.enable_output_from_mux, in set_config()
78 GENERIC_SEL, config_data->config.generic_mux.mux_select); in set_config()
Dhw_hpd.c90 const struct gpio_config_data *config_data) in set_config() argument
94 if (!config_data) in set_config()
98 DC_HPD_CONNECT_INT_DELAY, config_data->config.hpd.delay_on_connect / 10, in set_config()
99 DC_HPD_DISCONNECT_INT_DELAY, config_data->config.hpd.delay_on_disconnect / 10); in set_config()
Dgpio_base.c146 const struct gpio_config_data *config_data) in dal_gpio_set_config() argument
153 return gpio->pin->funcs->set_config(gpio->pin, config_data); in dal_gpio_set_config()
Dhw_gpio.h62 const struct gpio_config_data *config_data);
/drivers/infiniband/hw/hfi1/
Dplatform.c592 u32 config_data, const char *message) in apply_tx_lanes() argument
598 ret = load_8051_config(ppd->dd, field_id, i, config_data); in apply_tx_lanes()
645 u32 config_data = 0, tx_preset = 0; in apply_tunings() local
651 &config_data); in apply_tunings()
652 config_data &= ~(0xff << TUNING_METHOD_SHIFT); in apply_tunings()
653 config_data |= ((u32)tuning_method << TUNING_METHOD_SHIFT); in apply_tunings()
655 config_data); in apply_tunings()
661 config_data = 0 | (total_atten << 16) | (total_atten << 24); in apply_tunings()
662 apply_tx_lanes(ppd, CHANNEL_LOSS_SETTINGS, config_data, in apply_tunings()
673 GENERAL_CONFIG, &config_data); in apply_tunings()
[all …]
/drivers/platform/x86/intel/int1092/
Dintel_sar.c41 &context->config_data[context->reg_value]; in update_sar_data()
89 data = &context->config_data[reg]; in parse_package()
232 context->config_data[reg].version = out->package.elements[0].integer.value; in sar_get_data()
233 context->config_data[reg].total_dev_mode = in sar_get_data()
235 if (context->config_data[reg].total_dev_mode <= 0 || in sar_get_data()
236 context->config_data[reg].total_dev_mode > MAX_DEV_MODES) { in sar_get_data()
304 kfree(context->config_data[reg].device_mode_info); in sar_remove()
Dintel_sar.h84 struct wwan_device_mode_configuration config_data[MAX_REGULATORY]; member
/drivers/gpu/drm/amd/display/dc/
Ddc_dmub_srv.c321 …struct dmub_cmd_fw_assisted_mclk_switch_config *config_data = &cmd.fw_assisted_mclk_switch.config_… in dc_dmub_srv_p_state_delegate() local
335 cmd.fw_assisted_mclk_switch.config_data.fams_enabled = should_manage_pstate; in dc_dmub_srv_p_state_delegate()
336 cmd.fw_assisted_mclk_switch.config_data.visual_confirm_enabled = visual_confirm_enabled; in dc_dmub_srv_p_state_delegate()
350 …cmd.fw_assisted_mclk_switch.config_data.vactive_stretch_margin_us = dc->debug.fpo_vactive_margin_u… in dc_dmub_srv_p_state_delegate()
364 config_data->pipe_data[k].pix_clk_100hz = pipe->stream->timing.pix_clk_100hz; in dc_dmub_srv_p_state_delegate()
365 config_data->pipe_data[k].min_refresh_in_hz = min_refresh_in_hz; in dc_dmub_srv_p_state_delegate()
366 config_data->pipe_data[k].max_ramp_step = ramp_up_num_steps; in dc_dmub_srv_p_state_delegate()
367 config_data->pipe_data[k].pipes = dc_dmub_srv_get_pipes_for_stream(dc, pipe->stream); in dc_dmub_srv_p_state_delegate()
368 dc_dmub_srv_populate_fams_pipe_info(dc, context, pipe, &config_data->pipe_data[k]); in dc_dmub_srv_p_state_delegate()
527 &cmd->fw_assisted_mclk_switch_v2.config_data.pipe_data[cmd_pipe_index]; in populate_subvp_cmd_vblank_pipe_info()
[all …]
/drivers/s390/scsi/
Dzfcp_diag.c55 hdr = &diag->config_data.header; in zfcp_diag_adapter_setup()
58 hdr->buffer = &diag->config_data.data; in zfcp_diag_adapter_setup()
59 hdr->buffer_size = sizeof(diag->config_data.data); in zfcp_diag_adapter_setup()
Dzfcp_diag.h62 } config_data; member
Dzfcp_erp.c820 struct zfcp_diag_adapter_config_data *const config_data = in zfcp_erp_adapter_strategy_alloc_shost() local
821 &adapter->diagnostics->config_data; in zfcp_erp_adapter_strategy_alloc_shost()
844 spin_lock_irqsave(&config_data->header.access_lock, flags); in zfcp_erp_adapter_strategy_alloc_shost()
845 zfcp_scsi_shost_update_config_data(adapter, &config_data->data, in zfcp_erp_adapter_strategy_alloc_shost()
846 !!config_data->header.incomplete); in zfcp_erp_adapter_strategy_alloc_shost()
847 spin_unlock_irqrestore(&config_data->header.access_lock, flags); in zfcp_erp_adapter_strategy_alloc_shost()
864 if (config_data->header.incomplete) in zfcp_erp_adapter_strategy_alloc_shost()
Dzfcp_sysfs.c832 diag_hdr = &adapter->diagnostics->config_data.header; in zfcp_sysfs_adapter_diag_b2b_credit_show()
842 adapter->diagnostics->config_data in zfcp_sysfs_adapter_diag_b2b_credit_show()
/drivers/power/supply/
Dmax17042_battery.c554 chip->pdata->config_data->cell_char_tbl[i]); in max17042_write_model_data()
589 int table_size = ARRAY_SIZE(chip->pdata->config_data->cell_char_tbl); in max17042_init_model()
604 chip->pdata->config_data->cell_char_tbl, in max17042_init_model()
617 int table_size = ARRAY_SIZE(chip->pdata->config_data->cell_char_tbl); in max17042_verify_model_lock()
637 struct max17042_config_data *config = chip->pdata->config_data; in max17042_write_config_regs()
654 struct max17042_config_data *config = chip->pdata->config_data; in max17042_write_custom_regs()
678 struct max17042_config_data *config = chip->pdata->config_data; in max17042_update_capacity_regs()
704 struct max17042_config_data *config = chip->pdata->config_data; in max17042_load_new_capacity_params()
743 struct max17042_config_data *config = chip->pdata->config_data; in max17042_override_por_values()
894 if (chip->pdata->enable_por_init && chip->pdata->config_data) { in max17042_init_worker()
/drivers/gpu/drm/amd/display/include/
Dgpio_interface.h81 const struct gpio_config_data *config_data);
/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-vpu.c278 param->config_data.va = (unsigned long)vpu->config; in mdp_vpu_process()
279 param->config_data.pa = vpu->config_addr; in mdp_vpu_process()
Dmtk-img-ipi.h97 struct img_sw_addr config_data; member
/drivers/hwmon/occ/
Dcommon.h45 u8 config_data; member
/drivers/input/rmi4/
Drmi_f34v7.c773 return rmi_f34v7_write_f34v7_blocks(f34, f34->v7.config_data, in rmi_f34v7_write_config()
781 f34->v7.config_data = f34->v7.img.ui_config.data; in rmi_f34v7_write_ui_config()
791 f34->v7.config_data = f34->v7.img.dp_config.data; in rmi_f34v7_write_dp_config()
811 f34->v7.config_data = f34->v7.img.fl_config.data; in rmi_f34v7_write_flash_config()
857 f34->v7.config_data = f34->v7.read_config_buf; in rmi_f34v7_write_partition_table()
Drmi_f34.h269 const void *config_data; member
/drivers/net/usb/
Dhso.c2795 u8 *config_data = kmalloc(17, GFP_KERNEL); in hso_get_config_data() local
2799 if (!config_data) in hso_get_config_data()
2802 0x86, 0xC0, 0, 0, config_data, 17, in hso_get_config_data()
2804 kfree(config_data); in hso_get_config_data()
2810 kfree(config_data); in hso_get_config_data()
2814 switch (config_data[if_num]) { in hso_get_config_data()
2858 if (config_data[16] & 0x1) in hso_get_config_data()
2861 kfree(config_data); in hso_get_config_data()
/drivers/hwmon/
Dlm75.c488 const struct lm75_data *config_data = data; in lm75_is_visible() local
494 if (config_data->params->num_sample_times > 1) in lm75_is_visible()
/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_cmd.h1350 struct dmub_cmd_fw_assisted_mclk_switch_config_v2 config_data; member
3707 struct dmub_cmd_fw_assisted_mclk_switch_config config_data; member

12