Home
last modified time | relevance | path

Searched refs:conf1 (Results 1 – 7 of 7) sorted by relevance

/drivers/iio/light/
Disl29125.c54 u8 conf1; member
94 data->conf1 | isl29125_regs[si].mode); in isl29125_read_data()
118 i2c_smbus_write_byte_data(data->client, ISL29125_CONF1, data->conf1); in isl29125_read_data()
142 if (data->conf1 & ISL29125_MODE_RANGE) in isl29125_read_raw()
162 data->conf1 |= ISL29125_MODE_RANGE; in isl29125_write_raw()
164 data->conf1 &= ~ISL29125_MODE_RANGE; in isl29125_write_raw()
168 data->conf1); in isl29125_write_raw()
222 data->conf1 |= ISL29125_MODE_RGB; in isl29125_buffer_preenable()
224 data->conf1); in isl29125_buffer_preenable()
236 data->conf1 &= ~ISL29125_MODE_MASK; in isl29125_buffer_predisable()
[all …]
/drivers/hwmon/
Dadm1031.c90 u8 conf1; member
179 data->conf1 = adm1031_read_value(client, ADM1031_REG_CONF1); in adm1031_update_device()
270 (*(data)->chan_select_table)[FAN_CHAN_FROM_REG((data)->conf1)][idx % 2]
358 old_fan_mode = data->conf1; in set_fan_auto_channel()
362 ret = get_fan_auto_nearest(data, nr, val, data->conf1); in set_fan_auto_channel()
368 data->conf1 = FAN_CHAN_TO_REG(reg, data->conf1); in set_fan_auto_channel()
369 if ((data->conf1 & ADM1031_CONF1_AUTO_MODE) ^ in set_fan_auto_channel()
371 if (data->conf1 & ADM1031_CONF1_AUTO_MODE) { in set_fan_auto_channel()
389 data->conf1 = FAN_CHAN_TO_REG(reg, data->conf1); in set_fan_auto_channel()
390 adm1031_write_value(client, ADM1031_REG_CONF1, data->conf1); in set_fan_auto_channel()
[all …]
Demc2103.c139 u8 conf1; in read_fan_config_from_i2c() local
141 if (read_u8_from_i2c(client, REG_FAN_CONF1, &conf1) < 0) in read_fan_config_from_i2c()
144 data->fan_multiplier = 1 << ((conf1 & 0x60) >> 5); in read_fan_config_from_i2c()
145 data->fan_rpm_control = (conf1 & 0x80) != 0; in read_fan_config_from_i2c()
/drivers/atm/
Dlanai.c289 u32 conf1, conf2; /* CONFIG[12] registers */ member
498 reg_write(lanai, lanai->conf1, Config1_Reg); in conf1_write()
510 if (unlikely((lanai->conf1 & CONFIG1_POWERDOWN) != 0)) in conf2_write_if_powerup()
877 #define set_config1(x) do { lanai->conf1 = x; conf1_write(lanai); \ in eeprom_read()
879 #define clock_h() set_config1(lanai->conf1 | CONFIG1_PROMCLK) in eeprom_read()
880 #define clock_l() set_config1(lanai->conf1 &~ CONFIG1_PROMCLK) in eeprom_read()
881 #define data_h() set_config1(lanai->conf1 | CONFIG1_PROMDATA) in eeprom_read()
882 #define data_l() set_config1(lanai->conf1 &~ CONFIG1_PROMDATA) in eeprom_read()
895 tmp = (lanai->conf1 & ~CONFIG1_PROMDATA) | in eeprom_read()
897 if (lanai->conf1 != tmp) { in eeprom_read()
[all …]
/drivers/gpu/drm/bridge/
Ddw_hdmi-ahb-audio.c86 u8 conf1; member
409 u8 threshold, conf0, conf1, layout, ca; in dw_hdmi_prepare() local
437 conf1 = default_hdmi_channel_config[runtime->channels - 2].conf1; in dw_hdmi_prepare()
451 writeb_relaxed(conf1, dw->data.base + HDMI_AHB_DMA_CONF1); in dw_hdmi_prepare()
/drivers/media/rc/
Dene_ir.c590 u8 conf1 = ene_read_reg(dev, ENE_CIRCFG); in ene_tx_enable() local
593 dev->saved_conf1 = conf1; in ene_tx_enable()
607 conf1 &= ~ENE_CIRCFG_RX_EN; in ene_tx_enable()
610 conf1 |= ENE_CIRCFG_TX_EN | ENE_CIRCFG_TX_IRQ; in ene_tx_enable()
611 ene_write_reg(dev, ENE_CIRCFG, conf1); in ene_tx_enable()
/drivers/pci/
Dquirks.c1513 u32 conf1, conf5, class; in quirk_jmicron_ata() local
1520 pci_read_config_dword(pdev, 0x40, &conf1); in quirk_jmicron_ata()
1523 conf1 &= ~0x00CFF302; /* Clear bit 1, 8, 9, 12-19, 22, 23 */ in quirk_jmicron_ata()
1531 conf1 |= 0x0002A100; /* Set 8, 13, 15, 17 */ in quirk_jmicron_ata()
1544 conf1 |= 0x00C2A1B3; /* Set 0, 1, 4, 5, 7, 8, 13, 15, 17, 22, 23 */ in quirk_jmicron_ata()
1549 conf1 |= 0x00C00000; /* Set 22, 23 */ in quirk_jmicron_ata()
1553 pci_write_config_dword(pdev, 0x40, conf1); in quirk_jmicron_ata()