Home
last modified time | relevance | path

Searched refs:prev_mode (Results 1 – 6 of 6) sorted by relevance

/drivers/hwmon/occ/
Dsysfs.c228 if (header->mode != occ->prev_mode) { in occ_sysfs_poll_done()
246 occ->prev_mode = header->mode; in occ_sysfs_poll_done()
Dcommon.h125 u8 prev_mode; member
/drivers/iio/gyro/
Dfxas21002c_core.c140 enum fxas21002c_mode_state prev_mode; member
331 data->prev_mode = data->mode; in fxas21002c_mode_set()
359 ret = fxas21002c_mode_set(data, data->prev_mode); in fxas21002c_write()
1033 return fxas21002c_mode_set(data, data->prev_mode); in fxas21002c_resume()
/drivers/net/dsa/microchip/
Dksz9477.c1060 const char *prev_mode; in ksz9477_config_cpu_port() local
1083 prev_mode = phy_modes(interface); in ksz9477_config_cpu_port()
1086 prev_mode = ""; in ksz9477_config_cpu_port()
1093 prev_mode); in ksz9477_config_cpu_port()
/drivers/iio/accel/
Dmsa311.c535 unsigned int prev_mode; in msa311_set_pwr_mode() local
543 err = regmap_field_read(msa311->fields[F_PWR_MODE], &prev_mode); in msa311_set_pwr_mode()
552 if (prev_mode == MSA311_PWR_MODE_SUSPEND && in msa311_set_pwr_mode()
/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c491 u16 cval, scval, prev_mode; in cpm_uart_set_termios() local
590 prev_mode = in_be16(&smcp->smc_smcmr) & (SMCMR_REN | SMCMR_TEN); in cpm_uart_set_termios()
596 SMCMR_SM_UART | prev_mode); in cpm_uart_set_termios()