Home
last modified time | relevance | path

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

12

/Linux-v5.4/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 …]
/Linux-v5.4/drivers/ide/
Dtrm290.c159 outb(0x51 | (hwif->channel << 3), hwif->config_data + 1); in trm290_prepare_drive()
160 outw(reg & 0xff, hwif->config_data); in trm290_prepare_drive()
165 reg = inw(hwif->config_data + 3); in trm290_prepare_drive()
168 outw(reg, hwif->config_data + 3); in trm290_prepare_drive()
248 hwif->config_data = cfg_base; in init_hwif_trm290()
259 outb(0x51 | (hwif->channel << 3), hwif->config_data + 1); in init_hwif_trm290()
262 outb(hwif->select_data, hwif->config_data); in init_hwif_trm290()
264 reg = inb(hwif->config_data + 3); in init_hwif_trm290()
267 outb(reg, hwif->config_data + 3); in init_hwif_trm290()
285 outb(0x54 | (hwif->channel << 3), hwif->config_data + 1); in init_hwif_trm290()
[all …]
Dtc86c001.c19 unsigned long scr_port = hwif->config_data + (drive->dn ? 0x02 : 0x00); in tc86c001_set_mode()
75 unsigned long sc_base = hwif->config_data; in tc86c001_timer_expiry()
115 unsigned long sc_base = hwif->config_data; in tc86c001_dma_start()
163 hwif->config_data = sc_base; in init_hwif_tc86c001()
Dqd65xx.c219 u8 base = (hwif->config_data & 0xff00) >> 8; in qd6580_set_pio_mode()
293 u8 base = (hwif->config_data & 0xff00) >> 8; in qd6500_init_dev()
303 u8 base = (hwif->config_data & 0xff00) >> 8; in qd6580_init_dev()
Dqd65xx.h33 #define QD_CONFIG(hwif) ((hwif)->config_data & 0x00ff)
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/gpio/
Dgpio_service.c224 struct gpio_config_data config_data; in dal_mux_setup_config() local
229 config_data.config.generic_mux = *config; in dal_mux_setup_config()
230 config_data.type = GPIO_CONFIG_TYPE_GENERIC_MUX; in dal_mux_setup_config()
232 return dal_gpio_set_config(mux, &config_data); in dal_mux_setup_config()
412 struct gpio_config_data config_data; in dal_irq_setup_hpd_filter() local
417 config_data.type = GPIO_CONFIG_TYPE_HPD; in dal_irq_setup_hpd_filter()
418 config_data.config.hpd = *config; in dal_irq_setup_hpd_filter()
420 return dal_gpio_set_config(irq, &config_data); in dal_irq_setup_hpd_filter()
544 struct gpio_config_data config_data; in dal_ddc_open() local
569 config_data.type = GPIO_CONFIG_TYPE_I2C_AUX_DUAL_MODE; in dal_ddc_open()
[all …]
Dhw_ddc.c71 const struct gpio_config_data *config_data) in set_config() argument
92 switch (config_data->config.ddc.type) { in set_config()
105 if (config_data->type == in set_config()
122 if (config_data->type == in set_config()
131 if (config_data->type == in set_config()
140 if (config_data->config.ddc.data_en_bit_present || in set_config()
141 config_data->config.ddc.clock_en_bit_present) in set_config()
Dhw_generic.c78 const struct gpio_config_data *config_data) in set_config() argument
82 if (!config_data) in set_config()
86 GENERIC_EN, config_data->config.generic_mux.enable_output_from_mux, in set_config()
87 GENERIC_SEL, config_data->config.generic_mux.mux_select); in set_config()
Dhw_hpd.c108 const struct gpio_config_data *config_data) in set_config() argument
112 if (!config_data) in set_config()
116 DC_HPD_CONNECT_INT_DELAY, config_data->config.hpd.delay_on_connect / 10, in set_config()
117 DC_HPD_DISCONNECT_INT_DELAY, config_data->config.hpd.delay_on_disconnect / 10); in set_config()
Dgpio_base.c148 const struct gpio_config_data *config_data) in dal_gpio_set_config() argument
155 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);
/Linux-v5.4/arch/mips/pci/
Dops-mace.c50 *val = mace->pci.config_data.b[(reg & 3) ^ 3]; in mace_pci_read_config()
53 *val = mace->pci.config_data.w[((reg >> 1) & 1) ^ 1]; in mace_pci_read_config()
56 *val = mace->pci.config_data.l; in mace_pci_read_config()
82 mace->pci.config_data.b[(reg & 3) ^ 3] = val; in mace_pci_write_config()
85 mace->pci.config_data.w[((reg >> 1) & 1) ^ 1] = val; in mace_pci_write_config()
88 mace->pci.config_data.l = val; in mace_pci_write_config()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dplatform.c634 u32 config_data, const char *message) in apply_tx_lanes() argument
640 ret = load_8051_config(ppd->dd, field_id, i, config_data); in apply_tx_lanes()
687 u32 config_data = 0, tx_preset = 0; in apply_tunings() local
693 &config_data); in apply_tunings()
694 config_data &= ~(0xff << TUNING_METHOD_SHIFT); in apply_tunings()
695 config_data |= ((u32)tuning_method << TUNING_METHOD_SHIFT); in apply_tunings()
697 config_data); in apply_tunings()
703 config_data = 0 | (total_atten << 16) | (total_atten << 24); in apply_tunings()
704 apply_tx_lanes(ppd, CHANNEL_LOSS_SETTINGS, config_data, in apply_tunings()
715 GENERAL_CONFIG, &config_data); in apply_tunings()
[all …]
/Linux-v5.4/drivers/power/supply/
Dmax17042_battery.c538 chip->pdata->config_data->cell_char_tbl[i]); in max17042_write_model_data()
573 int table_size = ARRAY_SIZE(chip->pdata->config_data->cell_char_tbl); in max17042_init_model()
588 chip->pdata->config_data->cell_char_tbl, in max17042_init_model()
601 int table_size = ARRAY_SIZE(chip->pdata->config_data->cell_char_tbl); in max17042_verify_model_lock()
621 struct max17042_config_data *config = chip->pdata->config_data; in max17042_write_config_regs()
637 struct max17042_config_data *config = chip->pdata->config_data; in max17042_write_custom_regs()
661 struct max17042_config_data *config = chip->pdata->config_data; in max17042_update_capacity_regs()
687 struct max17042_config_data *config = chip->pdata->config_data; in max17042_load_new_capacity_params()
726 struct max17042_config_data *config = chip->pdata->config_data; in max17042_override_por_values()
864 if (chip->pdata->enable_por_init && chip->pdata->config_data) { in max17042_init_worker()
/Linux-v5.4/kernel/
DMakefile122 $(obj)/configs.o: $(obj)/config_data.gz
124 targets += config_data.gz
125 $(obj)/config_data.gz: $(KCONFIG_CONFIG) FORCE
/Linux-v5.4/drivers/gpu/drm/amd/display/include/
Dgpio_interface.h81 const struct gpio_config_data *config_data);
/Linux-v5.4/drivers/hwmon/occ/
Dcommon.h45 u8 config_data; member
/Linux-v5.4/arch/powerpc/sysdev/
Dfsl_pci.h60 __be32 config_data; /* 0x.004 - PCI/PCIE Configuration Data Register */ member
/Linux-v5.4/include/linux/power/
Dmax17042_battery.h201 struct max17042_config_data *config_data; member
/Linux-v5.4/sound/soc/intel/skylake/
Dskl-topology.h116 u32 config_data[1]; member
122 u32 config_data[0]; member
/Linux-v5.4/drivers/input/rmi4/
Drmi_f34v7.c890 return rmi_f34v7_write_f34v7_blocks(f34, f34->v7.config_data, in rmi_f34v7_write_config()
898 f34->v7.config_data = f34->v7.img.ui_config.data; in rmi_f34v7_write_ui_config()
908 f34->v7.config_data = f34->v7.img.dp_config.data; in rmi_f34v7_write_dp_config()
928 f34->v7.config_data = f34->v7.img.fl_config.data; in rmi_f34v7_write_flash_config()
989 f34->v7.config_data = f34->v7.read_config_buf; in rmi_f34v7_write_partition_table()
Drmi_f34.h286 const void *config_data; member
/Linux-v5.4/drivers/net/usb/
Dhso.c2792 u8 *config_data = kmalloc(17, GFP_KERNEL); in hso_get_config_data() local
2796 if (!config_data) in hso_get_config_data()
2799 0x86, 0xC0, 0, 0, config_data, 17, in hso_get_config_data()
2801 kfree(config_data); in hso_get_config_data()
2807 kfree(config_data); in hso_get_config_data()
2811 switch (config_data[if_num]) { in hso_get_config_data()
2855 if (config_data[16] & 0x1) in hso_get_config_data()
2858 kfree(config_data); in hso_get_config_data()
/Linux-v5.4/arch/mips/include/asm/ip32/
Dmace.h77 } config_data; member
/Linux-v5.4/drivers/hwmon/
Dlm75.c470 const struct lm75_data *config_data = data; in lm75_is_visible() local
476 if (config_data->params->num_sample_times > 1) in lm75_is_visible()

12