Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/
Dishtp-hid-client.c18 #define cl_data_to_dev(client_data) ishtp_device(client_data->cl_device) argument
33 struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); in report_bad_packet() local
35 dev_err(cl_data_to_dev(client_data), "[hid-ish]: BAD packet %02X\n" in report_bad_packet()
41 recv_msg->hdr.command, client_data->bad_recv_cnt, in report_bad_packet()
45 (unsigned int)payload_len, client_data->multi_packet_cnt, in report_bad_packet()
70 struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); in process_recv() local
71 int curr_hid_dev = client_data->cur_hid_dev; in process_recv()
81 dev_err(cl_data_to_dev(client_data), in process_recv()
85 ++client_data->bad_recv_cnt; in process_recv()
96 ++client_data->bad_recv_cnt; in process_recv()
[all …]
Dishtp-fw-loader.c238 #define cl_data_to_dev(client_data) ishtp_device((client_data)->cl_device) argument
250 static int get_firmware_variant(struct ishtp_cl_data *client_data, in get_firmware_variant() argument
255 struct device *devc = ishtp_get_pci_device(client_data->cl_device); in get_firmware_variant()
278 static int loader_cl_send(struct ishtp_cl_data *client_data, in loader_cl_send() argument
284 struct ishtp_cl *loader_ishtp_cl = client_data->loader_ishtp_cl; in loader_cl_send()
286 dev_dbg(cl_data_to_dev(client_data), in loader_cl_send()
294 client_data->response.data = in_msg; in loader_cl_send()
295 client_data->response.max_size = in_size; in loader_cl_send()
296 client_data->response.error = 0; in loader_cl_send()
297 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
226 hid_data->client_data = client_data; in ishtp_hid_probe()
231 client_data->hid_sensor_hubs[cur_hid_dev] = hid; in ishtp_hid_probe()
235 hid->dev.parent = ishtp_device(client_data->cl_device); in ishtp_hid_probe()
[all …]
Dishtp-hid.h162 struct ishtp_cl_data *client_data; member
177 struct ishtp_cl_data *client_data);
178 void ishtp_hid_remove(struct ishtp_cl_data *client_data);
179 int ishtp_hid_link_ready_wait(struct ishtp_cl_data *client_data);
/kernel/linux/linux-5.10/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
143 struct cros_ec_device *ec_dev = client_data->ec_dev; in ish_evt_handler()
164 static int ish_send(struct ishtp_cl_data *client_data, in ish_send() argument
171 struct ishtp_cl *cros_ish_cl = client_data->cros_ish_cl; in ish_send()
173 dev_dbg(cl_data_to_dev(client_data), in ish_send()
178 client_data->response.data = in_msg; in ish_send()
179 client_data->response.max_size = in_size; in ish_send()
180 client_data->response.error = 0; in ish_send()
181 client_data->response.token = next_token++; in ish_send()
[all …]
/kernel/linux/linux-5.10/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.h17 typedef int (*vmci_event_release_cb) (void *client_data);
159 void *client_data);
Dvmci_queue_pair.c208 void *client_data; member
1288 void *client_data, struct qp_broker_entry **ent) in qp_broker_create() argument
1353 entry->client_data = client_data; in qp_broker_create()
1516 void *client_data, in qp_broker_attach() argument
1672 entry->client_data = client_data; in qp_broker_attach()
1701 void *client_data, in qp_broker_alloc() argument
1744 context, wakeup_cb, client_data, ent); in qp_broker_alloc()
1750 context, wakeup_cb, client_data, ent); in qp_broker_alloc()
1775 void *client_data) in qp_alloc_host_work() argument
1794 wakeup_cb, client_data, &entry, &swap); in qp_alloc_host_work()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/
Dvmw_vmci_api.h26 void *client_data,
30 void *client_data,
36 vmci_callback notify_cb, void *client_data);
Dvmw_vmci_defs.h701 typedef void (*vmci_callback) (void *client_data);
712 typedef int (*vmci_datagram_recv_cb) (void *client_data,
717 void *client_data);
/kernel/linux/linux-5.10/drivers/infiniband/core/
Ddevice.c403 void *client_data; in ib_device_rename() local
428 xan_for_each_marked(&ibdev->client_data, index, client_data, in ib_device_rename()
435 client->rename(ibdev, client_data); in ib_device_rename()
506 xa_destroy(&dev->client_data); in ib_device_release()
596 xa_init_flags(&device->client_data, XA_FLAGS_ALLOC); in _ib_alloc_device()
633 WARN_ON(!xa_empty(&device->client_data)); in ib_dealloc_device()
670 if (xa_get_mark(&device->client_data, client->client_id, in add_client_context()
674 ret = xa_err(xa_store(&device->client_data, client->client_id, NULL, in add_client_context()
686 xa_erase(&device->client_data, client->client_id); in add_client_context()
695 xa_set_mark(&device->client_data, client->client_id, in add_client_context()
[all …]
Duser_mad.c146 static void ib_umad_remove_one(struct ib_device *device, void *client_data);
1160 static int ib_umad_get_nl_info(struct ib_device *ibdev, void *client_data, in ib_umad_get_nl_info() argument
1163 struct ib_umad_port *port = get_port(ibdev, client_data, res->port); in ib_umad_get_nl_info()
1181 static int ib_issm_get_nl_info(struct ib_device *ibdev, void *client_data, in ib_issm_get_nl_info() argument
1184 struct ib_umad_port *port = get_port(ibdev, client_data, res->port); in ib_issm_get_nl_info()
1419 static void ib_umad_remove_one(struct ib_device *device, void *client_data) in ib_umad_remove_one() argument
1421 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);
1001 static int ib_uverbs_get_nl_info(struct ib_device *ibdev, void *client_data, in ib_uverbs_get_nl_info() argument
1004 struct ib_uverbs_device *uverbs_dev = client_data; in ib_uverbs_get_nl_info()
1208 static void ib_uverbs_remove_one(struct ib_device *device, void *client_data) in ib_uverbs_remove_one() argument
1210 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);
859 static void mcast_remove_one(struct ib_device *device, void *client_data) in mcast_remove_one() argument
861 struct mcast_device *dev = client_data; in mcast_remove_one()
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/
Dclient.h108 void *client_data; member
/kernel/linux/linux-5.10/net/vmw_vsock/
Dvmci_transport.c36 void *client_data);
582 void *client_data, in vmci_transport_datagram_create_hnd() argument
594 client_data, out_handle); in vmci_transport_datagram_create_hnd()
598 recv_cb, client_data, in vmci_transport_datagram_create_hnd()
845 void *client_data) in vmci_transport_peer_detach_cb() argument
847 struct vmci_transport *trans = client_data; in vmci_transport_peer_detach_cb()
883 void *client_data) in vmci_transport_qp_resumed_cb() argument
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c230 vscsi->client_data.os_type = 0; in ibmvscsis_delete_client_info()
770 vscsi->client_data.partition_number = in ibmvscsis_init_msg()
773 vscsi->client_data.partition_number); in ibmvscsis_init_msg()
1550 if (vscsi->client_data.partition_number == 0) in ibmvscsis_adapter_info()
1551 vscsi->client_data.partition_number = in ibmvscsis_adapter_info()
1553 strncpy(vscsi->client_data.srp_version, info->srp_version, in ibmvscsis_adapter_info()
1554 sizeof(vscsi->client_data.srp_version)); in ibmvscsis_adapter_info()
1555 strncpy(vscsi->client_data.partition_name, info->partition_name, in ibmvscsis_adapter_info()
1556 sizeof(vscsi->client_data.partition_name)); in ibmvscsis_adapter_info()
1557 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
/kernel/linux/linux-5.10/Documentation/driver-api/mei/
Dmei.rst90 struct mei_connect_client_data client_data;
92 ioctl(fd, IOCTL_MEI_CONNECT_CLIENT, &client_data);
/kernel/linux/linux-5.10/net/rds/
Dib.c265 static void rds_ib_remove_one(struct ib_device *device, void *client_data) in rds_ib_remove_one() argument
267 struct rds_ib_device *rds_ibdev = client_data; in rds_ib_remove_one()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dhfi_msgs.h110 u32 client_data; member
Dhfi_cmds.h90 u32 client_data; member

12