Home
last modified time | relevance | path

Searched refs:ishtp_device (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/drivers/hid/intel-ish-hid/ishtp/
H A Dbus.h16 struct ishtp_device;
39 struct ishtp_device *ishtp_dev;
48 int ishtp_bus_new_client(struct ishtp_device *dev);
49 void ishtp_remove_all_clients(struct ishtp_device *dev);
54 int ishtp_send_msg(struct ishtp_device *dev,
60 int ishtp_write_message(struct ishtp_device *dev,
68 void ishtp_bus_remove_all_clients(struct ishtp_device *ishtp_dev,
71 void ishtp_recv(struct ishtp_device *dev);
72 void ishtp_reset_handler(struct ishtp_device *dev);
73 void ishtp_reset_compl_handler(struct ishtp_device *dev);
[all …]
H A Dishtp-dev.h110 int (*hw_reset)(struct ishtp_device *dev);
111 int (*ipc_reset)(struct ishtp_device *dev);
114 int (*write)(struct ishtp_device *dev,
117 uint32_t (*ishtp_read_hdr)(const struct ishtp_device *dev);
120 uint32_t (*get_fw_status)(struct ishtp_device *dev);
121 void (*sync_fw_clock)(struct ishtp_device *dev);
122 bool (*dma_no_cache_snooping)(struct ishtp_device *dev);
128 struct ishtp_device { struct
229 static inline int ish_ipc_reset(struct ishtp_device *dev) in ish_ipc_reset() argument
235 void ishtp_device_init(struct ishtp_device *dev);
[all …]
H A Dclient.h38 struct ishtp_device *dev;
112 int ishtp_can_client_connect(struct ishtp_device *ishtp_dev, guid_t *uuid);
113 int ishtp_fw_cl_by_id(struct ishtp_device *dev, uint8_t client_id);
114 void ishtp_cl_send_msg(struct ishtp_device *dev, struct ishtp_cl *cl);
115 void recv_ishtp_cl_msg(struct ishtp_device *dev,
128 void recv_ishtp_cl_msg_dma(struct ishtp_device *dev, void *msg,
130 void ishtp_cl_alloc_dma_buf(struct ishtp_device *dev);
131 void ishtp_cl_free_dma_buf(struct ishtp_device *dev);
132 void *ishtp_cl_get_dma_send_buf(struct ishtp_device *dev,
134 void ishtp_cl_release_dma_acked_mem(struct ishtp_device *dev,
H A Dhbm.h13 struct ishtp_device;
294 int ishtp_hbm_start_req(struct ishtp_device *dev);
295 int ishtp_hbm_start_wait(struct ishtp_device *dev);
296 int ishtp_hbm_cl_flow_control_req(struct ishtp_device *dev,
300 void ishtp_hbm_enum_clients_req(struct ishtp_device *dev);
302 void recv_hbm(struct ishtp_device *dev, struct ishtp_msg_hdr *ishtp_hdr);
303 void recv_fixed_cl_msg(struct ishtp_device *dev,
305 void ishtp_hbm_dispatch(struct ishtp_device *dev,
308 void ishtp_query_subscribers(struct ishtp_device *dev);
311 void ishtp_send_suspend(struct ishtp_device *dev);
[all …]
H A Dhbm.c23 static void ishtp_hbm_fw_cl_allocate(struct ishtp_device *dev) in ishtp_hbm_fw_cl_allocate()
92 int ishtp_hbm_start_wait(struct ishtp_device *dev) in ishtp_hbm_start_wait()
127 int ishtp_hbm_start_req(struct ishtp_device *dev) in ishtp_hbm_start_req()
164 void ishtp_hbm_enum_clients_req(struct ishtp_device *dev) in ishtp_hbm_enum_clients_req()
189 static int ishtp_hbm_prop_req(struct ishtp_device *dev) in ishtp_hbm_prop_req()
239 static void ishtp_hbm_stop_req(struct ishtp_device *dev) in ishtp_hbm_stop_req()
545 void ishtp_hbm_dispatch(struct ishtp_device *dev, in ishtp_hbm_dispatch()
743 struct ishtp_device *dev; in bh_hbm_work_fn()
875 void recv_fixed_cl_msg(struct ishtp_device *dev, in recv_fixed_cl_msg()
925 void ishtp_send_suspend(struct ishtp_device *dev) in ishtp_send_suspend()
[all …]
H A Dbus.c36 void ishtp_recv(struct ishtp_device *dev) in ishtp_recv()
128 int ishtp_fw_cl_by_uuid(struct ishtp_device *dev, const guid_t *uuid) in ishtp_fw_cl_by_uuid()
188 int ishtp_fw_cl_by_id(struct ishtp_device *dev, uint8_t client_id) in ishtp_fw_cl_by_id()
643 int ishtp_bus_new_client(struct ishtp_device *dev) in ishtp_bus_new_client()
715 void ishtp_bus_remove_all_clients(struct ishtp_device *ishtp_dev, in ishtp_bus_remove_all_clients()
784 void ishtp_reset_handler(struct ishtp_device *dev) in ishtp_reset_handler()
808 void ishtp_reset_compl_handler(struct ishtp_device *dev) in ishtp_reset_compl_handler()
837 struct device *ishtp_device(struct ishtp_cl_device *device) in ishtp_device() function
841 EXPORT_SYMBOL(ishtp_device);
850 bool ishtp_wait_resume(struct ishtp_device *dev) in ishtp_wait_resume()
[all …]
H A Ddma-if.c24 void ishtp_cl_alloc_dma_buf(struct ishtp_device *dev) in ishtp_cl_alloc_dma_buf()
66 void ishtp_cl_free_dma_buf(struct ishtp_device *dev) in ishtp_cl_free_dma_buf()
98 void *ishtp_cl_get_dma_send_buf(struct ishtp_device *dev, in ishtp_cl_get_dma_send_buf()
144 void ishtp_cl_release_dma_acked_mem(struct ishtp_device *dev, in ishtp_cl_release_dma_acked_mem()
H A Dclient.c142 struct ishtp_device *dev; in ishtp_cl_free()
173 struct ishtp_device *dev; in ishtp_cl_link()
224 struct ishtp_device *dev; in ishtp_cl_unlink()
266 struct ishtp_device *dev; in ishtp_cl_disconnect()
320 struct ishtp_device *dev; in ishtp_cl_is_other_connecting()
353 struct ishtp_device *dev; in ishtp_cl_connect()
446 struct ishtp_device *dev; in ishtp_cl_read_start()
530 struct ishtp_device *dev; in ishtp_cl_send()
641 struct ishtp_device *dev = (cl ? cl->dev : NULL); in ipc_tx_send()
725 static void ishtp_cl_send_msg_ipc(struct ishtp_device *dev, in ishtp_cl_send_msg_ipc()
[all …]
H A Dinit.c52 void ishtp_device_init(struct ishtp_device *dev) in ishtp_device_init()
90 int ishtp_start(struct ishtp_device *dev) in ishtp_start()
/openbmc/linux/drivers/hid/intel-ish-hid/ipc/
H A Dipc.c19 static struct ishtp_device *ishtp_dev;
118 static void set_host_ready(struct ishtp_device *dev) in set_host_ready()
175 static void ish_set_host_rdy(struct ishtp_device *dev) in ish_set_host_rdy()
215 void ish_set_host_ready(struct ishtp_device *dev) in ish_set_host_ready()
646 struct ishtp_device *dev = dev_id; in ish_irq_handler()
702 int ish_disable_dma(struct ishtp_device *dev) in ish_disable_dma()
731 static void ish_wakeup(struct ishtp_device *dev) in ish_wakeup()
754 static int _ish_hw_reset(struct ishtp_device *dev) in _ish_hw_reset()
848 int ish_hw_start(struct ishtp_device *dev) in ish_hw_start()
941 struct ishtp_device *dev; in ish_dev_init()
[all …]
H A Dhw-ish.h87 struct ishtp_device *ish_dev_init(struct pci_dev *pdev);
88 int ish_hw_start(struct ishtp_device *dev);
89 void ish_device_disable(struct ishtp_device *dev);
90 int ish_disable_dma(struct ishtp_device *dev);
91 void ish_set_host_ready(struct ishtp_device *dev);
H A Dpci-ish.c60 void ish_event_tracer(struct ishtp_device *dev, const char *format, ...) in ish_event_tracer()
84 static int ish_init(struct ishtp_device *dev) in ish_init()
180 struct ishtp_device *ishtp; in ish_probe()
258 struct ishtp_device *ishtp_dev = pci_get_drvdata(pdev); in ish_remove()
281 struct ishtp_device *dev = pci_get_drvdata(pdev); in ish_resume_handler()
325 struct ishtp_device *dev = pci_get_drvdata(pdev); in ish_suspend()
384 struct ishtp_device *dev = pci_get_drvdata(pdev); in ish_resume()
/openbmc/linux/include/linux/
H A Dintel-ish-client-if.h15 struct ishtp_device;
19 typedef __printf(2, 3) void (*ishtp_print_log)(struct ishtp_device *dev,
83 struct device *ishtp_device(struct ishtp_cl_device *cl_device);
85 bool ishtp_wait_resume(struct ishtp_device *dev);
104 struct ishtp_device *ishtp_get_ishtp_device(struct ishtp_cl *cl);
117 struct ishtp_fw_client *ishtp_fw_cl_get_client(struct ishtp_device *dev,
120 int ish_hw_reset(struct ishtp_device *dev);
/openbmc/linux/drivers/hid/intel-ish-hid/
H A Dishtp-hid-client.c26 #define cl_data_to_dev(client_data) ishtp_device(client_data->cl_device)
531 dev_info(ishtp_device(client_data->cl_device), in ishtp_enum_enum_devices()
644 struct ishtp_device *dev; in hid_ishtp_cl_init()
763 dev_dbg(ishtp_device(client_data->cl_device), "%s\n", __func__); in hid_ishtp_cl_reset_handler()
820 client_data = devm_kzalloc(ishtp_device(cl_device), in hid_ishtp_cl_probe()
870 dev_dbg(ishtp_device(cl_device), "%s\n", __func__); in hid_ishtp_cl_remove()
H A Dishtp-fw-loader.c242 #define cl_data_to_dev(client_data) ishtp_device((client_data)->cl_device)
933 dev_err(ishtp_device(cl_device), "Reset Failed\n"); in reset_handler()
955 client_data = devm_kzalloc(ishtp_device(cl_device), in loader_ishtp_cl_probe()
H A Dishtp-hid.c233 hid->dev.parent = ishtp_device(client_data->cl_device); in ishtp_hid_probe()
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_ishtp.c74 #define cl_data_to_dev(client_data) ishtp_device((client_data)->cl_device)
378 struct ishtp_device *dev; in cros_ish_init()
649 devm_kzalloc(ishtp_device(cl_device), in cros_ec_ishtp_probe()
/openbmc/linux/drivers/platform/x86/intel/
H A Dishtp_eclite.c40 #define cl_data_to_dev(opr_dev) ishtp_device((opr_dev)->cl_device)
453 struct ishtp_device *dev; in ecl_ishtp_cl_init()
560 opr_dev = devm_kzalloc(ishtp_device(cl_device), sizeof(*opr_dev), in ecl_ishtp_cl_probe()