Searched refs:apds990x_chip (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/misc/ |
H A D | apds990x.c | 112 struct apds990x_chip { struct 186 static int apds990x_read_byte(struct apds990x_chip *chip, u8 reg, u8 *data) in apds990x_read_byte() 199 static int apds990x_read_word(struct apds990x_chip *chip, u8 reg, u16 *data) in apds990x_read_word() 212 static int apds990x_write_byte(struct apds990x_chip *chip, u8 reg, u8 data) in apds990x_write_byte() 224 static int apds990x_write_word(struct apds990x_chip *chip, u8 reg, u16 data) in apds990x_write_word() 236 static int apds990x_mode_on(struct apds990x_chip *chip) in apds990x_mode_on() 248 static u16 apds990x_lux_to_threshold(struct apds990x_chip *chip, u32 lux) in apds990x_lux_to_threshold() 306 static inline int apds990x_set_atime(struct apds990x_chip *chip, u32 time_ms) in apds990x_set_atime() 319 static int apds990x_refresh_pthres(struct apds990x_chip *chip, int data) in apds990x_refresh_pthres() 344 static int apds990x_refresh_athres(struct apds990x_chip *chi [all...] |
/kernel/linux/linux-6.6/drivers/misc/ |
H A D | apds990x.c | 112 struct apds990x_chip { struct 186 static int apds990x_read_byte(struct apds990x_chip *chip, u8 reg, u8 *data) in apds990x_read_byte() 199 static int apds990x_read_word(struct apds990x_chip *chip, u8 reg, u16 *data) in apds990x_read_word() 212 static int apds990x_write_byte(struct apds990x_chip *chip, u8 reg, u8 data) in apds990x_write_byte() 224 static int apds990x_write_word(struct apds990x_chip *chip, u8 reg, u16 data) in apds990x_write_word() 236 static int apds990x_mode_on(struct apds990x_chip *chip) in apds990x_mode_on() 248 static u16 apds990x_lux_to_threshold(struct apds990x_chip *chip, u32 lux) in apds990x_lux_to_threshold() 306 static inline int apds990x_set_atime(struct apds990x_chip *chip, u32 time_ms) in apds990x_set_atime() 319 static int apds990x_refresh_pthres(struct apds990x_chip *chip, int data) in apds990x_refresh_pthres() 344 static int apds990x_refresh_athres(struct apds990x_chip *chi [all...] |
Completed in 4 milliseconds