Searched refs:ps_client (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/iio/light/
H A Dcm36651.c134 struct i2c_client *ps_client; member in struct:cm36651_data
149 struct i2c_client *ps_client = cm36651->ps_client; cm36651_setup_reg() local
173 ret = i2c_smbus_write_byte_data(ps_client, cm36651_ps_reg[i], cm36651_setup_reg()
185 ret = i2c_smbus_write_byte_data(cm36651->ps_client, cm36651_setup_reg()
213 *val = i2c_smbus_read_byte(cm36651->ps_client); cm36651_read_output()
218 ret = i2c_smbus_write_byte_data(cm36651->ps_client, cm36651_read_output()
279 struct i2c_client *ps_client = cm36651->ps_client; cm36651_set_operation_mode() local
291 ret = i2c_smbus_write_byte_data(ps_client, CM36651_PS_CONF1, cm36651_set_operation_mode()
302 ret = i2c_smbus_write_byte_data(ps_client, cm36651_set_operation_mode()
318 ret = i2c_smbus_write_byte_data(ps_client, cm36651_set_operation_mode()
397 struct i2c_client *ps_client = cm36651->ps_client; cm36651_write_int_time() local
433 ret = i2c_smbus_write_byte_data(ps_client, cm36651_write_int_time()
520 ret = i2c_smbus_write_byte_data(cm36651->ps_client, CM36651_PS_THD, cm36651_write_prox_thresh()
653 cm36651->ps_client = i2c_new_dummy(client->adapter, cm36651_probe()
655 if (!cm36651->ps_client) { cm36651_probe()
703 i2c_unregister_device(cm36651->ps_client); cm36651_probe()
717 i2c_unregister_device(cm36651->ps_client); cm36651_remove()

Completed in 92 milliseconds