Searched refs:ishtp_cl (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/include/linux/ |
D | intel-ish-client-if.h | 16 struct ishtp_cl; 70 struct ishtp_cl *cl; 91 struct ishtp_cl *ishtp_cl_allocate(struct ishtp_cl_device *cl_device); 92 void ishtp_cl_free(struct ishtp_cl *cl); 93 int ishtp_cl_link(struct ishtp_cl *cl); 94 void ishtp_cl_unlink(struct ishtp_cl *cl); 95 int ishtp_cl_disconnect(struct ishtp_cl *cl); 96 int ishtp_cl_connect(struct ishtp_cl *cl); 97 int ishtp_cl_send(struct ishtp_cl *cl, uint8_t *buf, size_t length); 98 int ishtp_cl_flush_queues(struct ishtp_cl *cl); [all …]
|
/linux-6.1.9/drivers/hid/intel-ish-hid/ishtp/ |
D | client.h | 36 struct ishtp_cl { struct 114 void ishtp_cl_send_msg(struct ishtp_device *dev, struct ishtp_cl *cl); argument 117 int ishtp_cl_read_start(struct ishtp_cl *cl); 120 int ishtp_cl_alloc_rx_ring(struct ishtp_cl *cl); 121 int ishtp_cl_alloc_tx_ring(struct ishtp_cl *cl); 122 void ishtp_cl_free_rx_ring(struct ishtp_cl *cl); 123 void ishtp_cl_free_tx_ring(struct ishtp_cl *cl); 124 int ishtp_cl_get_tx_free_buffer_size(struct ishtp_cl *cl); 125 int ishtp_cl_get_tx_free_rings(struct ishtp_cl *cl); 139 struct ishtp_cl_rb *ishtp_io_rb_init(struct ishtp_cl *cl); [all …]
|
D | client.c | 17 int ishtp_cl_get_tx_free_buffer_size(struct ishtp_cl *cl) in ishtp_cl_get_tx_free_buffer_size() 30 int ishtp_cl_get_tx_free_rings(struct ishtp_cl *cl) in ishtp_cl_get_tx_free_rings() 42 static void ishtp_read_list_flush(struct ishtp_cl *cl) in ishtp_read_list_flush() 66 int ishtp_cl_flush_queues(struct ishtp_cl *cl) in ishtp_cl_flush_queues() 85 static void ishtp_cl_init(struct ishtp_cl *cl, struct ishtp_device *dev) in ishtp_cl_init() 87 memset(cl, 0, sizeof(struct ishtp_cl)); in ishtp_cl_init() 121 struct ishtp_cl *ishtp_cl_allocate(struct ishtp_cl_device *cl_device) in ishtp_cl_allocate() 123 struct ishtp_cl *cl; in ishtp_cl_allocate() 125 cl = kmalloc(sizeof(struct ishtp_cl), GFP_KERNEL); in ishtp_cl_allocate() 140 void ishtp_cl_free(struct ishtp_cl *cl) in ishtp_cl_free() [all …]
|
D | client-buffers.c | 19 int ishtp_cl_alloc_rx_ring(struct ishtp_cl *cl) in ishtp_cl_alloc_rx_ring() 57 int ishtp_cl_alloc_tx_ring(struct ishtp_cl *cl) in ishtp_cl_alloc_tx_ring() 97 void ishtp_cl_free_rx_ring(struct ishtp_cl *cl) in ishtp_cl_free_rx_ring() 130 void ishtp_cl_free_tx_ring(struct ishtp_cl *cl) in ishtp_cl_free_tx_ring() 182 struct ishtp_cl_rb *ishtp_io_rb_init(struct ishtp_cl *cl) in ishtp_io_rb_init() 231 struct ishtp_cl *cl; in ishtp_cl_io_rb_recycle() 262 bool ishtp_cl_tx_empty(struct ishtp_cl *cl) in ishtp_cl_tx_empty() 283 struct ishtp_cl_rb *ishtp_cl_rx_get_rb(struct ishtp_cl *cl) in ishtp_cl_rx_get_rb()
|
D | hbm.h | 15 struct ishtp_cl; 297 struct ishtp_cl *cl); 298 int ishtp_hbm_cl_disconnect_req(struct ishtp_device *dev, struct ishtp_cl *cl); 299 int ishtp_hbm_cl_connect_req(struct ishtp_device *dev, struct ishtp_cl *cl);
|
D | hbm.c | 55 static inline void ishtp_hbm_cl_hdr(struct ishtp_cl *cl, uint8_t hbm_cmd, in ishtp_hbm_cl_hdr() 76 static inline bool ishtp_hbm_cl_addr_equal(struct ishtp_cl *cl, void *buf) in ishtp_hbm_cl_addr_equal() 262 struct ishtp_cl *cl) in ishtp_hbm_cl_flow_control_req() 313 int ishtp_hbm_cl_disconnect_req(struct ishtp_device *dev, struct ishtp_cl *cl) in ishtp_hbm_cl_disconnect_req() 335 struct ishtp_cl *cl = NULL; in ishtp_hbm_cl_disconnect_res() 358 int ishtp_hbm_cl_connect_req(struct ishtp_device *dev, struct ishtp_cl *cl) in ishtp_hbm_cl_connect_req() 380 struct ishtp_cl *cl = NULL; in ishtp_hbm_cl_connect_res() 410 struct ishtp_cl *cl; in ishtp_hbm_fw_disconnect_req() 447 struct ishtp_cl *cl; in ishtp_hbm_dma_xfer_ack() 782 struct ishtp_cl *cl = NULL; in recv_hbm()
|
D | bus.h | 14 struct ishtp_cl; 50 int ishtp_cl_device_bind(struct ishtp_cl *cl);
|
D | ishtp-dev.h | 62 struct ishtp_cl;
|
D | bus.c | 681 int ishtp_cl_device_bind(struct ishtp_cl *cl) in ishtp_cl_device_bind() 719 struct ishtp_cl *cl; in ishtp_bus_remove_all_clients()
|
/linux-6.1.9/drivers/platform/chrome/ |
D | cros_ec_ishtp.c | 124 struct ishtp_cl *cros_ish_cl; 170 struct ishtp_cl *cros_ish_cl = client_data->cros_ish_cl; in ish_send() 217 static void process_recv(struct ishtp_cl *cros_ish_cl, in process_recv() 352 struct ishtp_cl *cros_ish_cl = ishtp_get_drvdata(cl_device); in ish_event_cb() 375 static int cros_ish_init(struct ishtp_cl *cros_ish_cl) in cros_ish_init() 428 static void cros_ish_deinit(struct ishtp_cl *cros_ish_cl) in cros_ish_deinit() 488 struct ishtp_cl *cros_ish_cl = ec_dev->priv; in cros_ec_pkt_xfer_ish() 594 struct ishtp_cl *cros_ish_cl; in reset_handler() 647 struct ishtp_cl *cros_ish_cl; in cros_ec_ishtp_probe() 713 struct ishtp_cl *cros_ish_cl = ishtp_get_drvdata(cl_device); in cros_ec_ishtp_remove() [all …]
|
/linux-6.1.9/drivers/hid/intel-ish-hid/ |
D | ishtp-hid-client.c | 37 static void report_bad_packet(struct ishtp_cl *hid_ishtp_cl, void *recv_buf, in report_bad_packet() 66 static void process_recv(struct ishtp_cl *hid_ishtp_cl, void *recv_buf, in process_recv() 339 struct ishtp_cl *hid_ishtp_cl = ishtp_get_drvdata(device); in ish_cl_event_cb() 491 static int ishtp_enum_enum_devices(struct ishtp_cl *hid_ishtp_cl) in ishtp_enum_enum_devices() 547 static int ishtp_get_hid_descriptor(struct ishtp_cl *hid_ishtp_cl, int index) in ishtp_get_hid_descriptor() 593 static int ishtp_get_report_descriptor(struct ishtp_cl *hid_ishtp_cl, in ishtp_get_report_descriptor() 642 static int hid_ishtp_cl_init(struct ishtp_cl *hid_ishtp_cl, int reset) in hid_ishtp_cl_init() 739 static void hid_ishtp_cl_deinit(struct ishtp_cl *hid_ishtp_cl) in hid_ishtp_cl_deinit() 751 struct ishtp_cl *hid_ishtp_cl; in hid_ishtp_cl_reset_handler() 793 struct ishtp_cl *hid_ishtp_cl = client_data->hid_ishtp_cl; in hid_ishtp_cl_resume_handler() [all …]
|
D | ishtp-fw-loader.c | 213 struct ishtp_cl *loader_ishtp_cl; 289 struct ishtp_cl *loader_ishtp_cl = client_data->loader_ishtp_cl; in loader_cl_send() 335 static void process_recv(struct ishtp_cl *loader_ishtp_cl, in process_recv() 452 struct ishtp_cl *loader_ishtp_cl = ishtp_get_drvdata(cl_device); in loader_cl_event_cb() 755 struct ishtp_cl *loader_ishtp_cl = client_data->loader_ishtp_cl; in load_fw_from_host() 843 static int loader_init(struct ishtp_cl *loader_ishtp_cl, int reset) in loader_init() 893 static void loader_deinit(struct ishtp_cl *loader_ishtp_cl) in loader_deinit() 908 struct ishtp_cl *loader_ishtp_cl; in reset_handler() 951 struct ishtp_cl *loader_ishtp_cl; in loader_ishtp_cl_probe() 1003 struct ishtp_cl *loader_ishtp_cl = ishtp_get_drvdata(cl_device); in loader_ishtp_cl_remove() [all …]
|
D | ishtp-hid.h | 131 struct ishtp_cl *hid_ishtp_cl;
|
/linux-6.1.9/drivers/platform/x86/intel/ |
D | ishtp_eclite.c | 78 struct ishtp_cl *ecl_ishtp_cl; 425 struct ishtp_cl *ecl_ishtp_cl = ishtp_get_drvdata(cl_device); in ecl_ishtp_cl_event_cb() 448 static int ecl_ishtp_cl_init(struct ishtp_cl *ecl_ishtp_cl) in ecl_ishtp_cl_init() 492 static void ecl_ishtp_cl_deinit(struct ishtp_cl *ecl_ishtp_cl) in ecl_ishtp_cl_deinit() 503 struct ishtp_cl *ecl_ishtp_cl; in ecl_ishtp_cl_reset_handler() 556 struct ishtp_cl *ecl_ishtp_cl; in ecl_ishtp_cl_probe() 620 struct ishtp_cl *ecl_ishtp_cl = ishtp_get_drvdata(cl_device); in ecl_ishtp_cl_remove() 639 struct ishtp_cl *ecl_ishtp_cl = ishtp_get_drvdata(cl_device); in ecl_ishtp_cl_reset() 651 struct ishtp_cl *ecl_ishtp_cl = ishtp_get_drvdata(cl_device); in ecl_ishtp_cl_suspend()
|