client_data 238 drivers/hid/intel-ish-hid/ishtp-fw-loader.c #define cl_data_to_dev(client_data) ishtp_device((client_data)->cl_device) client_data 250 drivers/hid/intel-ish-hid/ishtp-fw-loader.c static int get_firmware_variant(struct ishtp_cl_data *client_data, client_data 255 drivers/hid/intel-ish-hid/ishtp-fw-loader.c struct device *devc = ishtp_get_pci_device(client_data->cl_device); client_data 278 drivers/hid/intel-ish-hid/ishtp-fw-loader.c static int loader_cl_send(struct ishtp_cl_data *client_data, client_data 284 drivers/hid/intel-ish-hid/ishtp-fw-loader.c struct ishtp_cl *loader_ishtp_cl = client_data->loader_ishtp_cl; client_data 286 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_dbg(cl_data_to_dev(client_data), client_data 294 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->response.data = in_msg; client_data 295 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->response.max_size = in_size; client_data 296 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->response.error = 0; client_data 297 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->response.received = false; client_data 301 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_err(cl_data_to_dev(client_data), client_data 306 drivers/hid/intel-ish-hid/ishtp-fw-loader.c wait_event_interruptible_timeout(client_data->response.wait_queue, client_data 307 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->response.received, client_data 309 drivers/hid/intel-ish-hid/ishtp-fw-loader.c if (!client_data->response.received) { client_data 310 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_err(cl_data_to_dev(client_data), client_data 316 drivers/hid/intel-ish-hid/ishtp-fw-loader.c if (client_data->response.error < 0) client_data 317 drivers/hid/intel-ish-hid/ishtp-fw-loader.c return client_data->response.error; client_data 319 drivers/hid/intel-ish-hid/ishtp-fw-loader.c return client_data->response.size; client_data 335 drivers/hid/intel-ish-hid/ishtp-fw-loader.c struct ishtp_cl_data *client_data = client_data 339 drivers/hid/intel-ish-hid/ishtp-fw-loader.c if (!client_data->response.data) { client_data 340 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_err(cl_data_to_dev(client_data), client_data 342 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->response.error = -EINVAL; client_data 346 drivers/hid/intel-ish-hid/ishtp-fw-loader.c if (client_data->response.received) { client_data 347 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_err(cl_data_to_dev(client_data), client_data 349 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->response.error = -EINVAL; client_data 357 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_warn(cl_data_to_dev(client_data), client_data 359 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->response.error = -EBADMSG; client_data 364 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_err(cl_data_to_dev(client_data), client_data 367 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->response.error = -EMSGSIZE; client_data 373 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_dbg(cl_data_to_dev(client_data), client_data 383 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_err(cl_data_to_dev(client_data), client_data 386 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->response.error = -EPROTO; client_data 390 drivers/hid/intel-ish-hid/ishtp-fw-loader.c if (data_len > client_data->response.max_size) { client_data 391 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_err(cl_data_to_dev(client_data), client_data 393 drivers/hid/intel-ish-hid/ishtp-fw-loader.c data_len, client_data->response.max_size); client_data 394 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->response.error = -EMSGSIZE; client_data 400 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_err(cl_data_to_dev(client_data), client_data 402 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->response.error = -EIO; client_data 407 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_err(cl_data_to_dev(client_data), client_data 410 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->response.error = -EIO; client_data 415 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->response.size = data_len; client_data 421 drivers/hid/intel-ish-hid/ishtp-fw-loader.c memcpy(client_data->response.data, client_data 425 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->response.received = true; client_data 433 drivers/hid/intel-ish-hid/ishtp-fw-loader.c wake_up_interruptible(&client_data->response.wait_queue); client_data 465 drivers/hid/intel-ish-hid/ishtp-fw-loader.c static int ish_query_loader_prop(struct ishtp_cl_data *client_data, client_data 476 drivers/hid/intel-ish-hid/ishtp-fw-loader.c rv = loader_cl_send(client_data, client_data 482 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->flag_retry = true; client_data 488 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_err(cl_data_to_dev(client_data), client_data 491 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->flag_retry = true; client_data 499 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_dbg(cl_data_to_dev(client_data), client_data 508 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_dbg(cl_data_to_dev(client_data), client_data 517 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_err(cl_data_to_dev(client_data), client_data 527 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_err(cl_data_to_dev(client_data), client_data 547 drivers/hid/intel-ish-hid/ishtp-fw-loader.c static int ish_fw_xfer_ishtp(struct ishtp_cl_data *client_data, client_data 560 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->flag_retry = true; client_data 584 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_dbg(cl_data_to_dev(client_data), client_data 590 drivers/hid/intel-ish-hid/ishtp-fw-loader.c rv = loader_cl_send(client_data, client_data 596 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->flag_retry = true; client_data 627 drivers/hid/intel-ish-hid/ishtp-fw-loader.c static int ish_fw_xfer_direct_dma(struct ishtp_cl_data *client_data, client_data 637 drivers/hid/intel-ish-hid/ishtp-fw-loader.c struct device *devc = ishtp_get_pci_device(client_data->cl_device); client_data 659 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->flag_retry = true; client_data 666 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_err(cl_data_to_dev(client_data), "DMA map failed\n"); client_data 667 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->flag_retry = true; client_data 701 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_dbg(cl_data_to_dev(client_data), client_data 708 drivers/hid/intel-ish-hid/ishtp-fw-loader.c rv = loader_cl_send(client_data, client_data 714 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->flag_retry = true; client_data 742 drivers/hid/intel-ish-hid/ishtp-fw-loader.c static int ish_fw_start(struct ishtp_cl_data *client_data) client_data 749 drivers/hid/intel-ish-hid/ishtp-fw-loader.c return loader_cl_send(client_data, client_data 764 drivers/hid/intel-ish-hid/ishtp-fw-loader.c static int load_fw_from_host(struct ishtp_cl_data *client_data) client_data 771 drivers/hid/intel-ish-hid/ishtp-fw-loader.c struct ishtp_cl *loader_ishtp_cl = client_data->loader_ishtp_cl; client_data 773 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->flag_retry = false; client_data 777 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->flag_retry = true; client_data 783 drivers/hid/intel-ish-hid/ishtp-fw-loader.c rv = get_firmware_variant(client_data, filename); client_data 787 drivers/hid/intel-ish-hid/ishtp-fw-loader.c rv = request_firmware(&fw, filename, cl_data_to_dev(client_data)); client_data 793 drivers/hid/intel-ish-hid/ishtp-fw-loader.c rv = ish_query_loader_prop(client_data, fw, &fw_info); client_data 801 drivers/hid/intel-ish-hid/ishtp-fw-loader.c rv = ish_fw_xfer_direct_dma(client_data, fw, fw_info); client_data 803 drivers/hid/intel-ish-hid/ishtp-fw-loader.c rv = ish_fw_xfer_ishtp(client_data, fw); client_data 805 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_err(cl_data_to_dev(client_data), client_data 814 drivers/hid/intel-ish-hid/ishtp-fw-loader.c rv = ish_fw_start(client_data); client_data 819 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_info(cl_data_to_dev(client_data), "ISH firmware %s loaded\n", client_data 830 drivers/hid/intel-ish-hid/ishtp-fw-loader.c if (client_data->flag_retry && client_data 831 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->retry_count++ < MAX_LOAD_ATTEMPTS) { client_data 832 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_warn(cl_data_to_dev(client_data), client_data 837 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_err(cl_data_to_dev(client_data), client_data 845 drivers/hid/intel-ish-hid/ishtp-fw-loader.c struct ishtp_cl_data *client_data; client_data 847 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data = container_of(work, struct ishtp_cl_data, client_data 849 drivers/hid/intel-ish-hid/ishtp-fw-loader.c load_fw_from_host(client_data); client_data 863 drivers/hid/intel-ish-hid/ishtp-fw-loader.c struct ishtp_cl_data *client_data = client_data 866 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_dbg(cl_data_to_dev(client_data), "reset flag: %d\n", reset); client_data 870 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_err(cl_data_to_dev(client_data), "ishtp_cl_link failed\n"); client_data 882 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_err(cl_data_to_dev(client_data), client_data 894 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_err(cl_data_to_dev(client_data), "Client connect fail\n"); client_data 898 drivers/hid/intel-ish-hid/ishtp-fw-loader.c dev_dbg(cl_data_to_dev(client_data), "Client connected\n"); client_data 900 drivers/hid/intel-ish-hid/ishtp-fw-loader.c ishtp_register_event_cb(client_data->cl_device, loader_cl_event_cb); client_data 923 drivers/hid/intel-ish-hid/ishtp-fw-loader.c struct ishtp_cl_data *client_data; client_data 927 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data = container_of(work, struct ishtp_cl_data, client_data 930 drivers/hid/intel-ish-hid/ishtp-fw-loader.c loader_ishtp_cl = client_data->loader_ishtp_cl; client_data 931 drivers/hid/intel-ish-hid/ishtp-fw-loader.c cl_device = client_data->cl_device; client_data 943 drivers/hid/intel-ish-hid/ishtp-fw-loader.c ishtp_set_client_data(loader_ishtp_cl, client_data); client_data 944 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->loader_ishtp_cl = loader_ishtp_cl; client_data 945 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->cl_device = cl_device; client_data 954 drivers/hid/intel-ish-hid/ishtp-fw-loader.c load_fw_from_host(client_data); client_data 968 drivers/hid/intel-ish-hid/ishtp-fw-loader.c struct ishtp_cl_data *client_data; client_data 971 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data = devm_kzalloc(ishtp_device(cl_device), client_data 972 drivers/hid/intel-ish-hid/ishtp-fw-loader.c sizeof(*client_data), client_data 974 drivers/hid/intel-ish-hid/ishtp-fw-loader.c if (!client_data) client_data 982 drivers/hid/intel-ish-hid/ishtp-fw-loader.c ishtp_set_client_data(loader_ishtp_cl, client_data); client_data 983 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->loader_ishtp_cl = loader_ishtp_cl; client_data 984 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->cl_device = cl_device; client_data 986 drivers/hid/intel-ish-hid/ishtp-fw-loader.c init_waitqueue_head(&client_data->response.wait_queue); client_data 988 drivers/hid/intel-ish-hid/ishtp-fw-loader.c INIT_WORK(&client_data->work_ishtp_reset, client_data 990 drivers/hid/intel-ish-hid/ishtp-fw-loader.c INIT_WORK(&client_data->work_fw_load, client_data 1000 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data->retry_count = 0; client_data 1003 drivers/hid/intel-ish-hid/ishtp-fw-loader.c schedule_work(&client_data->work_fw_load); client_data 1018 drivers/hid/intel-ish-hid/ishtp-fw-loader.c struct ishtp_cl_data *client_data; client_data 1021 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data = ishtp_get_client_data(loader_ishtp_cl); client_data 1029 drivers/hid/intel-ish-hid/ishtp-fw-loader.c cancel_work_sync(&client_data->work_fw_load); client_data 1030 drivers/hid/intel-ish-hid/ishtp-fw-loader.c cancel_work_sync(&client_data->work_ishtp_reset); client_data 1047 drivers/hid/intel-ish-hid/ishtp-fw-loader.c struct ishtp_cl_data *client_data; client_data 1050 drivers/hid/intel-ish-hid/ishtp-fw-loader.c client_data = ishtp_get_client_data(loader_ishtp_cl); client_data 1052 drivers/hid/intel-ish-hid/ishtp-fw-loader.c schedule_work(&client_data->work_ishtp_reset); client_data 18 drivers/hid/intel-ish-hid/ishtp-hid-client.c #define cl_data_to_dev(client_data) ishtp_device(client_data->cl_device) client_data 33 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); client_data 35 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_err(cl_data_to_dev(client_data), "[hid-ish]: BAD packet %02X\n" client_data 41 drivers/hid/intel-ish-hid/ishtp-hid-client.c recv_msg->hdr.command, client_data->bad_recv_cnt, client_data 45 drivers/hid/intel-ish-hid/ishtp-hid-client.c (unsigned int)payload_len, client_data->multi_packet_cnt, client_data 70 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); client_data 71 drivers/hid/intel-ish-hid/ishtp-hid-client.c int curr_hid_dev = client_data->cur_hid_dev; client_data 81 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_err(cl_data_to_dev(client_data), client_data 85 drivers/hid/intel-ish-hid/ishtp-hid-client.c ++client_data->bad_recv_cnt; client_data 96 drivers/hid/intel-ish-hid/ishtp-hid-client.c ++client_data->bad_recv_cnt; client_data 103 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "%s %d\n", client_data 109 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->init_done)) { client_data 110 drivers/hid/intel-ish-hid/ishtp-hid-client.c ++client_data->bad_recv_cnt; client_data 117 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_dev_count = (unsigned int)*payload; client_data 118 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!client_data->hid_devices) client_data 119 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_devices = devm_kcalloc( client_data 120 drivers/hid/intel-ish-hid/ishtp-hid-client.c cl_data_to_dev(client_data), client_data 121 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_dev_count, client_data 124 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!client_data->hid_devices) { client_data 125 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_err(cl_data_to_dev(client_data), client_data 127 drivers/hid/intel-ish-hid/ishtp-hid-client.c wake_up_interruptible(&client_data->init_wait); client_data 130 drivers/hid/intel-ish-hid/ishtp-hid-client.c for (i = 0; i < client_data->hid_dev_count; ++i) { client_data 133 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_err(cl_data_to_dev(client_data), client_data 145 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (client_data->hid_devices) client_data 146 drivers/hid/intel-ish-hid/ishtp-hid-client.c memcpy(client_data->hid_devices + i, client_data 151 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->enum_devices_done = true; client_data 152 drivers/hid/intel-ish-hid/ishtp-hid-client.c wake_up_interruptible(&client_data->init_wait); client_data 158 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->init_done)) { client_data 159 drivers/hid/intel-ish-hid/ishtp-hid-client.c ++client_data->bad_recv_cnt; client_data 166 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!client_data->hid_descr[curr_hid_dev]) client_data 167 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_descr[curr_hid_dev] = client_data 168 drivers/hid/intel-ish-hid/ishtp-hid-client.c devm_kmalloc(cl_data_to_dev(client_data), client_data 170 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (client_data->hid_descr[curr_hid_dev]) { client_data 171 drivers/hid/intel-ish-hid/ishtp-hid-client.c memcpy(client_data->hid_descr[curr_hid_dev], client_data 173 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_descr_size[curr_hid_dev] = client_data 175 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_descr_done = true; client_data 177 drivers/hid/intel-ish-hid/ishtp-hid-client.c wake_up_interruptible(&client_data->init_wait); client_data 183 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->init_done)) { client_data 184 drivers/hid/intel-ish-hid/ishtp-hid-client.c ++client_data->bad_recv_cnt; client_data 191 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!client_data->report_descr[curr_hid_dev]) client_data 192 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->report_descr[curr_hid_dev] = client_data 193 drivers/hid/intel-ish-hid/ishtp-hid-client.c devm_kmalloc(cl_data_to_dev(client_data), client_data 195 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (client_data->report_descr[curr_hid_dev]) { client_data 196 drivers/hid/intel-ish-hid/ishtp-hid-client.c memcpy(client_data->report_descr[curr_hid_dev], client_data 199 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->report_descr_size[curr_hid_dev] = client_data 201 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->report_descr_done = true; client_data 203 drivers/hid/intel-ish-hid/ishtp-hid-client.c wake_up_interruptible(&client_data->init_wait); client_data 215 drivers/hid/intel-ish-hid/ishtp-hid-client.c for (i = 0; i < client_data->num_hid_devices; ++i) { client_data 217 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_devices[i].dev_id) { client_data 218 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid = client_data->hid_sensor_hubs[i]; client_data 247 drivers/hid/intel-ish-hid/ishtp-hid-client.c for (i = 0; i < client_data->num_hid_devices; ++i) { client_data 249 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_devices[i].dev_id) client_data 250 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (client_data->hid_sensor_hubs[i]) { client_data 252 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_sensor_hubs[ client_data 261 drivers/hid/intel-ish-hid/ishtp-hid-client.c for (i = 0; i < client_data->num_hid_devices; ++i) client_data 263 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_devices[i].dev_id) client_data 264 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (client_data->hid_sensor_hubs[i]) client_data 266 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_sensor_hubs[ client_data 286 drivers/hid/intel-ish-hid/ishtp-hid-client.c for (i = 0; i < client_data->num_hid_devices; client_data 289 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_devices[i].dev_id && client_data 290 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_sensor_hubs[i]) { client_data 292 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_sensor_hubs[ client_data 303 drivers/hid/intel-ish-hid/ishtp-hid-client.c ++client_data->bad_recv_cnt; client_data 313 drivers/hid/intel-ish-hid/ishtp-hid-client.c ++client_data->multi_packet_cnt; client_data 365 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = hid_data->client_data; client_data 370 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "%s hid %p\n", __func__, hid); client_data 372 drivers/hid/intel-ish-hid/ishtp-hid-client.c rv = ishtp_hid_link_ready_wait(client_data); client_data 374 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "%s hid %p link not ready\n", client_data 381 drivers/hid/intel-ish-hid/ishtp-hid-client.c for (i = 0; i < client_data->num_hid_devices; ++i) { client_data 382 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (hid == client_data->hid_sensor_hubs[i]) { client_data 384 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_devices[i].dev_id; client_data 389 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (i == client_data->num_hid_devices) client_data 392 drivers/hid/intel-ish-hid/ishtp-hid-client.c rv = ishtp_cl_send(client_data->hid_ishtp_cl, buf, len); client_data 394 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "%s hid %p send failed\n", client_data 411 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = hid_data->client_data; client_data 416 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "%s hid %p\n", __func__, hid); client_data 417 drivers/hid/intel-ish-hid/ishtp-hid-client.c rv = ishtp_hid_link_ready_wait(client_data); client_data 419 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "%s hid %p link not ready\n", client_data 426 drivers/hid/intel-ish-hid/ishtp-hid-client.c for (i = 0; i < client_data->num_hid_devices; ++i) { client_data 427 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (hid == client_data->hid_sensor_hubs[i]) { client_data 429 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_devices[i].dev_id; client_data 434 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (i == client_data->num_hid_devices) client_data 438 drivers/hid/intel-ish-hid/ishtp-hid-client.c rv = ishtp_cl_send(client_data->hid_ishtp_cl, (uint8_t *)&msg, client_data 441 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "%s hid %p send failed\n", client_data 454 drivers/hid/intel-ish-hid/ishtp-hid-client.c int ishtp_hid_link_ready_wait(struct ishtp_cl_data *client_data) client_data 458 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (client_data->suspended) { client_data 459 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "wait for link ready\n"); client_data 461 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->ishtp_resume_wait, client_data 462 drivers/hid/intel-ish-hid/ishtp-hid-client.c !client_data->suspended, client_data 466 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "link not ready\n"); client_data 469 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "link ready\n"); client_data 486 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); client_data 499 drivers/hid/intel-ish-hid/ishtp-hid-client.c while (!client_data->enum_devices_done && client_data 501 drivers/hid/intel-ish-hid/ishtp-hid-client.c wait_event_interruptible_timeout(client_data->init_wait, client_data 502 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->enum_devices_done, client_data 505 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!client_data->enum_devices_done) client_data 511 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!client_data->enum_devices_done) { client_data 512 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_err(cl_data_to_dev(client_data), client_data 516 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!client_data->hid_devices) { client_data 517 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_err(cl_data_to_dev(client_data), client_data 522 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->num_hid_devices = client_data->hid_dev_count; client_data 523 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_info(ishtp_device(client_data->cl_device), client_data 525 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->num_hid_devices); client_data 542 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); client_data 546 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_descr_done = false; client_data 549 drivers/hid/intel-ish-hid/ishtp-hid-client.c msg.hdr.device_id = client_data->hid_devices[index].dev_id; client_data 555 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!client_data->hid_descr_done) { client_data 556 drivers/hid/intel-ish-hid/ishtp-hid-client.c wait_event_interruptible_timeout(client_data->init_wait, client_data 557 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_descr_done, client_data 559 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!client_data->hid_descr_done) { client_data 560 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_err(cl_data_to_dev(client_data), client_data 565 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!client_data->hid_descr[index]) { client_data 566 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_err(cl_data_to_dev(client_data), client_data 589 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); client_data 593 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->report_descr_done = false; client_data 596 drivers/hid/intel-ish-hid/ishtp-hid-client.c msg.hdr.device_id = client_data->hid_devices[index].dev_id; client_data 602 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!client_data->report_descr_done) client_data 603 drivers/hid/intel-ish-hid/ishtp-hid-client.c wait_event_interruptible_timeout(client_data->init_wait, client_data 604 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->report_descr_done, client_data 606 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!client_data->report_descr_done) { client_data 607 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_err(cl_data_to_dev(client_data), client_data 611 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!client_data->report_descr[index]) { client_data 612 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_err(cl_data_to_dev(client_data), client_data 637 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); client_data 642 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_dbg(cl_data_to_dev(client_data), "%s\n", __func__); client_data 643 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "%s reset flag: %d\n", __func__, reset); client_data 647 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_err(cl_data_to_dev(client_data), client_data 652 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->init_done = 0; client_data 662 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_err(cl_data_to_dev(client_data), client_data 672 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_err(cl_data_to_dev(client_data), client_data 677 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "%s client connected\n", __func__); client_data 680 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_register_event_cb(client_data->cl_device, ish_cl_event_cb); client_data 686 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "%s enumerated device count %d\n", client_data 687 drivers/hid/intel-ish-hid/ishtp-hid-client.c __func__, client_data->num_hid_devices); client_data 689 drivers/hid/intel-ish-hid/ishtp-hid-client.c for (i = 0; i < client_data->num_hid_devices; ++i) { client_data 690 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->cur_hid_dev = i; client_data 701 drivers/hid/intel-ish-hid/ishtp-hid-client.c rv = ishtp_hid_probe(i, client_data); client_data 703 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_err(cl_data_to_dev(client_data), client_data 711 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->init_done = 1; client_data 712 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->suspended = false; client_data 713 drivers/hid/intel-ish-hid/ishtp-hid-client.c wake_up_interruptible(&client_data->ishtp_resume_wait); client_data 714 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "%s successful init\n", __func__); client_data 742 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data; client_data 748 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data = container_of(work, struct ishtp_cl_data, work); client_data 750 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_cl = client_data->hid_ishtp_cl; client_data 751 drivers/hid/intel-ish-hid/ishtp-hid-client.c cl_device = client_data->cl_device; client_data 753 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "%s hid_ishtp_cl %p\n", __func__, client_data 755 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_dbg(ishtp_device(client_data->cl_device), "%s\n", __func__); client_data 764 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_set_client_data(hid_ishtp_cl, client_data); client_data 765 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_ishtp_cl = hid_ishtp_cl; client_data 767 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->num_hid_devices = 0; client_data 773 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_err(cl_data_to_dev(client_data), "Retry reset init\n"); client_data 776 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev_err(cl_data_to_dev(client_data), "Reset Failed\n"); client_data 777 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "%s Failed hid_ishtp_cl %p\n", client_data 795 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data; client_data 801 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data = devm_kzalloc(ishtp_device(cl_device), client_data 802 drivers/hid/intel-ish-hid/ishtp-hid-client.c sizeof(*client_data), client_data 804 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!client_data) client_data 812 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_set_client_data(hid_ishtp_cl, client_data); client_data 813 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_ishtp_cl = hid_ishtp_cl; client_data 814 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->cl_device = cl_device; client_data 816 drivers/hid/intel-ish-hid/ishtp-hid-client.c init_waitqueue_head(&client_data->init_wait); client_data 817 drivers/hid/intel-ish-hid/ishtp-hid-client.c init_waitqueue_head(&client_data->ishtp_resume_wait); client_data 819 drivers/hid/intel-ish-hid/ishtp-hid-client.c INIT_WORK(&client_data->work, hid_ishtp_cl_reset_handler); client_data 844 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); client_data 846 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "%s hid_ishtp_cl %p\n", __func__, client_data 853 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_hid_remove(client_data); client_data 858 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->num_hid_devices = 0; client_data 874 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); client_data 876 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "%s hid_ishtp_cl %p\n", __func__, client_data 879 drivers/hid/intel-ish-hid/ishtp-hid-client.c schedule_work(&client_data->work); client_data 896 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); client_data 898 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "%s hid_ishtp_cl %p\n", __func__, client_data 900 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->suspended = true; client_data 917 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); client_data 919 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_trace(client_data, "%s hid_ishtp_cl %p\n", __func__, client_data 921 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->suspended = false; client_data 24 drivers/hid/intel-ish-hid/ishtp-hid.c struct ishtp_cl_data *client_data = hid_data->client_data; client_data 27 drivers/hid/intel-ish-hid/ishtp-hid.c rv = hid_parse_report(hid, client_data->report_descr[hid_data->index], client_data 28 drivers/hid/intel-ish-hid/ishtp-hid.c client_data->report_descr_size[hid_data->index]); client_data 150 drivers/hid/intel-ish-hid/ishtp-hid.c hid_ishtp_trace(client_data, "%s hid %p\n", __func__, hid); client_data 152 drivers/hid/intel-ish-hid/ishtp-hid.c rv = ishtp_hid_link_ready_wait(hid_data->client_data); client_data 165 drivers/hid/intel-ish-hid/ishtp-hid.c hid_ishtp_trace(client_data, "%s hid %p done\n", __func__, hid); client_data 207 drivers/hid/intel-ish-hid/ishtp-hid.c struct ishtp_cl_data *client_data) client_data 226 drivers/hid/intel-ish-hid/ishtp-hid.c hid_data->client_data = client_data; client_data 231 drivers/hid/intel-ish-hid/ishtp-hid.c client_data->hid_sensor_hubs[cur_hid_dev] = hid; client_data 235 drivers/hid/intel-ish-hid/ishtp-hid.c hid->dev.parent = ishtp_device(client_data->cl_device); client_data 238 drivers/hid/intel-ish-hid/ishtp-hid.c hid->vendor = le16_to_cpu(client_data->hid_devices[cur_hid_dev].vid); client_data 239 drivers/hid/intel-ish-hid/ishtp-hid.c hid->product = le16_to_cpu(client_data->hid_devices[cur_hid_dev].pid); client_data 247 drivers/hid/intel-ish-hid/ishtp-hid.c hid_ishtp_trace(client_data, "%s allocated hid %p\n", __func__, hid); client_data 264 drivers/hid/intel-ish-hid/ishtp-hid.c void ishtp_hid_remove(struct ishtp_cl_data *client_data) client_data 268 drivers/hid/intel-ish-hid/ishtp-hid.c for (i = 0; i < client_data->num_hid_devices; ++i) { client_data 269 drivers/hid/intel-ish-hid/ishtp-hid.c if (client_data->hid_sensor_hubs[i]) { client_data 270 drivers/hid/intel-ish-hid/ishtp-hid.c kfree(client_data->hid_sensor_hubs[i]->driver_data); client_data 271 drivers/hid/intel-ish-hid/ishtp-hid.c hid_destroy_device(client_data->hid_sensor_hubs[i]); client_data 272 drivers/hid/intel-ish-hid/ishtp-hid.c client_data->hid_sensor_hubs[i] = NULL; client_data 162 drivers/hid/intel-ish-hid/ishtp-hid.h struct ishtp_cl_data *client_data; client_data 177 drivers/hid/intel-ish-hid/ishtp-hid.h struct ishtp_cl_data *client_data); client_data 178 drivers/hid/intel-ish-hid/ishtp-hid.h void ishtp_hid_remove(struct ishtp_cl_data *client_data); client_data 179 drivers/hid/intel-ish-hid/ishtp-hid.h int ishtp_hid_link_ready_wait(struct ishtp_cl_data *client_data); client_data 1060 drivers/hid/intel-ish-hid/ishtp/client.c return cl->client_data; client_data 1066 drivers/hid/intel-ish-hid/ishtp/client.c cl->client_data = data; client_data 108 drivers/hid/intel-ish-hid/ishtp/client.h void *client_data; client_data 110 drivers/infiniband/core/cm.c static void cm_remove_one(struct ib_device *device, void *client_data); client_data 4413 drivers/infiniband/core/cm.c static void cm_remove_one(struct ib_device *ib_device, void *client_data) client_data 4415 drivers/infiniband/core/cm.c struct cm_device *cm_dev = client_data; client_data 178 drivers/infiniband/core/cma.c static void cma_remove_one(struct ib_device *device, void *client_data); client_data 4673 drivers/infiniband/core/cma.c static void cma_remove_one(struct ib_device *device, void *client_data) client_data 4675 drivers/infiniband/core/cma.c struct cma_device *cma_dev = client_data; client_data 407 drivers/infiniband/core/device.c void *client_data; client_data 432 drivers/infiniband/core/device.c xan_for_each_marked(&ibdev->client_data, index, client_data, client_data 439 drivers/infiniband/core/device.c client->rename(ibdev, client_data); client_data 510 drivers/infiniband/core/device.c xa_destroy(&dev->client_data); client_data 600 drivers/infiniband/core/device.c xa_init_flags(&device->client_data, XA_FLAGS_ALLOC); client_data 637 drivers/infiniband/core/device.c WARN_ON(!xa_empty(&device->client_data)); client_data 674 drivers/infiniband/core/device.c if (xa_get_mark(&device->client_data, client->client_id, client_data 678 drivers/infiniband/core/device.c ret = xa_err(xa_store(&device->client_data, client->client_id, NULL, client_data 687 drivers/infiniband/core/device.c xa_set_mark(&device->client_data, client->client_id, client_data 704 drivers/infiniband/core/device.c void *client_data; client_data 707 drivers/infiniband/core/device.c if (!xa_get_mark(&device->client_data, client_id, client_data 712 drivers/infiniband/core/device.c client_data = xa_load(&device->client_data, client_id); client_data 713 drivers/infiniband/core/device.c xa_clear_mark(&device->client_data, client_id, CLIENT_DATA_REGISTERED); client_data 727 drivers/infiniband/core/device.c client->remove(device, client_data); client_data 729 drivers/infiniband/core/device.c xa_erase(&device->client_data, client_id); client_data 1840 drivers/infiniband/core/device.c void *client_data; client_data 1844 drivers/infiniband/core/device.c xan_for_each_marked (&ibdev->client_data, index, client_data, client_data 1854 drivers/infiniband/core/device.c ret = client->get_nl_info(ibdev, client_data, res); client_data 1926 drivers/infiniband/core/device.c rc = xa_store(&device->client_data, client->client_id, data, client_data 2508 drivers/infiniband/core/device.c void *client_data; client_data 2518 drivers/infiniband/core/device.c xan_for_each_marked (&dev->client_data, index, client_data, client_data 2526 drivers/infiniband/core/device.c addr, client_data); client_data 3365 drivers/infiniband/core/mad.c static void ib_mad_remove_device(struct ib_device *device, void *client_data) client_data 46 drivers/infiniband/core/multicast.c static void mcast_remove_one(struct ib_device *device, void *client_data); client_data 858 drivers/infiniband/core/multicast.c static void mcast_remove_one(struct ib_device *device, void *client_data) client_data 860 drivers/infiniband/core/multicast.c struct mcast_device *dev = client_data; client_data 178 drivers/infiniband/core/sa_query.c static void ib_sa_remove_one(struct ib_device *device, void *client_data); client_data 2401 drivers/infiniband/core/sa_query.c static void ib_sa_remove_one(struct ib_device *device, void *client_data) client_data 2403 drivers/infiniband/core/sa_query.c struct ib_sa_device *sa_dev = client_data; client_data 146 drivers/infiniband/core/user_mad.c static void ib_umad_remove_one(struct ib_device *device, void *client_data); client_data 1146 drivers/infiniband/core/user_mad.c static int ib_umad_get_nl_info(struct ib_device *ibdev, void *client_data, client_data 1149 drivers/infiniband/core/user_mad.c struct ib_umad_port *port = get_port(ibdev, client_data, res->port); client_data 1167 drivers/infiniband/core/user_mad.c static int ib_issm_get_nl_info(struct ib_device *ibdev, void *client_data, client_data 1170 drivers/infiniband/core/user_mad.c struct ib_umad_port *port = get_port(ibdev, client_data, res->port); client_data 1399 drivers/infiniband/core/user_mad.c static void ib_umad_remove_one(struct ib_device *device, void *client_data) client_data 1401 drivers/infiniband/core/user_mad.c struct ib_umad_device *umad_dev = client_data; client_data 79 drivers/infiniband/core/uverbs_main.c static void ib_uverbs_remove_one(struct ib_device *device, void *client_data); client_data 1154 drivers/infiniband/core/uverbs_main.c static int ib_uverbs_get_nl_info(struct ib_device *ibdev, void *client_data, client_data 1157 drivers/infiniband/core/uverbs_main.c struct ib_uverbs_device *uverbs_dev = client_data; client_data 1384 drivers/infiniband/core/uverbs_main.c static void ib_uverbs_remove_one(struct ib_device *device, void *client_data) client_data 1386 drivers/infiniband/core/uverbs_main.c struct ib_uverbs_device *uverbs_dev = client_data; client_data 94 drivers/infiniband/ulp/ipoib/ipoib_main.c static void ipoib_remove_one(struct ib_device *device, void *client_data); client_data 99 drivers/infiniband/ulp/ipoib/ipoib_main.c void *client_data); client_data 471 drivers/infiniband/ulp/ipoib/ipoib_main.c void *client_data) client_data 474 drivers/infiniband/ulp/ipoib/ipoib_main.c struct list_head *dev_list = client_data; client_data 2546 drivers/infiniband/ulp/ipoib/ipoib_main.c static void ipoib_remove_one(struct ib_device *device, void *client_data) client_data 2549 drivers/infiniband/ulp/ipoib/ipoib_main.c struct list_head *dev_list = client_data; client_data 120 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c void *client_data); client_data 1027 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c void *client_data) client_data 1029 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c struct opa_vnic_ctrl_port *cport = client_data; client_data 150 drivers/infiniband/ulp/srp/ib_srp.c static void srp_remove_one(struct ib_device *device, void *client_data); client_data 151 drivers/infiniband/ulp/srp/ib_srp.c static void srp_rename_dev(struct ib_device *device, void *client_data); client_data 4098 drivers/infiniband/ulp/srp/ib_srp.c static void srp_rename_dev(struct ib_device *device, void *client_data) client_data 4100 drivers/infiniband/ulp/srp/ib_srp.c struct srp_device *srp_dev = client_data; client_data 4198 drivers/infiniband/ulp/srp/ib_srp.c static void srp_remove_one(struct ib_device *device, void *client_data) client_data 4204 drivers/infiniband/ulp/srp/ib_srp.c srp_dev = client_data; client_data 3221 drivers/infiniband/ulp/srpt/ib_srpt.c static void srpt_remove_one(struct ib_device *device, void *client_data) client_data 3223 drivers/infiniband/ulp/srpt/ib_srpt.c struct srpt_device *sdev = client_data; client_data 112 drivers/media/platform/qcom/venus/hfi_cmds.c pkt->client_data = cookie; client_data 90 drivers/media/platform/qcom/venus/hfi_cmds.h u32 client_data; client_data 291 drivers/media/platform/qcom/venus/hfi_msgs.c if (pkt->client_data != 0xbeef) client_data 110 drivers/media/platform/qcom/venus/hfi_msgs.h u32 client_data; client_data 1343 drivers/misc/vmw_balloon.c static void vmballoon_doorbell(void *client_data) client_data 1345 drivers/misc/vmw_balloon.c struct vmballoon *b = client_data; client_data 31 drivers/misc/vmw_vmci/vmci_datagram.c void *client_data; client_data 54 drivers/misc/vmw_vmci/vmci_datagram.c void *client_data, struct vmci_handle *out_handle) client_data 83 drivers/misc/vmw_vmci/vmci_datagram.c entry->client_data = client_data; client_data 141 drivers/misc/vmw_vmci/vmci_datagram.c dg_info->entry->recv_cb(dg_info->entry->client_data, &dg_info->msg); client_data 244 drivers/misc/vmw_vmci/vmci_datagram.c retval = dst_entry->recv_cb(dst_entry->client_data, dg); client_data 385 drivers/misc/vmw_vmci/vmci_datagram.c dst_entry->recv_cb(dst_entry->client_data, dg); client_data 407 drivers/misc/vmw_vmci/vmci_datagram.c void *client_data, client_data 422 drivers/misc/vmw_vmci/vmci_datagram.c client_data, out_handle); client_data 441 drivers/misc/vmw_vmci/vmci_datagram.c void *client_data, client_data 447 drivers/misc/vmw_vmci/vmci_datagram.c recv_cb, client_data, client_data 38 drivers/misc/vmw_vmci/vmci_doorbell.c void *client_data; client_data 285 drivers/misc/vmw_vmci/vmci_doorbell.c entry->notify_cb(entry->client_data); client_data 316 drivers/misc/vmw_vmci/vmci_doorbell.c entry->notify_cb(entry->client_data); client_data 368 drivers/misc/vmw_vmci/vmci_doorbell.c dbell->notify_cb(dbell->client_data); client_data 412 drivers/misc/vmw_vmci/vmci_doorbell.c vmci_callback notify_cb, void *client_data) client_data 471 drivers/misc/vmw_vmci/vmci_doorbell.c entry->client_data = client_data; client_data 136 drivers/misc/vmw_vmci/vmci_guest.c void *client_data) client_data 208 drivers/misc/vmw_vmci/vmci_queue_pair.c void *client_data; client_data 1283 drivers/misc/vmw_vmci/vmci_queue_pair.c void *client_data, struct qp_broker_entry **ent) client_data 1348 drivers/misc/vmw_vmci/vmci_queue_pair.c entry->client_data = client_data; client_data 1511 drivers/misc/vmw_vmci/vmci_queue_pair.c void *client_data, client_data 1667 drivers/misc/vmw_vmci/vmci_queue_pair.c entry->client_data = client_data; client_data 1696 drivers/misc/vmw_vmci/vmci_queue_pair.c void *client_data, client_data 1739 drivers/misc/vmw_vmci/vmci_queue_pair.c context, wakeup_cb, client_data, ent); client_data 1745 drivers/misc/vmw_vmci/vmci_queue_pair.c context, wakeup_cb, client_data, ent); client_data 1770 drivers/misc/vmw_vmci/vmci_queue_pair.c void *client_data) client_data 1789 drivers/misc/vmw_vmci/vmci_queue_pair.c wakeup_cb, client_data, &entry, &swap); client_data 1830 drivers/misc/vmw_vmci/vmci_queue_pair.c void *client_data) client_data 1845 drivers/misc/vmw_vmci/vmci_queue_pair.c priv_flags, wakeup_cb, client_data); client_data 2151 drivers/misc/vmw_vmci/vmci_queue_pair.c entry->wakeup_cb(entry->client_data); client_data 2156 drivers/misc/vmw_vmci/vmci_queue_pair.c entry->client_data = NULL; client_data 2255 drivers/misc/vmw_vmci/vmci_queue_pair.c entry->wakeup_cb(entry->client_data); client_data 2481 drivers/misc/vmw_vmci/vmci_queue_pair.c static int qp_wakeup_cb(void *client_data) client_data 2483 drivers/misc/vmw_vmci/vmci_queue_pair.c struct vmci_qp *qpair = (struct vmci_qp *)client_data; client_data 2667 drivers/misc/vmw_vmci/vmci_queue_pair.c void *client_data; client_data 2711 drivers/misc/vmw_vmci/vmci_queue_pair.c client_data = NULL; client_data 2720 drivers/misc/vmw_vmci/vmci_queue_pair.c client_data = (void *)my_qpair; client_data 2735 drivers/misc/vmw_vmci/vmci_queue_pair.c wakeup_cb, client_data); client_data 17 drivers/misc/vmw_vmci/vmci_queue_pair.h typedef int (*vmci_event_release_cb) (void *client_data); client_data 159 drivers/misc/vmw_vmci/vmci_queue_pair.h void *client_data); client_data 2082 drivers/nvme/host/rdma.c static void nvme_rdma_remove_one(struct ib_device *ib_device, void *client_data) client_data 1617 drivers/nvme/target/rdma.c static void nvmet_rdma_remove_one(struct ib_device *ib_device, void *client_data) client_data 68 drivers/platform/chrome/cros_ec_ishtp.c #define cl_data_to_dev(client_data) ishtp_device((client_data)->cl_device) client_data 136 drivers/platform/chrome/cros_ec_ishtp.c struct ishtp_cl_data *client_data = client_data 138 drivers/platform/chrome/cros_ec_ishtp.c struct cros_ec_device *ec_dev = client_data->ec_dev; client_data 159 drivers/platform/chrome/cros_ec_ishtp.c static int ish_send(struct ishtp_cl_data *client_data, client_data 165 drivers/platform/chrome/cros_ec_ishtp.c struct ishtp_cl *cros_ish_cl = client_data->cros_ish_cl; client_data 167 drivers/platform/chrome/cros_ec_ishtp.c dev_dbg(cl_data_to_dev(client_data), client_data 172 drivers/platform/chrome/cros_ec_ishtp.c client_data->response.data = in_msg; client_data 173 drivers/platform/chrome/cros_ec_ishtp.c client_data->response.max_size = in_size; client_data 174 drivers/platform/chrome/cros_ec_ishtp.c client_data->response.error = 0; client_data 175 drivers/platform/chrome/cros_ec_ishtp.c client_data->response.received = false; client_data 179 drivers/platform/chrome/cros_ec_ishtp.c dev_err(cl_data_to_dev(client_data), client_data 184 drivers/platform/chrome/cros_ec_ishtp.c wait_event_interruptible_timeout(client_data->response.wait_queue, client_data 185 drivers/platform/chrome/cros_ec_ishtp.c client_data->response.received, client_data 187 drivers/platform/chrome/cros_ec_ishtp.c if (!client_data->response.received) { client_data 188 drivers/platform/chrome/cros_ec_ishtp.c dev_err(cl_data_to_dev(client_data), client_data 193 drivers/platform/chrome/cros_ec_ishtp.c if (client_data->response.error < 0) client_data 194 drivers/platform/chrome/cros_ec_ishtp.c return client_data->response.error; client_data 196 drivers/platform/chrome/cros_ec_ishtp.c return client_data->response.size; client_data 212 drivers/platform/chrome/cros_ec_ishtp.c struct ishtp_cl_data *client_data = client_data 214 drivers/platform/chrome/cros_ec_ishtp.c struct device *dev = cl_data_to_dev(client_data); client_data 233 drivers/platform/chrome/cros_ec_ishtp.c client_data->response.error = -EBADMSG; client_data 240 drivers/platform/chrome/cros_ec_ishtp.c client_data->response.error = -EMSGSIZE; client_data 250 drivers/platform/chrome/cros_ec_ishtp.c if (!client_data->response.data) { client_data 253 drivers/platform/chrome/cros_ec_ishtp.c client_data->response.error = -EINVAL; client_data 257 drivers/platform/chrome/cros_ec_ishtp.c if (client_data->response.received) { client_data 260 drivers/platform/chrome/cros_ec_ishtp.c client_data->response.error = -EINVAL; client_data 264 drivers/platform/chrome/cros_ec_ishtp.c if (data_len > client_data->response.max_size) { client_data 267 drivers/platform/chrome/cros_ec_ishtp.c data_len, client_data->response.max_size); client_data 268 drivers/platform/chrome/cros_ec_ishtp.c client_data->response.error = -EMSGSIZE; client_data 275 drivers/platform/chrome/cros_ec_ishtp.c client_data->response.error = -EIO; client_data 280 drivers/platform/chrome/cros_ec_ishtp.c client_data->response.size = data_len; client_data 286 drivers/platform/chrome/cros_ec_ishtp.c memcpy(client_data->response.data, client_data 290 drivers/platform/chrome/cros_ec_ishtp.c client_data->response.received = true; client_data 293 drivers/platform/chrome/cros_ec_ishtp.c wake_up_interruptible(&client_data->response.wait_queue); client_data 299 drivers/platform/chrome/cros_ec_ishtp.c schedule_work(&client_data->work_ec_evt); client_data 345 drivers/platform/chrome/cros_ec_ishtp.c struct ishtp_cl_data *client_data = ishtp_get_client_data(cros_ish_cl); client_data 349 drivers/platform/chrome/cros_ec_ishtp.c dev_err(cl_data_to_dev(client_data), client_data 362 drivers/platform/chrome/cros_ec_ishtp.c dev_err(cl_data_to_dev(client_data), client_data 374 drivers/platform/chrome/cros_ec_ishtp.c dev_err(cl_data_to_dev(client_data), client_data 379 drivers/platform/chrome/cros_ec_ishtp.c ishtp_register_event_cb(client_data->cl_device, ish_event_cb); client_data 454 drivers/platform/chrome/cros_ec_ishtp.c struct ishtp_cl_data *client_data = ishtp_get_client_data(cros_ish_cl); client_data 455 drivers/platform/chrome/cros_ec_ishtp.c struct device *dev = cl_data_to_dev(client_data); client_data 501 drivers/platform/chrome/cros_ec_ishtp.c rv = ish_send(client_data, client_data 529 drivers/platform/chrome/cros_ec_ishtp.c static int cros_ec_dev_init(struct ishtp_cl_data *client_data) client_data 532 drivers/platform/chrome/cros_ec_ishtp.c struct device *dev = cl_data_to_dev(client_data); client_data 538 drivers/platform/chrome/cros_ec_ishtp.c client_data->ec_dev = ec_dev; client_data 542 drivers/platform/chrome/cros_ec_ishtp.c ec_dev->priv = client_data->cros_ish_cl; client_data 559 drivers/platform/chrome/cros_ec_ishtp.c struct ishtp_cl_data *client_data = client_data 565 drivers/platform/chrome/cros_ec_ishtp.c cros_ish_cl = client_data->cros_ish_cl; client_data 566 drivers/platform/chrome/cros_ec_ishtp.c cl_device = client_data->cl_device; client_data 580 drivers/platform/chrome/cros_ec_ishtp.c ishtp_set_client_data(cros_ish_cl, client_data); client_data 581 drivers/platform/chrome/cros_ec_ishtp.c client_data->cros_ish_cl = cros_ish_cl; client_data 586 drivers/platform/chrome/cros_ec_ishtp.c dev_err(cl_data_to_dev(client_data), "Reset Failed\n"); client_data 592 drivers/platform/chrome/cros_ec_ishtp.c client_data->ec_dev->priv = client_data->cros_ish_cl; client_data 593 drivers/platform/chrome/cros_ec_ishtp.c dev = cl_data_to_dev(client_data); client_data 594 drivers/platform/chrome/cros_ec_ishtp.c dev->driver_data = client_data->ec_dev; client_data 596 drivers/platform/chrome/cros_ec_ishtp.c dev_info(cl_data_to_dev(client_data), "Chrome EC ISH reset done\n"); client_data 611 drivers/platform/chrome/cros_ec_ishtp.c struct ishtp_cl_data *client_data = client_data 613 drivers/platform/chrome/cros_ec_ishtp.c sizeof(*client_data), GFP_KERNEL); client_data 614 drivers/platform/chrome/cros_ec_ishtp.c if (!client_data) client_data 627 drivers/platform/chrome/cros_ec_ishtp.c ishtp_set_client_data(cros_ish_cl, client_data); client_data 628 drivers/platform/chrome/cros_ec_ishtp.c client_data->cros_ish_cl = cros_ish_cl; client_data 629 drivers/platform/chrome/cros_ec_ishtp.c client_data->cl_device = cl_device; client_data 631 drivers/platform/chrome/cros_ec_ishtp.c init_waitqueue_head(&client_data->response.wait_queue); client_data 633 drivers/platform/chrome/cros_ec_ishtp.c INIT_WORK(&client_data->work_ishtp_reset, client_data 635 drivers/platform/chrome/cros_ec_ishtp.c INIT_WORK(&client_data->work_ec_evt, client_data 647 drivers/platform/chrome/cros_ec_ishtp.c rv = cros_ec_dev_init(client_data); client_data 675 drivers/platform/chrome/cros_ec_ishtp.c struct ishtp_cl_data *client_data = ishtp_get_client_data(cros_ish_cl); client_data 677 drivers/platform/chrome/cros_ec_ishtp.c cancel_work_sync(&client_data->work_ishtp_reset); client_data 678 drivers/platform/chrome/cros_ec_ishtp.c cancel_work_sync(&client_data->work_ec_evt); client_data 694 drivers/platform/chrome/cros_ec_ishtp.c struct ishtp_cl_data *client_data = ishtp_get_client_data(cros_ish_cl); client_data 696 drivers/platform/chrome/cros_ec_ishtp.c schedule_work(&client_data->work_ishtp_reset); client_data 711 drivers/platform/chrome/cros_ec_ishtp.c struct ishtp_cl_data *client_data = ishtp_get_client_data(cros_ish_cl); client_data 713 drivers/platform/chrome/cros_ec_ishtp.c return cros_ec_suspend(client_data->ec_dev); client_data 726 drivers/platform/chrome/cros_ec_ishtp.c struct ishtp_cl_data *client_data = ishtp_get_client_data(cros_ish_cl); client_data 728 drivers/platform/chrome/cros_ec_ishtp.c return cros_ec_resume(client_data->ec_dev); client_data 230 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->client_data.os_type = 0; client_data 770 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->client_data.partition_number = client_data 773 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->client_data.partition_number); client_data 1550 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (vscsi->client_data.partition_number == 0) client_data 1551 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->client_data.partition_number = client_data 1553 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c strncpy(vscsi->client_data.srp_version, info->srp_version, client_data 1554 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c sizeof(vscsi->client_data.srp_version)); client_data 1555 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c strncpy(vscsi->client_data.partition_name, info->partition_name, client_data 1556 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c sizeof(vscsi->client_data.partition_name)); client_data 1557 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->client_data.mad_version = be32_to_cpu(info->mad_version); client_data 1558 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->client_data.os_type = be32_to_cpu(info->os_type); client_data 3538 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->client_data.partition_number = client_data 3546 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c hrc, vscsi->client_data.partition_number); client_data 278 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.h struct client_info client_data; client_data 28 drivers/tty/serdev/serdev-ttyport.c struct serdev_controller *ctrl = port->client_data; client_data 50 drivers/tty/serdev/serdev-ttyport.c struct serdev_controller *ctrl = port->client_data; client_data 287 drivers/tty/serdev/serdev-ttyport.c port->client_data = ctrl; client_data 297 drivers/tty/serdev/serdev-ttyport.c port->client_data = NULL; client_data 306 drivers/tty/serdev/serdev-ttyport.c struct serdev_controller *ctrl = port->client_data; client_data 313 drivers/tty/serdev/serdev-ttyport.c port->client_data = NULL; client_data 254 include/linux/tty.h void *client_data; client_data 25 include/linux/vmw_vmci_api.h void *client_data, client_data 29 include/linux/vmw_vmci_api.h void *client_data, client_data 35 include/linux/vmw_vmci_api.h vmci_callback notify_cb, void *client_data); client_data 701 include/linux/vmw_vmci_defs.h typedef void (*vmci_callback) (void *client_data); client_data 712 include/linux/vmw_vmci_defs.h typedef int (*vmci_datagram_recv_cb) (void *client_data, client_data 717 include/linux/vmw_vmci_defs.h void *client_data); client_data 2599 include/rdma/ib_verbs.h struct xarray client_data; client_data 2671 include/rdma/ib_verbs.h void (*remove)(struct ib_device *, void *client_data); client_data 2672 include/rdma/ib_verbs.h void (*rename)(struct ib_device *dev, void *client_data); client_data 2673 include/rdma/ib_verbs.h int (*get_nl_info)(struct ib_device *ibdev, void *client_data, client_data 2698 include/rdma/ib_verbs.h void *client_data); client_data 2788 include/rdma/ib_verbs.h return xa_load(&device->client_data, client->client_id); client_data 258 net/rds/ib.c static void rds_ib_remove_one(struct ib_device *device, void *client_data) client_data 260 net/rds/ib.c struct rds_ib_device *rds_ibdev = client_data; client_data 558 net/smc/smc_ib.c static void smc_ib_remove_dev(struct ib_device *ibdev, void *client_data) client_data 36 net/vmw_vsock/vmci_transport.c void *client_data); client_data 591 net/vmw_vsock/vmci_transport.c void *client_data, client_data 603 net/vmw_vsock/vmci_transport.c client_data, out_handle); client_data 607 net/vmw_vsock/vmci_transport.c recv_cb, client_data, client_data 854 net/vmw_vsock/vmci_transport.c void *client_data) client_data 856 net/vmw_vsock/vmci_transport.c struct vmci_transport *trans = client_data; client_data 892 net/vmw_vsock/vmci_transport.c void *client_data)