/openbmc/linux/drivers/misc/mei/ |
H A D | mei_dev.h | 283 struct mei_device *dev; 353 int (*hw_start)(struct mei_device *dev); 354 int (*hw_config)(struct mei_device *dev); 363 void (*intr_clear)(struct mei_device *dev); 371 int (*write)(struct mei_device *dev, 378 int (*read)(struct mei_device *dev, 540 struct mei_device { struct 686 int mei_reset(struct mei_device *dev); 687 int mei_start(struct mei_device *dev); 688 int mei_restart(struct mei_device *dev); [all …]
|
H A D | hbm.h | 10 struct mei_device; 40 int mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr); 42 void mei_hbm_idle(struct mei_device *dev); 43 void mei_hbm_reset(struct mei_device *dev); 44 int mei_hbm_start_req(struct mei_device *dev); 45 int mei_hbm_start_wait(struct mei_device *dev); 49 int mei_hbm_cl_connect_req(struct mei_device *dev, struct mei_cl *cl); 50 bool mei_hbm_version_is_supported(struct mei_device *dev); 51 int mei_hbm_pg(struct mei_device *dev, u8 pg_cmd); 52 void mei_hbm_pg_resume(struct mei_device *dev); [all …]
|
H A D | hw-txe.c | 200 static u32 mei_txe_aliveness_get(struct mei_device *dev) in mei_txe_aliveness_get() 426 static void mei_txe_intr_enable(struct mei_device *dev) in mei_txe_intr_enable() 576 static bool mei_txe_hw_is_ready(struct mei_device *dev) in mei_txe_hw_is_ready() 637 static int mei_txe_fw_status(struct mei_device *dev, in mei_txe_fw_status() 672 static int mei_txe_hw_config(struct mei_device *dev) in mei_txe_hw_config() 697 static int mei_txe_write(struct mei_device *dev, in mei_txe_write() 816 static int mei_txe_read(struct mei_device *dev, in mei_txe_read() 912 static int mei_txe_hw_start(struct mei_device *dev) in mei_txe_hw_start() 1028 struct mei_device *dev = dev_id; in mei_txe_irq_quick_handler() 1046 struct mei_device *dev = (struct mei_device *) dev_id; in mei_txe_irq_thread_handler() [all …]
|
H A D | hw-me.c | 205 static int mei_me_fw_status(struct mei_device *dev, in mei_me_fw_status() 240 static int mei_me_hw_config(struct mei_device *dev) in mei_me_hw_config() 491 static int mei_me_hw_start(struct mei_device *dev) in mei_me_hw_start() 695 static void mei_me_pg_set(struct mei_device *dev) in mei_me_pg_set() 714 static void mei_me_pg_unset(struct mei_device *dev) in mei_me_pg_unset() 1151 int mei_me_pg_enter_sync(struct mei_device *dev) in mei_me_pg_enter_sync() 1168 int mei_me_pg_exit_sync(struct mei_device *dev) in mei_me_pg_exit_sync() 1259 struct mei_device *dev = (struct mei_device *)dev_id; in mei_me_irq_quick_handler() 1286 struct mei_device *dev = (struct mei_device *) dev_id; in mei_me_irq_thread_handler() 1397 struct mei_device *dev = _dev; in mei_me_polling_thread() [all …]
|
H A D | dma-ring.c | 21 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() 202 static inline u32 mei_dma_ring_hbuf_depth(struct mei_device *dev) in mei_dma_ring_hbuf_depth() [all …]
|
H A D | pci-txe.c | 35 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() 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() 290 struct mei_device *dev; in mei_txe_pm_runtime_suspend() [all …]
|
H A D | client.h | 23 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, 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); 255 void mei_host_client_init(struct mei_device *dev); [all …]
|
H A D | hw-txe.h | 50 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);
|
H A D | hbm.c | 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() 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() 406 static int mei_hbm_me_cl_add(struct mei_device *dev, in mei_hbm_me_cl_add() 496 int mei_hbm_cl_notify_req(struct mei_device *dev, in mei_hbm_cl_notify_req() 591 static void mei_hbm_cl_notify(struct mei_device *dev, in mei_hbm_cl_notify() 773 int mei_hbm_pg(struct mei_device *dev, u8 pg_cmd) in mei_hbm_pg() 801 static int mei_hbm_stop_req(struct mei_device *dev) in mei_hbm_stop_req() 1000 static void mei_hbm_cl_res(struct mei_device *dev, in mei_hbm_cl_res() [all …]
|
H A D | pci-me.c | 134 static inline void mei_me_set_pm_domain(struct mei_device *dev); 135 static inline void mei_me_unset_pm_domain(struct mei_device *dev); 178 struct mei_device *dev; in mei_me_probe() 302 struct mei_device *dev; in mei_me_shutdown() 327 struct mei_device *dev; in mei_me_remove() 358 struct mei_device *dev = pci_get_drvdata(pdev); in mei_me_pci_suspend() 378 struct mei_device *dev; in mei_me_pci_resume() 428 struct mei_device *dev; in mei_me_pm_runtime_idle() 443 struct mei_device *dev; in mei_me_pm_runtime_suspend() 471 struct mei_device *dev; in mei_me_pm_runtime_resume() [all …]
|
H A D | debugfs.c | 21 struct mei_device *dev = m->private; in mei_dbgfs_meclients_show() 60 struct mei_device *dev = m->private; in mei_dbgfs_active_show() 105 struct mei_device *dev = m->private; in mei_dbgfs_devstate_show() 140 struct mei_device *dev; in mei_dbgfs_write_allow_fa() 144 struct mei_device, allow_fixed_address); in mei_dbgfs_write_allow_fa() 165 void mei_dbgfs_deregister(struct mei_device *dev) in mei_dbgfs_deregister() 179 void mei_dbgfs_register(struct mei_device *dev, const char *name) in mei_dbgfs_register()
|
H A D | hw-me.h | 65 int (*read_fws)(const struct mei_device *dev, int where, u32 *val); 134 struct mei_device *mei_me_dev_init(struct device *parent, 137 int mei_me_pg_enter_sync(struct mei_device *dev); 138 int mei_me_pg_exit_sync(struct mei_device *dev);
|
H A D | client.c | 574 struct mei_device *dev; in mei_cl_flush_queues() 650 struct mei_device *dev; in mei_cl_link() 692 struct mei_device *dev; in mei_cl_unlink() 862 struct mei_device *dev; in mei_cl_send_disconnect() 924 struct mei_device *dev; in __mei_cl_disconnect() 981 struct mei_device *dev; in mei_cl_disconnect() 1033 struct mei_device *dev; in mei_cl_is_other_connecting() 1057 struct mei_device *dev; in mei_cl_send_connect() 1124 struct mei_device *dev; in mei_cl_connect() 1524 struct mei_device *dev; in mei_cl_notify_request() [all …]
|
H A D | main.c | 49 struct mei_device *dev; 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() 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() 841 struct mei_device *dev = cl->dev; in mei_cl_is_write_queued() 866 struct mei_device *dev; in mei_fsync() [all …]
|
H A D | gsc-me.c | 26 static int mei_gsc_read_hfs(const struct mei_device *dev, int where, u32 *val) in mei_gsc_read_hfs() 50 struct mei_device *dev; in mei_gsc_probe() 143 struct mei_device *dev; in mei_gsc_remove() 169 struct mei_device *dev = dev_get_drvdata(device); in mei_gsc_pm_suspend() 183 struct mei_device *dev = dev_get_drvdata(device); in mei_gsc_pm_resume() 212 struct mei_device *dev = dev_get_drvdata(device); in mei_gsc_pm_runtime_idle() 224 struct mei_device *dev = dev_get_drvdata(device); in mei_gsc_pm_runtime_suspend() 251 struct mei_device *dev = dev_get_drvdata(device); in mei_gsc_pm_runtime_resume()
|
H A D | init.c | 83 void mei_cancel_work(struct mei_device *dev) in mei_cancel_work() 99 int mei_reset(struct mei_device *dev) in mei_reset() 196 int mei_start(struct mei_device *dev) in mei_start() 251 int mei_restart(struct mei_device *dev) in mei_restart() 280 struct mei_device *dev = in mei_reset_work() 281 container_of(work, struct mei_device, reset_work); in mei_reset_work() 303 void mei_stop(struct mei_device *dev) in mei_stop() 339 bool mei_write_is_idle(struct mei_device *dev) in mei_write_is_idle() 365 void mei_device_init(struct mei_device *dev, in mei_device_init()
|
H A D | interrupt.c | 29 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() 257 struct mei_device *dev = cl->dev; in mei_cl_irq_disconnect_rsp() 289 struct mei_device *dev = cl->dev; in mei_cl_irq_read() 360 int mei_irq_read_handler(struct mei_device *dev, in mei_irq_read_handler() 508 int mei_irq_write_handler(struct mei_device *dev, struct list_head *cmpl_list) in mei_irq_write_handler() 613 struct mei_device *dev = cl->dev; in mei_connect_timeout() 633 void mei_schedule_stall_timer(struct mei_device *dev) in mei_schedule_stall_timer() 647 struct mei_device *dev = container_of(work, in mei_timer() [all …]
|
H A D | bus.c | 58 struct mei_device *bus; in __mei_cl_send_timeout() 157 struct mei_device *bus; in __mei_cl_recv() 382 struct mei_device *bus; in mei_cl_bus_rx_work() 469 struct mei_device *bus = cldev->bus; in mei_cldev_register_rx_cb() 509 struct mei_device *bus = cldev->bus; in mei_cldev_register_notif_cb() 685 struct mei_device *bus; in mei_cldev_dma_map() 723 struct mei_device *bus; in mei_cldev_dma_unmap() 828 struct mei_device *bus; in mei_cldev_disable() 889 struct mei_device *bus; in mei_cldev_send_gsc_command() 1255 static struct mei_device *mei_dev_bus_get(struct mei_device *bus) in mei_dev_bus_get() [all …]
|
H A D | bus-fixup.c | 369 struct mei_device *bus; in mei_nfc_if_version() 449 struct mei_device *bus; in mei_nfc() 537 struct mei_device *bus = cldev->bus; in pxp_is_ready()
|
/openbmc/linux/include/linux/ |
H A D | mei_cl_bus.h | 13 struct mei_device; 44 struct mei_device *bus;
|