Home
last modified time | relevance | path

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

/drivers/hid/intel-ish-hid/ishtp/
Dclient.h53 struct ishtp_cl { struct
130 void ishtp_cl_send_msg(struct ishtp_device *dev, struct ishtp_cl *cl); argument
133 int ishtp_cl_read_start(struct ishtp_cl *cl);
136 int ishtp_cl_alloc_rx_ring(struct ishtp_cl *cl);
137 int ishtp_cl_alloc_tx_ring(struct ishtp_cl *cl);
138 void ishtp_cl_free_rx_ring(struct ishtp_cl *cl);
139 void ishtp_cl_free_tx_ring(struct ishtp_cl *cl);
153 struct ishtp_cl_rb *ishtp_io_rb_init(struct ishtp_cl *cl);
161 static inline bool ishtp_cl_cmp_id(const struct ishtp_cl *cl1, in ishtp_cl_cmp_id()
162 const struct ishtp_cl *cl2) in ishtp_cl_cmp_id()
[all …]
Dclient.c31 static void ishtp_read_list_flush(struct ishtp_cl *cl) in ishtp_read_list_flush()
55 int ishtp_cl_flush_queues(struct ishtp_cl *cl) in ishtp_cl_flush_queues()
74 static void ishtp_cl_init(struct ishtp_cl *cl, struct ishtp_device *dev) in ishtp_cl_init()
76 memset(cl, 0, sizeof(struct ishtp_cl)); in ishtp_cl_init()
109 struct ishtp_cl *ishtp_cl_allocate(struct ishtp_device *dev) in ishtp_cl_allocate()
111 struct ishtp_cl *cl; in ishtp_cl_allocate()
113 cl = kmalloc(sizeof(struct ishtp_cl), GFP_KERNEL); in ishtp_cl_allocate()
128 void ishtp_cl_free(struct ishtp_cl *cl) in ishtp_cl_free()
162 int ishtp_cl_link(struct ishtp_cl *cl, int id) in ishtp_cl_link()
216 void ishtp_cl_unlink(struct ishtp_cl *cl) in ishtp_cl_unlink()
[all …]
Dclient-buffers.c28 int ishtp_cl_alloc_rx_ring(struct ishtp_cl *cl) in ishtp_cl_alloc_rx_ring()
66 int ishtp_cl_alloc_tx_ring(struct ishtp_cl *cl) in ishtp_cl_alloc_tx_ring()
103 void ishtp_cl_free_rx_ring(struct ishtp_cl *cl) in ishtp_cl_free_rx_ring()
136 void ishtp_cl_free_tx_ring(struct ishtp_cl *cl) in ishtp_cl_free_tx_ring()
187 struct ishtp_cl_rb *ishtp_io_rb_init(struct ishtp_cl *cl) in ishtp_io_rb_init()
236 struct ishtp_cl *cl; in ishtp_cl_io_rb_recycle()
Dhbm.h23 struct ishtp_cl;
304 struct ishtp_cl *cl);
305 int ishtp_hbm_cl_disconnect_req(struct ishtp_device *dev, struct ishtp_cl *cl);
306 int ishtp_hbm_cl_connect_req(struct ishtp_device *dev, struct ishtp_cl *cl);
Dhbm.c65 static inline void ishtp_hbm_cl_hdr(struct ishtp_cl *cl, uint8_t hbm_cmd, in ishtp_hbm_cl_hdr()
86 static inline bool ishtp_hbm_cl_addr_equal(struct ishtp_cl *cl, void *buf) in ishtp_hbm_cl_addr_equal()
295 struct ishtp_cl *cl) in ishtp_hbm_cl_flow_control_req()
351 int ishtp_hbm_cl_disconnect_req(struct ishtp_device *dev, struct ishtp_cl *cl) in ishtp_hbm_cl_disconnect_req()
374 struct ishtp_cl *cl = NULL; in ishtp_hbm_cl_disconnect_res()
398 int ishtp_hbm_cl_connect_req(struct ishtp_device *dev, struct ishtp_cl *cl) in ishtp_hbm_cl_connect_req()
421 struct ishtp_cl *cl = NULL; in ishtp_hbm_cl_connect_res()
452 struct ishtp_cl *cl; in ishtp_hbm_fw_disconnect_req()
489 struct ishtp_cl *cl; in ishtp_hbm_dma_xfer_ack()
824 struct ishtp_cl *cl = NULL; in recv_hbm()
Dbus.h21 struct ishtp_cl;
76 int ishtp_cl_device_bind(struct ishtp_cl *cl);
Dishtp-dev.h69 struct ishtp_cl;
102 struct ishtp_cl *cl;
Dbus.c618 int ishtp_cl_device_bind(struct ishtp_cl *cl) in ishtp_cl_device_bind()
655 struct ishtp_cl *cl; in ishtp_bus_remove_all_clients()
/drivers/hid/intel-ish-hid/
Dishtp-hid-client.c36 static void report_bad_packet(struct ishtp_cl *hid_ishtp_cl, void *recv_buf, in report_bad_packet()
65 static void process_recv(struct ishtp_cl *hid_ishtp_cl, void *recv_buf, in process_recv()
324 struct ishtp_cl *hid_ishtp_cl = device->driver_data; 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()
741 static void hid_ishtp_cl_deinit(struct ishtp_cl *hid_ishtp_cl) in hid_ishtp_cl_deinit()
753 struct ishtp_cl *hid_ishtp_cl; in hid_ishtp_cl_reset_handler()
802 struct ishtp_cl *hid_ishtp_cl; in hid_ishtp_cl_probe()
[all …]
Dishtp-hid.h144 struct ishtp_cl *hid_ishtp_cl;