hid_ishtp_cl 29 drivers/hid/intel-ish-hid/ishtp-hid-client.c static void report_bad_packet(struct ishtp_cl *hid_ishtp_cl, void *recv_buf, hid_ishtp_cl 33 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); hid_ishtp_cl 58 drivers/hid/intel-ish-hid/ishtp-hid-client.c static void process_recv(struct ishtp_cl *hid_ishtp_cl, void *recv_buf, hid_ishtp_cl 70 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); hid_ishtp_cl 86 drivers/hid/intel-ish-hid/ishtp-hid-client.c ish_hw_reset(ishtp_get_ishtp_device(hid_ishtp_cl)); hid_ishtp_cl 97 drivers/hid/intel-ish-hid/ishtp-hid-client.c report_bad_packet(hid_ishtp_cl, recv_msg, cur_pos, hid_ishtp_cl 99 drivers/hid/intel-ish-hid/ishtp-hid-client.c ish_hw_reset(ishtp_get_ishtp_device(hid_ishtp_cl)); hid_ishtp_cl 111 drivers/hid/intel-ish-hid/ishtp-hid-client.c report_bad_packet(hid_ishtp_cl, recv_msg, hid_ishtp_cl 114 drivers/hid/intel-ish-hid/ishtp-hid-client.c ish_hw_reset(ishtp_get_ishtp_device(hid_ishtp_cl)); hid_ishtp_cl 160 drivers/hid/intel-ish-hid/ishtp-hid-client.c report_bad_packet(hid_ishtp_cl, recv_msg, hid_ishtp_cl 163 drivers/hid/intel-ish-hid/ishtp-hid-client.c ish_hw_reset(ishtp_get_ishtp_device(hid_ishtp_cl)); hid_ishtp_cl 185 drivers/hid/intel-ish-hid/ishtp-hid-client.c report_bad_packet(hid_ishtp_cl, recv_msg, hid_ishtp_cl 188 drivers/hid/intel-ish-hid/ishtp-hid-client.c ish_hw_reset(ishtp_get_ishtp_device(hid_ishtp_cl)); hid_ishtp_cl 304 drivers/hid/intel-ish-hid/ishtp-hid-client.c report_bad_packet(hid_ishtp_cl, recv_msg, cur_pos, hid_ishtp_cl 306 drivers/hid/intel-ish-hid/ishtp-hid-client.c ish_hw_reset(ishtp_get_ishtp_device(hid_ishtp_cl)); hid_ishtp_cl 331 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl *hid_ishtp_cl = ishtp_get_drvdata(device); hid_ishtp_cl 335 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!hid_ishtp_cl) hid_ishtp_cl 338 drivers/hid/intel-ish-hid/ishtp-hid-client.c while ((rb_in_proc = ishtp_cl_rx_get_rb(hid_ishtp_cl)) != NULL) { hid_ishtp_cl 345 drivers/hid/intel-ish-hid/ishtp-hid-client.c process_recv(hid_ishtp_cl, rb_in_proc->buffer.data, r_length); hid_ishtp_cl 392 drivers/hid/intel-ish-hid/ishtp-hid-client.c rv = ishtp_cl_send(client_data->hid_ishtp_cl, buf, len); hid_ishtp_cl 438 drivers/hid/intel-ish-hid/ishtp-hid-client.c rv = ishtp_cl_send(client_data->hid_ishtp_cl, (uint8_t *)&msg, hid_ishtp_cl 483 drivers/hid/intel-ish-hid/ishtp-hid-client.c static int ishtp_enum_enum_devices(struct ishtp_cl *hid_ishtp_cl) hid_ishtp_cl 486 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); hid_ishtp_cl 493 drivers/hid/intel-ish-hid/ishtp-hid-client.c rv = ishtp_cl_send(hid_ishtp_cl, (unsigned char *)&msg, hid_ishtp_cl 507 drivers/hid/intel-ish-hid/ishtp-hid-client.c rv = ishtp_cl_send(hid_ishtp_cl, hid_ishtp_cl 539 drivers/hid/intel-ish-hid/ishtp-hid-client.c static int ishtp_get_hid_descriptor(struct ishtp_cl *hid_ishtp_cl, int index) hid_ishtp_cl 542 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); hid_ishtp_cl 550 drivers/hid/intel-ish-hid/ishtp-hid-client.c rv = ishtp_cl_send(hid_ishtp_cl, (unsigned char *) &msg, hid_ishtp_cl 585 drivers/hid/intel-ish-hid/ishtp-hid-client.c static int ishtp_get_report_descriptor(struct ishtp_cl *hid_ishtp_cl, hid_ishtp_cl 589 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); hid_ishtp_cl 597 drivers/hid/intel-ish-hid/ishtp-hid-client.c rv = ishtp_cl_send(hid_ishtp_cl, (unsigned char *) &msg, hid_ishtp_cl 634 drivers/hid/intel-ish-hid/ishtp-hid-client.c static int hid_ishtp_cl_init(struct ishtp_cl *hid_ishtp_cl, int reset) hid_ishtp_cl 637 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); hid_ishtp_cl 645 drivers/hid/intel-ish-hid/ishtp-hid-client.c rv = ishtp_cl_link(hid_ishtp_cl); hid_ishtp_cl 654 drivers/hid/intel-ish-hid/ishtp-hid-client.c dev = ishtp_get_ishtp_device(hid_ishtp_cl); hid_ishtp_cl 657 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_set_tx_ring_size(hid_ishtp_cl, HID_CL_TX_RING_SIZE); hid_ishtp_cl 658 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_set_rx_ring_size(hid_ishtp_cl, HID_CL_RX_RING_SIZE); hid_ishtp_cl 666 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_cl_set_fw_client_id(hid_ishtp_cl, hid_ishtp_cl 668 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_set_connection_state(hid_ishtp_cl, ISHTP_CL_CONNECTING); hid_ishtp_cl 670 drivers/hid/intel-ish-hid/ishtp-hid-client.c rv = ishtp_cl_connect(hid_ishtp_cl); hid_ishtp_cl 682 drivers/hid/intel-ish-hid/ishtp-hid-client.c rv = ishtp_enum_enum_devices(hid_ishtp_cl); hid_ishtp_cl 692 drivers/hid/intel-ish-hid/ishtp-hid-client.c rv = ishtp_get_hid_descriptor(hid_ishtp_cl, i); hid_ishtp_cl 696 drivers/hid/intel-ish-hid/ishtp-hid-client.c rv = ishtp_get_report_descriptor(hid_ishtp_cl, i); hid_ishtp_cl 718 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_set_connection_state(hid_ishtp_cl, ISHTP_CL_DISCONNECTING); hid_ishtp_cl 719 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_cl_disconnect(hid_ishtp_cl); hid_ishtp_cl 721 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_cl_unlink(hid_ishtp_cl); hid_ishtp_cl 731 drivers/hid/intel-ish-hid/ishtp-hid-client.c static void hid_ishtp_cl_deinit(struct ishtp_cl *hid_ishtp_cl) hid_ishtp_cl 733 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_cl_unlink(hid_ishtp_cl); hid_ishtp_cl 734 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_cl_flush_queues(hid_ishtp_cl); hid_ishtp_cl 737 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_cl_free(hid_ishtp_cl); hid_ishtp_cl 743 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl *hid_ishtp_cl; hid_ishtp_cl 750 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_cl = client_data->hid_ishtp_cl; hid_ishtp_cl 754 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_cl); hid_ishtp_cl 757 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_cl_deinit(hid_ishtp_cl); hid_ishtp_cl 759 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_cl = ishtp_cl_allocate(cl_device); hid_ishtp_cl 760 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!hid_ishtp_cl) hid_ishtp_cl 763 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_set_drvdata(cl_device, hid_ishtp_cl); hid_ishtp_cl 764 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_set_client_data(hid_ishtp_cl, client_data); hid_ishtp_cl 765 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_ishtp_cl = hid_ishtp_cl; hid_ishtp_cl 770 drivers/hid/intel-ish-hid/ishtp-hid-client.c rv = hid_ishtp_cl_init(hid_ishtp_cl, 1); hid_ishtp_cl 778 drivers/hid/intel-ish-hid/ishtp-hid-client.c __func__, hid_ishtp_cl); hid_ishtp_cl 794 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl *hid_ishtp_cl; hid_ishtp_cl 807 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_cl = ishtp_cl_allocate(cl_device); hid_ishtp_cl 808 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!hid_ishtp_cl) hid_ishtp_cl 811 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_set_drvdata(cl_device, hid_ishtp_cl); hid_ishtp_cl 812 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_set_client_data(hid_ishtp_cl, client_data); hid_ishtp_cl 813 drivers/hid/intel-ish-hid/ishtp-hid-client.c client_data->hid_ishtp_cl = hid_ishtp_cl; hid_ishtp_cl 823 drivers/hid/intel-ish-hid/ishtp-hid-client.c rv = hid_ishtp_cl_init(hid_ishtp_cl, 0); hid_ishtp_cl 825 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_cl_free(hid_ishtp_cl); hid_ishtp_cl 843 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl *hid_ishtp_cl = ishtp_get_drvdata(cl_device); hid_ishtp_cl 844 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); hid_ishtp_cl 847 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_cl); hid_ishtp_cl 850 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_set_connection_state(hid_ishtp_cl, ISHTP_CL_DISCONNECTING); hid_ishtp_cl 851 drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_cl_disconnect(hid_ishtp_cl); hid_ishtp_cl 854 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_cl_deinit(hid_ishtp_cl); hid_ishtp_cl 856 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_cl = NULL; hid_ishtp_cl 873 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl *hid_ishtp_cl = ishtp_get_drvdata(cl_device); hid_ishtp_cl 874 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); hid_ishtp_cl 877 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_cl); hid_ishtp_cl 895 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl *hid_ishtp_cl = ishtp_get_drvdata(cl_device); hid_ishtp_cl 896 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); hid_ishtp_cl 899 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_cl); hid_ishtp_cl 916 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl *hid_ishtp_cl = ishtp_get_drvdata(cl_device); hid_ishtp_cl 917 drivers/hid/intel-ish-hid/ishtp-hid-client.c struct ishtp_cl_data *client_data = ishtp_get_client_data(hid_ishtp_cl); hid_ishtp_cl 920 drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_cl); hid_ishtp_cl 136 drivers/hid/intel-ish-hid/ishtp-hid.h struct ishtp_cl *hid_ishtp_cl;