Searched refs:in_status (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/hwmon/ |
D | pc87360.c | 211 u8 in_status[14]; /* Register value */ member 327 data->in_status[i] = pc87360_read_value(data, LD_IN, i, in pc87360_update_device() 332 data->in_status[i]); in pc87360_update_device() 333 if ((data->in_status[i] & CHAN_READY) == CHAN_READY) { in pc87360_update_device() 337 if (data->in_status[i] & CHAN_ENA) { in pc87360_update_device() 430 return sprintf(buf, "%u\n", data->in_status[attr->index]); in in_status_show() 433 static struct sensor_device_attribute in_status[] = { variable 434 SENSOR_ATTR_RO(in0_status, in_status, 0), 435 SENSOR_ATTR_RO(in1_status, in_status, 1), 436 SENSOR_ATTR_RO(in2_status, in_status, 2), [all …]
|
D | nct7802.c | 78 u8 in_status; member 417 data->in_status &= ~((val & 0x0f) << 4); in in_alarm_show() 420 if (!(data->in_status & (0x10 << sattr->index))) { in in_alarm_show() 437 data->in_status |= (1 << sattr->index); in in_alarm_show() 439 data->in_status &= ~(1 << sattr->index); in in_alarm_show() 441 data->in_status |= 0x10 << sattr->index; in in_alarm_show() 444 ret = sprintf(buf, "%u\n", !!(data->in_status & (1 << sattr->index))); in in_alarm_show()
|
D | f71882fg.c | 259 u8 in_status; member 491 data->in_status = f71882fg_read8(data, in f71882fg_update_device() 495 data->in_status = f71882fg_read8(data, in f71882fg_update_device() 1016 if (data->in_status & (1 << nr)) in show_in_alarm()
|
/Linux-v6.6/drivers/acpi/acpica/ |
D | evevent.c | 283 u32 in_status; in acpi_any_fixed_event_status_set() local 292 status = acpi_hw_register_read(ACPI_REGISTER_PM1_STATUS, &in_status); in acpi_any_fixed_event_status_set() 304 if ((in_status & acpi_gbl_fixed_event_info[i].status_bit_mask) && in acpi_any_fixed_event_status_set()
|
D | hwgpe.c | 544 u64 in_enable, in_status; in acpi_hw_get_gpe_block_status() local 560 status = acpi_hw_gpe_read(&in_status, in acpi_hw_get_gpe_block_status() 566 ret_mask = in_enable & in_status; in acpi_hw_get_gpe_block_status()
|
/Linux-v6.6/drivers/usb/class/ |
D | usbtmc.c | 145 int in_status; member 233 file_data->in_status = 0; in usbtmc_flush() 786 if (!file_data->in_status) in usbtmc_read_bulk_cb() 787 file_data->in_status = status; in usbtmc_read_bulk_cb() 810 || file_data->in_status; in usbtmc_do_transfer() 860 if (file_data->in_status) { in usbtmc_generic_read() 862 retval = file_data->in_status; in usbtmc_generic_read() 873 file_data->in_status = 0; in usbtmc_generic_read() 877 file_data->in_status = 0; in usbtmc_generic_read() 1003 retval = file_data->in_status; in usbtmc_generic_read() [all …]
|