Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/hid/intel-ish-hid/
Dishtp-hid-client.c26 #define cl_data_to_dev(client_data) ishtp_device(client_data->cl_device) argument
41 struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); in report_bad_packet() local
43 dev_err(cl_data_to_dev(client_data), "[hid-ish]: BAD packet %02X\n" in report_bad_packet()
49 recv_msg->hdr.command, client_data->bad_recv_cnt, in report_bad_packet()
53 (unsigned int)payload_len, client_data->multi_packet_cnt, in report_bad_packet()
78 struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); in process_recv() local
79 int curr_hid_dev = client_data->cur_hid_dev; in process_recv()
89 dev_err(cl_data_to_dev(client_data), in process_recv()
93 ++client_data->bad_recv_cnt; in process_recv()
104 ++client_data->bad_recv_cnt; in process_recv()
[all …]
Dishtp-fw-loader.c242 #define cl_data_to_dev(client_data) ishtp_device((client_data)->cl_device) argument
254 static int get_firmware_variant(struct ishtp_cl_data *client_data, in get_firmware_variant() argument
259 struct device *devc = ishtp_get_pci_device(client_data->cl_device); in get_firmware_variant()
283 static int loader_cl_send(struct ishtp_cl_data *client_data, in loader_cl_send() argument
289 struct ishtp_cl *loader_ishtp_cl = client_data->loader_ishtp_cl; in loader_cl_send()
291 dev_dbg(cl_data_to_dev(client_data), in loader_cl_send()
299 client_data->response.data = in_msg; in loader_cl_send()
300 client_data->response.max_size = in_size; in loader_cl_send()
301 client_data->response.error = 0; in loader_cl_send()
302 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);
/linux-6.1.9/drivers/platform/chrome/
Dcros_ec_ishtp.c74 #define cl_data_to_dev(client_data) ishtp_device((client_data)->cl_device) argument
144 struct ishtp_cl_data *client_data = in ish_evt_handler() local
147 cros_ec_irq_thread(0, client_data->ec_dev); in ish_evt_handler()
163 static int ish_send(struct ishtp_cl_data *client_data, in ish_send() argument
170 struct ishtp_cl *cros_ish_cl = client_data->cros_ish_cl; in ish_send()
172 dev_dbg(cl_data_to_dev(client_data), in ish_send()
177 client_data->response.data = in_msg; in ish_send()
178 client_data->response.max_size = in_size; in ish_send()
179 client_data->response.error = 0; in ish_send()
180 client_data->response.token = next_token++; in ish_send()
[all …]
/linux-6.1.9/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
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 …]
/linux-6.1.9/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()
/linux-6.1.9/include/linux/
Dvmw_vmci_api.h26 void *client_data,
30 void *client_data,
36 vmci_callback notify_cb, void *client_data);
Dvmw_vmci_defs.h763 typedef void (*vmci_callback) (void *client_data);
774 typedef int (*vmci_datagram_recv_cb) (void *client_data,
779 void *client_data);
Dtty_port.h122 void *client_data; member
/linux-6.1.9/drivers/infiniband/core/
Ddevice.c405 void *client_data; in ib_device_rename() local
430 xan_for_each_marked(&ibdev->client_data, index, client_data, in ib_device_rename()
437 client->rename(ibdev, client_data); in ib_device_rename()
510 xa_destroy(&dev->client_data); in ib_device_release()
600 xa_init_flags(&device->client_data, XA_FLAGS_ALLOC); in _ib_alloc_device()
674 WARN_ON(!xa_empty(&device->client_data)); in ib_dealloc_device()
711 if (xa_get_mark(&device->client_data, client->client_id, in add_client_context()
715 ret = xa_err(xa_store(&device->client_data, client->client_id, NULL, in add_client_context()
727 xa_erase(&device->client_data, client->client_id); in add_client_context()
736 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);
1156 static int ib_umad_get_nl_info(struct ib_device *ibdev, void *client_data, in ib_umad_get_nl_info() argument
1159 struct ib_umad_port *port = get_port(ibdev, client_data, res->port); in ib_umad_get_nl_info()
1177 static int ib_issm_get_nl_info(struct ib_device *ibdev, void *client_data, in ib_issm_get_nl_info() argument
1180 struct ib_umad_port *port = get_port(ibdev, client_data, res->port); in ib_issm_get_nl_info()
1415 static void ib_umad_remove_one(struct ib_device *device, void *client_data) in ib_umad_remove_one() argument
1417 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);
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()
/linux-6.1.9/drivers/hid/intel-ish-hid/ishtp/
Dclient.h108 void *client_data; member
/linux-6.1.9/net/vmw_vsock/
Dvmci_transport.c36 void *client_data);
584 void *client_data, in vmci_transport_datagram_create_hnd() argument
596 client_data, out_handle); in vmci_transport_datagram_create_hnd()
600 recv_cb, client_data, in vmci_transport_datagram_create_hnd()
847 void *client_data) in vmci_transport_peer_detach_cb() argument
849 struct vmci_transport *trans = client_data; in vmci_transport_peer_detach_cb()
885 void *client_data) in vmci_transport_qp_resumed_cb() argument
/linux-6.1.9/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
/linux-6.1.9/Documentation/driver-api/mei/
Dmei.rst90 struct mei_connect_client_data client_data;
92 ioctl(fd, IOCTL_MEI_CONNECT_CLIENT, &client_data);
/linux-6.1.9/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()
/linux-6.1.9/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema.c119 void *client_data);
1026 void *client_data) in opa_vnic_vema_rem_one() argument
1028 struct opa_vnic_ctrl_port *cport = client_data; in opa_vnic_vema_rem_one()
/linux-6.1.9/drivers/media/platform/qcom/venus/
Dhfi_msgs.h110 u32 client_data; member

12