Searched refs:diode (Results 1 – 7 of 7) sorted by relevance
/drivers/iio/temperature/ |
D | ltc2983.c | 568 struct ltc2983_diode *diode = to_diode(sensor); in ltc2983_diode_assign_chan() local 571 chan_val = LTC2983_DIODE_CFG(diode->sensor_config); in ltc2983_diode_assign_chan() 572 chan_val |= LTC2983_DIODE_EXC_CURRENT(diode->excitation_current); in ltc2983_diode_assign_chan() 573 chan_val |= LTC2983_DIODE_IDEAL_FACTOR(diode->ideal_factor_value); in ltc2983_diode_assign_chan() 1014 struct ltc2983_diode *diode; in ltc2983_diode_new() local 1018 diode = devm_kzalloc(&st->spi->dev, sizeof(*diode), GFP_KERNEL); in ltc2983_diode_new() 1019 if (!diode) in ltc2983_diode_new() 1023 diode->sensor_config = LTC2983_DIODE_SGL(1); in ltc2983_diode_new() 1026 diode->sensor_config |= LTC2983_DIODE_3_CONV_CYCLE(1); in ltc2983_diode_new() 1029 diode->sensor_config |= LTC2983_DIODE_AVERAGE_ON(1); in ltc2983_diode_new() [all …]
|
/drivers/rtc/ |
D | rtc-abx80x.c | 559 const char *diode; in abx80x_dt_trickle_cfg() local 564 ret = of_property_read_string(np, "abracon,tc-diode", &diode); in abx80x_dt_trickle_cfg() 568 if (!strcmp(diode, "standard")) { in abx80x_dt_trickle_cfg() 570 } else if (!strcmp(diode, "schottky")) { in abx80x_dt_trickle_cfg() 573 dev_dbg(&client->dev, "Invalid tc-diode value: %s\n", diode); in abx80x_dt_trickle_cfg()
|
D | rtc-ds1307.c | 519 static u8 do_trickle_setup_ds1339(struct ds1307 *ds1307, u32 ohms, bool diode) in do_trickle_setup_ds1339() argument 521 u8 setup = (diode) ? DS1307_TRICKLE_CHARGER_DIODE : in do_trickle_setup_ds1339() 544 static u8 do_trickle_setup_rx8130(struct ds1307 *ds1307, u32 ohms, bool diode) in do_trickle_setup_rx8130() argument 548 if (diode) in do_trickle_setup_rx8130() 1283 bool diode = chip->charge_default; in ds1307_trickle_init() local 1299 diode = false; in ds1307_trickle_init() 1302 diode = true; in ds1307_trickle_init() 1311 diode = false; in ds1307_trickle_init() 1314 return chip->do_trickle_setup(ds1307, ohms, diode); in ds1307_trickle_init()
|
/drivers/hwmon/ |
D | w83627ehf.c | 1221 u8 tmp, diode; in w83627ehf_init_device() local 1251 diode = w83627ehf_read_value(data, W83627EHF_REG_DIODE); in w83627ehf_init_device() 1254 diode = 0x00; in w83627ehf_init_device() 1257 diode = 0x70; in w83627ehf_init_device() 1271 data->temp_type[i] = (diode & (0x10 << i)) ? 1 : 3; in w83627ehf_init_device()
|
D | nct6775.c | 2406 u8 vbat, diode, vbit, dbit; in store_temp_type() local 2421 diode = nct6775_read_value(data, data->REG_DIODE) & ~dbit; in store_temp_type() 2425 diode |= dbit; in store_temp_type() 2434 nct6775_write_value(data, data->REG_DIODE, diode); in store_temp_type() 3505 u8 tmp, diode; in nct6775_init_device() local 3531 diode = nct6775_read_value(data, data->REG_DIODE); in nct6775_init_device() 3538 = 3 - ((diode >> i) & data->DIODE_MASK); in nct6775_init_device()
|
D | Kconfig | 1189 Semiconductor LM63, LM64, and LM96163 remote diode digital temperature
|
/drivers/media/rc/ |
D | Kconfig | 367 tristate "Nokia N900 IR transmitter diode" 371 transmitter diode built in the Nokia N900 (RX51) device.
|