Home
last modified time | relevance | path

Searched refs:val_status (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/hwmon/
Dsht15.c156 u8 val_status; member
187 u8 crc = bitrev8(data->val_status & 0x0F); in sht15_crc8()
346 data->val_status = 0; in sht15_soft_reset()
439 data->val_status = status; in sht15_send_status()
485 previous_config = data->val_status & 0x07; in sht15_update_status()
502 data->val_status = status; in sht15_update_status()
562 previous_config = data->val_status & 0x07; in sht15_measurement()
619 int d2 = (data->val_status & SHT15_STATUS_LOW_RESOLUTION) ? 40 : 10; in sht15_calc_temp()
653 if (data->val_status & SHT15_STATUS_LOW_RESOLUTION) { in sht15_calc_humid()
689 return ret ? ret : sprintf(buf, "%d\n", !!(data->val_status & bit)); in sht15_status_show()
[all …]
/linux-6.1.9/drivers/power/supply/
Dbq27xxx_battery.c1836 union power_supply_propval *val_status) argument
1869 if (val_status) {
1871 val_status->intval = POWER_SUPPLY_STATUS_CHARGING;
1873 val_status->intval = POWER_SUPPLY_STATUS_DISCHARGING;
1876 val_status->intval = POWER_SUPPLY_STATUS_FULL;
1878 val_status->intval =