Home
last modified time | relevance | path

Searched refs:client_data (Results 1 – 25 of 35) sorted by relevance

12

/drivers/hid/intel-ish-hid/
Dishtp-hid-client.c23 #define cl_data_to_dev(client_data) ishtp_device(client_data->cl_device) argument
38 struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); in report_bad_packet() local
40 dev_err(cl_data_to_dev(client_data), "[hid-ish]: BAD packet %02X\n" in report_bad_packet()
46 recv_msg->hdr.command, client_data->bad_recv_cnt, in report_bad_packet()
50 (unsigned int)payload_len, client_data->multi_packet_cnt, in report_bad_packet()
75 struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); in process_recv() local
76 int curr_hid_dev = client_data->cur_hid_dev; in process_recv()
86 dev_err(cl_data_to_dev(client_data), in process_recv()
90 ++client_data->bad_recv_cnt; in process_recv()
101 ++client_data->bad_recv_cnt; in process_recv()
[all …]
Dishtp-fw-loader.c239 #define cl_data_to_dev(client_data) ishtp_device((client_data)->cl_device) argument
251 static int get_firmware_variant(struct ishtp_cl_data *client_data, in get_firmware_variant() argument
256 struct device *devc = ishtp_get_pci_device(client_data->cl_device); in get_firmware_variant()
279 static int loader_cl_send(struct ishtp_cl_data *client_data, in loader_cl_send() argument
285 struct ishtp_cl *loader_ishtp_cl = client_data->loader_ishtp_cl; in loader_cl_send()
287 dev_dbg(cl_data_to_dev(client_data), in loader_cl_send()
295 client_data->response.data = in_msg; in loader_cl_send()
296 client_data->response.max_size = in_size; in loader_cl_send()
297 client_data->response.error = 0; in loader_cl_send()
298 client_data->response.received = false; in loader_cl_send()
[all …]
Dishtp-hid.c24 struct ishtp_cl_data *client_data = hid_data->client_data; in ishtp_hid_parse() local
27 rv = hid_parse_report(hid, client_data->report_descr[hid_data->index], in ishtp_hid_parse()
28 client_data->report_descr_size[hid_data->index]); in ishtp_hid_parse()
150 hid_ishtp_trace(client_data, "%s hid %p\n", __func__, hid); in ishtp_wait_for_response()
152 rv = ishtp_hid_link_ready_wait(hid_data->client_data); in ishtp_wait_for_response()
165 hid_ishtp_trace(client_data, "%s hid %p done\n", __func__, hid); in ishtp_wait_for_response()
207 struct ishtp_cl_data *client_data) in ishtp_hid_probe() argument
224 hid_data->client_data = client_data; in ishtp_hid_probe()
229 client_data->hid_sensor_hubs[cur_hid_dev] = hid; in ishtp_hid_probe()
233 hid->dev.parent = ishtp_device(client_data->cl_device); in ishtp_hid_probe()
[all …]
Dishtp-hid.h158 struct ishtp_cl_data *client_data; member
173 struct ishtp_cl_data *client_data);
174 void ishtp_hid_remove(struct ishtp_cl_data *client_data);
175 int ishtp_hid_link_ready_wait(struct ishtp_cl_data *client_data);
/drivers/platform/chrome/
Dcros_ec_ishtp.c71 #define cl_data_to_dev(client_data) ishtp_device((client_data)->cl_device) argument
141 struct ishtp_cl_data *client_data = in ish_evt_handler() local
144 cros_ec_irq_thread(0, client_data->ec_dev); in ish_evt_handler()
160 static int ish_send(struct ishtp_cl_data *client_data, in ish_send() argument
167 struct ishtp_cl *cros_ish_cl = client_data->cros_ish_cl; in ish_send()
169 dev_dbg(cl_data_to_dev(client_data), in ish_send()
174 client_data->response.data = in_msg; in ish_send()
175 client_data->response.max_size = in_size; in ish_send()
176 client_data->response.error = 0; in ish_send()
177 client_data->response.token = next_token++; in ish_send()
[all …]
/drivers/misc/vmw_vmci/
Dvmci_datagram.c31 void *client_data; member
54 void *client_data, struct vmci_handle *out_handle) in dg_create_handle() argument
83 entry->client_data = client_data; in dg_create_handle()
141 dg_info->entry->recv_cb(dg_info->entry->client_data, &dg_info->msg); in dg_delayed_dispatch()
244 retval = dst_entry->recv_cb(dst_entry->client_data, dg); in dg_dispatch_as_host()
385 dst_entry->recv_cb(dst_entry->client_data, dg); in vmci_datagram_invoke_guest_handler()
407 void *client_data, in vmci_datagram_create_handle_priv() argument
422 client_data, out_handle); in vmci_datagram_create_handle_priv()
441 void *client_data, in vmci_datagram_create_handle() argument
447 recv_cb, client_data, in vmci_datagram_create_handle()
Dvmci_doorbell.c38 void *client_data; member
285 entry->notify_cb(entry->client_data); in dbell_delayed_dispatch()
316 entry->notify_cb(entry->client_data); in vmci_dbell_host_context_notify()
368 dbell->notify_cb(dbell->client_data); in dbell_fire_entries()
412 vmci_callback notify_cb, void *client_data) in vmci_doorbell_create() argument
471 entry->client_data = client_data; in vmci_doorbell_create()
Dvmci_queue_pair.c208 void *client_data; member
1291 void *client_data, struct qp_broker_entry **ent) in qp_broker_create() argument
1356 entry->client_data = client_data; in qp_broker_create()
1520 void *client_data, in qp_broker_attach() argument
1676 entry->client_data = client_data; in qp_broker_attach()
1705 void *client_data, in qp_broker_alloc() argument
1748 context, wakeup_cb, client_data, ent); in qp_broker_alloc()
1754 context, wakeup_cb, client_data, ent); in qp_broker_alloc()
1779 void *client_data) in qp_alloc_host_work() argument
1798 wakeup_cb, client_data, &entry, &swap); in qp_alloc_host_work()
[all …]
Dvmci_queue_pair.h17 typedef int (*vmci_event_release_cb) (void *client_data);
159 void *client_data);
Dvmci_guest.c136 void *client_data) in vmci_guest_cid_update() argument
/drivers/tty/serdev/
Dserdev-ttyport.c28 struct serdev_controller *ctrl = port->client_data; in ttyport_receive_buf()
50 struct serdev_controller *ctrl = port->client_data; in ttyport_write_wakeup()
287 port->client_data = ctrl; in serdev_tty_port_register()
297 port->client_data = NULL; in serdev_tty_port_register()
306 struct serdev_controller *ctrl = port->client_data; in serdev_tty_port_unregister()
313 port->client_data = NULL; in serdev_tty_port_unregister()
/drivers/infiniband/core/
Ddevice.c404 void *client_data; in ib_device_rename() local
429 xan_for_each_marked(&ibdev->client_data, index, client_data, in ib_device_rename()
436 client->rename(ibdev, client_data); in ib_device_rename()
509 xa_destroy(&dev->client_data); in ib_device_release()
599 xa_init_flags(&device->client_data, XA_FLAGS_ALLOC); in _ib_alloc_device()
673 WARN_ON(!xa_empty(&device->client_data)); in ib_dealloc_device()
710 if (xa_get_mark(&device->client_data, client->client_id, in add_client_context()
714 ret = xa_err(xa_store(&device->client_data, client->client_id, NULL, in add_client_context()
726 xa_erase(&device->client_data, client->client_id); in add_client_context()
735 xa_set_mark(&device->client_data, client->client_id, in add_client_context()
[all …]
Duser_mad.c151 static void ib_umad_remove_one(struct ib_device *device, void *client_data);
1161 static int ib_umad_get_nl_info(struct ib_device *ibdev, void *client_data, in ib_umad_get_nl_info() argument
1164 struct ib_umad_port *port = get_port(ibdev, client_data, res->port); in ib_umad_get_nl_info()
1182 static int ib_issm_get_nl_info(struct ib_device *ibdev, void *client_data, in ib_issm_get_nl_info() argument
1185 struct ib_umad_port *port = get_port(ibdev, client_data, res->port); in ib_issm_get_nl_info()
1422 static void ib_umad_remove_one(struct ib_device *device, void *client_data) in ib_umad_remove_one() argument
1424 struct ib_umad_device *umad_dev = client_data; in ib_umad_remove_one()
Duverbs_main.c79 static void ib_uverbs_remove_one(struct ib_device *device, void *client_data);
999 static int ib_uverbs_get_nl_info(struct ib_device *ibdev, void *client_data, in ib_uverbs_get_nl_info() argument
1002 struct ib_uverbs_device *uverbs_dev = client_data; in ib_uverbs_get_nl_info()
1206 static void ib_uverbs_remove_one(struct ib_device *device, void *client_data) in ib_uverbs_remove_one() argument
1208 struct ib_uverbs_device *uverbs_dev = client_data; in ib_uverbs_remove_one()
Dmulticast.c46 static void mcast_remove_one(struct ib_device *device, void *client_data);
860 static void mcast_remove_one(struct ib_device *device, void *client_data) in mcast_remove_one() argument
862 struct mcast_device *dev = client_data; in mcast_remove_one()
/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c231 vscsi->client_data.os_type = 0; in ibmvscsis_delete_client_info()
771 vscsi->client_data.partition_number = in ibmvscsis_init_msg()
774 vscsi->client_data.partition_number); in ibmvscsis_init_msg()
1551 if (vscsi->client_data.partition_number == 0) in ibmvscsis_adapter_info()
1552 vscsi->client_data.partition_number = in ibmvscsis_adapter_info()
1554 strncpy(vscsi->client_data.srp_version, info->srp_version, in ibmvscsis_adapter_info()
1555 sizeof(vscsi->client_data.srp_version)); in ibmvscsis_adapter_info()
1556 strncpy(vscsi->client_data.partition_name, info->partition_name, in ibmvscsis_adapter_info()
1557 sizeof(vscsi->client_data.partition_name)); in ibmvscsis_adapter_info()
1558 vscsi->client_data.mad_version = be32_to_cpu(info->mad_version); in ibmvscsis_adapter_info()
[all …]
Dibmvscsi_tgt.h278 struct client_info client_data; member
/drivers/hid/intel-ish-hid/ishtp/
Dclient.h108 void *client_data; member
Dclient.c1087 return cl->client_data; in ishtp_get_client_data()
1093 cl->client_data = data; in ishtp_set_client_data()
/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema.c118 void *client_data);
1025 void *client_data) in opa_vnic_vema_rem_one() argument
1027 struct opa_vnic_ctrl_port *cport = client_data; in opa_vnic_vema_rem_one()
/drivers/media/platform/qcom/venus/
Dhfi_msgs.h110 u32 client_data; member
Dhfi_cmds.h90 u32 client_data; member
/drivers/infiniband/ulp/ipoib/
Dipoib_main.c90 static void ipoib_remove_one(struct ib_device *device, void *client_data);
95 void *client_data);
474 void *client_data) in ipoib_get_net_dev_by_params() argument
477 struct list_head *dev_list = client_data; in ipoib_get_net_dev_by_params()
2585 static void ipoib_remove_one(struct ib_device *device, void *client_data) in ipoib_remove_one() argument
2588 struct list_head *dev_list = client_data; in ipoib_remove_one()
/drivers/misc/
Dvmw_balloon.c1339 static void vmballoon_doorbell(void *client_data) in vmballoon_doorbell() argument
1341 struct vmballoon *b = client_data; in vmballoon_doorbell()
/drivers/infiniband/ulp/srp/
Dib_srp.c145 static void srp_remove_one(struct ib_device *device, void *client_data);
146 static void srp_rename_dev(struct ib_device *device, void *client_data);
3986 static void srp_rename_dev(struct ib_device *device, void *client_data) in srp_rename_dev() argument
3988 struct srp_device *srp_dev = client_data; in srp_rename_dev()
4079 static void srp_remove_one(struct ib_device *device, void *client_data) in srp_remove_one() argument
4085 srp_dev = client_data; in srp_remove_one()

12