Home
last modified time | relevance | path

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

/drivers/misc/mei/
Dmei_dev.h243 struct mei_device *dev;
307 bool (*host_is_ready)(struct mei_device *dev);
309 bool (*hw_is_ready)(struct mei_device *dev);
310 int (*hw_reset)(struct mei_device *dev, bool enable);
311 int (*hw_start)(struct mei_device *dev);
312 int (*hw_config)(struct mei_device *dev);
314 int (*fw_status)(struct mei_device *dev, struct mei_fw_status *fw_sts);
315 int (*trc_status)(struct mei_device *dev, u32 *trc);
317 enum mei_pg_state (*pg_state)(struct mei_device *dev);
318 bool (*pg_in_transition)(struct mei_device *dev);
[all …]
Dhbm.h10 struct mei_device;
39 int mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr);
41 void mei_hbm_idle(struct mei_device *dev);
42 void mei_hbm_reset(struct mei_device *dev);
43 int mei_hbm_start_req(struct mei_device *dev);
44 int mei_hbm_start_wait(struct mei_device *dev);
45 int mei_hbm_cl_flow_control_req(struct mei_device *dev, struct mei_cl *cl);
46 int mei_hbm_cl_disconnect_req(struct mei_device *dev, struct mei_cl *cl);
47 int mei_hbm_cl_disconnect_rsp(struct mei_device *dev, struct mei_cl *cl);
48 int mei_hbm_cl_connect_req(struct mei_device *dev, struct mei_cl *cl);
[all …]
Dhw-me.c58 static inline u32 mei_me_mecbrw_read(const struct mei_device *dev) in mei_me_mecbrw_read()
69 static inline void mei_me_hcbww_write(struct mei_device *dev, u32 data) in mei_me_hcbww_write()
81 static inline u32 mei_me_mecsr_read(const struct mei_device *dev) in mei_me_mecsr_read()
98 static inline u32 mei_hcsr_read(const struct mei_device *dev) in mei_hcsr_read()
114 static inline void mei_hcsr_write(struct mei_device *dev, u32 reg) in mei_hcsr_write()
127 static inline void mei_hcsr_set(struct mei_device *dev, u32 reg) in mei_hcsr_set()
138 static inline void mei_hcsr_set_hig(struct mei_device *dev) in mei_hcsr_set_hig()
153 static inline u32 mei_me_d0i3c_read(const struct mei_device *dev) in mei_me_d0i3c_read()
169 static inline void mei_me_d0i3c_write(struct mei_device *dev, u32 reg) in mei_me_d0i3c_write()
183 static int mei_me_trc_status(struct mei_device *dev, u32 *trc) in mei_me_trc_status()
[all …]
Dhw-txe.c157 static bool mei_txe_aliveness_set(struct mei_device *dev, u32 req) in mei_txe_aliveness_set()
183 static u32 mei_txe_aliveness_req_get(struct mei_device *dev) in mei_txe_aliveness_req_get()
200 static u32 mei_txe_aliveness_get(struct mei_device *dev) in mei_txe_aliveness_get()
219 static int mei_txe_aliveness_poll(struct mei_device *dev, u32 expected) in mei_txe_aliveness_poll()
252 static int mei_txe_aliveness_wait(struct mei_device *dev, u32 expected) in mei_txe_aliveness_wait()
292 int mei_txe_aliveness_set_sync(struct mei_device *dev, u32 req) in mei_txe_aliveness_set_sync()
306 static bool mei_txe_pg_in_transition(struct mei_device *dev) in mei_txe_pg_in_transition()
318 static bool mei_txe_pg_is_enabled(struct mei_device *dev) in mei_txe_pg_is_enabled()
331 static inline enum mei_pg_state mei_txe_pg_state(struct mei_device *dev) in mei_txe_pg_state()
343 static void mei_txe_input_ready_interrupt_enable(struct mei_device *dev) in mei_txe_input_ready_interrupt_enable()
[all …]
Ddma-ring.c21 static int mei_dmam_dscr_alloc(struct mei_device *dev, in mei_dmam_dscr_alloc()
47 static void mei_dmam_dscr_free(struct mei_device *dev, in mei_dmam_dscr_free()
61 void mei_dmam_ring_free(struct mei_device *dev) in mei_dmam_ring_free()
75 int mei_dmam_ring_alloc(struct mei_device *dev) in mei_dmam_ring_alloc()
96 bool mei_dma_ring_is_allocated(struct mei_device *dev) in mei_dma_ring_is_allocated()
102 struct hbm_dma_ring_ctrl *mei_dma_ring_ctrl(struct mei_device *dev) in mei_dma_ring_ctrl()
111 void mei_dma_ring_reset(struct mei_device *dev) in mei_dma_ring_reset()
128 static size_t mei_dma_copy_from(struct mei_device *dev, unsigned char *buf, in mei_dma_copy_from()
148 static size_t mei_dma_copy_to(struct mei_device *dev, unsigned char *buf, in mei_dma_copy_to()
167 void mei_dma_ring_read(struct mei_device *dev, unsigned char *buf, u32 len) in mei_dma_ring_read()
[all …]
Dpci-txe.c35 static inline void mei_txe_set_pm_domain(struct mei_device *dev);
36 static inline void mei_txe_unset_pm_domain(struct mei_device *dev);
38 static inline void mei_txe_set_pm_domain(struct mei_device *dev) {} in mei_txe_set_pm_domain()
39 static inline void mei_txe_unset_pm_domain(struct mei_device *dev) {} in mei_txe_unset_pm_domain()
52 struct mei_device *dev; in mei_txe_probe()
169 struct mei_device *dev; in mei_txe_shutdown()
194 struct mei_device *dev; in mei_txe_remove()
219 struct mei_device *dev = pci_get_drvdata(pdev); in mei_txe_pci_suspend()
239 struct mei_device *dev; in mei_txe_pci_resume()
276 struct mei_device *dev; in mei_txe_pm_runtime_idle()
[all …]
Dclient.h23 void mei_me_cl_add(struct mei_device *dev, struct mei_me_client *me_cl);
24 void mei_me_cl_del(struct mei_device *dev, struct mei_me_client *me_cl);
26 struct mei_me_client *mei_me_cl_by_uuid(struct mei_device *dev,
28 struct mei_me_client *mei_me_cl_by_id(struct mei_device *dev, u8 client_id);
29 struct mei_me_client *mei_me_cl_by_uuid_id(struct mei_device *dev,
31 void mei_me_cl_rm_by_uuid(struct mei_device *dev, const uuid_le *uuid);
32 void mei_me_cl_rm_by_uuid_id(struct mei_device *dev,
34 void mei_me_cl_rm_all(struct mei_device *dev);
129 struct mei_cl *mei_cl_allocate(struct mei_device *dev);
134 struct mei_cl *mei_cl_alloc_linked(struct mei_device *dev);
[all …]
Dhbm.c95 static inline int mei_hbm_write_message(struct mei_device *dev, in mei_hbm_write_message()
107 void mei_hbm_idle(struct mei_device *dev) in mei_hbm_idle()
118 void mei_hbm_reset(struct mei_device *dev) in mei_hbm_reset()
170 static inline int mei_hbm_cl_write(struct mei_device *dev, struct mei_cl *cl, in mei_hbm_cl_write()
206 struct mei_cl *mei_hbm_cl_find_by_cmd(struct mei_device *dev, void *buf) in mei_hbm_cl_find_by_cmd()
225 int mei_hbm_start_wait(struct mei_device *dev) in mei_hbm_start_wait()
253 int mei_hbm_start_req(struct mei_device *dev) in mei_hbm_start_req()
289 static int mei_hbm_dma_setup_req(struct mei_device *dev) in mei_hbm_dma_setup_req()
331 static int mei_hbm_capabilities_req(struct mei_device *dev) in mei_hbm_capabilities_req()
364 static int mei_hbm_enum_clients_req(struct mei_device *dev) in mei_hbm_enum_clients_req()
[all …]
Dclient.c84 static void __mei_me_cl_del(struct mei_device *dev, struct mei_me_client *me_cl) in __mei_me_cl_del()
100 void mei_me_cl_del(struct mei_device *dev, struct mei_me_client *me_cl) in mei_me_cl_del()
113 void mei_me_cl_add(struct mei_device *dev, struct mei_me_client *me_cl) in mei_me_cl_add()
131 static struct mei_me_client *__mei_me_cl_by_uuid(struct mei_device *dev, in __mei_me_cl_by_uuid()
159 struct mei_me_client *mei_me_cl_by_uuid(struct mei_device *dev, in mei_me_cl_by_uuid()
182 struct mei_me_client *mei_me_cl_by_id(struct mei_device *dev, u8 client_id) in mei_me_cl_by_id()
211 static struct mei_me_client *__mei_me_cl_by_uuid_id(struct mei_device *dev, in __mei_me_cl_by_uuid_id()
240 struct mei_me_client *mei_me_cl_by_uuid_id(struct mei_device *dev, in mei_me_cl_by_uuid_id()
260 void mei_me_cl_rm_by_uuid(struct mei_device *dev, const uuid_le *uuid) in mei_me_cl_rm_by_uuid()
282 void mei_me_cl_rm_by_uuid_id(struct mei_device *dev, const uuid_le *uuid, u8 id) in mei_me_cl_rm_by_uuid_id()
[all …]
Dpci-me.c129 static inline void mei_me_set_pm_domain(struct mei_device *dev);
130 static inline void mei_me_unset_pm_domain(struct mei_device *dev);
132 static inline void mei_me_set_pm_domain(struct mei_device *dev) {} in mei_me_set_pm_domain()
133 static inline void mei_me_unset_pm_domain(struct mei_device *dev) {} in mei_me_unset_pm_domain()
136 static int mei_me_read_fws(const struct mei_device *dev, int where, u32 *val) in mei_me_read_fws()
173 struct mei_device *dev; in mei_me_probe()
304 struct mei_device *dev; in mei_me_shutdown()
329 struct mei_device *dev; in mei_me_remove()
354 struct mei_device *dev = pci_get_drvdata(pdev); in mei_me_pci_suspend()
374 struct mei_device *dev; in mei_me_pci_resume()
[all …]
Dhw-txe.h50 static inline struct mei_device *hw_txe_to_mei(struct mei_txe_hw *hw) in hw_txe_to_mei()
52 return container_of((void *)hw, struct mei_device, hw); in hw_txe_to_mei()
55 struct mei_device *mei_txe_dev_init(struct pci_dev *pdev);
60 int mei_txe_aliveness_set_sync(struct mei_device *dev, u32 req);
62 int mei_txe_setup_satt2(struct mei_device *dev, phys_addr_t addr, u32 range);
Dmain.c47 struct mei_device *dev; in mei_open()
52 dev = container_of(inode->i_cdev, struct mei_device, cdev); in mei_open()
115 struct mei_device *dev; in mei_release()
173 struct mei_device *dev; in mei_read()
316 struct mei_device *dev; in mei_write()
409 struct mei_device *dev; in mei_ioctl_connect_client()
473 static int mei_vt_support_check(struct mei_device *dev, const uuid_le *uuid) in mei_vt_support_check()
510 struct mei_device *dev; in mei_ioctl_connect_vtag()
643 struct mei_device *dev; in mei_ioctl()
787 struct mei_device *dev; in mei_poll()
[all …]
Ddebugfs.c21 struct mei_device *dev = m->private; in mei_dbgfs_meclients_show()
60 struct mei_device *dev = m->private; in mei_dbgfs_active_show()
91 struct mei_device *dev = m->private; in mei_dbgfs_devstate_show()
122 struct mei_device *dev; in mei_dbgfs_write_allow_fa()
126 struct mei_device, allow_fixed_address); in mei_dbgfs_write_allow_fa()
147 void mei_dbgfs_deregister(struct mei_device *dev) in mei_dbgfs_deregister()
161 void mei_dbgfs_register(struct mei_device *dev, const char *name) in mei_dbgfs_register()
Dinit.c82 void mei_cancel_work(struct mei_device *dev) in mei_cancel_work()
98 int mei_reset(struct mei_device *dev) in mei_reset()
184 int mei_start(struct mei_device *dev) in mei_start()
249 int mei_restart(struct mei_device *dev) in mei_restart()
278 struct mei_device *dev = in mei_reset_work()
279 container_of(work, struct mei_device, reset_work); in mei_reset_work()
301 void mei_stop(struct mei_device *dev) in mei_stop()
332 bool mei_write_is_idle(struct mei_device *dev) in mei_write_is_idle()
357 void mei_device_init(struct mei_device *dev, in mei_device_init()
Dhw-me.h62 int (*read_fws)(const struct mei_device *dev, int where, u32 *val);
120 struct mei_device *mei_me_dev_init(struct device *parent,
123 int mei_me_pg_enter_sync(struct mei_device *dev);
124 int mei_me_pg_exit_sync(struct mei_device *dev);
Dbus.c36 struct mei_device *bus; in __mei_cl_send()
116 struct mei_device *bus; in __mei_cl_recv()
269 struct mei_device *bus; in mei_cl_bus_rx_work()
355 struct mei_device *bus = cldev->bus; in mei_cldev_register_rx_cb()
389 struct mei_device *bus = cldev->bus; in mei_cldev_register_notif_cb()
570 struct mei_device *bus = cldev->bus; in mei_cldev_enable()
642 struct mei_device *bus; in mei_cldev_disable()
955 static struct mei_device *mei_dev_bus_get(struct mei_device *bus) in mei_dev_bus_get()
963 static void mei_dev_bus_put(struct mei_device *bus) in mei_dev_bus_put()
1009 static struct mei_cl_device *mei_cl_bus_dev_alloc(struct mei_device *bus, in mei_cl_bus_dev_alloc()
[all …]
Dinterrupt.c29 void mei_irq_compl_handler(struct mei_device *dev, struct list_head *cmpl_list) in mei_irq_compl_handler()
66 static void mei_irq_discard_msg(struct mei_device *dev, struct mei_msg_hdr *hdr, in mei_irq_discard_msg()
98 struct mei_device *dev = cl->dev; in mei_cl_irq_read_msg()
224 struct mei_device *dev = cl->dev; in mei_cl_irq_disconnect_rsp()
256 struct mei_device *dev = cl->dev; in mei_cl_irq_read()
327 int mei_irq_read_handler(struct mei_device *dev, in mei_irq_read_handler()
478 int mei_irq_write_handler(struct mei_device *dev, struct list_head *cmpl_list) in mei_irq_write_handler()
573 struct mei_device *dev = cl->dev; in mei_connect_timeout()
593 void mei_schedule_stall_timer(struct mei_device *dev) in mei_schedule_stall_timer()
607 struct mei_device *dev = container_of(work, in mei_timer()
[all …]
Dbus-fixup.c319 struct mei_device *bus; in mei_nfc_if_version()
396 struct mei_device *bus; in mei_nfc()