Home
last modified time | relevance | path

Searched refs:ishtp_cl (Results 1 – 12 of 12) sorted by relevance

/drivers/hid/intel-ish-hid/ishtp/
Dclient.h36 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 …]
Dclient.c16 int ishtp_cl_get_tx_free_buffer_size(struct ishtp_cl *cl) in ishtp_cl_get_tx_free_buffer_size()
29 int ishtp_cl_get_tx_free_rings(struct ishtp_cl *cl) in ishtp_cl_get_tx_free_rings()
41 static void ishtp_read_list_flush(struct ishtp_cl *cl) in ishtp_read_list_flush()
65 int ishtp_cl_flush_queues(struct ishtp_cl *cl) in ishtp_cl_flush_queues()
84 static void ishtp_cl_init(struct ishtp_cl *cl, struct ishtp_device *dev) in ishtp_cl_init()
86 memset(cl, 0, sizeof(struct ishtp_cl)); in ishtp_cl_init()
120 struct ishtp_cl *ishtp_cl_allocate(struct ishtp_cl_device *cl_device) in ishtp_cl_allocate()
122 struct ishtp_cl *cl; in ishtp_cl_allocate()
124 cl = kmalloc(sizeof(struct ishtp_cl), GFP_KERNEL); in ishtp_cl_allocate()
139 void ishtp_cl_free(struct ishtp_cl *cl) in ishtp_cl_free()
[all …]
Dclient-buffers.c19 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()
Dhbm.c55 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()
Dhbm.h15 struct ishtp_cl;
296 struct ishtp_cl *cl);
297 int ishtp_hbm_cl_disconnect_req(struct ishtp_device *dev, struct ishtp_cl *cl);
298 int ishtp_hbm_cl_connect_req(struct ishtp_device *dev, struct ishtp_cl *cl);
Dbus.h14 struct ishtp_cl;
50 int ishtp_cl_device_bind(struct ishtp_cl *cl);
Dishtp-dev.h61 struct ishtp_cl;
Dbus.c702 int ishtp_cl_device_bind(struct ishtp_cl *cl) in ishtp_cl_device_bind()
740 struct ishtp_cl *cl; in ishtp_bus_remove_all_clients()
/drivers/platform/chrome/
Dcros_ec_ishtp.c116 struct ishtp_cl *cros_ish_cl;
165 struct ishtp_cl *cros_ish_cl = client_data->cros_ish_cl; in ish_send()
208 static void process_recv(struct ishtp_cl *cros_ish_cl, in process_recv()
324 struct ishtp_cl *cros_ish_cl = ishtp_get_drvdata(cl_device); in ish_event_cb()
340 static int cros_ish_init(struct ishtp_cl *cros_ish_cl) in cros_ish_init()
393 static void cros_ish_deinit(struct ishtp_cl *cros_ish_cl) in cros_ish_deinit()
453 struct ishtp_cl *cros_ish_cl = ec_dev->priv; in cros_ec_pkt_xfer_ish()
557 struct ishtp_cl *cros_ish_cl; in reset_handler()
610 struct ishtp_cl *cros_ish_cl; in cros_ec_ishtp_probe()
674 struct ishtp_cl *cros_ish_cl = ishtp_get_drvdata(cl_device); in cros_ec_ishtp_remove()
[all …]
/drivers/hid/intel-ish-hid/
Dishtp-hid-client.c29 static void report_bad_packet(struct ishtp_cl *hid_ishtp_cl, void *recv_buf, in report_bad_packet()
58 static void process_recv(struct ishtp_cl *hid_ishtp_cl, void *recv_buf, in process_recv()
331 struct ishtp_cl *hid_ishtp_cl = ishtp_get_drvdata(device); in ish_cl_event_cb()
483 static int ishtp_enum_enum_devices(struct ishtp_cl *hid_ishtp_cl) in ishtp_enum_enum_devices()
539 static int ishtp_get_hid_descriptor(struct ishtp_cl *hid_ishtp_cl, int index) in ishtp_get_hid_descriptor()
585 static int ishtp_get_report_descriptor(struct ishtp_cl *hid_ishtp_cl, in ishtp_get_report_descriptor()
634 static int hid_ishtp_cl_init(struct ishtp_cl *hid_ishtp_cl, int reset) in hid_ishtp_cl_init()
731 static void hid_ishtp_cl_deinit(struct ishtp_cl *hid_ishtp_cl) in hid_ishtp_cl_deinit()
743 struct ishtp_cl *hid_ishtp_cl; in hid_ishtp_cl_reset_handler()
794 struct ishtp_cl *hid_ishtp_cl; in hid_ishtp_cl_probe()
[all …]
Dishtp-fw-loader.c209 struct ishtp_cl *loader_ishtp_cl;
284 struct ishtp_cl *loader_ishtp_cl = client_data->loader_ishtp_cl; in loader_cl_send()
330 static void process_recv(struct ishtp_cl *loader_ishtp_cl, in process_recv()
447 struct ishtp_cl *loader_ishtp_cl = ishtp_get_drvdata(cl_device); in loader_cl_event_cb()
771 struct ishtp_cl *loader_ishtp_cl = client_data->loader_ishtp_cl; in load_fw_from_host()
859 static int loader_init(struct ishtp_cl *loader_ishtp_cl, int reset) in loader_init()
909 static void loader_deinit(struct ishtp_cl *loader_ishtp_cl) in loader_deinit()
924 struct ishtp_cl *loader_ishtp_cl; in reset_handler()
967 struct ishtp_cl *loader_ishtp_cl; in loader_ishtp_cl_probe()
1019 struct ishtp_cl *loader_ishtp_cl = ishtp_get_drvdata(cl_device); in loader_ishtp_cl_remove()
[all …]
Dishtp-hid.h136 struct ishtp_cl *hid_ishtp_cl;