Searched refs:lec (Results 1 – 5 of 5) sorted by relevance
506 u8 lec; in cc770_err() local549 lec = status & STAT_LEC_MASK; in cc770_err()550 if (lec < 7 && lec > 0) { in cc770_err()551 if (lec == STAT_LEC_ACK) { in cc770_err()555 switch (lec) { in cc770_err()
14 obj-$(CONFIG_ATM_LANE) += lec.o
130 u32 lec; member
836 static inline bool is_lec_err(u8 lec) in is_lec_err() argument838 return lec != LEC_NO_ERROR && lec != LEC_NO_CHANGE; in is_lec_err()894 u8 lec = FIELD_GET(PSR_LEC_MASK, psr); in m_can_handle_bus_errors() local897 if (is_lec_err(lec)) { in m_can_handle_bus_errors()899 work_done += m_can_handle_lec_err(dev, lec); in m_can_handle_bus_errors()
6551 u8 lec = 0; in tpacpi_brightness_checkpoint_nvram() local6563 if (unlikely(!acpi_ec_read(TP_EC_BACKLIGHT, &lec))) in tpacpi_brightness_checkpoint_nvram()6565 lec &= TP_EC_BACKLIGHT_LVLMSK; in tpacpi_brightness_checkpoint_nvram()6568 if (lec != ((b_nvram & TP_NVRAM_MASK_LEVEL_BRIGHTNESS) in tpacpi_brightness_checkpoint_nvram()6573 b_nvram |= lec; in tpacpi_brightness_checkpoint_nvram()6577 (unsigned int) lec, (unsigned int) b_nvram); in tpacpi_brightness_checkpoint_nvram()6581 (unsigned int) lec, (unsigned int) b_nvram); in tpacpi_brightness_checkpoint_nvram()6590 u8 lec = 0; in tpacpi_brightness_get_raw() local6600 if (unlikely(!acpi_ec_read(TP_EC_BACKLIGHT, &lec))) in tpacpi_brightness_get_raw()6602 *status = lec; in tpacpi_brightness_get_raw()[all …]