Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/misc/
Dapds990x.c224 static int apds990x_write_word(struct apds990x_chip *chip, u8 reg, u16 data) in apds990x_write_word() function
338 ret = apds990x_write_word(chip, APDS990X_PILTL, lo); in apds990x_refresh_pthres()
339 ret |= apds990x_write_word(chip, APDS990X_PIHTL, hi); in apds990x_refresh_pthres()
351 ret = apds990x_write_word(chip, APDS990X_AILTL, in apds990x_refresh_athres()
353 ret |= apds990x_write_word(chip, APDS990X_AIHTL, in apds990x_refresh_athres()
363 apds990x_write_word(chip, APDS990X_AILTL, APDS_LUX_DEF_THRES_LO); in apds990x_force_a_refresh()
364 apds990x_write_word(chip, APDS990X_AIHTL, APDS_LUX_DEF_THRES_HI); in apds990x_force_a_refresh()
371 apds990x_write_word(chip, APDS990X_PILTL, APDS_PROX_DEF_THRES - 1); in apds990x_force_p_refresh()
372 apds990x_write_word(chip, APDS990X_PIHTL, APDS_PROX_DEF_THRES); in apds990x_force_p_refresh()