Home
last modified time | relevance | path

Searched full:client (Results 1 – 25 of 2464) sorted by relevance

12345678910>>...99

/linux/drivers/gpu/drm/
H A Ddrm_client_event.c24 * 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()
48 drm_client_release(client); in drm_client_dev_unregister()
54 static void drm_client_hotplug(struct drm_client_dev *client) in drm_client_hotplug() argument
[all …]
/linux/sound/core/seq/
H A Dseq_clientmgr.c3 * ALSA sequencer Client Manager
30 /* Client Manager
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,
93 snd_seq_write_pool_allocated(struct snd_seq_client * client) snd_seq_write_pool_allocated() argument
111 struct snd_seq_client *client; client_use_ptr() local
202 struct snd_seq_client *client; seq_create_client1() local
246 seq_free_client1(struct snd_seq_client * client) seq_free_client1() argument
266 seq_free_client(struct snd_seq_client * client) seq_free_client() argument
297 struct snd_seq_client *client; snd_seq_open() local
351 struct snd_seq_client *client = file->private_data; snd_seq_release() local
367 event_is_compatible(const struct snd_seq_client * client,const struct snd_seq_event * ev) event_is_compatible() argument
387 struct snd_seq_client *client = file->private_data; snd_seq_read() local
526 bounce_error_event(struct snd_seq_client * client,struct snd_seq_event * event,int err,int atomic,int hop) bounce_error_event() argument
608 _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
656 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
671 __deliver_to_subscribers(struct snd_seq_client * client,struct snd_seq_event * event,int port,int atomic,int hop) __deliver_to_subscribers() argument
727 deliver_to_subscribers(struct snd_seq_client * client,struct snd_seq_event * event,int atomic,int hop) deliver_to_subscribers() argument
767 snd_seq_deliver_event(struct snd_seq_client * client,struct snd_seq_event * event,int atomic,int hop) snd_seq_deliver_event() argument
875 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
966 struct snd_seq_client *client = file->private_data; snd_seq_write() local
1086 struct snd_seq_client *client = file->private_data; snd_seq_poll() local
1114 snd_seq_ioctl_pversion(struct snd_seq_client * client,void * arg) snd_seq_ioctl_pversion() argument
1122 snd_seq_ioctl_user_pversion(struct snd_seq_client * client,void * arg) snd_seq_ioctl_user_pversion() argument
1128 snd_seq_ioctl_client_id(struct snd_seq_client * client,void * arg) snd_seq_ioctl_client_id() argument
1137 snd_seq_ioctl_system_info(struct snd_seq_client * client,void * arg) snd_seq_ioctl_system_info() argument
1155 snd_seq_ioctl_running_mode(struct snd_seq_client * client,void * arg) snd_seq_ioctl_running_mode() argument
1207 snd_seq_ioctl_get_client_info(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_client_info() argument
1224 snd_seq_ioctl_set_client_info(struct snd_seq_client * client,void * arg) snd_seq_ioctl_set_client_info() argument
1268 snd_seq_ioctl_create_port(struct snd_seq_client * client,void * arg) snd_seq_ioctl_create_port() argument
1323 snd_seq_ioctl_delete_port(struct snd_seq_client * client,void * arg) snd_seq_ioctl_delete_port() argument
1345 snd_seq_ioctl_get_port_info(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_port_info() argument
1368 snd_seq_ioctl_set_port_info(struct snd_seq_client * client,void * arg) snd_seq_ioctl_set_port_info() argument
1393 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
1427 snd_seq_client_notify_subscription(int client,int port,struct snd_seq_port_subscribe * info,int evtype) snd_seq_client_notify_subscription() argument
1445 snd_seq_ioctl_subscribe_port(struct snd_seq_client * client,void * arg) snd_seq_ioctl_subscribe_port() argument
1484 snd_seq_ioctl_unsubscribe_port(struct snd_seq_client * client,void * arg) snd_seq_ioctl_unsubscribe_port() argument
1520 snd_seq_ioctl_create_queue(struct snd_seq_client * client,void * arg) snd_seq_ioctl_create_queue() argument
1542 snd_seq_ioctl_delete_queue(struct snd_seq_client * client,void * arg) snd_seq_ioctl_delete_queue() argument
1550 snd_seq_ioctl_get_queue_info(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_queue_info() argument
1570 snd_seq_ioctl_set_queue_info(struct snd_seq_client * client,void * arg) snd_seq_ioctl_set_queue_info() argument
1600 snd_seq_ioctl_get_named_queue(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_named_queue() argument
1617 snd_seq_ioctl_get_queue_status(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_queue_status() argument
1645 snd_seq_ioctl_get_queue_tempo(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_queue_tempo() argument
1672 snd_seq_set_queue_tempo(int client,struct snd_seq_queue_tempo * tempo) snd_seq_set_queue_tempo() argument
1680 snd_seq_ioctl_set_queue_tempo(struct snd_seq_client * client,void * arg) snd_seq_ioctl_set_queue_tempo() argument
1694 snd_seq_ioctl_get_queue_timer(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_queue_timer() argument
1721 snd_seq_ioctl_set_queue_timer(struct snd_seq_client * client,void * arg) snd_seq_ioctl_set_queue_timer() argument
1755 snd_seq_ioctl_get_queue_client(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_queue_client() argument
1772 snd_seq_ioctl_set_queue_client(struct snd_seq_client * client,void * arg) snd_seq_ioctl_set_queue_client() argument
1789 snd_seq_ioctl_get_client_pool(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_client_pool() argument
1817 snd_seq_ioctl_set_client_pool(struct snd_seq_client * client,void * arg) snd_seq_ioctl_set_client_pool() argument
1862 snd_seq_ioctl_remove_events(struct snd_seq_client * client,void * arg) snd_seq_ioctl_remove_events() argument
1889 snd_seq_ioctl_get_subscription(struct snd_seq_client * client,void * arg) snd_seq_ioctl_get_subscription() argument
1909 snd_seq_ioctl_query_subs(struct snd_seq_client * client,void * arg) snd_seq_ioctl_query_subs() argument
1964 snd_seq_ioctl_query_next_client(struct snd_seq_client * client,void * arg) snd_seq_ioctl_query_next_client() argument
1988 snd_seq_ioctl_query_next_port(struct snd_seq_client * client,void * arg) snd_seq_ioctl_query_next_port() argument
2015 free_ump_info(struct snd_seq_client * client) free_ump_info() argument
2040 dump_ump_info(struct snd_info_buffer * buffer,struct snd_seq_client * client) dump_ump_info() argument
2072 int client, type, err = 0; snd_seq_ioctl_client_ump_info() local
2194 struct snd_seq_client *client = file->private_data; snd_seq_ioctl() local
2276 struct snd_seq_client *client; snd_seq_create_kernel_client() local
2323 snd_seq_delete_kernel_client(int client) snd_seq_delete_kernel_client() argument
2345 snd_seq_kernel_client_enqueue(int client,struct snd_seq_event * ev,struct file * file,bool blocking) snd_seq_kernel_client_enqueue() argument
2387 snd_seq_kernel_client_dispatch(int client,struct snd_seq_event * ev,int atomic,int hop) snd_seq_kernel_client_dispatch() argument
2412 call_seq_client_ctl(struct snd_seq_client * client,unsigned int cmd,void * arg) call_seq_client_ctl() argument
2441 struct snd_seq_client *client; snd_seq_kernel_client_ctl() local
2467 struct snd_seq_client *client; snd_seq_kernel_client_write_poll() local
2548 snd_seq_info_dump_ports(struct snd_info_buffer * buffer,struct snd_seq_client * client) snd_seq_info_dump_ports() argument
[all...]
H A Dseq_ump_client.c35 /* 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...]
/linux/drivers/misc/
H A Disl29003.c50 struct i2c_client *client; member
64 static int __isl29003_read_reg(struct i2c_client *client, in __isl29003_read_reg() argument
67 struct isl29003_data *data = i2c_get_clientdata(client); in __isl29003_read_reg()
72 static int __isl29003_write_reg(struct i2c_client *client, in __isl29003_write_reg() argument
75 struct isl29003_data *data = i2c_get_clientdata(client); in __isl29003_write_reg()
88 ret = i2c_smbus_write_byte_data(client, reg, tmp); in __isl29003_write_reg()
101 static int isl29003_get_range(struct i2c_client *client) in isl29003_get_range() argument
103 return __isl29003_read_reg(client, ISL29003_REG_CONTROL, in isl29003_get_range()
107 static int isl29003_set_range(struct i2c_client *client, int range) in isl29003_set_range() argument
109 return __isl29003_write_reg(client, ISL29003_REG_CONTROL, in isl29003_set_range()
[all …]
/linux/tools/testing/selftests/tpm2/
H A Dtpm2_tests.py15 self.client = tpm2.Client()
16 self.root_key = self.client.create_root_key()
19 self.client.flush_context(self.root_key)
20 self.client.close()
26 blob = self.client.seal(self.root_key, data, auth, None)
27 result = self.client.unseal(self.root_key, blob, auth, None)
31 pcr_banks = self.client.get_cap_pcrs()
41 handle = self.client.start_auth_session(tpm2.TPM2_SE_TRIAL)
48 self.client.policy_pcr(handle, pcrs, bank_alg=bank_alg)
49 self.client.policy_password(handle)
[all …]
/linux/drivers/virt/acrn/
H A Dioreq.c29 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()
107 * acrn_ioreq_range_add() - Add an iorange monitored by an ioreq client
[all …]
/linux/drivers/media/i2c/cx25840/
H A Dcx25840-audio.c31 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 …]
/linux/drivers/platform/surface/
H A Dsurface_aggregator_cdev.c45 struct rw_semaphore client_lock; /* Guards client list. */
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()
[all …]
/linux/drivers/input/keyboard/
H A Dqt2160.c55 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_DUTY, value); in qt2160_led_set()
106 static int qt2160_read_block(struct i2c_client *client, in qt2160_read_block() argument
[all …]
H A Dmax7359_keypad.c61 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
[all …]
H A Dqt1070.c49 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->dev, "ID %d not supported\n", id); in qt1070_identify()
[all …]
/linux/drivers/rtc/
H A Drtc-nct3018y.c45 struct i2c_client *client; member
52 static int nct3018y_set_alarm_mode(struct i2c_client *client, bool on) in nct3018y_set_alarm_mode() argument
56 dev_dbg(&client->dev, "%s:on:%d\n", __func__, on); in nct3018y_set_alarm_mode()
58 flags = i2c_smbus_read_byte_data(client, NCT3018Y_REG_CTRL); in nct3018y_set_alarm_mode()
60 dev_dbg(&client->dev, in nct3018y_set_alarm_mode()
71 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_CTRL, flags); in nct3018y_set_alarm_mode()
73 dev_dbg(&client->dev, "Unable to write NCT3018Y_REG_CTRL\n"); in nct3018y_set_alarm_mode()
77 flags = i2c_smbus_read_byte_data(client, NCT3018Y_REG_ST); in nct3018y_set_alarm_mode()
79 dev_dbg(&client->dev, in nct3018y_set_alarm_mode()
85 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_ST, flags); in nct3018y_set_alarm_mode()
[all …]
H A Drtc-ds1374.c3 * RTC client/driver for the Maxim/Dallas DS1374 Real-Time Clock over I2C
69 struct i2c_client *client; member
85 static int ds1374_read_rtc(struct i2c_client *client, u32 *time, in ds1374_read_rtc() argument
95 ret = i2c_smbus_read_i2c_block_data(client, reg, nbytes, buf); in ds1374_read_rtc()
108 static int ds1374_write_rtc(struct i2c_client *client, u32 time, in ds1374_write_rtc() argument
124 return i2c_smbus_write_i2c_block_data(client, reg, nbytes, buf); in ds1374_write_rtc()
127 static int ds1374_check_rtc_status(struct i2c_client *client) in ds1374_check_rtc_status() argument
132 stat = i2c_smbus_read_byte_data(client, DS1374_REG_SR); in ds1374_check_rtc_status()
137 dev_warn(&client->dev, in ds1374_check_rtc_status()
142 ret = i2c_smbus_write_byte_data(client, DS1374_REG_SR, stat); in ds1374_check_rtc_status()
[all …]
/linux/drivers/media/common/siano/
H A Dsmsdvb-main.c64 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 Dmgb4_i2c.c13 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/drivers/gpu/host1x/
H A Dbus.c28 struct host1x_client *client; member
107 struct host1x_client *client) in host1x_subdev_register() argument
113 * and associate it with a client. At the same time, associate the in host1x_subdev_register()
114 * client with its parent device. in host1x_subdev_register()
118 list_move_tail(&client->list, &device->clients); in host1x_subdev_register()
120 client->host = &device->dev; in host1x_subdev_register()
121 subdev->client = client; in host1x_subdev_register()
137 struct host1x_client *client = subdev->client; in __host1x_subdev_unregister() local
155 subdev->client = NULL; in __host1x_subdev_unregister()
156 client->host = NULL; in __host1x_subdev_unregister()
[all …]
/linux/drivers/input/touchscreen/
H A Draydium_i2c_ts.c119 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->addr, in raydium_i2c_read()
[all …]
H A Dzforce_ts.c94 * @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->dev, "sending %d bytes for command 0x%x\n", in zforce_send_wait()
159 ret = i2c_master_send(client, buf, len); in zforce_send_wait()
161 dev_err(&client->dev, "i2c send data request error: %d\n", ret); in zforce_send_wait()
[all …]
H A Drohm_bu21023.c258 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_REG1); in rohm_ts_manual_calibration()
339 reg2_orig = i2c_smbus_read_byte_data(client, CALIBRATION_REG2); in rohm_ts_manual_calibration()
[all …]
H A Delants_i2c.c152 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->addr; in elants_i2c_execute_command()
[all …]
/linux/Documentation/filesystems/nfs/
H A Dclient-identifier.rst4 NFSv4 client identifier
7 This document explains how the NFSv4 protocol identifies client
10 on each client. These can be set by administrators, scripts
14 There are risks if a client's NFSv4 identifier and its principal
25 Simply put, an NFSv4 server creates a lease for each NFSv4 client.
26 The server collects each client's file open and lock state under
27 the lease for that client.
29 The client is responsible for periodically renewing its leases.
31 guarantees the file locks the client has created remain in place.
33 If a client stops renewing its lease (for example, if it crashes),
[all …]
/linux/drivers/input/
H A Devdev.c78 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()
103 /* flush queued events of type @type, caller must hold client->buffer_lock */
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()
[all …]
/linux/include/linux/ceph/
H A Dceph_debug.h22 # 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/include/dt-bindings/memory/
H A Dtegra186-mc.h112 * memory client IDs
137 /* ISP Read client for Crossbar A */
139 /* ISP Write client for Crossbar A */
141 /* ISP Write client Crossbar B */
151 /* TSEC Memory Return Data Client Description */
153 /* TSEC Memory Write Client Description */
159 /* sdmmca memory read client */
161 /* sdmmcbmemory read client */
163 /* sdmmc memory read client */
165 /* sdmmcd memory read client */
[all …]
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_client.c15 struct i40e_client *client,
19 struct i40e_client *client,
23 struct i40e_client *client,
27 struct i40e_client *client,
41 * @params: client param struct
73 * i40e_notify_client_of_vf_msg - call the client vf message callback
79 * If there is a client to this VSI, call the client
87 if (!cdev || !cdev->client) in i40e_notify_client_of_vf_msg()
89 if (!cdev->client->ops || !cdev->client->ops->virtchnl_receive) { in i40e_notify_client_of_vf_msg()
91 "Cannot locate client instance virtual channel receive routine\n"); in i40e_notify_client_of_vf_msg()
[all …]

12345678910>>...99