Searched refs:ishtp_cl (Results 1 – 11 of 11) sorted by relevance
/linux/include/linux/ |
H A 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_establish_connection(struct ishtp_cl *cl, const guid_t *uuid, 99 void ishtp_cl_destroy_connection(struct ishtp_cl *cl, bool reset); [all …]
|
/linux/drivers/hid/intel-ish-hid/ishtp/ |
H A D | client.h | 36 struct ishtp_cl { struct 113 void ishtp_cl_send_msg(struct ishtp_device *dev, struct ishtp_cl *cl); argument 116 int ishtp_cl_read_start(struct ishtp_cl *cl); 119 int ishtp_cl_alloc_rx_ring(struct ishtp_cl *cl); 120 int ishtp_cl_alloc_tx_ring(struct ishtp_cl *cl); 121 void ishtp_cl_free_rx_ring(struct ishtp_cl *cl); 122 void ishtp_cl_free_tx_ring(struct ishtp_cl *cl); 123 int ishtp_cl_get_tx_free_buffer_size(struct ishtp_cl *cl); 124 int ishtp_cl_get_tx_free_rings(struct ishtp_cl *cl); 138 struct ishtp_cl_rb *ishtp_io_rb_init(struct ishtp_cl *cl); [all …]
|
H A 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()
|
H A 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);
|
H A D | hbm.c | 56 static inline void ishtp_hbm_cl_hdr(struct ishtp_cl *cl, uint8_t hbm_cmd, in ishtp_hbm_cl_hdr() 77 static inline bool ishtp_hbm_cl_addr_equal(struct ishtp_cl *cl, void *buf) in ishtp_hbm_cl_addr_equal() 263 struct ishtp_cl *cl) in ishtp_hbm_cl_flow_control_req() 314 int ishtp_hbm_cl_disconnect_req(struct ishtp_device *dev, struct ishtp_cl *cl) in ishtp_hbm_cl_disconnect_req() 336 struct ishtp_cl *cl = NULL; in ishtp_hbm_cl_disconnect_res() 359 int ishtp_hbm_cl_connect_req(struct ishtp_device *dev, struct ishtp_cl *cl) in ishtp_hbm_cl_connect_req() 381 struct ishtp_cl *cl = NULL; in ishtp_hbm_cl_connect_res() 411 struct ishtp_cl *cl; in ishtp_hbm_fw_disconnect_req() 448 struct ishtp_cl *cl; in ishtp_hbm_dma_xfer_ack() 787 struct ishtp_cl *cl = NULL; in recv_hbm()
|
H A D | bus.h | 14 struct ishtp_cl; 49 int ishtp_cl_device_bind(struct ishtp_cl *cl);
|
H A D | ishtp-dev.h | 62 struct ishtp_cl;
|
H A 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/drivers/platform/chrome/ |
H A 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() 376 static int cros_ish_init(struct ishtp_cl *cros_ish_cl, bool reset) in cros_ish_init() 406 static void cros_ish_deinit(struct ishtp_cl *cros_ish_cl) in cros_ish_deinit() 463 struct ishtp_cl *cros_ish_cl = ec_dev->priv; in cros_ec_pkt_xfer_ish() 569 struct ishtp_cl *cros_ish_cl; in reset_handler() 606 struct ishtp_cl *cros_ish_cl; in cros_ec_ishtp_probe() 669 struct ishtp_cl *cros_ish_cl = ishtp_get_drvdata(cl_device); in cros_ec_ishtp_remove() [all …]
|
/linux/drivers/hid/intel-ish-hid/ |
H A 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, bool reset) in loader_init() 872 static void loader_deinit(struct ishtp_cl *loader_ishtp_cl) in loader_deinit() 884 struct ishtp_cl *loader_ishtp_cl; in reset_handler() 915 struct ishtp_cl *loader_ishtp_cl; in loader_ishtp_cl_probe() 967 struct ishtp_cl *loader_ishtp_cl = ishtp_get_drvdata(cl_device); in loader_ishtp_cl_remove() [all …]
|
/linux/drivers/platform/x86/intel/ |
H A 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()
|