Searched refs:cm3218_write (Results 1 – 1 of 1) sorted by relevance
90 static int cm3218_write(struct i2c_client *client, u8 reg, u16 value) in cm3218_write() function142 status = cm3218_write( in enable_interrupt()161 status = cm3218_write( in disable_interrupt()184 status = cm3218_write(client, CM3218_REG_ADDR_ALS_WH, threshold_high); in set_als_int_threshold()192 status = cm3218_write(client, CM3218_REG_ADDR_ALS_WL, threshold_low); in set_als_int_threshold()231 result = cm3218_write( in sensor_active()252 status = cm3218_write( in sensor_init()261 status = cm3218_write(client, CM3218_REG_ADDR_CMD, CM3218_DEFAULT_CMD); in sensor_init()