Home
last modified time | relevance | path

Searched defs:client (Results 1 – 200 of 927) sorted by relevance

12345

/linux-4.4.14/drivers/firewire/
Dcore-cdev.c59 struct client { struct
60 u32 version;
84 static inline void client_get(struct client *client) in client_get()
91 struct client *client = container_of(kref, struct client, kref); in client_release() local
97 static void client_put(struct client *client) in client_put()
114 struct client *client; member
138 struct client *client; member
181 struct client *client; member
211 struct client *client; member
252 struct client *client; in fw_device_op_open() local
[all …]
Dnosy.c116 struct client { struct
117 struct pcilynx *lynx;
118 u32 tcode_mask;
119 struct packet_buffer buffer;
120 struct list_head link;
149 packet_buffer_get(struct client *client, char __user *data, size_t user_length) in packet_buffer_get()
279 struct client *client; in nosy_open() local
316 struct client *client = file->private_data; in nosy_release() local
333 struct client *client = file->private_data; in nosy_poll() local
350 struct client *client = file->private_data; in nosy_read() local
[all …]
/linux-4.4.14/drivers/misc/
Disl29003.c63 struct i2c_client *client; member
77 static int __isl29003_read_reg(struct i2c_client *client, in __isl29003_read_reg()
84 static int __isl29003_write_reg(struct i2c_client *client, in __isl29003_write_reg()
113 static int isl29003_get_range(struct i2c_client *client) in isl29003_get_range()
119 static int isl29003_set_range(struct i2c_client *client, int range) in isl29003_set_range()
126 static int isl29003_get_resolution(struct i2c_client *client) in isl29003_get_resolution()
132 static int isl29003_set_resolution(struct i2c_client *client, int res) in isl29003_set_resolution()
139 static int isl29003_get_mode(struct i2c_client *client) in isl29003_get_mode()
145 static int isl29003_set_mode(struct i2c_client *client, int mode) in isl29003_set_mode()
152 static int isl29003_set_power_state(struct i2c_client *client, int state) in isl29003_set_power_state()
[all …]
Dad525x_dpot-i2c.c15 static int write_d8(void *client, u8 val) in write_d8()
20 static int write_r8d8(void *client, u8 reg, u8 val) in write_r8d8()
25 static int write_r8d16(void *client, u8 reg, u16 val) in write_r8d16()
30 static int read_d8(void *client) in read_d8()
35 static int read_r8d8(void *client, u8 reg) in read_r8d8()
40 static int read_r8d16(void *client, u8 reg) in read_r8d16()
54 static int ad_dpot_i2c_probe(struct i2c_client *client, in ad_dpot_i2c_probe()
71 static int ad_dpot_i2c_remove(struct i2c_client *client) in ad_dpot_i2c_remove()
Disl29020.c38 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_show() local
52 struct i2c_client *client = to_i2c_client(dev); in als_lux_input_data_show() local
88 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_store() local
122 static void als_set_power_state(struct i2c_client *client, int enable) in als_set_power_state()
153 static int als_set_default_config(struct i2c_client *client) in als_set_default_config()
165 static int isl29020_probe(struct i2c_client *client, in isl29020_probe()
185 static int isl29020_remove(struct i2c_client *client) in isl29020_remove()
202 struct i2c_client *client = to_i2c_client(dev); in isl29020_runtime_suspend() local
209 struct i2c_client *client = to_i2c_client(dev); in isl29020_runtime_resume() local
Dapds9802als.c47 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_show() local
61 struct i2c_client *client = to_i2c_client(dev); in als_wait_for_data_ready() local
81 struct i2c_client *client = to_i2c_client(dev); in als_lux0_input_data_show() local
123 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_store() local
171 static int als_set_power_state(struct i2c_client *client, bool on_off) in als_set_power_state()
205 static int als_set_default_config(struct i2c_client *client) in als_set_default_config()
227 static int apds9802als_probe(struct i2c_client *client, in apds9802als_probe()
257 static int apds9802als_remove(struct i2c_client *client) in apds9802als_remove()
278 struct i2c_client *client = to_i2c_client(dev); in apds9802als_suspend() local
286 struct i2c_client *client = to_i2c_client(dev); in apds9802als_resume() local
Dad525x_dpot-spi.c15 static int write8(void *client, u8 val) in write8()
22 static int write16(void *client, u8 reg, u8 val) in write16()
29 static int write24(void *client, u8 reg, u16 val) in write24()
36 static int read8(void *client) in read8()
48 static int read16(void *client, u8 reg) in read16()
61 static int read24(void *client, u8 reg) in read24()
Dtsl2550.c46 struct i2c_client *client; member
65 static int tsl2550_set_operating_mode(struct i2c_client *client, int mode) in tsl2550_set_operating_mode()
76 static int tsl2550_set_power_state(struct i2c_client *client, int state) in tsl2550_set_power_state()
95 static int tsl2550_get_adc_value(struct i2c_client *client, u8 cmd) in tsl2550_get_adc_value()
201 struct i2c_client *client = to_i2c_client(dev); in tsl2550_store_power_state() local
233 struct i2c_client *client = to_i2c_client(dev); in tsl2550_store_operating_mode() local
257 static ssize_t __tsl2550_show_lux(struct i2c_client *client, char *buf) in __tsl2550_show_lux()
286 struct i2c_client *client = to_i2c_client(dev); in tsl2550_show_lux1_input() local
319 static int tsl2550_init_client(struct i2c_client *client) in tsl2550_init_client()
349 static int tsl2550_probe(struct i2c_client *client, in tsl2550_probe()
[all …]
Dfsa9480.c100 struct i2c_client *client; member
109 static int fsa9480_write_reg(struct i2c_client *client, in fsa9480_write_reg()
122 static int fsa9480_read_reg(struct i2c_client *client, int reg) in fsa9480_read_reg()
134 static int fsa9480_read_irq(struct i2c_client *client, int *value) in fsa9480_read_irq()
151 struct i2c_client *client = usbsw->client; in fsa9480_set_switch() local
185 struct i2c_client *client = usbsw->client; in fsa9480_get_switch() local
209 struct i2c_client *client = usbsw->client; in fsa9480_show_device() local
271 struct i2c_client *client = usbsw->client; in fsa9480_detect_dev() local
356 struct i2c_client *client = usbsw->client; in fsa9480_irq_handler() local
371 struct i2c_client *client = usbsw->client; in fsa9480_irq_init() local
[all …]
Dds1682.c61 struct i2c_client *client = to_i2c_client(dev); in ds1682_show() local
87 struct i2c_client *client = to_i2c_client(dev); in ds1682_store() local
145 struct i2c_client *client = kobj_to_i2c_client(kobj); in ds1682_eeprom_read() local
163 struct i2c_client *client = kobj_to_i2c_client(kobj); in ds1682_eeprom_write() local
189 static int ds1682_probe(struct i2c_client *client, in ds1682_probe()
217 static int ds1682_remove(struct i2c_client *client) in ds1682_remove()
Dbmp085-i2c.c30 static int bmp085_i2c_detect(struct i2c_client *client, in bmp085_i2c_detect()
39 static int bmp085_i2c_probe(struct i2c_client *client, in bmp085_i2c_probe()
55 static int bmp085_i2c_remove(struct i2c_client *client) in bmp085_i2c_remove()
/linux-4.4.14/sound/core/seq/
Dseq_clientmgr.c117 static inline int snd_seq_write_pool_allocated(struct snd_seq_client *client) in snd_seq_write_pool_allocated()
136 struct snd_seq_client *client; in snd_seq_client_use_ptr() local
223 struct snd_seq_client *client; in seq_create_client1() local
266 static int seq_free_client1(struct snd_seq_client *client) in seq_free_client1()
289 static void seq_free_client(struct snd_seq_client * client) in seq_free_client()
320 struct snd_seq_client *client; in snd_seq_open() local
377 struct snd_seq_client *client = file->private_data; in snd_seq_release() local
400 struct snd_seq_client *client = file->private_data; in snd_seq_read() local
529 static int bounce_error_event(struct snd_seq_client *client, in bounce_error_event()
597 static int snd_seq_deliver_single_event(struct snd_seq_client *client, in snd_seq_deliver_single_event()
[all …]
Dseq_system.h30 #define snd_seq_system_client_ev_client_start(client) snd_seq_system_broadcast(client, 0, SNDRV_SEQ… argument
31 #define snd_seq_system_client_ev_client_exit(client) snd_seq_system_broadcast(client, 0, SNDRV_SEQ_… argument
32 #define snd_seq_system_client_ev_client_change(client) snd_seq_system_broadcast(client, 0, SNDRV_SE… argument
33 #define snd_seq_system_client_ev_port_start(client, port) snd_seq_system_broadcast(client, port, SN… argument
34 #define snd_seq_system_client_ev_port_exit(client, port) snd_seq_system_broadcast(client, port, SND… argument
35 #define snd_seq_system_client_ev_port_change(client, port) snd_seq_system_broadcast(client, port, S… argument
Dseq_queue.c82 static struct snd_seq_queue *queue_list_remove(int id, int client) in queue_list_remove()
187 int snd_seq_queue_alloc(int client, int locked, unsigned int info_flags) in snd_seq_queue_alloc()
204 int snd_seq_queue_delete(int client, int queueid) in snd_seq_queue_delete()
367 static inline int check_access(struct snd_seq_queue *q, int client) in check_access()
375 static int queue_access_lock(struct snd_seq_queue *q, int client) in queue_access_lock()
399 int snd_seq_queue_check_access(int queueid, int client) in snd_seq_queue_check_access()
419 int snd_seq_queue_set_owner(int queueid, int client, int locked) in snd_seq_queue_set_owner()
481 int snd_seq_queue_timer_set_tempo(int queueid, int client, in snd_seq_queue_timer_set_tempo()
510 int snd_seq_queue_use(int queueid, int client, int use) in snd_seq_queue_use()
542 int snd_seq_queue_is_used(int queueid, int client) in snd_seq_queue_is_used()
[all …]
Dseq_ports.c59 struct snd_seq_client_port *snd_seq_port_use_ptr(struct snd_seq_client *client, in snd_seq_port_use_ptr()
82 struct snd_seq_client_port *snd_seq_port_query_nearest(struct snd_seq_client *client, in snd_seq_port_query_nearest()
126 struct snd_seq_client_port *snd_seq_create_port(struct snd_seq_client *client, in snd_seq_create_port()
220 static void clear_subscriber_list(struct snd_seq_client *client, in clear_subscriber_list()
258 static int port_delete(struct snd_seq_client *client, in port_delete()
281 int snd_seq_delete_port(struct snd_seq_client *client, int port) in snd_seq_delete_port()
306 int snd_seq_delete_all_ports(struct snd_seq_client *client) in snd_seq_delete_all_ports()
415 static int subscribe_port(struct snd_seq_client *client, in subscribe_port()
440 static int unsubscribe_port(struct snd_seq_client *client, in unsubscribe_port()
483 static int check_and_subscribe_port(struct snd_seq_client *client, in check_and_subscribe_port()
[all …]
/linux-4.4.14/drivers/input/mouse/
Delan_i2c_smbus.c56 static int elan_smbus_initialize(struct i2c_client *client) in elan_smbus_initialize()
88 static int elan_smbus_set_mode(struct i2c_client *client, u8 mode) in elan_smbus_set_mode()
96 static int elan_smbus_sleep_control(struct i2c_client *client, bool sleep) in elan_smbus_sleep_control()
104 static int elan_smbus_power_control(struct i2c_client *client, bool enable) in elan_smbus_power_control()
109 static int elan_smbus_calibrate(struct i2c_client *client) in elan_smbus_calibrate()
117 static int elan_smbus_calibrate_result(struct i2c_client *client, u8 *val) in elan_smbus_calibrate_result()
129 static int elan_smbus_get_baseline_data(struct i2c_client *client, in elan_smbus_get_baseline_data()
148 static int elan_smbus_get_version(struct i2c_client *client, in elan_smbus_get_version()
168 static int elan_smbus_get_sm_version(struct i2c_client *client, in elan_smbus_get_sm_version()
186 static int elan_smbus_get_product_id(struct i2c_client *client, u16 *id) in elan_smbus_get_product_id()
[all …]
Delan_i2c_i2c.c67 static int elan_i2c_read_block(struct i2c_client *client, in elan_i2c_read_block()
93 static int elan_i2c_read_cmd(struct i2c_client *client, u16 reg, u8 *val) in elan_i2c_read_cmd()
106 static int elan_i2c_write_cmd(struct i2c_client *client, u16 reg, u16 cmd) in elan_i2c_write_cmd()
132 static int elan_i2c_initialize(struct i2c_client *client) in elan_i2c_initialize()
171 static int elan_i2c_sleep_control(struct i2c_client *client, bool sleep) in elan_i2c_sleep_control()
177 static int elan_i2c_power_control(struct i2c_client *client, bool enable) in elan_i2c_power_control()
208 static int elan_i2c_set_mode(struct i2c_client *client, u8 mode) in elan_i2c_set_mode()
214 static int elan_i2c_calibrate(struct i2c_client *client) in elan_i2c_calibrate()
219 static int elan_i2c_calibrate_result(struct i2c_client *client, u8 *val) in elan_i2c_calibrate_result()
224 static int elan_i2c_get_baseline_data(struct i2c_client *client, in elan_i2c_get_baseline_data()
[all …]
Delan_i2c_core.c61 struct i2c_client *client; member
204 struct i2c_client *client = data->client; in __elan_initialize() local
354 struct i2c_client *client = data->client; in __elan_update_firmware() local
408 struct i2c_client *client = data->client; in elan_update_firmware() local
441 struct i2c_client *client = to_i2c_client(dev); in elan_sysfs_read_fw_checksum() local
451 struct i2c_client *client = to_i2c_client(dev); in elan_sysfs_read_product_id() local
462 struct i2c_client *client = to_i2c_client(dev); in elan_sysfs_read_fw_ver() local
472 struct i2c_client *client = to_i2c_client(dev); in elan_sysfs_read_sm_ver() local
482 struct i2c_client *client = to_i2c_client(dev); in elan_sysfs_read_iap_ver() local
544 struct i2c_client *client = to_i2c_client(dev); in calibrate_store() local
[all …]
Dsynaptics_i2c.c219 struct i2c_client *client; member
242 static s32 synaptics_i2c_reg_get(struct i2c_client *client, u16 reg) in synaptics_i2c_reg_get()
253 static s32 synaptics_i2c_reg_set(struct i2c_client *client, u16 reg, u8 val) in synaptics_i2c_reg_set()
264 static s32 synaptics_i2c_word_get(struct i2c_client *client, u16 reg) in synaptics_i2c_word_get()
275 static int synaptics_i2c_config(struct i2c_client *client) in synaptics_i2c_config()
305 static int synaptics_i2c_reset_config(struct i2c_client *client) in synaptics_i2c_reset_config()
323 static int synaptics_i2c_check_error(struct i2c_client *client) in synaptics_i2c_check_error()
520 static struct synaptics_i2c *synaptics_i2c_touch_create(struct i2c_client *client) in synaptics_i2c_touch_create()
538 static int synaptics_i2c_probe(struct i2c_client *client, in synaptics_i2c_probe()
604 static int synaptics_i2c_remove(struct i2c_client *client) in synaptics_i2c_remove()
[all …]
/linux-4.4.14/drivers/media/i2c/cx25840/
Dcx25840-audio.c44 static int cx25840_set_audclk_freq(struct i2c_client *client, u32 freq) in cx25840_set_audclk_freq()
294 static inline int cx25836_set_audclk_freq(struct i2c_client *client, u32 freq) in cx25836_set_audclk_freq()
299 static int cx23885_set_audclk_freq(struct i2c_client *client, u32 freq) in cx23885_set_audclk_freq()
341 static int cx231xx_set_audclk_freq(struct i2c_client *client, u32 freq) in cx231xx_set_audclk_freq()
417 static int set_audclk_freq(struct i2c_client *client, u32 freq) in set_audclk_freq()
436 void cx25840_audio_set_path(struct i2c_client *client) in cx25840_audio_set_path()
481 static void set_volume(struct i2c_client *client, int volume) in set_volume()
501 static void set_balance(struct i2c_client *client, int balance) in set_balance()
519 struct i2c_client *client = v4l2_get_subdevdata(sd); in cx25840_s_clock_freq() local
541 struct i2c_client *client = v4l2_get_subdevdata(sd); in cx25840_audio_s_ctrl() local
Dcx25840-core.c88 int cx25840_write(struct i2c_client *client, u16 addr, u8 value) in cx25840_write()
97 int cx25840_write4(struct i2c_client *client, u16 addr, u32 value) in cx25840_write4()
109 u8 cx25840_read(struct i2c_client * client, u16 addr) in cx25840_read()
134 u32 cx25840_read4(struct i2c_client * client, u16 addr) in cx25840_read4()
160 int cx25840_and_or(struct i2c_client *client, u16 addr, unsigned and_mask, in cx25840_and_or()
168 int cx25840_and_or4(struct i2c_client *client, u16 addr, u32 and_mask, in cx25840_and_or4()
186 struct i2c_client *client = v4l2_get_subdevdata(sd); in cx23885_s_io_pin_config() local
335 static void init_dll1(struct i2c_client *client) in init_dll1()
351 static void init_dll2(struct i2c_client *client) in init_dll2()
364 static void cx25836_initialize(struct i2c_client *client) in cx25836_initialize()
[all …]
Dcx25840-firmware.c45 static void start_fw_load(struct i2c_client *client) in start_fw_load()
56 static void end_fw_load(struct i2c_client *client) in end_fw_load()
68 static const char *get_fw_name(struct i2c_client *client) in get_fw_name()
81 static int check_fw_load(struct i2c_client *client, int size) in check_fw_load()
98 static int fw_write(struct i2c_client *client, const u8 *data, int size) in fw_write()
108 int cx25840_loadfw(struct i2c_client *client) in cx25840_loadfw()
/linux-4.4.14/drivers/media/i2c/soc_camera/
Dmt9t112.c56 #define mt9t112_reg_write(ret, client, a, b) \ argument
58 #define mt9t112_mcu_write(ret, client, a, b) \ argument
61 #define mt9t112_reg_mask_set(ret, client, a, b, c) \ argument
63 #define mt9t112_mcu_mask_set(ret, client, a, b, c) \ argument
66 #define mt9t112_reg_read(ret, client, a) \ argument
89 struct i2c_client *client; member
141 static struct mt9t112_priv *to_mt9t112(const struct i2c_client *client) in to_mt9t112()
148 static int __mt9t112_reg_read(const struct i2c_client *client, u16 command) in __mt9t112_reg_read()
179 static int __mt9t112_reg_write(const struct i2c_client *client, in __mt9t112_reg_write()
208 static int __mt9t112_reg_mask_set(const struct i2c_client *client, in __mt9t112_reg_mask_set()
[all …]
Dmt9t031.c86 static struct mt9t031 *to_mt9t031(const struct i2c_client *client) in to_mt9t031()
91 static int reg_read(struct i2c_client *client, const u8 reg) in reg_read()
96 static int reg_write(struct i2c_client *client, const u8 reg, in reg_write()
102 static int reg_set(struct i2c_client *client, const u8 reg, in reg_set()
113 static int reg_clear(struct i2c_client *client, const u8 reg, in reg_clear()
124 static int set_shutter(struct i2c_client *client, const u32 data) in set_shutter()
136 static int get_shutter(struct i2c_client *client, u32 *data) in get_shutter()
150 static int mt9t031_idle(struct i2c_client *client) in mt9t031_idle()
166 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9t031_s_stream() local
201 static int mt9t031_set_params(struct i2c_client *client, in mt9t031_set_params()
[all …]
Dmt9m001.c105 static struct mt9m001 *to_mt9m001(const struct i2c_client *client) in to_mt9m001()
110 static int reg_read(struct i2c_client *client, const u8 reg) in reg_read()
115 static int reg_write(struct i2c_client *client, const u8 reg, in reg_write()
121 static int reg_set(struct i2c_client *client, const u8 reg, in reg_set()
132 static int reg_clear(struct i2c_client *client, const u8 reg, in reg_clear()
143 static int mt9m001_init(struct i2c_client *client) in mt9m001_init()
166 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9m001_s_stream() local
176 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9m001_s_crop() local
230 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9m001_g_crop() local
257 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9m001_get_fmt() local
[all …]
Dov9640.c169 static int ov9640_reg_read(struct i2c_client *client, u8 reg, u8 *val) in ov9640_reg_read()
198 static int ov9640_reg_write(struct i2c_client *client, u8 reg, u8 val) in ov9640_reg_write()
227 static int ov9640_reg_rmw(struct i2c_client *client, u8 reg, u8 set, u8 unset) in ov9640_reg_rmw()
251 static int ov9640_reset(struct i2c_client *client) in ov9640_reset()
273 struct i2c_client *client = v4l2_get_subdevdata(&priv->subdev); in ov9640_s_ctrl() local
294 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov9640_get_register() local
315 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov9640_set_register() local
326 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov9640_s_power() local
378 static int ov9640_write_regs(struct i2c_client *client, u32 width, in ov9640_write_regs()
466 static int ov9640_prog_dflt(struct i2c_client *client) in ov9640_prog_dflt()
[all …]
Dmt9v022.c168 static struct mt9v022 *to_mt9v022(const struct i2c_client *client) in to_mt9v022()
173 static int reg_read(struct i2c_client *client, const u8 reg) in reg_read()
178 static int reg_write(struct i2c_client *client, const u8 reg, in reg_write()
184 static int reg_set(struct i2c_client *client, const u8 reg, in reg_set()
195 static int reg_clear(struct i2c_client *client, const u8 reg, in reg_clear()
206 static int mt9v022_init(struct i2c_client *client) in mt9v022_init()
244 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9v022_s_stream() local
281 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9v022_s_crop() local
355 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9v022_g_crop() local
383 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9v022_get_fmt() local
[all …]
Dov5642.c624 static struct ov5642 *to_ov5642(const struct i2c_client *client) in to_ov5642()
642 static int reg_read(struct i2c_client *client, u16 reg, u8 *val) in reg_read()
664 static int reg_write(struct i2c_client *client, u16 reg, u8 val) in reg_write()
683 static int reg_write16(struct i2c_client *client, u16 reg, u16 val16) in reg_write16()
696 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov5642_get_register() local
714 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov5642_set_register() local
723 static int ov5642_write_array(struct i2c_client *client, in ov5642_write_array()
738 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov5642_set_resolution() local
794 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov5642_set_fmt() local
825 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov5642_get_fmt() local
[all …]
Dmt9m111.c231 static struct mt9m111 *to_mt9m111(const struct i2c_client *client) in to_mt9m111()
236 static int reg_page_map_set(struct i2c_client *client, const u16 reg) in reg_page_map_set()
254 static int mt9m111_reg_read(struct i2c_client *client, const u16 reg) in mt9m111_reg_read()
266 static int mt9m111_reg_write(struct i2c_client *client, const u16 reg, in mt9m111_reg_write()
278 static int mt9m111_reg_set(struct i2c_client *client, const u16 reg, in mt9m111_reg_set()
289 static int mt9m111_reg_clear(struct i2c_client *client, const u16 reg, in mt9m111_reg_clear()
300 static int mt9m111_reg_mask(struct i2c_client *client, const u16 reg, in mt9m111_reg_mask()
314 struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev); in mt9m111_set_context() local
322 struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev); in mt9m111_setup_rect_ctx() local
336 struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev); in mt9m111_setup_geometry() local
[all …]
Drj54n1cb0c.c423 static struct rj54n1 *to_rj54n1(const struct i2c_client *client) in to_rj54n1()
428 static int reg_read(struct i2c_client *client, const u16 reg) in reg_read()
444 static int reg_write(struct i2c_client *client, const u16 reg, in reg_write()
462 static int reg_set(struct i2c_client *client, const u16 reg, in reg_set()
473 static int reg_write_multiple(struct i2c_client *client, in reg_write_multiple()
501 struct i2c_client *client = v4l2_get_subdevdata(sd); in rj54n1_s_stream() local
507 static int rj54n1_set_rect(struct i2c_client *client, in rj54n1_set_rect()
529 static int rj54n1_commit(struct i2c_client *client) in rj54n1_commit()
543 struct i2c_client *client = v4l2_get_subdevdata(sd); in rj54n1_s_crop() local
578 struct i2c_client *client = v4l2_get_subdevdata(sd); in rj54n1_g_crop() local
[all …]
Dov6650.c220 static int ov6650_reg_read(struct i2c_client *client, u8 reg, u8 *val) in ov6650_reg_read()
249 static int ov6650_reg_write(struct i2c_client *client, u8 reg, u8 val) in ov6650_reg_write()
272 static int ov6650_reg_rmw(struct i2c_client *client, u8 reg, u8 set, u8 mask) in ov6650_reg_rmw()
297 static struct ov6650 *to_ov6650(const struct i2c_client *client) in to_ov6650()
313 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov6550_g_volatile_ctrl() local
346 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov6550_s_ctrl() local
398 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov6650_get_register() local
417 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov6650_set_register() local
428 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov6650_s_power() local
437 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov6650_g_crop() local
[all …]
Dtw9910.c331 static struct tw9910_priv *to_tw9910(const struct i2c_client *client) in to_tw9910()
337 static int tw9910_mask_set(struct i2c_client *client, u8 command, in tw9910_mask_set()
350 static int tw9910_set_scale(struct i2c_client *client, in tw9910_set_scale()
372 static int tw9910_set_hsync(struct i2c_client *client) in tw9910_set_hsync()
399 static void tw9910_reset(struct i2c_client *client) in tw9910_reset()
405 static int tw9910_power(struct i2c_client *client, int enable) in tw9910_power()
461 struct i2c_client *client = v4l2_get_subdevdata(sd); in tw9910_s_stream() local
501 struct i2c_client *client = v4l2_get_subdevdata(sd); in tw9910_g_std() local
511 struct i2c_client *client = v4l2_get_subdevdata(sd); in tw9910_s_std() local
552 struct i2c_client *client = v4l2_get_subdevdata(sd); in tw9910_g_register() local
[all …]
Dimx074.c88 static struct imx074 *to_imx074(const struct i2c_client *client) in to_imx074()
105 static int reg_write(struct i2c_client *client, const u16 addr, const u8 data) in reg_write()
128 static int reg_read(struct i2c_client *client, const u16 addr) in reg_read()
162 struct i2c_client *client = v4l2_get_subdevdata(sd); in imx074_set_fmt() local
195 struct i2c_client *client = v4l2_get_subdevdata(sd); in imx074_get_fmt() local
253 struct i2c_client *client = v4l2_get_subdevdata(sd); in imx074_s_stream() local
261 struct i2c_client *client = v4l2_get_subdevdata(sd); in imx074_s_power() local
302 static int imx074_video_probe(struct i2c_client *client) in imx074_video_probe()
419 static int imx074_probe(struct i2c_client *client, in imx074_probe()
470 static int imx074_remove(struct i2c_client *client) in imx074_remove()
/linux-4.4.14/drivers/media/i2c/
Dmsp3400-driver.c114 int msp_reset(struct i2c_client *client) in msp_reset()
159 static int msp_read(struct i2c_client *client, int dev, int addr) in msp_read()
200 int msp_read_dem(struct i2c_client *client, int addr) in msp_read_dem()
205 int msp_read_dsp(struct i2c_client *client, int addr) in msp_read_dsp()
210 static int msp_write(struct i2c_client *client, int dev, int addr, int val) in msp_write()
238 int msp_write_dem(struct i2c_client *client, int addr, int val) in msp_write_dem()
243 int msp_write_dsp(struct i2c_client *client, int addr, int val) in msp_write_dsp()
289 void msp_set_scart(struct i2c_client *client, int in, int out) in msp_set_scart()
315 static void msp_wake_thread(struct i2c_client *client) in msp_wake_thread()
351 struct i2c_client *client = v4l2_get_subdevdata(&state->sd); in msp_s_ctrl() local
[all …]
Dmsp3400-kthreads.c189 static void msp_set_source(struct i2c_client *client, u16 src) in msp_set_source()
207 void msp3400c_set_carrier(struct i2c_client *client, int cdo1, int cdo2) in msp3400c_set_carrier()
216 void msp3400c_set_mode(struct i2c_client *client, int mode) in msp3400c_set_mode()
254 static void msp3400c_set_audmode(struct i2c_client *client) in msp3400c_set_audmode()
386 static void msp3400c_print_mode(struct i2c_client *client) in msp3400c_print_mode()
415 static int msp3400c_detect_stereo(struct i2c_client *client) in msp3400c_detect_stereo()
493 static void watch_stereo(struct i2c_client *client) in watch_stereo()
506 struct i2c_client *client = data; in msp3400c_thread() local
697 struct i2c_client *client = data; in msp3410d_thread() local
865 static int msp34xxg_modus(struct i2c_client *client) in msp34xxg_modus()
[all …]
Dak881x.c38 static int reg_read(struct i2c_client *client, const u8 reg) in reg_read()
43 static int reg_write(struct i2c_client *client, const u8 reg, in reg_write()
49 static int reg_set(struct i2c_client *client, const u8 reg, in reg_set()
58 static struct ak881x *to_ak881x(const struct i2c_client *client) in to_ak881x()
67 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_g_register() local
84 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_s_register() local
101 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_fill_fmt() local
129 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_cropcap() local
146 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_s_std_output() local
177 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_s_stream() local
[all …]
Dadp1653.c54 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in adp1653_update_hw() local
93 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in adp1653_get_fault() local
122 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in adp1653_strobe() local
277 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in adp1653_init_device() local
396 struct i2c_client *client = to_i2c_client(dev); in adp1653_suspend() local
408 struct i2c_client *client = to_i2c_client(dev); in adp1653_resume() local
425 static int adp1653_of_init(struct i2c_client *client, in adp1653_of_init()
482 static int adp1653_probe(struct i2c_client *client, in adp1653_probe()
529 static int adp1653_remove(struct i2c_client *client) in adp1653_remove()
Dtw2804.c118 static int write_reg(struct i2c_client *client, u8 reg, u8 value, u8 channel) in write_reg()
123 static int write_regs(struct i2c_client *client, const u8 *regs, u8 channel) in write_regs()
137 static int read_reg(struct i2c_client *client, u8 reg, u8 channel) in read_reg()
179 struct i2c_client *client = v4l2_get_subdevdata(&state->sd); in tw2804_g_volatile_ctrl() local
204 struct i2c_client *client = v4l2_get_subdevdata(&state->sd); in tw2804_s_ctrl() local
265 struct i2c_client *client = v4l2_get_subdevdata(sd); in tw2804_s_std() local
290 struct i2c_client *client = v4l2_get_subdevdata(sd); in tw2804_s_video_routing() local
358 static int tw2804_probe(struct i2c_client *client, in tw2804_probe()
420 static int tw2804_remove(struct i2c_client *client) in tw2804_remove()
Duda1342.c26 static int write_reg(struct i2c_client *client, int reg, int value) in write_reg()
36 struct i2c_client *client = v4l2_get_subdevdata(sd); in uda1342_s_routing() local
60 static int uda1342_probe(struct i2c_client *client, in uda1342_probe()
87 static int uda1342_remove(struct i2c_client *client) in uda1342_remove()
Dml86v7667.c105 static int ml86v7667_mask_set(struct i2c_client *client, const u8 reg, in ml86v7667_mask_set()
119 struct i2c_client *client = v4l2_get_subdevdata(sd); in ml86v7667_s_ctrl() local
165 struct i2c_client *client = v4l2_get_subdevdata(sd); in ml86v7667_querystd() local
182 struct i2c_client *client = v4l2_get_subdevdata(sd); in ml86v7667_g_input_status() local
248 struct i2c_client *client = v4l2_get_subdevdata(&priv->sd); in ml86v7667_s_std() local
267 struct i2c_client *client = v4l2_get_subdevdata(sd); in ml86v7667_g_register() local
283 struct i2c_client *client = v4l2_get_subdevdata(sd); in ml86v7667_s_register() local
322 struct i2c_client *client = v4l2_get_subdevdata(&priv->sd); in ml86v7667_init() local
364 static int ml86v7667_probe(struct i2c_client *client, in ml86v7667_probe()
420 static int ml86v7667_remove(struct i2c_client *client) in ml86v7667_remove()
Dov2659.c228 struct i2c_client *client; member
838 static int ov2659_write(struct i2c_client *client, u16 reg, u8 val) in ov2659_write()
864 static int ov2659_read(struct i2c_client *client, u16 reg, u8 *val) in ov2659_read()
895 static int ov2659_write_array(struct i2c_client *client, in ov2659_write_array()
910 struct i2c_client *client = ov2659->client; in ov2659_pll_calc_params() local
950 struct i2c_client *client = ov2659->client; in ov2659_set_pixel_clock() local
974 struct i2c_client *client = ov2659->client; in ov2659_set_streaming() local
988 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov2659_init() local
1001 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov2659_enum_mbus_code() local
1017 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov2659_enum_frame_sizes() local
[all …]
Dov7640.c38 static int write_regs(struct i2c_client *client, const u8 *regs) in write_regs()
52 static int ov7640_probe(struct i2c_client *client, in ov7640_probe()
80 static int ov7640_remove(struct i2c_client *client) in ov7640_remove()
Das3645a.c141 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in as3645a_write() local
155 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in as3645a_read() local
290 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in as3645a_read_fault() local
328 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in as3645a_get_ctrl() local
375 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in as3645a_set_ctrl() local
482 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in as3645a_setup() local
564 struct i2c_client *client = v4l2_get_subdevdata(sd); in as3645a_registered() local
670 struct i2c_client *client = to_i2c_client(dev); in as3645a_suspend() local
687 struct i2c_client *client = to_i2c_client(dev); in as3645a_resume() local
807 static int as3645a_probe(struct i2c_client *client, in as3645a_probe()
[all …]
Dtea6415c.c52 struct i2c_client *client = v4l2_get_subdevdata(sd); in tea6415c_s_routing() local
131 static int tea6415c_probe(struct i2c_client *client, in tea6415c_probe()
149 static int tea6415c_remove(struct i2c_client *client) in tea6415c_remove()
Dsaa7185.c63 struct i2c_client *client = v4l2_get_subdevdata(sd); in saa7185_read() local
70 struct i2c_client *client = v4l2_get_subdevdata(sd); in saa7185_write() local
81 struct i2c_client *client = v4l2_get_subdevdata(sd); in saa7185_write_block() local
306 static int saa7185_probe(struct i2c_client *client, in saa7185_probe()
338 static int saa7185_remove(struct i2c_client *client) in saa7185_remove()
Dmt9p031.c154 static int mt9p031_read(struct i2c_client *client, u8 reg) in mt9p031_read()
159 static int mt9p031_write(struct i2c_client *client, u8 reg, u16 data) in mt9p031_write()
167 struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev); in mt9p031_set_output_control() local
181 struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev); in mt9p031_set_mode2() local
195 struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev); in mt9p031_reset() local
233 struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev); in mt9p031_clk_setup() local
269 struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev); in mt9p031_pll_enable() local
298 struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev); in mt9p031_pll_disable() local
358 struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev); in __mt9p031_set_power() local
385 struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev); in mt9p031_set_params() local
[all …]
Dtda9840.c61 struct i2c_client *client = v4l2_get_subdevdata(sd); in tda9840_write() local
70 struct i2c_client *client = v4l2_get_subdevdata(sd); in tda9840_status() local
160 static int tda9840_probe(struct i2c_client *client, in tda9840_probe()
186 static int tda9840_remove(struct i2c_client *client) in tda9840_remove()
Dtea6420.c53 struct i2c_client *client = v4l2_get_subdevdata(sd); in tea6420_s_routing() local
102 static int tea6420_probe(struct i2c_client *client, in tea6420_probe()
131 static int tea6420_remove(struct i2c_client *client) in tea6420_remove()
/linux-4.4.14/drivers/media/common/siano/
Dsmsdvb-main.c75 static void sms_board_dvb3_event(struct smsdvb_client_t *client, in sms_board_dvb3_event()
129 struct smsdvb_client_t *client = in smsdvb_stats_not_ready() local
223 static void smsdvb_update_tx_params(struct smsdvb_client_t *client, in smsdvb_update_tx_params()
240 static void smsdvb_update_per_slices(struct smsdvb_client_t *client, in smsdvb_update_per_slices()
280 static void smsdvb_update_dvb_stats(struct smsdvb_client_t *client, in smsdvb_update_dvb_stats()
332 static void smsdvb_update_isdbt_stats(struct smsdvb_client_t *client, in smsdvb_update_isdbt_stats()
428 static void smsdvb_update_isdbt_stats_ex(struct smsdvb_client_t *client, in smsdvb_update_isdbt_stats_ex()
518 struct smsdvb_client_t *client = (struct smsdvb_client_t *) context; in smsdvb_onresponse() local
612 static void smsdvb_media_device_unregister(struct smsdvb_client_t *client) in smsdvb_media_device_unregister()
625 static void smsdvb_unregister_client(struct smsdvb_client_t *client) in smsdvb_unregister_client()
[all …]
/linux-4.4.14/drivers/media/tuners/
De4000.c25 struct i2c_client *client = dev->client; in e4000_init() local
93 struct i2c_client *client = dev->client; in e4000_sleep() local
112 struct i2c_client *client = dev->client; in e4000_set_params() local
299 struct i2c_client *client = dev->client; in e4000_s_power() local
321 struct i2c_client *client = dev->client; in e4000_g_tuner() local
336 struct i2c_client *client = dev->client; in e4000_s_tuner() local
345 struct i2c_client *client = dev->client; in e4000_g_frequency() local
356 struct i2c_client *client = dev->client; in e4000_s_frequency() local
370 struct i2c_client *client = dev->client; in e4000_enum_freq_bands() local
400 struct i2c_client *client = dev->client; in e4000_set_lna_gain() local
[all …]
Dfc2580.c43 struct i2c_client *client = dev->client; in fc2580_set_params() local
290 struct i2c_client *client = dev->client; in fc2580_init() local
311 struct i2c_client *client = dev->client; in fc2580_sleep() local
392 struct i2c_client *client = dev->client; in fc2580_s_power() local
414 struct i2c_client *client = dev->client; in fc2580_g_tuner() local
429 struct i2c_client *client = dev->client; in fc2580_s_tuner() local
438 struct i2c_client *client = dev->client; in fc2580_g_frequency() local
449 struct i2c_client *client = dev->client; in fc2580_s_frequency() local
463 struct i2c_client *client = dev->client; in fc2580_enum_freq_bands() local
493 struct i2c_client *client = dev->client; in fc2580_s_ctrl() local
[all …]
Dsi2157.c22 static int si2157_cmd_execute(struct i2c_client *client, struct si2157_cmd *cmd) in si2157_cmd_execute()
80 struct i2c_client *client = fe->tuner_priv; in si2157_init() local
227 struct i2c_client *client = fe->tuner_priv; in si2157_sleep() local
255 struct i2c_client *client = fe->tuner_priv; in si2157_set_params() local
357 struct i2c_client *client = fe->tuner_priv; in si2157_get_if_frequency() local
381 struct i2c_client *client = fe->tuner_priv; in si2157_stat_work() local
405 static int si2157_probe(struct i2c_client *client, in si2157_probe()
454 static int si2157_remove(struct i2c_client *client) in si2157_remove()
Dtua9001.c22 struct i2c_client *client = dev->client; in tua9001_init() local
66 struct i2c_client *client = dev->client; in tua9001_sleep() local
87 struct i2c_client *client = dev->client; in tua9001_set_params() local
157 struct i2c_client *client = dev->client; in tua9001_get_if_frequency() local
179 static int tua9001_probe(struct i2c_client *client, in tua9001_probe()
239 static int tua9001_remove(struct i2c_client *client) in tua9001_remove()
/linux-4.4.14/drivers/media/dvb-frontends/
Drtl2832.c157 static int rtl2832_bulk_write(struct i2c_client *client, unsigned int reg, in rtl2832_bulk_write()
169 static int rtl2832_update_bits(struct i2c_client *client, unsigned int reg, in rtl2832_update_bits()
181 static int rtl2832_bulk_read(struct i2c_client *client, unsigned int reg, in rtl2832_bulk_read()
195 struct i2c_client *client = dev->client; in rtl2832_rd_demod_reg() local
225 struct i2c_client *client = dev->client; in rtl2832_wr_demod_reg() local
264 struct i2c_client *client = dev->client; in rtl2832_set_if() local
298 struct i2c_client *client = dev->client; in rtl2832_init() local
420 struct i2c_client *client = dev->client; in rtl2832_sleep() local
444 struct i2c_client *client = dev->client; in rtl2832_get_tune_settings() local
456 struct i2c_client *client = dev->client; in rtl2832_set_frontend() local
[all …]
Drtl2830.c21 static int rtl2830_bulk_write(struct i2c_client *client, unsigned int reg, in rtl2830_bulk_write()
33 static int rtl2830_update_bits(struct i2c_client *client, unsigned int reg, in rtl2830_update_bits()
45 static int rtl2830_bulk_read(struct i2c_client *client, unsigned int reg, in rtl2830_bulk_read()
59 struct i2c_client *client = fe->demodulator_priv; in rtl2830_init() local
151 struct i2c_client *client = fe->demodulator_priv; in rtl2830_sleep() local
174 struct i2c_client *client = fe->demodulator_priv; in rtl2830_set_frontend() local
284 struct i2c_client *client = fe->demodulator_priv; in rtl2830_get_frontend() local
397 struct i2c_client *client = fe->demodulator_priv; in rtl2830_read_status() local
442 struct i2c_client *client = fe->demodulator_priv; in rtl2830_read_ber() local
509 struct i2c_client *client = dev->client; in rtl2830_stat_work() local
[all …]
Dsi2168.c22 static int si2168_i2c_master_send_unlocked(const struct i2c_client *client, in si2168_i2c_master_send_unlocked()
37 static int si2168_i2c_master_recv_unlocked(const struct i2c_client *client, in si2168_i2c_master_recv_unlocked()
53 static int si2168_cmd_execute_unlocked(struct i2c_client *client, in si2168_cmd_execute_unlocked()
112 static int si2168_cmd_execute(struct i2c_client *client, struct si2168_cmd *cmd) in si2168_cmd_execute()
125 struct i2c_client *client = fe->demodulator_priv; in si2168_read_status() local
195 struct i2c_client *client = fe->demodulator_priv; in si2168_set_frontend() local
396 struct i2c_client *client = fe->demodulator_priv; in si2168_init() local
583 struct i2c_client *client = fe->demodulator_priv; in si2168_sleep() local
620 struct i2c_client *client = mux_priv; in si2168_select() local
640 struct i2c_client *client = mux_priv; in si2168_deselect() local
[all …]
Dm88ds3103.c46 struct i2c_client *client = dev->client; in m88ds3103_wr_reg_val_tab() local
96 struct i2c_client *client = dev->client; in m88ds3103_read_status() local
303 struct i2c_client *client = dev->client; in m88ds3103_set_frontend() local
636 struct i2c_client *client = dev->client; in m88ds3103_init() local
759 struct i2c_client *client = dev->client; in m88ds3103_sleep() local
797 struct i2c_client *client = dev->client; in m88ds3103_get_frontend() local
989 struct i2c_client *client = dev->client; in m88ds3103_set_tone() local
1035 struct i2c_client *client = dev->client; in m88ds3103_set_voltage() local
1085 struct i2c_client *client = dev->client; in m88ds3103_diseqc_send_master_cmd() local
1163 struct i2c_client *client = dev->client; in m88ds3103_diseqc_send_burst() local
[all …]
Dtda10071.c55 struct i2c_client *client = dev->client; in tda10071_cmd_execute() local
105 struct i2c_client *client = dev->client; in tda10071_set_tone() local
150 struct i2c_client *client = dev->client; in tda10071_set_voltage() local
196 struct i2c_client *client = dev->client; in tda10071_diseqc_send_master_cmd() local
256 struct i2c_client *client = dev->client; in tda10071_diseqc_recv_slave_reply() local
316 struct i2c_client *client = dev->client; in tda10071_diseqc_send_burst() local
379 struct i2c_client *client = dev->client; in tda10071_read_status() local
562 struct i2c_client *client = dev->client; in tda10071_set_frontend() local
707 struct i2c_client *client = dev->client; in tda10071_get_frontend() local
765 struct i2c_client *client = dev->client; in tda10071_init() local
[all …]
Da8293.c20 struct i2c_client *client; member
28 struct i2c_client *client = dev->client; in a8293_set_voltage() local
74 static int a8293_probe(struct i2c_client *client, in a8293_probe()
110 static int a8293_remove(struct i2c_client *client) in a8293_remove()
/linux-4.4.14/drivers/media/platform/s5p-tv/
Dsii9234_drv.c34 struct i2c_client *client; member
45 static inline int sii9234_readb(struct i2c_client *client, int addr) in sii9234_readb()
50 static inline int sii9234_writeb(struct i2c_client *client, int addr, int value) in sii9234_writeb()
55 static inline int sii9234_writeb_mask(struct i2c_client *client, int addr, in sii9234_writeb_mask()
67 static inline int sii9234_readb_idx(struct i2c_client *client, int addr) in sii9234_readb_idx()
79 static inline int sii9234_writeb_idx(struct i2c_client *client, int addr, in sii9234_writeb_idx()
93 static inline int sii9234_writeb_idx_mask(struct i2c_client *client, int addr, in sii9234_writeb_idx_mask()
107 struct i2c_client *client = ctx->client; in sii9234_reset() local
142 static int sii9234_verify_version(struct i2c_client *client) in sii9234_verify_version()
218 struct i2c_client *client = ctx->client; in sii9234_set_internal() local
[all …]
/linux-4.4.14/drivers/input/misc/
Dadxl34x-i2c.c20 struct i2c_client *client = to_i2c_client(dev); in adxl34x_smbus_read() local
28 struct i2c_client *client = to_i2c_client(dev); in adxl34x_smbus_write() local
37 struct i2c_client *client = to_i2c_client(dev); in adxl34x_smbus_read_block() local
46 struct i2c_client *client = to_i2c_client(dev); in adxl34x_i2c_read_block() local
77 static int adxl34x_i2c_probe(struct i2c_client *client, in adxl34x_i2c_probe()
102 static int adxl34x_i2c_remove(struct i2c_client *client) in adxl34x_i2c_remove()
111 struct i2c_client *client = to_i2c_client(dev); in adxl34x_i2c_suspend() local
121 struct i2c_client *client = to_i2c_client(dev); in adxl34x_i2c_resume() local
Dcma3000_d0x_i2c.c28 struct i2c_client *client = to_i2c_client(dev); in cma3000_i2c_set() local
40 struct i2c_client *client = to_i2c_client(dev); in cma3000_i2c_read() local
58 static int cma3000_i2c_probe(struct i2c_client *client, in cma3000_i2c_probe()
72 static int cma3000_i2c_remove(struct i2c_client *client) in cma3000_i2c_remove()
84 struct i2c_client *client = to_i2c_client(dev); in cma3000_i2c_suspend() local
94 struct i2c_client *client = to_i2c_client(dev); in cma3000_i2c_resume() local
Dmpu3050.c111 struct i2c_client *client; member
124 static int mpu3050_xyz_read_reg(struct i2c_client *client, in mpu3050_xyz_read_reg()
157 static void mpu3050_read_xyz(struct i2c_client *client, in mpu3050_read_xyz()
177 static void mpu3050_set_power_mode(struct i2c_client *client, u8 val) in mpu3050_set_power_mode()
261 struct i2c_client *client = sensor->client; in mpu3050_hw_init() local
308 static int mpu3050_probe(struct i2c_client *client, in mpu3050_probe()
405 static int mpu3050_remove(struct i2c_client *client) in mpu3050_remove()
428 struct i2c_client *client = to_i2c_client(dev); in mpu3050_suspend() local
443 struct i2c_client *client = to_i2c_client(dev); in mpu3050_resume() local
Dpcf8574_keypad.c41 struct i2c_client *client; member
84 static int pcf8574_kp_probe(struct i2c_client *client, const struct i2c_device_id *id) in pcf8574_kp_probe()
161 static int pcf8574_kp_remove(struct i2c_client *client) in pcf8574_kp_remove()
176 struct i2c_client *client = to_i2c_client(dev); in pcf8574_kp_resume() local
185 struct i2c_client *client = to_i2c_client(dev); in pcf8574_kp_suspend() local
Dad714x-i2c.c31 struct i2c_client *client = to_i2c_client(chip->dev); in ad714x_i2c_write() local
50 struct i2c_client *client = to_i2c_client(chip->dev); in ad714x_i2c_read() local
73 static int ad714x_i2c_probe(struct i2c_client *client, in ad714x_i2c_probe()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/
Dclient.c34 struct nvkm_client *client; member
47 struct nvkm_client *client = notify->client; in nvkm_client_notify() local
52 nvkm_client_notify_put(struct nvkm_client *client, int index) in nvkm_client_notify_put()
64 nvkm_client_notify_get(struct nvkm_client *client, int index) in nvkm_client_notify_get()
76 nvkm_client_notify_del(struct nvkm_client *client, int index) in nvkm_client_notify_del()
93 struct nvkm_client *client = object->client; in nvkm_client_notify_new() local
209 nvkm_client_remove(struct nvkm_client *client, struct nvkm_object *object) in nvkm_client_remove()
216 nvkm_client_insert(struct nvkm_client *client, struct nvkm_object *object) in nvkm_client_insert()
240 nvkm_client_search(struct nvkm_client *client, u64 handle) in nvkm_client_search()
258 nvkm_client_fini(struct nvkm_client *client, bool suspend) in nvkm_client_fini()
[all …]
/linux-4.4.14/drivers/power/
Dmax17040_battery.c41 struct i2c_client *client; member
81 static int max17040_write_reg(struct i2c_client *client, int reg, u8 value) in max17040_write_reg()
93 static int max17040_read_reg(struct i2c_client *client, int reg) in max17040_read_reg()
105 static void max17040_reset(struct i2c_client *client) in max17040_reset()
111 static void max17040_get_vcell(struct i2c_client *client) in max17040_get_vcell()
123 static void max17040_get_soc(struct i2c_client *client) in max17040_get_soc()
135 static void max17040_get_version(struct i2c_client *client) in max17040_get_version()
146 static void max17040_get_online(struct i2c_client *client) in max17040_get_online()
156 static void max17040_get_status(struct i2c_client *client) in max17040_get_status()
209 static int max17040_probe(struct i2c_client *client, in max17040_probe()
[all …]
Dsbs-battery.c159 struct i2c_client *client; member
176 static int sbs_read_word_data(struct i2c_client *client, u8 address) in sbs_read_word_data()
202 static int sbs_read_string_data(struct i2c_client *client, u8 address, in sbs_read_string_data()
270 static int sbs_write_word_data(struct i2c_client *client, u8 address, in sbs_write_word_data()
299 struct i2c_client *client, enum power_supply_property psp, in sbs_get_battery_presence_and_health()
362 static int sbs_get_battery_property(struct i2c_client *client, in sbs_get_battery_property()
409 static int sbs_get_battery_string_property(struct i2c_client *client, in sbs_get_battery_string_property()
422 static void sbs_unit_adjustment(struct i2c_client *client, in sbs_unit_adjustment()
470 static enum sbs_battery_mode sbs_set_battery_mode(struct i2c_client *client, in sbs_set_battery_mode()
494 static int sbs_get_battery_capacity(struct i2c_client *client, in sbs_get_battery_capacity()
[all …]
Drt5033_battery.c18 static int rt5033_battery_get_capacity(struct i2c_client *client) in rt5033_battery_get_capacity()
28 static int rt5033_battery_get_present(struct i2c_client *client) in rt5033_battery_get_present()
38 static int rt5033_battery_get_watt_prop(struct i2c_client *client, in rt5033_battery_get_watt_prop()
118 static int rt5033_battery_probe(struct i2c_client *client, in rt5033_battery_probe()
155 static int rt5033_battery_remove(struct i2c_client *client) in rt5033_battery_remove()
Dbq24735-charger.c49 struct i2c_client *client; member
62 static inline int bq24735_write_word(struct i2c_client *client, u8 reg, in bq24735_write_word()
68 static inline int bq24735_read_word(struct i2c_client *client, u8 reg) in bq24735_read_word()
75 static int bq24735_update_word(struct i2c_client *client, u8 reg, in bq24735_update_word()
209 static struct bq24735_platform *bq24735_parse_dt_data(struct i2c_client *client) in bq24735_parse_dt_data()
245 static int bq24735_charger_probe(struct i2c_client *client, in bq24735_charger_probe()
Dz2_battery.c26 struct i2c_client *client; member
185 static int z2_batt_probe(struct i2c_client *client, in z2_batt_probe()
262 static int z2_batt_remove(struct i2c_client *client) in z2_batt_remove()
284 struct i2c_client *client = to_i2c_client(dev); in z2_batt_suspend() local
293 struct i2c_client *client = to_i2c_client(dev); in z2_batt_resume() local
/linux-4.4.14/net/ceph/
Ddebugfs.c36 struct ceph_client *client = s->private; in monmap_show() local
56 struct ceph_client *client = s->private; in osdmap_show() local
111 struct ceph_client *client = s->private; in monc_show() local
143 struct ceph_client *client = s->private; in osdc_show() local
183 struct ceph_client *client = s->private; in client_options_show() local
213 int ceph_debugfs_client_init(struct ceph_client *client) in ceph_debugfs_client_init()
275 void ceph_debugfs_client_cleanup(struct ceph_client *client) in ceph_debugfs_client_cleanup()
297 int ceph_debugfs_client_init(struct ceph_client *client) in ceph_debugfs_client_init()
302 void ceph_debugfs_client_cleanup(struct ceph_client *client) in ceph_debugfs_client_cleanup()
Dceph_common.c98 int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid) in ceph_check_fsid()
125 struct ceph_client *client) in ceph_compare_options()
526 int ceph_print_client_options(struct seq_file *m, struct ceph_client *client) in ceph_print_client_options()
570 u64 ceph_client_id(struct ceph_client *client) in ceph_client_id()
583 struct ceph_client *client; in ceph_create_client() local
632 void ceph_destroy_client(struct ceph_client *client) in ceph_destroy_client()
655 static int have_mon_and_osd_map(struct ceph_client *client) in have_mon_and_osd_map()
664 int __ceph_open_session(struct ceph_client *client, unsigned long started) in __ceph_open_session()
694 int ceph_open_session(struct ceph_client *client) in ceph_open_session()
/linux-4.4.14/drivers/rtc/
Drtc-isl1208.c66 isl1208_i2c_read_regs(struct i2c_client *client, u8 reg, u8 buf[], in isl1208_i2c_read_regs()
96 isl1208_i2c_set_regs(struct i2c_client *client, u8 reg, u8 const buf[], in isl1208_i2c_set_regs()
123 isl1208_i2c_validate_client(struct i2c_client *client) in isl1208_i2c_validate_client()
145 isl1208_i2c_get_sr(struct i2c_client *client) in isl1208_i2c_get_sr()
151 isl1208_i2c_get_atr(struct i2c_client *client) in isl1208_i2c_get_atr()
176 isl1208_i2c_get_dtr(struct i2c_client *client) in isl1208_i2c_get_dtr()
189 isl1208_i2c_get_usr(struct i2c_client *client) in isl1208_i2c_get_usr()
203 isl1208_i2c_set_usr(struct i2c_client *client, u16 usr) in isl1208_i2c_set_usr()
215 isl1208_rtc_toggle_alarm(struct i2c_client *client, int enable) in isl1208_rtc_toggle_alarm()
241 struct i2c_client *const client = to_i2c_client(dev); in isl1208_rtc_proc() local
[all …]
Drtc-ds3232.c53 struct i2c_client *client; member
68 static int ds3232_check_rtc_status(struct i2c_client *client) in ds3232_check_rtc_status()
105 struct i2c_client *client = to_i2c_client(dev); in ds3232_read_time() local
162 struct i2c_client *client = to_i2c_client(dev); in ds3232_set_time() local
193 struct i2c_client *client = to_i2c_client(dev); in ds3232_read_alarm() local
239 struct i2c_client *client = to_i2c_client(dev); in ds3232_set_alarm() local
286 static void ds3232_update_alarm(struct i2c_client *client) in ds3232_update_alarm()
330 struct i2c_client *client = to_i2c_client(dev); in ds3232_alarm_irq_enable() local
347 struct i2c_client *client = dev_id; in ds3232_irq() local
366 struct i2c_client *client = ds3232->client; in ds3232_work() local
[all …]
Drtc-hym8563.c87 struct i2c_client *client; member
101 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_read_time() local
126 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_set_time() local
174 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_alarm_irq_enable() local
191 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_read_alarm() local
231 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_set_alarm() local
309 struct i2c_client *client = hym8563->client; in hym8563_clkout_recalc_rate() local
335 struct i2c_client *client = hym8563->client; in hym8563_clkout_set_rate() local
356 struct i2c_client *client = hym8563->client; in hym8563_clkout_control() local
383 struct i2c_client *client = hym8563->client; in hym8563_clkout_is_prepared() local
[all …]
Drtc-pcf8523.c42 static int pcf8523_read(struct i2c_client *client, u8 reg, u8 *valuep) in pcf8523_read()
67 static int pcf8523_write(struct i2c_client *client, u8 reg, u8 value) in pcf8523_write()
85 static int pcf8523_select_capacitance(struct i2c_client *client, bool high) in pcf8523_select_capacitance()
106 static int pcf8523_set_pm(struct i2c_client *client, u8 pm) in pcf8523_set_pm()
124 static int pcf8523_stop_rtc(struct i2c_client *client) in pcf8523_stop_rtc()
142 static int pcf8523_start_rtc(struct i2c_client *client) in pcf8523_start_rtc()
162 struct i2c_client *client = to_i2c_client(dev); in pcf8523_rtc_read_time() local
217 struct i2c_client *client = to_i2c_client(dev); in pcf8523_rtc_set_time() local
258 struct i2c_client *client = to_i2c_client(dev); in pcf8523_rtc_ioctl() local
289 static int pcf8523_probe(struct i2c_client *client, in pcf8523_probe()
Drtc-rx8025.c73 struct i2c_client *client; member
78 static s32 rx8025_read_reg(const struct i2c_client *client, u8 number) in rx8025_read_reg()
83 static int rx8025_read_regs(const struct i2c_client *client, in rx8025_read_regs()
94 static s32 rx8025_write_reg(const struct i2c_client *client, u8 number, in rx8025_write_reg()
100 static s32 rx8025_write_regs(const struct i2c_client *client, in rx8025_write_regs()
132 static int rx8025_reset_validity(struct i2c_client *client) in rx8025_reset_validity()
147 struct i2c_client *client = dev_id; in rx8025_handle_irq() local
254 static int rx8025_init_client(struct i2c_client *client) in rx8025_init_client()
291 struct i2c_client *client = rx8025->client; in rx8025_read_alarm() local
335 struct i2c_client *client = to_i2c_client(dev); in rx8025_set_alarm() local
[all …]
Drtc-pcf8583.c52 static int pcf8583_get_datetime(struct i2c_client *client, struct rtc_time *dt) in pcf8583_get_datetime()
90 static int pcf8583_set_datetime(struct i2c_client *client, struct rtc_time *dt, int datetoo) in pcf8583_set_datetime()
118 static int pcf8583_get_ctrl(struct i2c_client *client, unsigned char *ctrl) in pcf8583_get_ctrl()
124 static int pcf8583_set_ctrl(struct i2c_client *client, unsigned char *ctrl) in pcf8583_set_ctrl()
135 static int pcf8583_read_mem(struct i2c_client *client, struct rtc_mem *mem) in pcf8583_read_mem()
160 static int pcf8583_write_mem(struct i2c_client *client, struct rtc_mem *mem) in pcf8583_write_mem()
177 struct i2c_client *client = to_i2c_client(dev); in pcf8583_rtc_read_time() local
227 struct i2c_client *client = to_i2c_client(dev); in pcf8583_rtc_set_time() local
281 static int pcf8583_probe(struct i2c_client *client, in pcf8583_probe()
Drtc-pcf8563.c86 struct i2c_client *client; member
92 static int pcf8563_read_block_data(struct i2c_client *client, unsigned char reg, in pcf8563_read_block_data()
117 static int pcf8563_write_block_data(struct i2c_client *client, in pcf8563_write_block_data()
138 static int pcf8563_set_alarm_mode(struct i2c_client *client, bool on) in pcf8563_set_alarm_mode()
163 static int pcf8563_get_alarm_mode(struct i2c_client *client, unsigned char *en, in pcf8563_get_alarm_mode()
204 static int pcf8563_get_datetime(struct i2c_client *client, struct rtc_time *tm) in pcf8563_get_datetime()
252 static int pcf8563_set_datetime(struct i2c_client *client, struct rtc_time *tm) in pcf8563_set_datetime()
334 struct i2c_client *client = to_i2c_client(dev); in pcf8563_rtc_read_alarm() local
369 struct i2c_client *client = to_i2c_client(dev); in pcf8563_rtc_set_alarm() local
422 struct i2c_client *client = pcf8563->client; in pcf8563_clkout_recalc_rate() local
[all …]
Drtc-ds1374.c71 struct i2c_client *client; member
85 static int ds1374_read_rtc(struct i2c_client *client, u32 *time, in ds1374_read_rtc()
110 static int ds1374_write_rtc(struct i2c_client *client, u32 time, in ds1374_write_rtc()
129 static int ds1374_check_rtc_status(struct i2c_client *client) in ds1374_check_rtc_status()
163 struct i2c_client *client = to_i2c_client(dev); in ds1374_read_time() local
176 struct i2c_client *client = to_i2c_client(dev); in ds1374_set_time() local
190 struct i2c_client *client = to_i2c_client(dev); in ds1374_read_alarm() local
228 struct i2c_client *client = to_i2c_client(dev); in ds1374_set_alarm() local
289 struct i2c_client *client = dev_id; in ds1374_irq() local
300 struct i2c_client *client = ds1374->client; in ds1374_work() local
[all …]
Drtc-rv3029c2.c88 rv3029c2_i2c_read_regs(struct i2c_client *client, u8 reg, u8 *buf, in rv3029c2_i2c_read_regs()
106 rv3029c2_i2c_write_regs(struct i2c_client *client, u8 reg, u8 const buf[], in rv3029c2_i2c_write_regs()
117 rv3029c2_i2c_get_sr(struct i2c_client *client, u8 *buf) in rv3029c2_i2c_get_sr()
128 rv3029c2_i2c_set_sr(struct i2c_client *client, u8 val) in rv3029c2_i2c_set_sr()
142 rv3029c2_i2c_read_time(struct i2c_client *client, struct rtc_time *tm) in rv3029c2_i2c_read_time()
191 rv3029c2_i2c_read_alarm(struct i2c_client *client, struct rtc_wkalrm *alarm) in rv3029c2_i2c_read_alarm()
229 static int rv3029c2_rtc_i2c_alarm_set_irq(struct i2c_client *client, in rv3029c2_rtc_i2c_alarm_set_irq()
255 static int rv3029c2_rtc_i2c_set_alarm(struct i2c_client *client, in rv3029c2_rtc_i2c_set_alarm()
329 rv3029c2_i2c_set_time(struct i2c_client *client, struct rtc_time const *tm) in rv3029c2_i2c_set_time()
388 static int rv3029c2_probe(struct i2c_client *client, in rv3029c2_probe()
Drtc-ds1307.c115 struct i2c_client *client; member
190 static s32 ds1307_read_block_data_once(const struct i2c_client *client, in ds1307_read_block_data_once()
204 static s32 ds1307_read_block_data(const struct i2c_client *client, u8 command, in ds1307_read_block_data()
230 static s32 ds1307_write_block_data(const struct i2c_client *client, u8 command, in ds1307_write_block_data()
266 static s32 ds1307_native_smbus_write_block_data(const struct i2c_client *client, in ds1307_native_smbus_write_block_data()
288 static s32 ds1307_native_smbus_read_block_data(const struct i2c_client *client, in ds1307_native_smbus_read_block_data()
319 struct i2c_client *client = dev_id; in ds1307_irq() local
448 struct i2c_client *client = to_i2c_client(dev); in ds1337_read_alarm() local
500 struct i2c_client *client = to_i2c_client(dev); in ds1337_set_alarm() local
563 struct i2c_client *client = to_i2c_client(dev); in ds1307_alarm_irq_enable() local
[all …]
Drtc-max6900.c55 static int max6900_i2c_read_regs(struct i2c_client *client, u8 *buf) in max6900_i2c_read_regs()
95 static int max6900_i2c_write_regs(struct i2c_client *client, u8 const *buf) in max6900_i2c_write_regs()
144 static int max6900_i2c_read_time(struct i2c_client *client, struct rtc_time *tm) in max6900_i2c_read_time()
165 static int max6900_i2c_clear_write_protect(struct i2c_client *client) in max6900_i2c_clear_write_protect()
171 max6900_i2c_set_time(struct i2c_client *client, struct rtc_time const *tm) in max6900_i2c_set_time()
214 max6900_probe(struct i2c_client *client, const struct i2c_device_id *id) in max6900_probe()
Drtc-ds1672.c33 static int ds1672_get_datetime(struct i2c_client *client, struct rtc_time *tm) in ds1672_get_datetime()
75 static int ds1672_set_mmss(struct i2c_client *client, unsigned long secs) in ds1672_set_mmss()
106 static int ds1672_get_control(struct i2c_client *client, u8 *status) in ds1672_get_control()
137 struct i2c_client *client = to_i2c_client(dev); in show_control() local
156 static int ds1672_probe(struct i2c_client *client, in ds1672_probe()
Drtc-rv8803.c53 struct i2c_client *client; member
61 struct i2c_client *client = dev_id; in rv8803_handle_irq() local
195 struct i2c_client *client = rv8803->client; in rv8803_get_alarm() local
224 struct i2c_client *client = to_i2c_client(dev); in rv8803_set_alarm() local
289 struct i2c_client *client = to_i2c_client(dev); in rv8803_alarm_irq_enable() local
333 struct i2c_client *client = to_i2c_client(dev); in rv8803_ioctl() local
383 struct i2c_client *client = to_i2c_client(dev); in rv8803_nvram_write() local
398 struct i2c_client *client = to_i2c_client(dev); in rv8803_nvram_read() local
426 static int rv8803_probe(struct i2c_client *client, in rv8803_probe()
496 static int rv8803_remove(struct i2c_client *client) in rv8803_remove()
Drtc-s35390a.c57 struct i2c_client *client[8]; member
64 struct i2c_client *client = s35390a->client[reg]; in s35390a_set_reg() local
81 struct i2c_client *client = s35390a->client[reg]; in s35390a_get_reg() local
151 static int s35390a_set_datetime(struct i2c_client *client, struct rtc_time *tm) in s35390a_set_datetime()
179 static int s35390a_get_datetime(struct i2c_client *client, struct rtc_time *tm) in s35390a_get_datetime()
209 static int s35390a_set_alarm(struct i2c_client *client, struct rtc_wkalrm *alm) in s35390a_set_alarm()
262 static int s35390a_read_alarm(struct i2c_client *client, struct rtc_wkalrm *alm) in s35390a_read_alarm()
327 static int s35390a_probe(struct i2c_client *client, in s35390a_probe()
409 static int s35390a_remove(struct i2c_client *client) in s35390a_remove()
Drtc-isl12022.c55 static int isl12022_read_regs(struct i2c_client *client, uint8_t reg, in isl12022_read_regs()
87 static int isl12022_write_reg(struct i2c_client *client, in isl12022_write_reg()
109 static int isl12022_get_datetime(struct i2c_client *client, struct rtc_time *tm) in isl12022_get_datetime()
157 static int isl12022_set_datetime(struct i2c_client *client, struct rtc_time *tm) in isl12022_set_datetime()
248 static int isl12022_probe(struct i2c_client *client, in isl12022_probe()
Drtc-x1205.c93 static int x1205_get_datetime(struct i2c_client *client, struct rtc_time *tm, in x1205_get_datetime()
150 static int x1205_get_status(struct i2c_client *client, unsigned char *sr) in x1205_get_status()
177 static int x1205_set_datetime(struct i2c_client *client, struct rtc_time *tm, in x1205_set_datetime()
284 static int x1205_fix_osc(struct i2c_client *client) in x1205_fix_osc()
298 static int x1205_get_dtrim(struct i2c_client *client, int *trim) in x1205_get_dtrim()
339 static int x1205_get_atrim(struct i2c_client *client, int *trim) in x1205_get_atrim()
385 static int x1205_validate_client(struct i2c_client *client) in x1205_validate_client()
503 struct i2c_client *client = to_i2c_client(dev); in x1205_rtc_read_alarm() local
622 static int x1205_probe(struct i2c_client *client, in x1205_probe()
668 static int x1205_remove(struct i2c_client *client) in x1205_remove()
Drtc-rx8581.c56 struct i2c_client *client; member
66 static int rx8581_read_block_data(const struct i2c_client *client, u8 command, in rx8581_read_block_data()
80 static int rx8581_write_block_data(const struct i2c_client *client, u8 command, in rx8581_write_block_data()
98 static int rx8581_get_datetime(struct i2c_client *client, struct rtc_time *tm) in rx8581_get_datetime()
176 static int rx8581_set_datetime(struct i2c_client *client, struct rtc_time *tm) in rx8581_set_datetime()
269 static int rx8581_probe(struct i2c_client *client, in rx8581_probe()
Drtc-rs5c372.c95 struct i2c_client *client; member
107 struct i2c_client *client = rs5c->client; in rs5c_get_regs() local
183 static int rs5c372_get_datetime(struct i2c_client *client, struct rtc_time *tm) in rs5c372_get_datetime()
214 static int rs5c372_set_datetime(struct i2c_client *client, struct rtc_time *tm) in rs5c372_set_datetime()
252 static int rs5c372_get_trim(struct i2c_client *client, int *osc, int *trim) in rs5c372_get_trim()
294 struct i2c_client *client = to_i2c_client(dev); in rs5c_rtc_alarm_irq_enable() local
335 struct i2c_client *client = to_i2c_client(dev); in rs5c_read_alarm() local
363 struct i2c_client *client = to_i2c_client(dev); in rs5c_set_alarm() local
557 static int rs5c372_probe(struct i2c_client *client, in rs5c372_probe()
676 static int rs5c372_remove(struct i2c_client *client) in rs5c372_remove()
/linux-4.4.14/drivers/input/keyboard/
Dqt1070.c62 struct i2c_client *client; member
69 static int qt1070_read(struct i2c_client *client, u8 reg) in qt1070_read()
81 static int qt1070_write(struct i2c_client *client, u8 reg, u8 data) in qt1070_write()
93 static bool qt1070_identify(struct i2c_client *client) in qt1070_identify()
119 struct i2c_client *client = data->client; in qt1070_interrupt() local
142 static int qt1070_probe(struct i2c_client *client, in qt1070_probe()
232 static int qt1070_remove(struct i2c_client *client) in qt1070_remove()
248 struct i2c_client *client = to_i2c_client(dev); in qt1070_suspend() local
259 struct i2c_client *client = to_i2c_client(dev); in qt1070_resume() local
Dmax7359_keypad.c64 struct i2c_client *client; member
67 static int max7359_write_reg(struct i2c_client *client, u8 reg, u8 val) in max7359_write_reg()
77 static int max7359_read_reg(struct i2c_client *client, int reg) in max7359_read_reg()
116 static inline void max7359_fall_deepsleep(struct i2c_client *client) in max7359_fall_deepsleep()
125 static inline void max7359_take_catnap(struct i2c_client *client) in max7359_take_catnap()
146 static void max7359_initialize(struct i2c_client *client) in max7359_initialize()
161 static int max7359_probe(struct i2c_client *client, in max7359_probe()
253 struct i2c_client *client = to_i2c_client(dev); in max7359_suspend() local
265 struct i2c_client *client = to_i2c_client(dev); in max7359_resume() local
Dmcs_touchkey.c50 struct i2c_client *client; member
62 struct i2c_client *client = data->client; in mcs_touchkey_interrupt() local
99 static int mcs_touchkey_probe(struct i2c_client *client, in mcs_touchkey_probe()
202 static int mcs_touchkey_remove(struct i2c_client *client) in mcs_touchkey_remove()
215 static void mcs_touchkey_shutdown(struct i2c_client *client) in mcs_touchkey_shutdown()
227 struct i2c_client *client = data->client; in mcs_touchkey_suspend() local
242 struct i2c_client *client = data->client; in mcs_touchkey_resume() local
Dqt2160.c69 struct i2c_client *client; member
90 struct i2c_client *client = qt2160->client; in qt2160_led_work() local
130 static int qt2160_read_block(struct i2c_client *client, in qt2160_read_block()
183 struct i2c_client *client = qt2160->client; in qt2160_get_key_matrix() local
255 static int qt2160_read(struct i2c_client *client, u8 reg) in qt2160_read()
276 static int qt2160_write(struct i2c_client *client, u8 reg, u8 data) in qt2160_write()
292 struct i2c_client *client = qt2160->client; in qt2160_register_leds() local
346 static bool qt2160_identify(struct i2c_client *client) in qt2160_identify()
377 static int qt2160_probe(struct i2c_client *client, in qt2160_probe()
472 static int qt2160_remove(struct i2c_client *client) in qt2160_remove()
Dmpr121_touchkey.c60 struct i2c_client *client; member
88 struct i2c_client *client = mpr121->client; in mpr_touchkey_interrupt() local
127 struct i2c_client *client) in mpr121_phys_init()
187 static int mpr_touchkey_probe(struct i2c_client *client, in mpr_touchkey_probe()
272 struct i2c_client *client = to_i2c_client(dev); in mpr_suspend() local
284 struct i2c_client *client = to_i2c_client(dev); in mpr_resume() local
Dadp5588-keys.c41 struct i2c_client *client; member
58 static int adp5588_read(struct i2c_client *client, u8 reg) in adp5588_read()
68 static int adp5588_write(struct i2c_client *client, u8 reg, u8 val) in adp5588_write()
296 struct i2c_client *client = kpad->client; in adp5588_work() local
329 static int adp5588_setup(struct i2c_client *client) in adp5588_setup()
431 static int adp5588_probe(struct i2c_client *client, in adp5588_probe()
601 static int adp5588_remove(struct i2c_client *client) in adp5588_remove()
619 struct i2c_client *client = kpad->client; in adp5588_suspend() local
633 struct i2c_client *client = kpad->client; in adp5588_resume() local
/linux-4.4.14/drivers/gpu/vga/
Dvga_switcheroo.c170 struct vga_switcheroo_client *client; in vga_switcheroo_enable() local
239 struct vga_switcheroo_client *client; in register_client() local
310 struct vga_switcheroo_client *client; in find_client_from_pci() local
322 struct vga_switcheroo_client *client; in find_client_from_id() local
333 struct vga_switcheroo_client *client; in find_active_client() local
352 struct vga_switcheroo_client *client; in vga_switcheroo_get_client_state() local
374 struct vga_switcheroo_client *client; in vga_switcheroo_unregister_client() local
404 struct vga_switcheroo_client *client; in vga_switcheroo_client_fb_set() local
452 struct vga_switcheroo_client *client; in vga_switcheroo_show() local
476 static int vga_switchon(struct vga_switcheroo_client *client) in vga_switchon()
[all …]
/linux-4.4.14/net/atm/
Dmpoa_caches.c35 struct mpoa_client *client) in in_cache_get()
55 struct mpoa_client *client, in in_cache_get_with_mask()
77 struct mpoa_client *client) in in_cache_get_by_vcc()
97 struct mpoa_client *client) in in_cache_add_entry()
191 struct mpoa_client *client) in in_cache_remove_entry()
226 static void clear_count_and_expired(struct mpoa_client *client) in clear_count_and_expired()
250 static void check_resolving_entries(struct mpoa_client *client) in check_resolving_entries()
300 static void refresh_entries(struct mpoa_client *client) in refresh_entries()
428 struct mpoa_client *client) in eg_cache_remove_entry()
459 struct mpoa_client *client) in eg_cache_add_entry()
[all …]
/linux-4.4.14/drivers/nfc/nxp-nci/
Di2c.c82 struct i2c_client *client = phy->i2c_dev; in nxp_nci_i2c_write() local
117 struct i2c_client *client = phy->i2c_dev; in nxp_nci_i2c_fw_read() local
163 struct i2c_client *client = phy->i2c_dev; in nxp_nci_i2c_nci_read() local
204 struct i2c_client *client; in nxp_nci_i2c_irq_thread_fn() local
269 static int nxp_nci_i2c_parse_devtree(struct i2c_client *client) in nxp_nci_i2c_parse_devtree()
309 static int nxp_nci_i2c_parse_devtree(struct i2c_client *client) in nxp_nci_i2c_parse_devtree()
318 struct i2c_client *client = phy->i2c_dev; in nxp_nci_i2c_acpi_config() local
343 static int nxp_nci_i2c_probe(struct i2c_client *client, in nxp_nci_i2c_probe()
416 static int nxp_nci_i2c_remove(struct i2c_client *client) in nxp_nci_i2c_remove()
/linux-4.4.14/drivers/input/touchscreen/
Dmigor_ts.c37 struct i2c_client *client; member
105 struct i2c_client *client = priv->client; in migor_ts_open() local
122 struct i2c_client *client = priv->client; in migor_ts_close() local
132 static int migor_ts_probe(struct i2c_client *client, in migor_ts_probe()
192 static int migor_ts_remove(struct i2c_client *client) in migor_ts_remove()
207 struct i2c_client *client = to_i2c_client(dev); in migor_ts_suspend() local
218 struct i2c_client *client = to_i2c_client(dev); in migor_ts_resume() local
Dad7879-i2c.c24 struct i2c_client *client = to_i2c_client(dev); in ad7879_i2c_read() local
32 struct i2c_client *client = to_i2c_client(dev); in ad7879_i2c_multi_read() local
45 struct i2c_client *client = to_i2c_client(dev); in ad7879_i2c_write() local
57 static int ad7879_i2c_probe(struct i2c_client *client, in ad7879_i2c_probe()
78 static int ad7879_i2c_remove(struct i2c_client *client) in ad7879_i2c_remove()
Dzforce_ts.c115 struct i2c_client *client; member
145 struct i2c_client *client = ts->client; in zforce_command() local
178 struct i2c_client *client = ts->client; in zforce_send_wait() local
216 struct i2c_client *client = ts->client; in zforce_command_wait() local
237 struct i2c_client *client = ts->client; in zforce_resolution() local
250 struct i2c_client *client = ts->client; in zforce_scan_frequency() local
265 struct i2c_client *client = ts->client; in zforce_setconfig() local
276 struct i2c_client *client = ts->client; in zforce_start() local
329 struct i2c_client *client = ts->client; in zforce_stop() local
347 struct i2c_client *client = ts->client; in zforce_touch_event() local
[all …]
Dar1021_i2c.c22 struct i2c_client *client; member
60 struct i2c_client *client = ar1021->client; in ar1021_i2c_open() local
70 struct i2c_client *client = ar1021->client; in ar1021_i2c_close() local
75 static int ar1021_i2c_probe(struct i2c_client *client, in ar1021_i2c_probe()
136 struct i2c_client *client = to_i2c_client(dev); in ar1021_i2c_suspend() local
145 struct i2c_client *client = to_i2c_client(dev); in ar1021_i2c_resume() local
Dwacom_i2c.c39 struct i2c_client *client; member
46 static int wacom_query_device(struct i2c_client *client, in wacom_query_device()
138 struct i2c_client *client = wac_i2c->client; in wacom_i2c_open() local
148 struct i2c_client *client = wac_i2c->client; in wacom_i2c_close() local
153 static int wacom_i2c_probe(struct i2c_client *client, in wacom_i2c_probe()
234 static int wacom_i2c_remove(struct i2c_client *client) in wacom_i2c_remove()
247 struct i2c_client *client = to_i2c_client(dev); in wacom_i2c_suspend() local
256 struct i2c_client *client = to_i2c_client(dev); in wacom_i2c_resume() local
Degalax_ts.c63 struct i2c_client *client; member
71 struct i2c_client *client = ts->client; in egalax_ts_interrupt() local
123 static int egalax_wake_up_device(struct i2c_client *client) in egalax_wake_up_device()
155 static int egalax_firmware_version(struct i2c_client *client) in egalax_firmware_version()
167 static int egalax_ts_probe(struct i2c_client *client, in egalax_ts_probe()
247 struct i2c_client *client = to_i2c_client(dev); in egalax_ts_suspend() local
256 struct i2c_client *client = to_i2c_client(dev); in egalax_ts_resume() local
Delants_i2c.c123 struct i2c_client *client; member
156 static int elants_i2c_send(struct i2c_client *client, in elants_i2c_send()
174 static int elants_i2c_read(struct i2c_client *client, void *data, size_t size) in elants_i2c_read()
190 static int elants_i2c_execute_command(struct i2c_client *client, in elants_i2c_execute_command()
236 struct i2c_client *client = ts->client; in elants_i2c_calibrate() local
275 static int elants_i2c_sw_reset(struct i2c_client *client) in elants_i2c_sw_reset()
303 struct i2c_client *client = ts->client; in elants_i2c_query_fw_id() local
329 struct i2c_client *client = ts->client; in elants_i2c_query_fw_version() local
356 struct i2c_client *client = ts->client; in elants_i2c_query_test_version() local
385 struct i2c_client *client = ts->client; in elants_i2c_query_bc_version() local
[all …]
Dcy8ctmg110_ts.c59 struct i2c_client *client; member
77 struct i2c_client *client = tsc->client; in cy8ctmg110_write_regs() local
98 struct i2c_client *client = tsc->client; in cy8ctmg110_read_regs() local
178 static int cy8ctmg110_probe(struct i2c_client *client, in cy8ctmg110_probe()
296 struct i2c_client *client = to_i2c_client(dev); in cy8ctmg110_suspend() local
310 struct i2c_client *client = to_i2c_client(dev); in cy8ctmg110_resume() local
324 static int cy8ctmg110_remove(struct i2c_client *client) in cy8ctmg110_remove()
Dwdt87xx_i2c.c179 struct i2c_client *client; member
187 static int wdt87xx_i2c_xfer(struct i2c_client *client, in wdt87xx_i2c_xfer()
219 static int wdt87xx_get_desc(struct i2c_client *client, u8 desc_idx, in wdt87xx_get_desc()
245 static int wdt87xx_get_string(struct i2c_client *client, u8 str_idx, in wdt87xx_get_string()
277 static int wdt87xx_get_feature(struct i2c_client *client, in wdt87xx_get_feature()
317 static int wdt87xx_set_feature(struct i2c_client *client, in wdt87xx_set_feature()
357 static int wdt87xx_send_command(struct i2c_client *client, int cmd, int value) in wdt87xx_send_command()
397 static int wdt87xx_sw_reset(struct i2c_client *client) in wdt87xx_sw_reset()
434 static int wdt87xx_get_sysparam(struct i2c_client *client, in wdt87xx_get_sysparam()
563 static int wdt87xx_write_data(struct i2c_client *client, const char *data, in wdt87xx_write_data()
[all …]
Dmax11801_ts.c83 struct i2c_client *client; member
87 static u8 read_register(struct i2c_client *client, int addr) in read_register()
93 static int max11801_write_reg(struct i2c_client *client, int addr, int data) in max11801_write_reg()
102 struct i2c_client *client = data->client; in max11801_ts_interrupt() local
160 struct i2c_client *client = data->client; in max11801_ts_phy_init() local
176 static int max11801_ts_probe(struct i2c_client *client, in max11801_ts_probe()
Dst1232.c51 struct i2c_client *client; member
61 struct i2c_client *client = ts->client; in st1232_ts_read_data() local
154 static int st1232_ts_probe(struct i2c_client *client, in st1232_ts_probe()
236 static int st1232_ts_remove(struct i2c_client *client) in st1232_ts_remove()
248 struct i2c_client *client = to_i2c_client(dev); in st1232_ts_suspend() local
263 struct i2c_client *client = to_i2c_client(dev); in st1232_ts_resume() local
Dili210x.c45 struct i2c_client *client; member
52 static int ili210x_read_reg(struct i2c_client *client, u8 reg, void *buf, in ili210x_read_reg()
120 struct i2c_client *client = priv->client; in ili210x_work() local
152 struct i2c_client *client = to_i2c_client(dev); in ili210x_calibrate() local
183 static int ili210x_i2c_probe(struct i2c_client *client, in ili210x_i2c_probe()
301 static int ili210x_i2c_remove(struct i2c_client *client) in ili210x_i2c_remove()
316 struct i2c_client *client = to_i2c_client(dev); in ili210x_i2c_suspend() local
326 struct i2c_client *client = to_i2c_client(dev); in ili210x_i2c_resume() local
Dauo-pixcir-ts.c114 struct i2c_client *client; member
137 struct i2c_client *client = ts->client; in auo_pixcir_collect_data() local
268 struct i2c_client *client = ts->client; in auo_pixcir_power_mode() local
294 struct i2c_client *client = ts->client; in auo_pixcir_int_config() local
325 struct i2c_client *client = ts->client; in auo_pixcir_int_toggle() local
353 struct i2c_client *client = ts->client; in auo_pixcir_start() local
380 struct i2c_client *client = ts->client; in auo_pixcir_stop() local
417 struct i2c_client *client = to_i2c_client(dev); in auo_pixcir_suspend() local
449 struct i2c_client *client = to_i2c_client(dev); in auo_pixcir_resume() local
536 static int auo_pixcir_probe(struct i2c_client *client, in auo_pixcir_probe()
Dmms114.c54 struct i2c_client *client; member
77 struct i2c_client *client = data->client; in __mms114_read_reg() local
123 struct i2c_client *client = data->client; in mms114_write_reg() local
147 struct i2c_client *client = data->client; in mms114_process_mt() local
313 struct i2c_client *client = data->client; in mms114_start() local
348 struct i2c_client *client = data->client; in mms114_stop() local
423 static int mms114_probe(struct i2c_client *client, in mms114_probe()
520 struct i2c_client *client = to_i2c_client(dev); in mms114_suspend() local
544 struct i2c_client *client = to_i2c_client(dev); in mms114_resume() local
/linux-4.4.14/drivers/hid/i2c-hid/
Di2c-hid.c130 struct i2c_client *client; /* i2c client */ member
156 static int __i2c_hid_command(struct i2c_client *client, in __i2c_hid_command()
228 static int i2c_hid_command(struct i2c_client *client, in i2c_hid_command()
236 static int i2c_hid_get_report(struct i2c_client *client, u8 reportType, in i2c_hid_get_report()
275 static int i2c_hid_set_or_send_report(struct i2c_client *client, u8 reportType, in i2c_hid_set_or_send_report()
341 static int i2c_hid_set_power(struct i2c_client *client, int power_state) in i2c_hid_set_power()
356 static int i2c_hid_hwreset(struct i2c_client *client) in i2c_hid_hwreset()
443 struct i2c_client *client = hid->driver_data; in i2c_hid_init_report() local
475 struct i2c_client *client = hid->driver_data; in i2c_hid_init_reports() local
558 struct i2c_client *client = hid->driver_data; in i2c_hid_get_raw_report() local
[all …]
/linux-4.4.14/drivers/i2c/
Di2c-core.c231 static int acpi_gsb_i2c_read_bytes(struct i2c_client *client, in acpi_gsb_i2c_read_bytes()
263 static int acpi_gsb_i2c_write_bytes(struct i2c_client *client, in acpi_gsb_i2c_write_bytes()
301 struct i2c_client *client; in acpi_i2c_space_handler() local
492 const struct i2c_client *client) in i2c_match_id()
504 struct i2c_client *client = i2c_verify_client(dev); in i2c_device_match() local
530 struct i2c_client *client = to_i2c_client(dev); in i2c_device_uevent() local
675 struct i2c_client *client = i2c_verify_client(dev); in i2c_device_probe() local
752 struct i2c_client *client = i2c_verify_client(dev); in i2c_device_remove() local
775 struct i2c_client *client = i2c_verify_client(dev); in i2c_device_shutdown() local
801 struct i2c_client *client = to_i2c_client(dev); in show_modalias() local
[all …]
Di2c-dev.c142 struct i2c_client *client = file->private_data; in i2cdev_read() local
166 struct i2c_client *client = file->private_data; in i2cdev_write() local
185 struct i2c_client *client = i2c_verify_client(dev); in i2cdev_check() local
238 static noinline int i2cdev_ioctl_rdwr(struct i2c_client *client, in i2cdev_ioctl_rdwr()
328 static noinline int i2cdev_ioctl_smbus(struct i2c_client *client, in i2cdev_ioctl_smbus()
415 struct i2c_client *client = file->private_data; in i2cdev_ioctl() local
484 struct i2c_client *client; in i2cdev_open() local
518 struct i2c_client *client = file->private_data; in i2cdev_release() local
/linux-4.4.14/drivers/gpu/drm/nouveau/nvif/
Dclient.c30 nvif_client_ioctl(struct nvif_client *client, void *data, u32 size) in nvif_client_ioctl()
36 nvif_client_suspend(struct nvif_client *client) in nvif_client_suspend()
42 nvif_client_resume(struct nvif_client *client) in nvif_client_resume()
48 nvif_client_fini(struct nvif_client *client) in nvif_client_fini()
72 const char *cfg, const char *dbg, struct nvif_client *client) in nvif_client_init()
/linux-4.4.14/drivers/iio/accel/
Dmma9551_core.c116 static int mma9551_transfer(struct i2c_client *client, in mma9551_transfer()
224 int mma9551_read_config_byte(struct i2c_client *client, u8 app_id, in mma9551_read_config_byte()
249 int mma9551_write_config_byte(struct i2c_client *client, u8 app_id, in mma9551_write_config_byte()
274 int mma9551_read_status_byte(struct i2c_client *client, u8 app_id, in mma9551_read_status_byte()
299 int mma9551_read_config_word(struct i2c_client *client, u8 app_id, in mma9551_read_config_word()
330 int mma9551_write_config_word(struct i2c_client *client, u8 app_id, in mma9551_write_config_word()
357 int mma9551_read_status_word(struct i2c_client *client, u8 app_id, in mma9551_read_status_word()
387 int mma9551_read_config_words(struct i2c_client *client, u8 app_id, in mma9551_read_config_words()
426 int mma9551_read_status_words(struct i2c_client *client, u8 app_id, in mma9551_read_status_words()
465 int mma9551_write_config_words(struct i2c_client *client, u8 app_id, in mma9551_write_config_words()
[all …]
Dstk8312.c103 struct i2c_client *client; member
131 struct i2c_client *client = data->client; in stk8312_otp_init() local
174 struct i2c_client *client = data->client; in stk8312_set_mode() local
199 struct i2c_client *client = data->client; in stk8312_set_interrupts() local
249 struct i2c_client *client = data->client; in stk8312_set_sample_rate() local
286 struct i2c_client *client = data->client; in stk8312_set_range() local
324 struct i2c_client *client = data->client; in stk8312_read_accel() local
506 static int stk8312_probe(struct i2c_client *client, in stk8312_probe()
607 static int stk8312_remove(struct i2c_client *client) in stk8312_remove()
/linux-4.4.14/drivers/gpu/drm/i2c/
Dch7006_drv.c55 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in ch7006_encoder_dpms() local
72 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in ch7006_encoder_save() local
82 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in ch7006_encoder_restore() local
117 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in ch7006_encoder_mode_set() local
180 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in ch7006_encoder_detect() local
284 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in ch7006_encoder_set_property() local
392 static int ch7006_probe(struct i2c_client *client, const struct i2c_device_id *id) in ch7006_probe()
423 static int ch7006_remove(struct i2c_client *client) in ch7006_remove()
432 struct i2c_client *client = to_i2c_client(dev); in ch7006_resume() local
441 static int ch7006_encoder_init(struct i2c_client *client, in ch7006_encoder_init()
Dsil164_drv.c45 #define sil164_dbg(client, format, ...) do { \ argument
50 #define sil164_info(client, format, ...) \ argument
52 #define sil164_err(client, format, ...) \ argument
105 sil164_write(struct i2c_client *client, uint8_t addr, uint8_t val) in sil164_write()
117 sil164_read(struct i2c_client *client, uint8_t addr) in sil164_read()
139 sil164_save_state(struct i2c_client *client, uint8_t *state) in sil164_save_state()
148 sil164_restore_state(struct i2c_client *client, uint8_t *state) in sil164_restore_state()
157 sil164_set_power_state(struct i2c_client *client, bool on) in sil164_set_power_state()
170 sil164_init_state(struct i2c_client *client, in sil164_init_state()
301 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in sil164_encoder_detect() local
[all …]
Dch7006_mode.c202 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in ch7006_setup_levels() local
233 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in ch7006_setup_subcarrier() local
257 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in ch7006_setup_pll() local
328 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in ch7006_setup_properties() local
369 void ch7006_write(struct i2c_client *client, uint8_t addr, uint8_t val) in ch7006_write()
380 uint8_t ch7006_read(struct i2c_client *client, uint8_t addr) in ch7006_read()
401 void ch7006_state_load(struct i2c_client *client, in ch7006_state_load()
435 void ch7006_state_save(struct i2c_client *client, in ch7006_state_save()
/linux-4.4.14/drivers/gpu/host1x/
Dbus.c35 struct host1x_client *client; member
95 struct host1x_client *client) in host1x_subdev_register()
125 struct host1x_client *client = subdev->client; in __host1x_subdev_unregister() local
168 struct host1x_client *client; in host1x_device_init() local
194 struct host1x_client *client; in host1x_device_exit() local
219 struct host1x_client *client) in host1x_add_client()
241 struct host1x_client *client) in host1x_del_client()
319 struct host1x_client *client, *cl; in __host1x_device_del() local
375 struct host1x_client *client, *tmp; in host1x_device_add() local
547 int host1x_client_register(struct host1x_client *client) in host1x_client_register()
[all …]
/linux-4.4.14/drivers/nfc/st-nci/
Di2c.c95 struct i2c_client *client = phy->i2c_dev; in st_nci_i2c_write() local
130 struct i2c_client *client = phy->i2c_dev; in st_nci_i2c_read() local
178 struct i2c_client *client; in st_nci_irq_thread_fn() local
214 static int st_nci_i2c_of_request_resources(struct i2c_client *client) in st_nci_i2c_of_request_resources()
252 static int st_nci_i2c_of_request_resources(struct i2c_client *client) in st_nci_i2c_of_request_resources()
258 static int st_nci_i2c_request_resources(struct i2c_client *client) in st_nci_i2c_request_resources()
287 static int st_nci_i2c_probe(struct i2c_client *client, in st_nci_i2c_probe()
350 static int st_nci_i2c_remove(struct i2c_client *client) in st_nci_i2c_remove()
/linux-4.4.14/drivers/regulator/
Dad5398.c22 struct i2c_client *client; member
39 static int ad5398_read_reg(struct i2c_client *client, unsigned short *data) in ad5398_read_reg()
54 static int ad5398_write_reg(struct i2c_client *client, const unsigned short data) in ad5398_write_reg()
70 struct i2c_client *client = chip->client; in ad5398_get_current_limit() local
86 struct i2c_client *client = chip->client; in ad5398_set_current_limit() local
126 struct i2c_client *client = chip->client; in ad5398_is_enabled() local
143 struct i2c_client *client = chip->client; in ad5398_enable() local
164 struct i2c_client *client = chip->client; in ad5398_disable() local
214 static int ad5398_probe(struct i2c_client *client, in ad5398_probe()
/linux-4.4.14/drivers/hwmon/
Dadt7411.c54 struct i2c_client *client; member
63 static int adt7411_read_10_bit(struct i2c_client *client, u8 lsb_reg, in adt7411_read_10_bit()
87 static int adt7411_modify_bit(struct i2c_client *client, u8 reg, u8 bit, in adt7411_modify_bit()
115 struct i2c_client *client = data->client; in adt7411_show_vdd() local
126 struct i2c_client *client = data->client; in adt7411_show_temp() local
143 struct i2c_client *client = data->client; in adt7411_show_input() local
186 struct i2c_client *client = data->client; in adt7411_show_bit() local
198 struct i2c_client *client = data->client; in adt7411_set_bit() local
253 static int adt7411_detect(struct i2c_client *client, in adt7411_detect()
282 static int adt7411_probe(struct i2c_client *client, in adt7411_probe()
Dads1015.c73 static int ads1015_read_adc(struct i2c_client *client, unsigned int channel) in ads1015_read_adc()
123 static int ads1015_reg_to_mv(struct i2c_client *client, unsigned int channel, in ads1015_reg_to_mv()
139 struct i2c_client *client = to_i2c_client(dev); in show_in() local
165 static int ads1015_remove(struct i2c_client *client) in ads1015_remove()
177 static int ads1015_get_channels_config_of(struct i2c_client *client) in ads1015_get_channels_config_of()
234 static void ads1015_get_channels_config(struct i2c_client *client) in ads1015_get_channels_config()
260 static int ads1015_probe(struct i2c_client *client, in ads1015_probe()
Dlm77.c65 struct i2c_client *client; member
95 static u16 lm77_read_value(struct i2c_client *client, u8 reg) in lm77_read_value()
103 static int lm77_write_value(struct i2c_client *client, u8 reg, u16 value) in lm77_write_value()
114 struct i2c_client *client = data->client; in lm77_update_device() local
168 struct i2c_client *client = data->client; in set_temp() local
194 struct i2c_client *client = data->client; in set_temp_hyst() local
252 static int lm77_detect(struct i2c_client *client, struct i2c_board_info *info) in lm77_detect()
322 static void lm77_init_client(struct i2c_client *client) in lm77_init_client()
330 static int lm77_probe(struct i2c_client *client, const struct i2c_device_id *id) in lm77_probe()
Demc6w201.c59 struct i2c_client *client; member
74 static u16 emc6w201_read16(struct i2c_client *client, u8 reg) in emc6w201_read16()
93 static int emc6w201_write16(struct i2c_client *client, u8 reg, u16 val) in emc6w201_write16()
108 static u8 emc6w201_read8(struct i2c_client *client, u8 reg) in emc6w201_read8()
123 static int emc6w201_write8(struct i2c_client *client, u8 reg, u8 val) in emc6w201_write8()
138 struct i2c_client *client = data->client; in emc6w201_update_device() local
207 struct i2c_client *client = data->client; in set_in() local
244 struct i2c_client *client = data->client; in set_temp() local
287 struct i2c_client *client = data->client; in set_fan() local
450 static int emc6w201_detect(struct i2c_client *client, in emc6w201_detect()
[all …]
Df75375s.c154 static inline int f75375_read8(struct i2c_client *client, u8 reg) in f75375_read8()
160 static inline u16 f75375_read16(struct i2c_client *client, u8 reg) in f75375_read16()
166 static inline void f75375_write8(struct i2c_client *client, u8 reg, in f75375_write8()
172 static inline void f75375_write16(struct i2c_client *client, u8 reg, in f75375_write16()
181 static void f75375_write_pwm(struct i2c_client *client, int nr) in f75375_write_pwm()
193 struct i2c_client *client = to_i2c_client(dev); in f75375_update_device() local
303 struct i2c_client *client = to_i2c_client(dev); in set_fan_min() local
323 struct i2c_client *client = to_i2c_client(dev); in set_fan_target() local
348 struct i2c_client *client = to_i2c_client(dev); in set_pwm() local
376 static int set_pwm_enable_direct(struct i2c_client *client, int nr, int val) in set_pwm_enable_direct()
[all …]
Dlm75.c78 struct i2c_client *client; member
138 struct i2c_client *client = data->client; in set_temp() local
190 lm75_probe(struct i2c_client *client, const struct i2c_device_id *id) in lm75_probe()
321 static int lm75_remove(struct i2c_client *client) in lm75_remove()
455 struct i2c_client *client = to_i2c_client(dev); in lm75_suspend() local
469 struct i2c_client *client = to_i2c_client(dev); in lm75_resume() local
511 static int lm75_read_value(struct i2c_client *client, u8 reg) in lm75_read_value()
519 static int lm75_write_value(struct i2c_client *client, u8 reg, u16 value) in lm75_write_value()
530 struct i2c_client *client = data->client; in lm75_update_device() local
Dtmp102.c54 struct i2c_client *client; member
85 struct i2c_client *client = tmp102->client; in tmp102_update_device() local
138 struct i2c_client *client = tmp102->client; in tmp102_set_temp() local
177 static int tmp102_probe(struct i2c_client *client, in tmp102_probe()
250 static int tmp102_remove(struct i2c_client *client) in tmp102_remove()
273 struct i2c_client *client = to_i2c_client(dev); in tmp102_suspend() local
286 struct i2c_client *client = to_i2c_client(dev); in tmp102_resume() local
Dad7414.c42 struct i2c_client *client; member
60 static inline int ad7414_read(struct i2c_client *client, u8 reg) in ad7414_read()
68 static inline int ad7414_write(struct i2c_client *client, u8 reg, u8 value) in ad7414_write()
76 struct i2c_client *client = data->client; in ad7414_update_device() local
131 struct i2c_client *client = data->client; in set_max_min() local
178 static int ad7414_probe(struct i2c_client *client, in ad7414_probe()
Dds620.c70 struct i2c_client *client; member
78 static void ds620_init_client(struct i2c_client *client) in ds620_init_client()
110 struct i2c_client *client = data->client; in ds620_update_client() local
162 struct i2c_client *client = data->client; in set_temp() local
184 struct i2c_client *client; in show_alarm() local
229 static int ds620_probe(struct i2c_client *client, in ds620_probe()
Dw83l785ts.c142 static int w83l785ts_detect(struct i2c_client *client, in w83l785ts_detect()
179 static int w83l785ts_probe(struct i2c_client *client, in w83l785ts_probe()
221 static int w83l785ts_remove(struct i2c_client *client) in w83l785ts_remove()
234 static u8 w83l785ts_read_value(struct i2c_client *client, u8 reg, u8 defval) in w83l785ts_read_value()
275 struct i2c_client *client = to_i2c_client(dev); in w83l785ts_update_device() local
Dpcf8591.c118 struct i2c_client *client = to_i2c_client(dev); in set_out0_output() local
149 struct i2c_client *client = to_i2c_client(dev); in set_out0_enable() local
197 static int pcf8591_probe(struct i2c_client *client, in pcf8591_probe()
247 static int pcf8591_remove(struct i2c_client *client) in pcf8591_remove()
258 static void pcf8591_init_client(struct i2c_client *client) in pcf8591_init_client()
276 struct i2c_client *client = to_i2c_client(dev); in pcf8591_read_channel() local
Dw83l786ng.c127 struct i2c_client *client; member
152 w83l786ng_read_value(struct i2c_client *client, u8 reg) in w83l786ng_read_value()
158 w83l786ng_write_value(struct i2c_client *client, u8 reg, u8 value) in w83l786ng_write_value()
166 struct i2c_client *client = data->client; in w83l786ng_update_device() local
309 struct i2c_client *client = data->client; in store_fan_min() local
347 struct i2c_client *client = data->client; in store_fan_div() local
438 struct i2c_client *client = data->client; in store_temp() local
493 struct i2c_client *client = data->client; in show_pwm_reg() local
521 struct i2c_client *client = data->client; in store_pwm() local
545 struct i2c_client *client = data->client; in store_pwm_enable() local
[all …]
Demc2103.c69 struct i2c_client *client; member
86 static int read_u8_from_i2c(struct i2c_client *client, u8 i2c_reg, u8 *output) in read_u8_from_i2c()
98 static void read_temp_from_i2c(struct i2c_client *client, u8 i2c_reg, in read_temp_from_i2c()
113 static void read_fan_from_i2c(struct i2c_client *client, u16 *output, in read_fan_from_i2c()
127 static void write_fan_target_to_i2c(struct i2c_client *client, u16 new_target) in write_fan_target_to_i2c()
135 static void read_fan_config_from_i2c(struct i2c_client *client) in read_fan_config_from_i2c()
151 struct i2c_client *client = data->client; in emc2103_update_device() local
247 struct i2c_client *client = data->client; in set_temp_min() local
269 struct i2c_client *client = data->client; in set_temp_max() local
314 struct i2c_client *client = data->client; in set_fan_div() local
[all …]
Dlm90.c368 struct i2c_client *client; member
402 static inline s32 adm1032_write_byte(struct i2c_client *client, u8 value) in adm1032_write_byte()
415 static int lm90_read_reg(struct i2c_client *client, u8 reg, u8 *value) in lm90_read_reg()
436 static int lm90_read16(struct i2c_client *client, u8 regh, u8 regl, u16 *value) in lm90_read16()
476 static inline void lm90_select_remote_channel(struct i2c_client *client, in lm90_select_remote_channel()
497 static void lm90_set_convrate(struct i2c_client *client, struct lm90_data *data, in lm90_set_convrate()
519 struct i2c_client *client = data->client; in lm90_update_device() local
799 struct i2c_client *client = data->client; in set_temp8() local
866 struct i2c_client *client = data->client; in set_temp11() local
928 struct i2c_client *client = data->client; in set_temphyst() local
[all …]
Dg760a.c40 struct i2c_client *client; member
71 static int g760a_read_value(struct i2c_client *client, enum g760a_regs reg) in g760a_read_value()
76 static int g760a_write_value(struct i2c_client *client, enum g760a_regs reg, in g760a_write_value()
89 struct i2c_client *client = data->client; in g760a_update_client() local
146 struct i2c_client *client = data->client; in set_pwm() local
177 static int g760a_probe(struct i2c_client *client, in g760a_probe()
Dlm80.c130 struct i2c_client *client; member
143 static int lm80_read_value(struct i2c_client *client, u8 reg) in lm80_read_value()
148 static int lm80_write_value(struct i2c_client *client, u8 reg, u8 value) in lm80_write_value()
154 static void lm80_init_client(struct i2c_client *client) in lm80_init_client()
172 struct i2c_client *client = data->client; in lm80_update_device() local
288 struct i2c_client *client = data->client; in set_in() local
334 struct i2c_client *client = data->client; in set_fan_min() local
360 struct i2c_client *client = data->client; in set_fan_div() local
421 struct i2c_client *client = data->client; in set_temp() local
575 static int lm80_detect(struct i2c_client *client, struct i2c_board_info *info) in lm80_detect()
[all …]
Dgl520sm.c78 struct i2c_client *client; member
107 static int gl520_read_value(struct i2c_client *client, u8 reg) in gl520_read_value()
115 static int gl520_write_value(struct i2c_client *client, u8 reg, u16 value) in gl520_write_value()
126 struct i2c_client *client = data->client; in gl520_update_device() local
260 struct i2c_client *client = data->client; in set_in_min() local
294 struct i2c_client *client = data->client; in set_in_max() local
395 struct i2c_client *client = data->client; in set_fan_min() local
434 struct i2c_client *client = data->client; in set_fan_div() local
483 struct i2c_client *client = data->client; in set_fan_off() local
551 struct i2c_client *client = data->client; in set_temp_max() local
[all …]
Dmax6650.c113 struct i2c_client *client; member
139 struct i2c_client *client = data->client; in max6650_update_device() local
259 struct i2c_client *client = data->client; in set_target() local
328 struct i2c_client *client = data->client; in set_pwm() local
374 struct i2c_client *client = data->client; in set_enable() local
424 struct i2c_client *client = data->client; in set_div() local
469 struct i2c_client *client = data->client; in get_alarm() local
508 struct i2c_client *client = data->client; in max6650_attrs_visible() local
564 struct i2c_client *client) in max6650_init_client()
650 static int max6650_probe(struct i2c_client *client, in max6650_probe()
Dlm95245.c115 struct i2c_client *client; member
141 struct i2c_client *client = data->client; in lm95245_update_device() local
162 static unsigned long lm95245_read_conversion_rate(struct i2c_client *client) in lm95245_read_conversion_rate()
188 static unsigned long lm95245_set_conversion_rate(struct i2c_client *client, in lm95245_set_conversion_rate()
250 struct i2c_client *client = data->client; in set_limit() local
286 struct i2c_client *client = data->client; in set_crit_hyst() local
322 struct i2c_client *client = data->client; in set_type() local
369 struct i2c_client *client = data->client; in set_interval() local
456 static void lm95245_init_client(struct i2c_client *client, in lm95245_init_client()
474 static int lm95245_probe(struct i2c_client *client, in lm95245_probe()
Datxp1.c46 struct i2c_client *client; member
62 struct i2c_client *client = data->client; in atxp1_update_device() local
103 struct i2c_client *client = data->client; in atxp1_storevcore() local
179 struct i2c_client *client = data->client; in atxp1_storegpio1() local
225 struct i2c_client *client = data->client; in atxp1_storegpio2() local
259 static int atxp1_probe(struct i2c_client *client, in atxp1_probe()
Dadt7470.c146 struct i2c_client *client; member
181 static inline int adt7470_read_word_data(struct i2c_client *client, u8 reg) in adt7470_read_word_data()
189 static inline int adt7470_write_word_data(struct i2c_client *client, u8 reg, in adt7470_write_word_data()
197 static int adt7470_read_temperatures(struct i2c_client *client, in adt7470_read_temperatures()
262 struct i2c_client *client = p; in adt7470_update_thread() local
281 struct i2c_client *client = data->client; in adt7470_update_device() local
472 struct i2c_client *client = data->client; in set_temp_min() local
506 struct i2c_client *client = data->client; in set_temp_max() local
561 struct i2c_client *client = data->client; in set_fan_max() local
598 struct i2c_client *client = data->client; in set_fan_min() local
[all …]
Dmax6639.c83 struct i2c_client *client; member
108 struct i2c_client *client = data->client; in max6639_update_device() local
206 struct i2c_client *client = data->client; in set_temp_max() local
238 struct i2c_client *client = data->client; in set_temp_crit() local
271 struct i2c_client *client = data->client; in set_temp_emergency() local
303 struct i2c_client *client = data->client; in set_pwm() local
420 static int max6639_init_client(struct i2c_client *client, in max6639_init_client()
518 static int max6639_detect(struct i2c_client *client, in max6639_detect()
538 static int max6639_probe(struct i2c_client *client, in max6639_probe()
567 struct i2c_client *client = to_i2c_client(dev); in max6639_suspend() local
[all …]
/linux-4.4.14/drivers/char/tpm/
Dtpm_i2c_nuvoton.c61 static s32 i2c_nuvoton_read_buf(struct i2c_client *client, u8 offset, u8 size, in i2c_nuvoton_read_buf()
73 static s32 i2c_nuvoton_write_buf(struct i2c_client *client, u8 offset, u8 size, in i2c_nuvoton_write_buf()
99 struct i2c_client *client = to_i2c_client(chip->pdev); in i2c_nuvoton_read_status() local
114 static s32 i2c_nuvoton_write_status(struct i2c_client *client, u8 data) in i2c_nuvoton_write_status()
130 struct i2c_client *client = to_i2c_client(chip->pdev); in i2c_nuvoton_ready() local
142 static int i2c_nuvoton_get_burstcount(struct i2c_client *client, in i2c_nuvoton_get_burstcount()
231 static int i2c_nuvoton_recv_data(struct i2c_client *client, in i2c_nuvoton_recv_data()
268 struct i2c_client *client = to_i2c_client(dev); in i2c_nuvoton_recv() local
351 struct i2c_client *client = to_i2c_client(dev); in i2c_nuvoton_send() local
484 static int get_vid(struct i2c_client *client, u32 *res) in get_vid()
[all …]
Dtpm_i2c_atmel.c55 struct i2c_client *client = to_i2c_client(chip->pdev); in i2c_atmel_send() local
74 struct i2c_client *client = to_i2c_client(chip->pdev); in i2c_atmel_recv() local
115 struct i2c_client *client = to_i2c_client(chip->pdev); in i2c_atmel_read_status() local
153 static int i2c_atmel_probe(struct i2c_client *client, in i2c_atmel_probe()
190 static int i2c_atmel_remove(struct i2c_client *client) in i2c_atmel_remove()
/linux-4.4.14/drivers/staging/iio/addac/
Dadt7316-i2c.c21 static int adt7316_i2c_read(void *client, u8 reg, u8 *data) in adt7316_i2c_read()
41 static int adt7316_i2c_write(void *client, u8 reg, u8 data) in adt7316_i2c_write()
53 static int adt7316_i2c_multi_read(void *client, u8 reg, u8 count, u8 *data) in adt7316_i2c_multi_read()
72 static int adt7316_i2c_multi_write(void *client, u8 reg, u8 count, u8 *data) in adt7316_i2c_multi_write()
95 static int adt7316_i2c_probe(struct i2c_client *client, in adt7316_i2c_probe()
Dadt7316-spi.c26 static int adt7316_spi_multi_read(void *client, u8 reg, u8 count, u8 *data) in adt7316_spi_multi_read()
55 static int adt7316_spi_multi_write(void *client, u8 reg, u8 count, u8 *data) in adt7316_spi_multi_write()
78 static int adt7316_spi_read(void *client, u8 reg, u8 *data) in adt7316_spi_read()
83 static int adt7316_spi_write(void *client, u8 reg, u8 val) in adt7316_spi_write()
/linux-4.4.14/drivers/i2c/muxes/
Di2c-mux-pca9541.c92 static int pca9541_reg_write(struct i2c_client *client, u8 command, u8 val) in pca9541_reg_write()
126 static int pca9541_reg_read(struct i2c_client *client, u8 command) in pca9541_reg_read()
171 static void pca9541_release_bus(struct i2c_client *client) in pca9541_release_bus()
218 static int pca9541_arbitrate(struct i2c_client *client) in pca9541_arbitrate()
288 static int pca9541_select_chan(struct i2c_adapter *adap, void *client, u32 chan) in pca9541_select_chan()
313 void *client, u32 chan) in pca9541_release_chan()
322 static int pca9541_probe(struct i2c_client *client, in pca9541_probe()
376 static int pca9541_remove(struct i2c_client *client) in pca9541_remove()
Di2c-mux-pca954x.c124 struct i2c_client *client, u8 val) in pca954x_reg_write()
150 void *client, u32 chan) in pca954x_select_chan()
173 void *client, u32 chan) in pca954x_deselect_mux()
185 static int pca954x_probe(struct i2c_client *client, in pca954x_probe()
271 static int pca954x_remove(struct i2c_client *client) in pca954x_remove()
289 struct i2c_client *client = to_i2c_client(dev); in pca954x_resume() local
/linux-4.4.14/drivers/hwmon/pmbus/
Dltc2978.c123 static int ltc_wait_ready(struct i2c_client *client) in ltc_wait_ready()
161 static int ltc_read_word_data(struct i2c_client *client, int page, int reg) in ltc_read_word_data()
172 static int ltc_read_byte_data(struct i2c_client *client, int page, int reg) in ltc_read_byte_data()
183 static int ltc_write_byte(struct i2c_client *client, int page, u8 byte) in ltc_write_byte()
207 static int ltc_get_max(struct ltc2978_data *data, struct i2c_client *client, in ltc_get_max()
221 static int ltc_get_min(struct ltc2978_data *data, struct i2c_client *client, in ltc_get_min()
235 static int ltc2978_read_word_data_common(struct i2c_client *client, int page, in ltc2978_read_word_data_common()
279 static int ltc2978_read_word_data(struct i2c_client *client, int page, int reg) in ltc2978_read_word_data()
324 static int ltc2974_read_word_data(struct i2c_client *client, int page, int reg) in ltc2974_read_word_data()
349 static int ltc2975_read_word_data(struct i2c_client *client, int page, int reg) in ltc2975_read_word_data()
[all …]
Dpmbus_core.c121 void pmbus_clear_cache(struct i2c_client *client) in pmbus_clear_cache()
129 int pmbus_set_page(struct i2c_client *client, u8 page) in pmbus_set_page()
147 int pmbus_write_byte(struct i2c_client *client, int page, u8 value) in pmbus_write_byte()
165 static int _pmbus_write_byte(struct i2c_client *client, int page, u8 value) in _pmbus_write_byte()
179 int pmbus_write_word_data(struct i2c_client *client, u8 page, u8 reg, u16 word) in pmbus_write_word_data()
195 static int _pmbus_write_word_data(struct i2c_client *client, int page, int reg, in _pmbus_write_word_data()
212 int pmbus_read_word_data(struct i2c_client *client, u8 page, u8 reg) in pmbus_read_word_data()
228 static int _pmbus_read_word_data(struct i2c_client *client, int page, int reg) in _pmbus_read_word_data()
244 int pmbus_read_byte_data(struct i2c_client *client, int page, u8 reg) in pmbus_read_byte_data()
258 int pmbus_write_byte_data(struct i2c_client *client, int page, u8 reg, u8 value) in pmbus_write_byte_data()
[all …]
Dpmbus.c33 static void pmbus_find_sensor_groups(struct i2c_client *client, in pmbus_find_sensor_groups()
96 static int pmbus_identify(struct i2c_client *client, in pmbus_identify()
166 static int pmbus_probe(struct i2c_client *client, in pmbus_probe()
Dmax8688.c44 static int max8688_read_word_data(struct i2c_client *client, int page, int reg) in max8688_read_word_data()
74 static int max8688_write_word_data(struct i2c_client *client, int page, int reg, in max8688_write_word_data()
100 static int max8688_read_byte_data(struct i2c_client *client, int page, int reg) in max8688_read_byte_data()
178 static int max8688_probe(struct i2c_client *client, in max8688_probe()
Dmax16064.c31 static int max16064_read_word_data(struct i2c_client *client, int page, int reg) in max16064_read_word_data()
55 static int max16064_write_word_data(struct i2c_client *client, int page, in max16064_write_word_data()
100 static int max16064_probe(struct i2c_client *client, in max16064_probe()
Dlm25066.c223 static int lm25066_read_word_data(struct i2c_client *client, int page, int reg) in lm25066_read_word_data()
297 static int lm25063_read_word_data(struct i2c_client *client, int page, int reg) in lm25063_read_word_data()
315 static int lm25056_read_word_data(struct i2c_client *client, int page, int reg) in lm25056_read_word_data()
343 static int lm25056_read_byte_data(struct i2c_client *client, int page, int reg) in lm25056_read_byte_data()
367 static int lm25066_write_word_data(struct i2c_client *client, int page, int reg, in lm25066_write_word_data()
429 static int lm25066_probe(struct i2c_client *client, in lm25066_probe()
/linux-4.4.14/drivers/input/
Djoydev.c94 static void joydev_pass_event(struct joydev_client *client, in joydev_pass_event()
122 struct joydev_client *client; in joydev_event() local
161 struct joydev_client *client = file->private_data; in joydev_fasync() local
175 struct joydev_client *client) in joydev_attach_client()
183 struct joydev_client *client) in joydev_detach_client()
227 struct joydev_client *client; in joydev_hangup() local
239 struct joydev_client *client = file->private_data; in joydev_release() local
254 struct joydev_client *client; in joydev_open() local
280 static int joydev_generate_startup_event(struct joydev_client *client, in joydev_generate_startup_event()
312 static int joydev_fetch_next_event(struct joydev_client *client, in joydev_fetch_next_event()
[all …]
Devdev.c85 static bool __evdev_is_filtered(struct evdev_client *client, in __evdev_is_filtered()
111 static void __evdev_flush_queue(struct evdev_client *client, unsigned int type) in __evdev_flush_queue()
156 static void __evdev_queue_syn_dropped(struct evdev_client *client) in __evdev_queue_syn_dropped()
182 static void evdev_queue_syn_dropped(struct evdev_client *client) in evdev_queue_syn_dropped()
191 static int evdev_set_clk_type(struct evdev_client *client, unsigned int clkid) in evdev_set_clk_type()
231 static void __pass_event(struct evdev_client *client, in __pass_event()
258 static void evdev_pass_values(struct evdev_client *client, in evdev_pass_values()
306 struct evdev_client *client; in evdev_events() local
340 struct evdev_client *client = file->private_data; in evdev_fasync() local
347 struct evdev_client *client = file->private_data; in evdev_flush() local
[all …]
/linux-4.4.14/drivers/gpio/
Dgpio-max7300.c22 struct i2c_client *client = to_i2c_client(dev); in max7300_i2c_write() local
29 struct i2c_client *client = to_i2c_client(dev); in max7300_i2c_read() local
34 static int max7300_probe(struct i2c_client *client, in max7300_probe()
54 static int max7300_remove(struct i2c_client *client) in max7300_remove()
Dgpio-pcf857x.c89 struct i2c_client *client; member
104 static int i2c_write_le8(struct i2c_client *client, unsigned data) in i2c_write_le8()
109 static int i2c_read_le8(struct i2c_client *client) in i2c_read_le8()
116 static int i2c_write_le16(struct i2c_client *client, unsigned word) in i2c_write_le16()
125 static int i2c_read_le16(struct i2c_client *client) in i2c_read_le16()
271 static int pcf857x_probe(struct i2c_client *client, in pcf857x_probe()
426 static int pcf857x_remove(struct i2c_client *client) in pcf857x_remove()
Dgpio-adp5588.c31 struct i2c_client *client; member
46 static int adp5588_gpio_read(struct i2c_client *client, u8 reg) in adp5588_gpio_read()
56 static int adp5588_gpio_write(struct i2c_client *client, u8 reg, u8 val) in adp5588_gpio_write()
244 static int adp5588_gpio_read_intstat(struct i2c_client *client, u8 *buf) in adp5588_gpio_read_intstat()
289 struct i2c_client *client = dev->client; in adp5588_irq_setup() local
342 struct i2c_client *client = dev->client; in adp5588_irq_setup() local
353 static int adp5588_gpio_probe(struct i2c_client *client, in adp5588_gpio_probe()
444 static int adp5588_gpio_remove(struct i2c_client *client) in adp5588_gpio_remove()
/linux-4.4.14/drivers/staging/media/mn88473/
Dmn88473.c28 struct i2c_client *client = fe->demodulator_priv; in mn88473_set_frontend() local
172 struct i2c_client *client = fe->demodulator_priv; in mn88473_read_status() local
240 struct i2c_client *client = fe->demodulator_priv; in mn88473_init() local
327 struct i2c_client *client = fe->demodulator_priv; in mn88473_sleep() local
382 static int mn88473_probe(struct i2c_client *client, in mn88473_probe()
483 static int mn88473_remove(struct i2c_client *client) in mn88473_remove()
/linux-4.4.14/drivers/staging/media/mn88472/
Dmn88472.c28 struct i2c_client *client = fe->demodulator_priv; in mn88472_set_frontend() local
223 struct i2c_client *client = fe->demodulator_priv; in mn88472_read_status() local
280 struct i2c_client *client = fe->demodulator_priv; in mn88472_init() local
376 struct i2c_client *client = fe->demodulator_priv; in mn88472_sleep() local
437 static int mn88472_probe(struct i2c_client *client, in mn88472_probe()
537 static int mn88472_remove(struct i2c_client *client) in mn88472_remove()
/linux-4.4.14/sound/arm/
Dpxa2xx-pcm.c27 struct pxa2xx_pcm_client *client = substream->private_data; in pxa2xx_pcm_prepare() local
36 struct pxa2xx_pcm_client *client = substream->private_data; in pxa2xx_pcm_open() local
64 struct pxa2xx_pcm_client *client = substream->private_data; in pxa2xx_pcm_close() local
83 int pxa2xx_pcm_new(struct snd_card *card, struct pxa2xx_pcm_client *client, in pxa2xx_pcm_new()
/linux-4.4.14/drivers/misc/lis3lv02d/
Dlis3lv02d_i2c.c116 static int lis3lv02d_i2c_probe(struct i2c_client *client, in lis3lv02d_i2c_probe()
193 static int lis3lv02d_i2c_remove(struct i2c_client *client) in lis3lv02d_i2c_remove()
212 struct i2c_client *client = container_of(dev, struct i2c_client, dev); in lis3lv02d_i2c_suspend() local
222 struct i2c_client *client = container_of(dev, struct i2c_client, dev); in lis3lv02d_i2c_resume() local
241 struct i2c_client *client = container_of(dev, struct i2c_client, dev); in lis3_i2c_runtime_suspend() local
250 struct i2c_client *client = container_of(dev, struct i2c_client, dev); in lis3_i2c_runtime_resume() local
/linux-4.4.14/drivers/leds/
Dleds-lp3944.c73 struct i2c_client *client; member
79 struct i2c_client *client; member
83 static int lp3944_reg_read(struct i2c_client *client, u8 reg, u8 *value) in lp3944_reg_read()
96 static int lp3944_reg_write(struct i2c_client *client, u8 reg, u8 value) in lp3944_reg_write()
108 static int lp3944_dim_set_period(struct i2c_client *client, u8 dim, u16 period) in lp3944_dim_set_period()
139 static int lp3944_dim_set_dutycycle(struct i2c_client *client, u8 dim, in lp3944_dim_set_dutycycle()
304 static int lp3944_configure(struct i2c_client *client, in lp3944_configure()
378 static int lp3944_probe(struct i2c_client *client, in lp3944_probe()
416 static int lp3944_remove(struct i2c_client *client) in lp3944_remove()
Dleds-pca955x.c108 struct i2c_client *client; member
146 static void pca955x_write_psc(struct i2c_client *client, int n, u8 val) in pca955x_write_psc()
162 static void pca955x_write_pwm(struct i2c_client *client, int n, u8 val) in pca955x_write_pwm()
175 static void pca955x_write_ls(struct i2c_client *client, int n, u8 val) in pca955x_write_ls()
188 static u8 pca955x_read_ls(struct i2c_client *client, int n) in pca955x_read_ls()
258 static int pca955x_probe(struct i2c_client *client, in pca955x_probe()
366 static int pca955x_remove(struct i2c_client *client) in pca955x_remove()
/linux-4.4.14/drivers/staging/android/ion/
Dion.c111 struct ion_client *client; member
339 static struct ion_handle *ion_handle_create(struct ion_client *client, in ion_handle_create()
362 struct ion_client *client = handle->client; in ion_handle_destroy() local
392 struct ion_client *client = handle->client; in ion_handle_put() local
402 static struct ion_handle *ion_handle_lookup(struct ion_client *client, in ion_handle_lookup()
420 static struct ion_handle *ion_handle_get_by_id(struct ion_client *client, in ion_handle_get_by_id()
434 static bool ion_handle_validate(struct ion_client *client, in ion_handle_validate()
441 static int ion_handle_add(struct ion_client *client, struct ion_handle *handle) in ion_handle_add()
472 struct ion_handle *ion_alloc(struct ion_client *client, size_t len, in ion_alloc()
535 void ion_free(struct ion_client *client, struct ion_handle *handle) in ion_free()
[all …]
/linux-4.4.14/drivers/iio/dac/
Dm62332.c33 struct i2c_client *client; member
45 struct i2c_client *client = data->client; in m62332_set_value() local
139 struct i2c_client *client = to_i2c_client(dev); in m62332_suspend() local
156 struct i2c_client *client = to_i2c_client(dev); in m62332_resume() local
196 static int m62332_probe(struct i2c_client *client, in m62332_probe()
241 static int m62332_remove(struct i2c_client *client) in m62332_remove()
/linux-4.4.14/drivers/mfd/
Dadp5520.c32 struct i2c_client *client; member
41 static int __adp5520_read(struct i2c_client *client, in __adp5520_read()
56 static int __adp5520_write(struct i2c_client *client, in __adp5520_write()
70 static int __adp5520_ack_bits(struct i2c_client *client, int reg, in __adp5520_ack_bits()
206 static int adp5520_probe(struct i2c_client *client, in adp5520_probe()
307 static int adp5520_remove(struct i2c_client *client) in adp5520_remove()
322 struct i2c_client *client = to_i2c_client(dev); in adp5520_suspend() local
334 struct i2c_client *client = to_i2c_client(dev); in adp5520_resume() local
Dwl1273-core.c37 struct i2c_client *client = core->client; in wl1273_fm_read_reg() local
54 struct i2c_client *client = core->client; in wl1273_fm_write_cmd() local
69 struct i2c_client *client = core->client; in wl1273_fm_write_data() local
173 static int wl1273_core_remove(struct i2c_client *client) in wl1273_core_remove()
182 static int wl1273_core_probe(struct i2c_client *client, in wl1273_core_probe()
Dcros_ec_i2c.c54 struct i2c_client *client = to_i2c_client(dev); in to_ec_dev() local
62 struct i2c_client *client = ec_dev->priv; in cros_ec_pkt_xfer_i2c() local
190 struct i2c_client *client = ec_dev->priv; in cros_ec_cmd_xfer_i2c() local
288 static int cros_ec_i2c_probe(struct i2c_client *client, in cros_ec_i2c_probe()
319 static int cros_ec_i2c_remove(struct i2c_client *client) in cros_ec_i2c_remove()
Dmenf21bmc.c30 static int menf21bmc_wdt_exit_prod_mode(struct i2c_client *client) in menf21bmc_wdt_exit_prod_mode()
56 menf21bmc_probe(struct i2c_client *client, const struct i2c_device_id *ids) in menf21bmc_probe()
109 static int menf21bmc_remove(struct i2c_client *client) in menf21bmc_remove()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_guc_submission.c133 struct i915_guc_client *client) in host2guc_allocate_doorbell()
144 struct i915_guc_client *client) in host2guc_release_doorbell()
155 struct i915_guc_client *client) in host2guc_sample_forcewake()
183 struct i915_guc_client *client) in guc_init_doorbell()
256 struct i915_guc_client *client) in guc_disable_doorbell()
350 struct i915_guc_client *client) in guc_init_proc_desc()
386 struct i915_guc_client *client) in guc_init_ctx_desc()
472 struct i915_guc_client *client) in guc_fini_ctx_desc()
596 int i915_guc_submit(struct i915_guc_client *client, in i915_guc_submit()
694 struct i915_guc_client *client) in guc_client_free()
[all …]
/linux-4.4.14/drivers/media/usb/go7007/
Ds2250-board.c159 static int write_reg(struct i2c_client *client, u8 reg, u8 value) in write_reg()
193 static int write_reg_fp(struct i2c_client *client, u16 addr, u16 val) in write_reg_fp()
257 static int read_reg_fp(struct i2c_client *client, u16 addr, u16 *val) in read_reg_fp()
298 static int write_regs(struct i2c_client *client, u8 *regs) in write_regs()
311 static int write_regs_fp(struct i2c_client *client, u16 *regs) in write_regs_fp()
331 struct i2c_client *client = v4l2_get_subdevdata(sd); in s2250_s_video_routing() local
355 struct i2c_client *client = v4l2_get_subdevdata(sd); in s2250_s_std() local
374 struct i2c_client *client = v4l2_get_subdevdata(&state->sd); in s2250_s_ctrl() local
414 struct i2c_client *client = v4l2_get_subdevdata(sd); in s2250_set_fmt() local
505 static int s2250_probe(struct i2c_client *client, in s2250_probe()
[all …]
/linux-4.4.14/drivers/gpu/drm/tegra/
Dgr2d.c16 struct tegra_drm_client client; member
23 static inline struct gr2d *to_gr2d(struct tegra_drm_client *client) in to_gr2d()
28 static int gr2d_init(struct host1x_client *client) in gr2d_init()
48 static int gr2d_exit(struct host1x_client *client) in gr2d_exit()
70 static int gr2d_open_channel(struct tegra_drm_client *client, in gr2d_open_channel()
Dgr3d.c23 struct tegra_drm_client client; member
33 static inline struct gr3d *to_gr3d(struct tegra_drm_client *client) in to_gr3d()
38 static int gr3d_init(struct host1x_client *client) in gr3d_init()
58 static int gr3d_exit(struct host1x_client *client) in gr3d_exit()
80 static int gr3d_open_channel(struct tegra_drm_client *client, in gr3d_open_channel()
/linux-4.4.14/drivers/misc/eeprom/
Deeprom.c50 static void eeprom_update_client(struct i2c_client *client, u8 slice) in eeprom_update_client()
87 struct i2c_client *client = to_i2c_client(container_of(kobj, struct device, kobj)); in eeprom_read() local
126 static int eeprom_detect(struct i2c_client *client, struct i2c_board_info *info) in eeprom_detect()
152 static int eeprom_probe(struct i2c_client *client, in eeprom_probe()
190 static int eeprom_remove(struct i2c_client *client) in eeprom_remove()
Dmax6875.c57 static void max6875_update_slice(struct i2c_client *client, int slice) in max6875_update_slice()
113 struct i2c_client *client = kobj_to_i2c_client(kobj); in max6875_read() local
136 static int max6875_probe(struct i2c_client *client, in max6875_probe()
178 static int max6875_remove(struct i2c_client *client) in max6875_remove()
/linux-4.4.14/arch/arm/plat-samsung/
Dadc.c96 struct s3c_adc_client *client) in s3c_adc_select()
149 int s3c_adc_start(struct s3c_adc_client *client, in s3c_adc_start()
184 static void s3c_convert_done(struct s3c_adc_client *client, in s3c_convert_done()
191 int s3c_adc_read(struct s3c_adc_client *client, unsigned int ch) in s3c_adc_read()
218 static void s3c_adc_default_select(struct s3c_adc_client *client, in s3c_adc_default_select()
224 void (*select)(struct s3c_adc_client *client, in s3c_adc_register()
226 void (*conv)(struct s3c_adc_client *client, in s3c_adc_register()
231 struct s3c_adc_client *client; in s3c_adc_register() local
256 void s3c_adc_release(struct s3c_adc_client *client) in s3c_adc_release()
289 struct s3c_adc_client *client = adc->cur; in s3c_adc_irq() local
/linux-4.4.14/drivers/input/serio/
Dserio_raw.c60 struct serio_raw_client *client = file->private_data; in serio_raw_fasync() local
80 struct serio_raw_client *client; in serio_raw_open() local
129 struct serio_raw_client *client = file->private_data; in serio_raw_release() local
163 struct serio_raw_client *client = file->private_data; in serio_raw_read() local
204 struct serio_raw_client *client = file->private_data; in serio_raw_write() local
244 struct serio_raw_client *client = file->private_data; in serio_raw_poll() local
277 struct serio_raw_client *client; in serio_raw_interrupt() local
383 struct serio_raw_client *client; in serio_raw_hangup() local
/linux-4.4.14/net/9p/
Dtrans_fd.c128 struct p9_client *client; member
232 p9_fd_poll(struct p9_client *client, struct poll_table_struct *pt) in p9_fd_poll()
271 static int p9_fd_read(struct p9_client *client, void *v, int len) in p9_fd_read()
413 static int p9_fd_write(struct p9_client *client, void *v, int len) in p9_fd_write()
578 static void p9_conn_create(struct p9_client *client) in p9_conn_create()
660 static int p9_fd_request(struct p9_client *client, struct p9_req_t *req) in p9_fd_request()
687 static int p9_fd_cancel(struct p9_client *client, struct p9_req_t *req) in p9_fd_cancel()
705 static int p9_fd_cancelled(struct p9_client *client, struct p9_req_t *req) in p9_fd_cancelled()
786 static int p9_fd_open(struct p9_client *client, int rfd, int wfd) in p9_fd_open()
810 static int p9_socket_open(struct p9_client *client, struct socket *csocket) in p9_socket_open()
[all …]
/linux-4.4.14/drivers/media/i2c/smiapp/
Dsmiapp-core.c68 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_read_frame_fmt() local
242 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_pll_try() local
355 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_pixel_order() local
374 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_update_mbus_formats() local
521 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_init_controls() local
647 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_get_limits() local
685 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_get_limits_binning() local
745 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_get_mbus_formats() local
903 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_update_mode() local
1029 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in smiapp_change_cci_addr() local
[all …]
/linux-4.4.14/arch/arm/mach-davinci/
Dboard-dm646x-evm.c129 static int cpld_reg0_probe(struct i2c_client *client, in cpld_reg0_probe()
185 static int evm_led_setup(struct i2c_client *client, int gpio, in evm_led_setup()
209 static int evm_led_teardown(struct i2c_client *client, int gpio, in evm_led_teardown()
221 static int evm_sw_setup(struct i2c_client *client, int gpio, in evm_sw_setup()
260 static int evm_sw_teardown(struct i2c_client *client, int gpio, in evm_sw_teardown()
275 static int evm_pcf_setup(struct i2c_client *client, int gpio, in evm_pcf_setup()
290 static int evm_pcf_teardown(struct i2c_client *client, int gpio, in evm_pcf_teardown()
351 static int cpld_video_probe(struct i2c_client *client, in cpld_video_probe()
358 static int cpld_video_remove(struct i2c_client *client) in cpld_video_remove()
Dboard-dm644x-evm.c302 evm_led_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_led_setup()
329 evm_led_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_led_teardown()
361 evm_u18_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u18_setup()
391 evm_u18_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u18_teardown()
415 evm_u35_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u35_setup()
451 evm_u35_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u35_teardown()
492 static int dm6446evm_msp_probe(struct i2c_client *client, in dm6446evm_msp_probe()
499 static int dm6446evm_msp_remove(struct i2c_client *client) in dm6446evm_msp_remove()
/linux-4.4.14/drivers/video/backlight/
Dadp8860_bl.c100 struct i2c_client *client; member
107 struct i2c_client *client; member
120 static int adp8860_read(struct i2c_client *client, int reg, uint8_t *val) in adp8860_read()
134 static int adp8860_write(struct i2c_client *client, u8 reg, u8 val) in adp8860_write()
139 static int adp8860_set_bits(struct i2c_client *client, int reg, uint8_t bit_mask) in adp8860_set_bits()
158 static int adp8860_clr_bits(struct i2c_client *client, int reg, uint8_t bit_mask) in adp8860_clr_bits()
201 struct i2c_client *client = led->client; in adp8860_led_setup() local
217 static int adp8860_led_probe(struct i2c_client *client) in adp8860_led_probe()
299 static int adp8860_led_remove(struct i2c_client *client) in adp8860_led_remove()
314 static int adp8860_led_probe(struct i2c_client *client) in adp8860_led_probe()
[all …]
Dadp8870_bl.c109 struct i2c_client *client; member
123 struct i2c_client *client; member
129 static int adp8870_read(struct i2c_client *client, int reg, uint8_t *val) in adp8870_read()
144 static int adp8870_write(struct i2c_client *client, u8 reg, u8 val) in adp8870_write()
154 static int adp8870_set_bits(struct i2c_client *client, int reg, uint8_t bit_mask) in adp8870_set_bits()
173 static int adp8870_clr_bits(struct i2c_client *client, int reg, uint8_t bit_mask) in adp8870_clr_bits()
219 struct i2c_client *client = led->client; in adp8870_led_setup() local
240 static int adp8870_led_probe(struct i2c_client *client) in adp8870_led_probe()
325 static int adp8870_led_remove(struct i2c_client *client) in adp8870_led_remove()
340 static int adp8870_led_probe(struct i2c_client *client) in adp8870_led_probe()
[all …]
/linux-4.4.14/drivers/char/agp/
Dfrontend.c100 agp_segment_priv *agp_find_seg_in_client(const struct agp_client *client, in agp_find_seg_in_client()
125 static void agp_remove_seg_from_client(struct agp_client *client) in agp_remove_seg_from_client()
140 static void agp_add_seg_to_client(struct agp_client *client, in agp_add_seg_to_client()
163 int agp_create_segment(struct agp_client *client, struct agp_region *region) in agp_create_segment()
337 struct agp_client *client; in agp_remove_all_clients() local
457 struct agp_client *client; in agp_find_client_in_controller() local
499 static void agp_insert_client(struct agp_client *client) in agp_insert_client()
528 struct agp_client *client; in agp_remove_client() local
569 struct agp_client *client; in agp_mmap() local
678 struct agp_client *client; in agp_open() local
[all …]
/linux-4.4.14/drivers/char/tpm/st33zp24/
Di2c.c32 struct i2c_client *client; member
115 struct i2c_client *client = phy->client; in st33zp24_i2c_of_request_resources() local
156 static int st33zp24_i2c_request_resources(struct i2c_client *client, in st33zp24_i2c_request_resources()
191 static int st33zp24_i2c_probe(struct i2c_client *client, in st33zp24_i2c_probe()
235 static int st33zp24_i2c_remove(struct i2c_client *client) in st33zp24_i2c_remove()
/linux-4.4.14/drivers/nfc/st21nfca/
Di2c.c208 struct i2c_client *client = phy->i2c_dev; in st21nfca_hci_i2c_write() local
376 struct i2c_client *client = phy->i2c_dev; in st21nfca_hci_i2c_read() local
447 struct i2c_client *client; in st21nfca_hci_irq_thread_fn() local
513 static int st21nfca_hci_i2c_of_request_resources(struct i2c_client *client) in st21nfca_hci_i2c_of_request_resources()
551 static int st21nfca_hci_i2c_of_request_resources(struct i2c_client *client) in st21nfca_hci_i2c_of_request_resources()
557 static int st21nfca_hci_i2c_request_resources(struct i2c_client *client) in st21nfca_hci_i2c_request_resources()
588 static int st21nfca_hci_i2c_probe(struct i2c_client *client, in st21nfca_hci_i2c_probe()
659 static int st21nfca_hci_i2c_remove(struct i2c_client *client) in st21nfca_hci_i2c_remove()
/linux-4.4.14/drivers/iio/light/
Dcm3232.c73 struct i2c_client *client; member
89 struct i2c_client *client = chip->client; in cm3232_reg_init() local
166 struct i2c_client *client = chip->client; in cm3232_write_als_it() local
203 struct i2c_client *client = chip->client; in cm3232_get_lux() local
331 static int cm3232_probe(struct i2c_client *client, in cm3232_probe()
364 static int cm3232_remove(struct i2c_client *client) in cm3232_remove()
386 struct i2c_client *client = chip->client; in cm3232_suspend() local
400 struct i2c_client *client = chip->client; in cm3232_resume() local
Dtsl4531.c52 struct i2c_client *client; member
150 static int tsl4531_check_id(struct i2c_client *client) in tsl4531_check_id()
167 static int tsl4531_probe(struct i2c_client *client, in tsl4531_probe()
209 static int tsl4531_powerdown(struct i2c_client *client) in tsl4531_powerdown()
215 static int tsl4531_remove(struct i2c_client *client) in tsl4531_remove()
Dcm36651.c133 struct i2c_client *client; member
148 struct i2c_client *client = cm36651->client; in cm36651_setup_reg() local
196 struct i2c_client *client = cm36651->client; in cm36651_read_output() local
237 struct i2c_client *client = cm36651->client; in cm36651_irq_handler() local
278 struct i2c_client *client = cm36651->client; in cm36651_set_operation_mode() local
332 struct i2c_client *client = cm36651->client; in cm36651_read_channel() local
396 struct i2c_client *client = cm36651->client; in cm36651_write_int_time() local
479 struct i2c_client *client = cm36651->client; in cm36651_write_raw() local
513 struct i2c_client *client = cm36651->client; in cm36651_write_prox_thresh() local
625 static int cm36651_probe(struct i2c_client *client, in cm36651_probe()
[all …]
/linux-4.4.14/drivers/iio/proximity/
Dpulsedlight-lidar-lite-v2.c45 struct i2c_client *client; member
67 struct i2c_client *client = data->client; in lidar_read_byte() local
115 struct i2c_client *client = data->client; in lidar_get_measurement() local
214 static int lidar_probe(struct i2c_client *client, in lidar_probe()
254 static int lidar_remove(struct i2c_client *client) in lidar_remove()
/linux-4.4.14/drivers/iio/temperature/
Dmlx90614.c78 struct i2c_client *client; member
102 static s32 mlx90614_write_word(const struct i2c_client *client, u8 command, in mlx90614_write_word()
140 static inline s32 mlx90614_iir_search(const struct i2c_client *client, in mlx90614_iir_search()
458 static struct gpio_desc *mlx90614_probe_wakeup(struct i2c_client *client) in mlx90614_probe_wakeup()
492 static inline struct gpio_desc *mlx90614_probe_wakeup(struct i2c_client *client) in mlx90614_probe_wakeup()
499 static int mlx90614_probe_num_ir_sensors(struct i2c_client *client) in mlx90614_probe_num_ir_sensors()
511 static int mlx90614_probe(struct i2c_client *client, in mlx90614_probe()
565 static int mlx90614_remove(struct i2c_client *client) in mlx90614_remove()
/linux-4.4.14/drivers/ntb/
Dntb.c77 int __ntb_register_client(struct ntb_client *client, struct module *mod, in __ntb_register_client()
94 void ntb_unregister_client(struct ntb_client *client) in ntb_unregister_client()
197 struct ntb_client *client; in ntb_probe() local
214 struct ntb_client *client; in ntb_remove() local

12345