| /linux/drivers/media/i2c/cx25840/ |
| H A D | cx25840-audio.c | 31 static int cx25840_set_audclk_freq(struct i2c_client *client, u32 freq) in cx25840_set_audclk_freq() argument 33 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx25840_set_audclk_freq() 42 cx25840_write4(client, 0x108, 0x1006040f); in cx25840_set_audclk_freq() 57 cx25840_write4(client, 0x110, 0x01bb39ee); in cx25840_set_audclk_freq() 63 cx25840_write(client, 0x127, 0x50); in cx25840_set_audclk_freq() 70 cx25840_write4(client, 0x900, 0x0801f77f); in cx25840_set_audclk_freq() 71 cx25840_write4(client, 0x904, 0x0801f77f); in cx25840_set_audclk_freq() 72 cx25840_write4(client, 0x90c, 0x0801f77f); in cx25840_set_audclk_freq() 80 cx25840_write4(client, 0x108, 0x1009040f); in cx25840_set_audclk_freq() 94 cx25840_write4(client, 0x110, 0x00ec6bd6); in cx25840_set_audclk_freq() [all …]
|
| H A D | cx25840-firmware.c | 32 static void start_fw_load(struct i2c_client *client) in start_fw_load() argument 35 cx25840_write(client, 0x800, 0x00); in start_fw_load() 36 cx25840_write(client, 0x801, 0x00); in start_fw_load() 38 cx25840_write(client, 0x803, 0x0b); in start_fw_load() 40 cx25840_write(client, 0x000, 0x20); in start_fw_load() 43 static void end_fw_load(struct i2c_client *client) in end_fw_load() argument 46 cx25840_write(client, 0x000, 0x00); in end_fw_load() 48 cx25840_write(client, 0x803, 0x03); in end_fw_load() 55 static const char *get_fw_name(struct i2c_client *client) in get_fw_name() argument 57 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in get_fw_name() [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_client_event.c | 24 * This function releases all clients by calling each client's 26 * is responsibe for releaseing all resources including the client 34 struct drm_client_dev *client, *tmp; in drm_client_dev_unregister() local 40 list_for_each_entry_safe(client, tmp, &dev->clientlist, list) { in drm_client_dev_unregister() 41 list_del(&client->list); in drm_client_dev_unregister() 43 * Unregistering consumes and frees the client. in drm_client_dev_unregister() 45 if (client->funcs && client->funcs->unregister) in drm_client_dev_unregister() 46 client->funcs->unregister(client); in drm_client_dev_unregister() 54 drm_client_hotplug(struct drm_client_dev * client) drm_client_hotplug() argument 88 struct drm_client_dev *client; drm_client_dev_hotplug() local 107 struct drm_client_dev *client; drm_client_dev_restore() local 126 drm_client_suspend(struct drm_client_dev * client) drm_client_suspend() argument 145 struct drm_client_dev *client; drm_client_dev_suspend() local 156 drm_client_resume(struct drm_client_dev * client) drm_client_resume() argument 178 struct drm_client_dev *client; drm_client_dev_resume() local 195 struct drm_client_dev *client; drm_client_debugfs_internal_clients() local [all...] |
| /linux/drivers/firewire/ |
| H A D | core-cdev.c | 53 struct client { struct 78 static inline void client_get(struct client *client) in client_get() argument 80 kref_get(&client->kref); in client_get() 85 struct client *client = container_of(kref, struct client, kref); in client_release() local 87 fw_device_put(client->device); in client_release() 88 kfree(client); in client_release() 91 static void client_put(struct client *clien argument 54 versionclient global() argument 108 struct client *client; global() member 138 struct client *client; global() member 152 struct client *client; global() member 220 struct client *client; global() member 254 struct client *client; global() member 301 struct client *client; fw_device_op_open() local 334 queue_event(struct client * client,struct event * event,void * data0,size_t size0,void * data1,size_t size1) queue_event() argument 352 dequeue_event(struct client * client,char __user * buffer,size_t count) dequeue_event() argument 394 struct client *client = file->private_data; fw_device_op_read() local 400 fill_bus_reset_event(struct fw_cdev_event_bus_reset * event,struct client * client) fill_bus_reset_event() argument 417 for_each_client(struct fw_device * device,void (* callback)(struct client * client)) for_each_client() argument 427 queue_bus_reset_event(struct client * client) queue_bus_reset_event() argument 455 wake_up_client(struct client * client) wake_up_client() argument 488 ioctl_get_info(struct client * client,union ioctl_arg * arg) ioctl_get_info() argument 525 add_client_resource(struct client * client,struct client_resource * resource,gfp_t gfp_mask) add_client_resource() argument 552 release_client_resource(struct client * client,u32 handle,client_resource_release_fn_t release,struct client_resource ** return_resource) release_client_resource() argument 580 release_transaction(struct client * client,struct client_resource * resource) release_transaction() argument 589 struct client *client = e->client; complete_transaction() local 648 init_request(struct client * client,struct fw_cdev_send_request * request,int destination_id,int speed) init_request() argument 706 ioctl_send_request(struct client * client,union ioctl_arg * arg) ioctl_send_request() argument 729 release_request(struct client * client,struct client_resource * resource) release_request() argument 839 release_address_handler(struct client * client,struct client_resource * resource) release_address_handler() argument 848 ioctl_allocate(struct client * client,union ioctl_arg * arg) ioctl_allocate() argument 889 ioctl_deallocate(struct client * client,union ioctl_arg * arg) ioctl_deallocate() argument 895 ioctl_send_response(struct client * client,union ioctl_arg * arg) ioctl_send_response() argument 930 ioctl_initiate_bus_reset(struct client * client,union ioctl_arg * arg) ioctl_initiate_bus_reset() argument 937 release_descriptor(struct client * client,struct client_resource * resource) release_descriptor() argument 946 ioctl_add_descriptor(struct client * client,union ioctl_arg * arg) ioctl_add_descriptor() argument 993 ioctl_remove_descriptor(struct client * client,union ioctl_arg * arg) ioctl_remove_descriptor() argument 1002 struct client *client = data; iso_callback() local 1021 struct client *client = data; iso_mc_callback() local 1044 ioctl_create_iso_context(struct client * client,union ioctl_arg * arg) ioctl_create_iso_context() argument 1111 ioctl_set_iso_channels(struct client * client,union ioctl_arg * arg) ioctl_set_iso_channels() argument 1130 ioctl_queue_iso(struct client * client,union ioctl_arg * arg) ioctl_queue_iso() argument 1226 ioctl_start_iso(struct client * client,union ioctl_arg * arg) ioctl_start_iso() argument 1248 ioctl_stop_iso(struct client * client,union ioctl_arg * arg) ioctl_stop_iso() argument 1258 ioctl_flush_iso(struct client * client,union ioctl_arg * arg) ioctl_flush_iso() argument 1268 ioctl_get_cycle_timer2(struct client * client,union ioctl_arg * arg) ioctl_get_cycle_timer2() argument 1297 ioctl_get_cycle_timer(struct client * client,union ioctl_arg * arg) ioctl_get_cycle_timer() argument 1328 struct client *client = r->client; iso_resource_auto_work() local 1430 release_iso_resource_auto(struct client * client,struct client_resource * resource) release_iso_resource_auto() argument 1440 ioctl_allocate_iso_resource(struct client * client,union ioctl_arg * arg) ioctl_allocate_iso_resource() argument 1479 ioctl_deallocate_iso_resource(struct client * client,union ioctl_arg * arg) ioctl_deallocate_iso_resource() argument 1491 struct client *client = r->client; iso_resource_once_work() local 1515 init_iso_resource_once(struct client * client,struct fw_cdev_allocate_iso_resource * request,int todo) init_iso_resource_once() argument 1550 ioctl_allocate_iso_resource_once(struct client * client,union ioctl_arg * arg) ioctl_allocate_iso_resource_once() argument 1556 ioctl_deallocate_iso_resource_once(struct client * client,union ioctl_arg * arg) ioctl_deallocate_iso_resource_once() argument 1567 ioctl_get_speed(struct client * client,union ioctl_arg * arg) ioctl_get_speed() argument 1572 ioctl_send_broadcast_request(struct client * client,union ioctl_arg * arg) ioctl_send_broadcast_request() argument 1592 ioctl_send_stream_packet(struct client * client,union ioctl_arg * arg) ioctl_send_stream_packet() argument 1681 ioctl_send_phy_packet(struct client * client,union ioctl_arg * arg) ioctl_send_phy_packet() argument 1731 ioctl_receive_phy_packets(struct client * client,union ioctl_arg * arg) ioctl_receive_phy_packets() argument 1751 struct client *client; fw_cdev_handle_phy_packet() local 1821 dispatch_ioctl(struct client * client,unsigned int cmd,void __user * arg) dispatch_ioctl() argument 1860 struct client *client = file->private_data; fw_device_op_mmap() local 1909 has_outbound_transactions(struct client * client) has_outbound_transactions() argument 1926 struct client *client = file->private_data; fw_device_op_release() local 1968 struct client *client = file->private_data; fw_device_op_poll() local [all...] |
| /linux/sound/core/seq/ |
| H A D | seq_ump_client.c | 35 /* sequencer client, per UMP EP (rawmidi) */ 38 int seq_client; /* sequencer client id */ 46 void *ump_info[SNDRV_UMP_MAX_BLOCKS + 1]; /* shadow of seq client ump_info */ 67 struct seq_ump_client *client = ump->seq_client; in seq_ump_input_receive() 70 if (!client->opened[STR_IN]) in seq_ump_input_receive() 77 ev.dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS; in seq_ump_input_receive() 80 snd_seq_kernel_client_dispatch(client->seq_client, 89 struct seq_ump_client *client = private_data; in seq_ump_process_event() 96 substream = rcu_dereference(client->out_substream); in seq_ump_process_event() 111 static int seq_ump_client_open(struct seq_ump_client *client, in in seq_ump_client_open() 63 struct seq_ump_client *client = ump->seq_client; seq_ump_input_receive() local 85 struct seq_ump_client *client = private_data; seq_ump_process_event() local 106 seq_ump_client_open(struct seq_ump_client * client,int dir) seq_ump_client_open() argument 125 seq_ump_client_close(struct seq_ump_client * client,int dir) seq_ump_client_close() argument 139 struct seq_ump_client *client = pdata; seq_ump_subscribe() local 146 struct seq_ump_client *client = pdata; seq_ump_unsubscribe() local 153 struct seq_ump_client *client = pdata; seq_ump_use() local 160 struct seq_ump_client *client = pdata; seq_ump_unuse() local 167 fill_port_info(struct snd_seq_port_info * port,struct seq_ump_client * client,struct snd_ump_group * group) fill_port_info() argument 207 skip_group(struct seq_ump_client * client,struct snd_ump_group * group) skip_group() argument 214 seq_ump_group_init(struct seq_ump_client * client,int group_index) seq_ump_group_init() argument 244 update_port_infos(struct seq_ump_client * client) update_port_infos() argument 279 create_ump_endpoint_port(struct seq_ump_client * client) create_ump_endpoint_port() argument 334 seq_ump_client_free(struct seq_ump_client * client) seq_ump_client_free() argument 348 setup_client_midi_version(struct seq_ump_client * client) setup_client_midi_version() argument 363 setup_client_group_filter(struct seq_ump_client * client) setup_client_group_filter() argument 384 struct seq_ump_client *client = handle_group_notify() local 394 struct seq_ump_client *client = ump->seq_client; seq_ump_notify_ep_change() local 422 struct seq_ump_client *client = ump->seq_client; seq_ump_notify_fb_change() local 436 struct seq_ump_client *client = ump->seq_client; seq_ump_switch_protocol() local 459 struct seq_ump_client *client; snd_seq_ump_probe() local [all...] |
| H A D | seq_clientmgr.c | 37 * There are four ranges of client numbers (last two shared): 39 * 16..127: statically allocated client numbers for cards 0..27 40 * 128..191: dynamically allocated client numbers for cards 28..31 41 * 128..191: dynamically allocated client numbers for applications 48 /* dynamically allocated client numbers (both kernel drivers and user space) */ 59 * client table 68 static int bounce_error_event(struct snd_seq_client *client, 71 static int snd_seq_deliver_single_event(struct snd_seq_client *client, 76 static void free_ump_info(struct snd_seq_client *client); 93 static inline int snd_seq_write_pool_allocated(struct snd_seq_client *client) in snd_seq_write_pool_allocated() argument 119 struct snd_seq_client *client; client_use_ptr() local 210 struct snd_seq_client *client; seq_create_client1() local 256 seq_free_client1(struct snd_seq_client * client) seq_free_client1() argument 282 seq_free_client(struct snd_seq_client * client) seq_free_client() argument 313 struct snd_seq_client *client; snd_seq_open() local 364 struct snd_seq_client *client = file->private_data; snd_seq_release() local 380 event_is_compatible(const struct snd_seq_client * client,const struct snd_seq_event * ev) event_is_compatible() argument 400 struct snd_seq_client *client = file->private_data; snd_seq_read() local 539 bounce_error_event(struct snd_seq_client * client,struct snd_seq_event * event,int err,int atomic,int hop) bounce_error_event() argument 651 _snd_seq_deliver_single_event(struct snd_seq_client * client,struct snd_seq_event * event,int atomic,int hop) _snd_seq_deliver_single_event() argument 699 snd_seq_deliver_single_event(struct snd_seq_client * client,struct snd_seq_event * event,int atomic,int hop) snd_seq_deliver_single_event() argument 714 __deliver_to_subscribers(struct snd_seq_client * client,struct snd_seq_event * event,int port,int atomic,int hop) __deliver_to_subscribers() argument 771 deliver_to_subscribers(struct snd_seq_client * client,struct snd_seq_event * event,int atomic,int hop) deliver_to_subscribers() argument 811 snd_seq_deliver_event(struct snd_seq_client * client,struct snd_seq_event * event,int atomic,int hop) snd_seq_deliver_event() argument 919 snd_seq_client_enqueue_event(struct snd_seq_client * client,struct snd_seq_event * event,struct file * file,int blocking,int atomic,int hop,struct mutex * mutexp) snd_seq_client_enqueue_event() argument 1010 struct snd_seq_client *client = file->private_data; snd_seq_write() local 1130 struct snd_seq_client *client = file->private_data; snd_seq_poll() local 1158 snd_seq_ioctl_pversion(struct snd_seq_client * client,void * arg) snd_seq_ioctl_pversion() argument 1166 snd_seq_ioctl_user_pversion(struct snd_seq_client * client,void * arg) snd_seq_ioctl_user_pversion() argument 1172 snd_seq_ioctl_client_id(struct snd_seq_client * client,void * arg) snd_seq_ioctl_client_id() argument 1181 snd_seq_ioctl_system_info(struct snd_seq_client * client,void * arg) snd_seq_ioctl_system_info() argument 1199 snd_seq_ioctl_running_mode(struct snd_seq_client * client,void * arg) snd_seq_ioctl_running_mode() argument 1251 snd_seq_ioctl_get_client_info(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_client_info() argument 1268 snd_seq_ioctl_set_client_info(struct snd_seq_client * client,void * arg) snd_seq_ioctl_set_client_info() argument 1312 snd_seq_ioctl_create_port(struct snd_seq_client * client,void * arg) snd_seq_ioctl_create_port() argument 1371 snd_seq_ioctl_delete_port(struct snd_seq_client * client,void * arg) snd_seq_ioctl_delete_port() argument 1393 snd_seq_ioctl_get_port_info(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_port_info() argument 1416 snd_seq_ioctl_set_port_info(struct snd_seq_client * client,void * arg) snd_seq_ioctl_set_port_info() argument 1441 check_subscription_permission(struct snd_seq_client * client,struct snd_seq_client_port * sport,struct snd_seq_client_port * dport,struct snd_seq_port_subscribe * subs) check_subscription_permission() argument 1475 snd_seq_client_notify_subscription(int client,int port,struct snd_seq_port_subscribe * info,int evtype) snd_seq_client_notify_subscription() argument 1493 snd_seq_ioctl_subscribe_port(struct snd_seq_client * client,void * arg) snd_seq_ioctl_subscribe_port() argument 1532 snd_seq_ioctl_unsubscribe_port(struct snd_seq_client * client,void * arg) snd_seq_ioctl_unsubscribe_port() argument 1568 snd_seq_ioctl_create_queue(struct snd_seq_client * client,void * arg) snd_seq_ioctl_create_queue() argument 1590 snd_seq_ioctl_delete_queue(struct snd_seq_client * client,void * arg) snd_seq_ioctl_delete_queue() argument 1598 snd_seq_ioctl_get_queue_info(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_queue_info() argument 1618 snd_seq_ioctl_set_queue_info(struct snd_seq_client * client,void * arg) snd_seq_ioctl_set_queue_info() argument 1648 snd_seq_ioctl_get_named_queue(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_named_queue() argument 1665 snd_seq_ioctl_get_queue_status(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_queue_status() argument 1693 snd_seq_ioctl_get_queue_tempo(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_queue_tempo() argument 1720 snd_seq_set_queue_tempo(int client,struct snd_seq_queue_tempo * tempo) snd_seq_set_queue_tempo() argument 1728 snd_seq_ioctl_set_queue_tempo(struct snd_seq_client * client,void * arg) snd_seq_ioctl_set_queue_tempo() argument 1742 snd_seq_ioctl_get_queue_timer(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_queue_timer() argument 1769 snd_seq_ioctl_set_queue_timer(struct snd_seq_client * client,void * arg) snd_seq_ioctl_set_queue_timer() argument 1803 snd_seq_ioctl_get_queue_client(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_queue_client() argument 1820 snd_seq_ioctl_set_queue_client(struct snd_seq_client * client,void * arg) snd_seq_ioctl_set_queue_client() argument 1837 snd_seq_ioctl_get_client_pool(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_client_pool() argument 1865 snd_seq_ioctl_set_client_pool(struct snd_seq_client * client,void * arg) snd_seq_ioctl_set_client_pool() argument 1910 snd_seq_ioctl_remove_events(struct snd_seq_client * client,void * arg) snd_seq_ioctl_remove_events() argument 1937 snd_seq_ioctl_get_subscription(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_subscription() argument 1957 snd_seq_ioctl_query_subs(struct snd_seq_client * client,void * arg) snd_seq_ioctl_query_subs() argument 2012 snd_seq_ioctl_query_next_client(struct snd_seq_client * client,void * arg) snd_seq_ioctl_query_next_client() argument 2036 snd_seq_ioctl_query_next_port(struct snd_seq_client * client,void * arg) snd_seq_ioctl_query_next_port() argument 2063 free_ump_info(struct snd_seq_client * client) free_ump_info() argument 2088 dump_ump_info(struct snd_info_buffer * buffer,struct snd_seq_client * client) dump_ump_info() argument 2120 int client, type, err = 0; snd_seq_ioctl_client_ump_info() local 2242 struct snd_seq_client *client = file->private_data; snd_seq_ioctl() local 2324 struct snd_seq_client *client; snd_seq_create_kernel_client() local 2371 snd_seq_delete_kernel_client(int client) snd_seq_delete_kernel_client() argument 2393 snd_seq_kernel_client_enqueue(int client,struct snd_seq_event * ev,struct file * file,bool blocking) snd_seq_kernel_client_enqueue() argument 2435 snd_seq_kernel_client_dispatch(int client,struct snd_seq_event * ev,int atomic,int hop) snd_seq_kernel_client_dispatch() argument 2460 call_seq_client_ctl(struct snd_seq_client * client,unsigned int cmd,void * arg) call_seq_client_ctl() argument 2489 struct snd_seq_client *client; snd_seq_kernel_client_ctl() local 2515 struct snd_seq_client *client; snd_seq_kernel_client_write_poll() local 2596 snd_seq_info_dump_ports(struct snd_info_buffer * buffer,struct snd_seq_client * client) snd_seq_info_dump_ports() argument [all...] |
| /linux/drivers/input/touchscreen/ |
| H A D | zforce_ts.c | 94 * @client the i2c_client 105 struct i2c_client *client; member 130 struct i2c_client *client = ts->client; in zforce_command() local 134 dev_dbg(&client->dev, "%s: 0x%x\n", __func__, cmd); in zforce_command() 140 ret = i2c_master_send(client, &buf[0], ARRAY_SIZE(buf)); in zforce_command() 142 dev_err(&client->dev, "i2c send data request error: %d\n", ret); in zforce_command() 151 struct i2c_client *client = ts->client; in zforce_send_wait() local 154 dev_dbg(&client in zforce_send_wait() 176 struct i2c_client *client = ts->client; zforce_command_wait() local 198 struct i2c_client *client = ts->client; zforce_resolution() local 211 struct i2c_client *client = ts->client; zforce_scan_frequency() local 226 struct i2c_client *client = ts->client; zforce_setconfig() local 237 struct i2c_client *client = ts->client; zforce_start() local 289 struct i2c_client *client = ts->client; zforce_stop() local 307 struct i2c_client *client = ts->client; zforce_touch_event() local 381 struct i2c_client *client = ts->client; zforce_read_packet() local 417 struct i2c_client *client = ts->client; zforce_complete() local 431 struct i2c_client *client = ts->client; zforce_irq() local 442 struct i2c_client *client = ts->client; zforce_irq_thread() local 561 struct i2c_client *client = ts->client; zforce_input_close() local 571 struct i2c_client *client = ts->client; __zforce_suspend() local 609 struct i2c_client *client = to_i2c_client(dev); zforce_suspend() local 626 struct i2c_client *client = to_i2c_client(dev); zforce_resume() local 681 zforce_probe(struct i2c_client * client) zforce_probe() argument [all...] |
| H A D | raydium_i2c_ts.c | 119 struct i2c_client *client; member 149 static int raydium_i2c_xfer(struct i2c_client *client, u32 addr, in raydium_i2c_xfer() argument 160 ret = i2c_transfer(client->adapter, &xfer[xfer_start_idx], xfer_count); in raydium_i2c_xfer() 167 static int raydium_i2c_send(struct i2c_client *client, in raydium_i2c_send() argument 199 .addr = client->addr, in raydium_i2c_send() 204 .addr = client->addr, in raydium_i2c_send() 210 error = raydium_i2c_xfer(client, addr, xfer, ARRAY_SIZE(xfer)); in raydium_i2c_send() 217 dev_err(&client->dev, "%s failed: %d\n", __func__, error); in raydium_i2c_send() 221 static int raydium_i2c_read(struct i2c_client *client, in raydium_i2c_read() argument 246 .addr = client in raydium_i2c_read() 275 raydium_i2c_sw_reset(struct i2c_client * client) raydium_i2c_sw_reset() argument 294 struct i2c_client *client = ts->client; raydium_i2c_query_ts_bootloader_info() local 332 struct i2c_client *client = ts->client; raydium_i2c_query_ts_info() local 385 struct i2c_client *client = ts->client; raydium_i2c_check_fw_status() local 405 struct i2c_client *client = ts->client; raydium_i2c_initialize() local 436 raydium_i2c_bl_chk_state(struct i2c_client * client,enum raydium_bl_ack state) raydium_i2c_bl_chk_state() argument 477 raydium_i2c_write_object(struct i2c_client * client,const void * data,size_t len,enum raydium_bl_ack state) raydium_i2c_write_object() argument 505 raydium_i2c_boot_trigger(struct i2c_client * client) raydium_i2c_boot_trigger() argument 533 raydium_i2c_fw_trigger(struct i2c_client * client) raydium_i2c_fw_trigger() argument 559 raydium_i2c_check_path(struct i2c_client * client) raydium_i2c_check_path() argument 574 raydium_i2c_enter_bl(struct i2c_client * client) raydium_i2c_enter_bl() argument 590 raydium_i2c_leave_bl(struct i2c_client * client) raydium_i2c_leave_bl() argument 606 raydium_i2c_write_checksum(struct i2c_client * client,size_t length,u16 checksum) raydium_i2c_write_checksum() argument 627 raydium_i2c_disable_watch_dog(struct i2c_client * client) raydium_i2c_disable_watch_dog() argument 643 raydium_i2c_fw_write_page(struct i2c_client * client,u16 page_idx,const void * data,size_t len) raydium_i2c_fw_write_page() argument 694 struct i2c_client *client = ts->client; raydium_i2c_do_update_firmware() local 814 struct i2c_client *client = ts->client; raydium_i2c_fw_update() local 925 struct i2c_client *client = to_i2c_client(dev); raydium_i2c_fw_ver_show() local 934 struct i2c_client *client = to_i2c_client(dev); raydium_i2c_hw_ver_show() local 944 struct i2c_client *client = to_i2c_client(dev); raydium_i2c_boot_mode_show() local 956 struct i2c_client *client = to_i2c_client(dev); raydium_i2c_update_fw_store() local 972 struct i2c_client *client = to_i2c_client(dev); raydium_i2c_calibrate_store() local 1057 raydium_i2c_probe(struct i2c_client * client) raydium_i2c_probe() argument 1169 raydium_enter_sleep(struct i2c_client * client) raydium_enter_sleep() argument 1183 struct i2c_client *client = to_i2c_client(dev); raydium_i2c_suspend() local 1203 struct i2c_client *client = to_i2c_client(dev); raydium_i2c_resume() local [all...] |
| H A D | hynitron_cstxxx.c | 30 int (*firmware_info)(struct i2c_client *client); 31 int (*bootloader_enter)(struct i2c_client *client); 32 int (*init_input)(struct i2c_client *client); 33 void (*report_touch)(struct i2c_client *client); 39 struct i2c_client *client; member 71 static void hyn_reset_proc(struct i2c_client *client, int delay) in hyn_reset_proc() argument 73 struct hynitron_ts_data *ts_data = i2c_get_clientdata(client); in hyn_reset_proc() 84 struct i2c_client *client = dev_id; in hyn_interrupt_handler() local 85 struct hynitron_ts_data *ts_data = i2c_get_clientdata(client); in hyn_interrupt_handler() 87 ts_data->chip->report_touch(client); in hyn_interrupt_handler() 97 cst3xx_i2c_write(struct i2c_client * client,unsigned char * buf,int len) cst3xx_i2c_write() argument 116 cst3xx_i2c_read_register(struct i2c_client * client,u16 reg,u8 * val,u16 len) cst3xx_i2c_read_register() argument 148 cst3xx_firmware_info(struct i2c_client * client) cst3xx_firmware_info() argument 208 cst3xx_bootloader_enter(struct i2c_client * client) cst3xx_bootloader_enter() argument 257 cst3xx_finish_touch_read(struct i2c_client * client) cst3xx_finish_touch_read() argument 288 cst3xx_touch_report(struct i2c_client * client) cst3xx_touch_report() argument 364 cst3xx_input_dev_int(struct i2c_client * client) cst3xx_input_dev_int() argument 419 hyn_probe(struct i2c_client * client) hyn_probe() argument [all...] |
| H A D | elants_i2c.c | 152 struct i2c_client *client; member 190 static int elants_i2c_send(struct i2c_client *client, in elants_i2c_send() argument 195 ret = i2c_master_send(client, data, size); in elants_i2c_send() 202 dev_err(&client->dev, "%s failed (%*ph): %d\n", in elants_i2c_send() 208 static int elants_i2c_read(struct i2c_client *client, void *data, size_t size) in elants_i2c_read() argument 212 ret = i2c_master_recv(client, data, size); in elants_i2c_read() 219 dev_err(&client->dev, "%s failed: %d\n", __func__, ret); in elants_i2c_read() 224 static int elants_i2c_execute_command(struct i2c_client *client, in elants_i2c_execute_command() argument 247 dev_err(&client->dev, "(%s): invalid command: %*ph\n", in elants_i2c_execute_command() 253 msgs[0].addr = client in elants_i2c_execute_command() 300 struct i2c_client *client = ts->client; elants_i2c_calibrate() local 337 elants_i2c_sw_reset(struct i2c_client * client) elants_i2c_sw_reset() argument 365 struct i2c_client *client = ts->client; elants_i2c_query_hw_version() local 390 struct i2c_client *client = ts->client; elants_i2c_query_fw_version() local 418 struct i2c_client *client = ts->client; elants_i2c_query_test_version() local 441 struct i2c_client *client = ts->client; elants_i2c_query_bc_version() local 462 struct i2c_client *client = ts->client; elants_i2c_query_ts_info_ektf() local 506 struct i2c_client *client = ts->client; elants_i2c_query_ts_info_ekth() local 586 elants_i2c_fastboot(struct i2c_client * client) elants_i2c_fastboot() argument 603 struct i2c_client *client = ts->client; elants_i2c_initialize() local 684 elants_i2c_fw_write_page(struct i2c_client * client,const void * page) elants_i2c_fw_write_page() argument 722 struct i2c_client *client = ts->client; elants_i2c_validate_remark_id() local 752 struct i2c_client *client = ts->client; elants_i2c_should_check_remark_id() local 781 elants_i2c_do_update_firmware(struct i2c_client * client,const struct firmware * fw,bool force) elants_i2c_do_update_firmware() argument 906 struct i2c_client *client = ts->client; elants_i2c_fw_update() local 1059 struct i2c_client *client = ts->client; elants_i2c_irq() local 1175 struct i2c_client *client = to_i2c_client(dev); calibrate_store() local 1192 struct i2c_client *client = to_i2c_client(dev); write_update_fw() local 1208 struct i2c_client *client = to_i2c_client(dev); show_iap_mode() local 1219 struct i2c_client *client = to_i2c_client(dev); show_calibration_count() local 1263 struct i2c_client *client = to_i2c_client(dev); elants_version_attribute_show() local 1395 elants_i2c_probe(struct i2c_client * client) elants_i2c_probe() argument 1544 struct i2c_client *client = to_i2c_client(dev); elants_i2c_suspend() local 1583 struct i2c_client *client = to_i2c_client(dev); elants_i2c_resume() local [all...] |
| H A D | iqs5xx.c | 119 struct i2c_client *client; member 128 static int iqs5xx_read_burst(struct i2c_client *client, in iqs5xx_read_burst() argument 135 .addr = client->addr, in iqs5xx_read_burst() 141 .addr = client->addr, in iqs5xx_read_burst() 154 ret = i2c_transfer(client->adapter, msg, ARRAY_SIZE(msg)); in iqs5xx_read_burst() 164 dev_err(&client->dev, "Failed to read from address 0x%04X: %d\n", in iqs5xx_read_burst() 170 static int iqs5xx_read_word(struct i2c_client *client, u16 reg, u16 *val) in iqs5xx_read_word() argument 175 error = iqs5xx_read_burst(client, reg, &val_buf, sizeof(val_buf)); in iqs5xx_read_word() 184 static int iqs5xx_write_burst(struct i2c_client *client, in iqs5xx_write_burst() argument 203 ret = i2c_master_send(client, mbu in iqs5xx_write_burst() 219 iqs5xx_write_word(struct i2c_client * client,u16 reg,u16 val) iqs5xx_write_word() argument 226 iqs5xx_write_byte(struct i2c_client * client,u16 reg,u8 val) iqs5xx_write_byte() argument 231 iqs5xx_reset(struct i2c_client * client) iqs5xx_reset() argument 241 iqs5xx_bl_cmd(struct i2c_client * client,u8 bl_cmd,u16 bl_addr) iqs5xx_bl_cmd() argument 323 iqs5xx_bl_open(struct i2c_client * client) iqs5xx_bl_open() argument 352 iqs5xx_bl_write(struct i2c_client * client,u16 bl_addr,const u8 * pmap_data,u16 pmap_len) iqs5xx_bl_write() argument 391 iqs5xx_bl_verify(struct i2c_client * client,u16 bl_addr,const u8 * pmap_data,u16 pmap_len) iqs5xx_bl_verify() argument 435 iqs5xx_set_state(struct i2c_client * client,u8 state) iqs5xx_set_state() argument 474 iqs5xx_axis_init(struct i2c_client * client) iqs5xx_axis_init() argument 541 iqs5xx_dev_init(struct i2c_client * client) iqs5xx_dev_init() argument 629 struct i2c_client *client = iqs5xx->client; iqs5xx_irq() local 691 iqs5xx_fw_file_parse(struct i2c_client * client,const char * fw_file,u8 * pmap) iqs5xx_fw_file_parse() argument 822 struct i2c_client *client = iqs5xx->client; iqs5xx_update_firmware() local 851 iqs5xx_fw_file_write(struct i2c_client * client,const char * fw_file) iqs5xx_fw_file_write() argument 890 struct i2c_client *client = iqs5xx->client; fw_file_store() local 1006 iqs5xx_probe(struct i2c_client * client) iqs5xx_probe() argument [all...] |
| H A D | rohm_bu21023.c | 258 struct i2c_client *client; member 271 * @client: Handle to ROHM BU21023/24 282 static int rohm_i2c_burst_read(struct i2c_client *client, u8 start, void *buf, in rohm_i2c_burst_read() argument 285 struct i2c_adapter *adap = client->adapter; in rohm_i2c_burst_read() 289 msg[0].addr = client->addr; in rohm_i2c_burst_read() 294 msg[1].addr = client->addr; in rohm_i2c_burst_read() 315 struct i2c_client *client = ts->client; in rohm_ts_manual_calibration() local 316 struct device *dev = &client->dev; in rohm_ts_manual_calibration() 335 reg1_orig = i2c_smbus_read_byte_data(client, CALIBRATION_REG in rohm_ts_manual_calibration() 523 struct i2c_client *client = ts->client; rohm_ts_soft_irq() local 642 rohm_ts_load_firmware(struct i2c_client * client,const char * firmware_name) rohm_ts_load_firmware() argument 754 struct i2c_client *client = to_i2c_client(dev); swap_xy_show() local 763 struct i2c_client *client = to_i2c_client(dev); swap_xy_store() local 779 struct i2c_client *client = to_i2c_client(dev); inv_x_show() local 788 struct i2c_client *client = to_i2c_client(dev); inv_x_store() local 804 struct i2c_client *client = to_i2c_client(dev); inv_y_show() local 813 struct i2c_client *client = to_i2c_client(dev); inv_y_store() local 838 rohm_ts_device_init(struct i2c_client * client,u8 setup2) rohm_ts_device_init() argument 1024 rohm_ts_power_off(struct i2c_client * client) rohm_ts_power_off() argument 1048 struct i2c_client *client = ts->client; rohm_ts_open() local 1074 rohm_bu21023_i2c_probe(struct i2c_client * client) rohm_bu21023_i2c_probe() argument [all...] |
| /linux/drivers/rtc/ |
| H A D | rtc-nct3018y.c | 48 struct i2c_client *client; 55 static int nct3018y_set_alarm_mode(struct i2c_client *client, bool on) in nct3018y_set_alarm_mode() 59 dev_dbg(&client->dev, "%s:on:%d\n", __func__, on); in nct3018y_set_alarm_mode() 61 flags = i2c_smbus_read_byte_data(client, NCT3018Y_REG_CTRL); in nct3018y_set_alarm_mode() 63 dev_dbg(&client->dev, in nct3018y_set_alarm_mode() 74 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_CTRL, flags); in nct3018y_set_alarm_mode() 76 dev_dbg(&client->dev, "Unable to write NCT3018Y_REG_CTRL\n"); in nct3018y_set_alarm_mode() 80 flags = i2c_smbus_read_byte_data(client, NCT3018Y_REG_ST); in nct3018y_set_alarm_mode() 82 dev_dbg(&client->dev, in nct3018y_set_alarm_mode() 88 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_S in nct3018y_set_alarm_mode() 45 struct i2c_client *client; global() member 52 nct3018y_set_alarm_mode(struct i2c_client * client,bool on) nct3018y_set_alarm_mode() argument 94 nct3018y_get_alarm_mode(struct i2c_client * client,unsigned char * alarm_enable,unsigned char * alarm_flag) nct3018y_get_alarm_mode() argument 124 struct i2c_client *client = nct3018y->client; nct3018y_irq() local 152 struct i2c_client *client = to_i2c_client(dev); nct3018y_rtc_read_time() local 182 struct i2c_client *client = to_i2c_client(dev); nct3018y_rtc_set_time() local 254 struct i2c_client *client = to_i2c_client(dev); nct3018y_rtc_read_alarm() local 285 struct i2c_client *client = to_i2c_client(dev); nct3018y_rtc_set_alarm() local 322 struct i2c_client *client = to_i2c_client(dev); nct3018y_ioctl() local 359 struct i2c_client *client = nct3018y->client; nct3018y_clkout_recalc_rate() local 391 struct i2c_client *client = nct3018y->client; nct3018y_clkout_set_rate() local 411 struct i2c_client *client = nct3018y->client; nct3018y_clkout_control() local 439 struct i2c_client *client = nct3018y->client; nct3018y_clkout_is_prepared() local 460 struct i2c_client *client = nct3018y->client; nct3018y_clkout_register_clk() local 494 nct3018y_probe(struct i2c_client * client) nct3018y_probe() argument [all...] |
| H A D | rtc-ds1374.c | 3 * RTC client/driver for the Maxim/Dallas DS1374 Real-Time Clock over I2C 70 struct i2c_client *client; 86 static int ds1374_read_rtc(struct i2c_client *client, u32 *time, in ds1374_read_rtc() 96 ret = i2c_smbus_read_i2c_block_data(client, reg, nbytes, buf); in ds1374_read_rtc() 109 static int ds1374_write_rtc(struct i2c_client *client, u32 time, in ds1374_write_rtc() 125 return i2c_smbus_write_i2c_block_data(client, reg, nbytes, buf); in ds1374_write_rtc() 128 static int ds1374_check_rtc_status(struct i2c_client *client) in ds1374_check_rtc_status() 133 stat = i2c_smbus_read_byte_data(client, DS1374_REG_SR); in ds1374_check_rtc_status() 138 dev_warn(&client->dev, in ds1374_check_rtc_status() 143 ret = i2c_smbus_write_byte_data(client, DS1374_REG_S in ds1374_check_rtc_status() 69 struct i2c_client *client; global() member 85 ds1374_read_rtc(struct i2c_client * client,u32 * time,int reg,int nbytes) ds1374_read_rtc() argument 108 ds1374_write_rtc(struct i2c_client * client,u32 time,int reg,int nbytes) ds1374_write_rtc() argument 127 ds1374_check_rtc_status(struct i2c_client * client) ds1374_check_rtc_status() argument 161 struct i2c_client *client = to_i2c_client(dev); ds1374_read_time() local 174 struct i2c_client *client = to_i2c_client(dev); ds1374_set_time() local 187 struct i2c_client *client = to_i2c_client(dev); ds1374_read_alarm() local 225 struct i2c_client *client = to_i2c_client(dev); ds1374_set_alarm() local 286 struct i2c_client *client = dev_id; ds1374_irq() local 297 struct i2c_client *client = ds1374->client; ds1374_work() local 330 struct i2c_client *client = to_i2c_client(dev); ds1374_alarm_irq_enable() local 395 struct i2c_client *client = ds1374->client; ds1374_wdt_settimeout() local 443 struct i2c_client *client = ds1374->client; ds1374_wdt_stop() local 470 ds1374_probe(struct i2c_client * client) ds1374_probe() argument 533 ds1374_remove(struct i2c_client * client) ds1374_remove() argument 550 struct i2c_client *client = to_i2c_client(dev); ds1374_suspend() local 559 struct i2c_client *client = to_i2c_client(dev); ds1374_resume() local [all...] |
| H A D | rtc-hym8563.c | 79 struct i2c_client *client; member 92 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_read_time() local 96 ret = i2c_smbus_read_i2c_block_data(client, HYM8563_SEC, 7, buf); in hym8563_rtc_read_time() 101 dev_warn(&client->dev, in hym8563_rtc_read_time() 119 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_set_time() local 145 ret = i2c_smbus_write_byte_data(client, HYM8563_CTL1, in hym8563_rtc_set_time() 150 ret = i2c_smbus_write_i2c_block_data(client, HYM8563_SEC, 7, buf); in hym8563_rtc_set_time() 154 ret = i2c_smbus_write_byte_data(client, HYM8563_CTL1, 0); in hym8563_rtc_set_time() 164 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_alarm_irq_enable() local 167 data = i2c_smbus_read_byte_data(client, HYM8563_CTL in hym8563_rtc_alarm_irq_enable() 181 struct i2c_client *client = to_i2c_client(dev); hym8563_rtc_read_alarm() local 218 struct i2c_client *client = to_i2c_client(dev); hym8563_rtc_set_alarm() local 278 struct i2c_client *client = hym8563->client; hym8563_clkout_recalc_rate() local 309 struct i2c_client *client = hym8563->client; hym8563_clkout_set_rate() local 330 struct i2c_client *client = hym8563->client; hym8563_clkout_control() local 357 struct i2c_client *client = hym8563->client; hym8563_clkout_is_prepared() local 377 struct i2c_client *client = hym8563->client; hym8563_clkout_register_clk() local 417 struct i2c_client *client = hym8563->client; hym8563_irq() local 444 hym8563_init_device(struct i2c_client * client) hym8563_init_device() argument 476 struct i2c_client *client = to_i2c_client(dev); hym8563_suspend() local 492 struct i2c_client *client = to_i2c_client(dev); hym8563_resume() local 503 hym8563_probe(struct i2c_client * client) hym8563_probe() argument [all...] |
| /linux/drivers/input/keyboard/ |
| H A D | qt2160.c | 55 struct i2c_client *client; member 64 static int qt2160_read(struct i2c_client *client, u8 reg); 65 static int qt2160_write(struct i2c_client *client, u8 reg, u8 data); 74 struct i2c_client *client = qt2160->client; in qt2160_led_set() local 78 drive = qt2160_read(client, QT2160_CMD_DRIVE_X); in qt2160_led_set() 79 pwmen = qt2160_read(client, QT2160_CMD_PWMEN_X); in qt2160_led_set() 88 qt2160_write(client, QT2160_CMD_DRIVE_X, drive); in qt2160_led_set() 89 qt2160_write(client, QT2160_CMD_PWMEN_X, pwmen); in qt2160_led_set() 96 qt2160_write(client, QT2160_CMD_PWM_DUT in qt2160_led_set() 106 qt2160_read_block(struct i2c_client * client,u8 inireg,u8 * buffer,unsigned int count) qt2160_read_block() argument 160 struct i2c_client *client = qt2160->client; qt2160_get_key_matrix() local 204 qt2160_read(struct i2c_client * client,u8 reg) qt2160_read() argument 225 qt2160_write(struct i2c_client * client,u8 reg,u8 data) qt2160_write() argument 241 struct i2c_client *client = qt2160->client; qt2160_register_leds() local 277 qt2160_identify(struct i2c_client * client) qt2160_identify() argument 308 qt2160_probe(struct i2c_client * client) qt2160_probe() argument [all...] |
| H A D | max7359_keypad.c | 61 struct i2c_client *client; member 64 static int max7359_write_reg(struct i2c_client *client, u8 reg, u8 val) in max7359_write_reg() argument 66 int ret = i2c_smbus_write_byte_data(client, reg, val); in max7359_write_reg() 69 dev_err(&client->dev, "%s: reg 0x%x, val 0x%x, err %d\n", in max7359_write_reg() 74 static int max7359_read_reg(struct i2c_client *client, int reg) in max7359_read_reg() argument 76 int ret = i2c_smbus_read_byte_data(client, reg); in max7359_read_reg() 79 dev_err(&client->dev, "%s: reg 0x%x, err %d\n", in max7359_read_reg() 91 val = max7359_read_reg(keypad->client, MAX7359_REG_KEYFIFO); in max7359_interrupt() 98 dev_dbg(&keypad->client->dev, in max7359_interrupt() 113 static inline void max7359_fall_deepsleep(struct i2c_client *client) in max7359_fall_deepsleep() argument 122 max7359_take_catnap(struct i2c_client * client) max7359_take_catnap() argument 143 max7359_initialize(struct i2c_client * client) max7359_initialize() argument 158 max7359_probe(struct i2c_client * client) max7359_probe() argument 247 struct i2c_client *client = to_i2c_client(dev); max7359_suspend() local 259 struct i2c_client *client = to_i2c_client(dev); max7359_resume() local [all...] |
| H A D | qt1070.c | 49 struct i2c_client *client; member 56 static int qt1070_read(struct i2c_client *client, u8 reg) in qt1070_read() argument 60 ret = i2c_smbus_read_byte_data(client, reg); in qt1070_read() 62 dev_err(&client->dev, in qt1070_read() 68 static int qt1070_write(struct i2c_client *client, u8 reg, u8 data) in qt1070_write() argument 72 ret = i2c_smbus_write_byte_data(client, reg, data); in qt1070_write() 74 dev_err(&client->dev, in qt1070_write() 80 static bool qt1070_identify(struct i2c_client *client) in qt1070_identify() argument 85 id = qt1070_read(client, CHIP_ID); in qt1070_identify() 87 dev_err(&client in qt1070_identify() 106 struct i2c_client *client = data->client; qt1070_interrupt() local 129 qt1070_probe(struct i2c_client * client) qt1070_probe() argument 213 struct i2c_client *client = to_i2c_client(dev); qt1070_suspend() local 224 struct i2c_client *client = to_i2c_client(dev); qt1070_resume() local [all...] |
| /linux/drivers/platform/surface/ |
| H A D | surface_aggregator_cdev.c | 52 struct ssam_cdev_client *client; member 96 struct ssam_cdev_client *client = cdev_nf->client; in ssam_cdev_notifier() local 107 mutex_lock(&client->write_lock); in ssam_cdev_notifier() 110 if (kfifo_avail(&client->buffer) < n) { in ssam_cdev_notifier() 111 dev_warn(client->cdev->dev, in ssam_cdev_notifier() 114 mutex_unlock(&client->write_lock); in ssam_cdev_notifier() 119 kfifo_in(&client->buffer, (const u8 *)&event, struct_size(&event, data, 0)); in ssam_cdev_notifier() 120 kfifo_in(&client->buffer, &in->data[0], in->length); in ssam_cdev_notifier() 122 mutex_unlock(&client->write_lock); in ssam_cdev_notifier() 125 kill_fasync(&client->fasync, SIGIO, POLL_IN); in ssam_cdev_notifier() [all …]
|
| /linux/drivers/virt/acrn/ |
| H A D | ioreq.c | 29 static inline bool has_pending_request(struct acrn_ioreq_client *client) in has_pending_request() argument 31 return !bitmap_empty(client->ioreqs_map, ACRN_IO_REQUEST_MAX); in has_pending_request() 34 static inline bool is_destroying(struct acrn_ioreq_client *client) in is_destroying() argument 36 return test_bit(ACRN_IOREQ_CLIENT_DESTROYING, &client->flags); in is_destroying() 73 static int acrn_ioreq_complete_request(struct acrn_ioreq_client *client, in acrn_ioreq_complete_request() argument 79 if (vcpu >= client->vm->vcpu_num) in acrn_ioreq_complete_request() 82 clear_bit(vcpu, client->ioreqs_map); in acrn_ioreq_complete_request() 84 acrn_req = (struct acrn_io_request *)client->vm->ioreq_buf; in acrn_ioreq_complete_request() 88 ret = ioreq_complete_request(client->vm, vcpu, acrn_req); in acrn_ioreq_complete_request() 115 int acrn_ioreq_range_add(struct acrn_ioreq_client *client, in acrn_ioreq_range_add() argument [all …]
|
| /linux/drivers/media/common/siano/ |
| H A D | smsdvb-main.c | 64 static void sms_board_dvb3_event(struct smsdvb_client_t *client, in sms_board_dvb3_event() argument 67 struct smscore_device_t *coredev = client->coredev; in sms_board_dvb3_event() 82 if (client->event_fe_state != DVB3_EVENT_FE_LOCK) { in sms_board_dvb3_event() 83 client->event_fe_state = DVB3_EVENT_FE_LOCK; in sms_board_dvb3_event() 89 if (client->event_fe_state != DVB3_EVENT_FE_UNLOCK) { in sms_board_dvb3_event() 90 client->event_fe_state = DVB3_EVENT_FE_UNLOCK; in sms_board_dvb3_event() 96 if (client->event_unc_state != DVB3_EVENT_UNC_OK) { in sms_board_dvb3_event() 97 client->event_unc_state = DVB3_EVENT_UNC_OK; in sms_board_dvb3_event() 103 if (client->event_unc_state != DVB3_EVENT_UNC_ERR) { in sms_board_dvb3_event() 104 client->event_unc_state = DVB3_EVENT_UNC_ERR; in sms_board_dvb3_event() [all …]
|
| /linux/drivers/media/pci/mgb4/ |
| H A D | mgb4_i2c.c | 13 static int read_r16(struct i2c_client *client, u16 reg, u8 *val, int len) in read_r16() argument 19 .addr = client->addr, in read_r16() 24 .addr = client->addr, in read_r16() 34 ret = i2c_transfer(client->adapter, msg, 2); in read_r16() 43 static int write_r16(struct i2c_client *client, u16 reg, const u8 *val, int len) in write_r16() argument 49 .addr = client->addr, in write_r16() 63 ret = i2c_transfer(client->adapter, msg, 1); in write_r16() 72 int mgb4_i2c_init(struct mgb4_i2c_client *client, struct i2c_adapter *adap, in mgb4_i2c_init() argument 75 client->client = i2c_new_client_device(adap, info); in mgb4_i2c_init() 76 if (IS_ERR(client->client)) in mgb4_i2c_init() [all …]
|
| /linux/include/linux/ceph/ |
| H A D | ceph_debug.h | 22 # define doutc(client, fmt, ...) \ argument 26 &client->fsid, client->monc.auth->global_id, \ 32 # define doutc(client, fmt, ...) \ argument 34 &client->fsid, \ 35 client->monc.auth->global_id, \ 45 # define doutc(client, fmt, ...) \ argument 46 pr_debug(" [%pU %llu] %s: " fmt, &client->fsid, \ 47 client->monc.auth->global_id, __func__, ##__VA_ARGS__) 51 #define pr_notice_client(client, fmt, ...) \ argument 52 pr_notice("[%pU %llu]: " fmt, &client->fsid, \ [all …]
|
| /linux/drivers/input/ |
| H A D | evdev.c | 78 static bool __evdev_is_filtered(struct evdev_client *client, in __evdev_is_filtered() argument 90 mask = client->evmasks[0]; in __evdev_is_filtered() 99 mask = client->evmasks[type]; in __evdev_is_filtered() 104 static void __evdev_flush_queue(struct evdev_client *client, unsigned int type) in __evdev_flush_queue() argument 107 unsigned int mask = client->bufsize - 1; in __evdev_flush_queue() 113 head = client->tail; in __evdev_flush_queue() 114 client->packet_head = client->tail; in __evdev_flush_queue() 119 for (i = client->tail; i != client->head; i = (i + 1) & mask) { in __evdev_flush_queue() 120 ev = &client->buffer[i]; in __evdev_flush_queue() 131 client->buffer[head] = *ev; in __evdev_flush_queue() [all …]
|
| /linux/drivers/accel/amdxdna/ |
| H A D | amdxdna_pci_drv.c | 78 static int amdxdna_sva_init(struct amdxdna_client *client) in amdxdna_sva_init() 80 struct amdxdna_dev *xdna = client->xdna; in amdxdna_sva_init() 82 client->sva = iommu_sva_bind_device(xdna->ddev.dev, client->mm); in amdxdna_sva_init() 83 if (IS_ERR(client->sva)) { in amdxdna_sva_init() 84 XDNA_ERR(xdna, "SVA bind device failed, ret %ld", PTR_ERR(client->sva)); in amdxdna_sva_init() 85 return PTR_ERR(client->sva); in amdxdna_sva_init() 88 client->pasid = iommu_sva_get_pasid(client->sva); in amdxdna_sva_init() 89 if (client in amdxdna_sva_init() 77 amdxdna_sva_init(struct amdxdna_client * client) amdxdna_sva_init() argument 98 amdxdna_sva_fini(struct amdxdna_client * client) amdxdna_sva_fini() argument 111 struct amdxdna_client *client; amdxdna_drm_open() local 164 amdxdna_client_cleanup(struct amdxdna_client * client) amdxdna_client_cleanup() argument 187 struct amdxdna_client *client = filp->driver_priv; amdxdna_drm_close() local 201 struct amdxdna_client *client = filp->driver_priv; amdxdna_drm_get_info_ioctl() local 219 struct amdxdna_client *client = filp->driver_priv; amdxdna_drm_get_array_ioctl() local 235 struct amdxdna_client *client = filp->driver_priv; amdxdna_drm_set_state_ioctl() local 254 struct amdxdna_client *client = drm_filp->driver_priv; amdxdna_drm_gem_mmap() local 286 struct amdxdna_client *client = filp->driver_priv; amdxdna_show_fdinfo() local 451 struct amdxdna_client *client; amdxdna_remove() local [all...] |