Searched refs:cm32181 (Results 1 – 4 of 4) sorted by relevance
73 static int cm32181_reg_init(struct cm32181_chip *cm32181) in cm32181_reg_init() argument75 struct i2c_client *client = cm32181->client; in cm32181_reg_init()88 cm32181->conf_regs[CM32181_REG_ADDR_CMD] = CM32181_CMD_ALS_ENABLE | in cm32181_reg_init()90 cm32181->calibscale = CM32181_CALIBSCALE_DEFAULT; in cm32181_reg_init()95 cm32181->conf_regs[i]); in cm32181_reg_init()112 static int cm32181_read_als_it(struct cm32181_chip *cm32181, int *val2) in cm32181_read_als_it() argument117 als_it = cm32181->conf_regs[CM32181_REG_ADDR_CMD]; in cm32181_read_als_it()139 static int cm32181_write_als_it(struct cm32181_chip *cm32181, int val) in cm32181_write_als_it() argument141 struct i2c_client *client = cm32181->client; in cm32181_write_als_it()155 mutex_lock(&cm32181->lock); in cm32181_write_als_it()[all …]
14 obj-$(CONFIG_CM32181) += cm32181.o
91 Say Y here if you use cm32181.93 Capella cm32181 device driver.96 the module will be called cm32181.
36 capella,cm32181 CM32181: Ambient Light Sensor