Lines Matching full:mhi
27 * enum mhi_callback - MHI callback
28 * @MHI_CB_IDLE: MHI entered idle state
30 * @MHI_CB_LPM_ENTER: MHI host entered low power mode
31 * @MHI_CB_LPM_EXIT: MHI host about to exit low power mode
32 * @MHI_CB_EE_RDDM: MHI device entered RDDM exec env
33 * @MHI_CB_EE_MISSION_MODE: MHI device entered Mission Mode exec env
34 * @MHI_CB_SYS_ERROR: MHI device entered error state (may recover)
35 * @MHI_CB_FATAL_ERROR: MHI device entered fatal error state
132 MHI_EE_DISABLE_TRANSITION, /* local EE, not related to mhi spec */
138 * enum mhi_state - MHI states
185 * @MHI_ER_CTRL: MHI control data and client data
266 * struct mhi_controller_config - Root MHI controller configuration
292 * struct mhi_controller - Master MHI controller structure
293 * @name: Device name of the MHI controller
294 * @cntrl_dev: Pointer to the struct device of physical bus acting as the MHI
296 * @mhi_dev: MHI device instance for the controller
297 * @debugfs_dentry: MHI controller debugfs directory
298 * @regs: Base address of MHI MMIO register space (required)
299 * @bhi: Points to base of MHI BHI register space
300 * @bhie: Points to base of MHI BHIe register space
301 * @wake_db: MHI WAKE doorbell register address
313 * @reg_len: Length of the MHI MMIO region (required)
324 * @serial_number: MHI controller serial number obtained from BHI
325 * @mhi_event: MHI event ring configurations table
326 * @mhi_cmd: MHI command ring configurations table
327 * @mhi_ctxt: MHI device context, shared memory between host and device
329 * @pm_lock: Lock for protecting MHI power management state
332 * @pm_state: MHI power management state
334 * @ee: MHI device execution environment
335 * @dev_state: MHI device state
338 * @M0, M2, M3: Counters to track number of device MHI state changes
339 * @transition_list: List of MHI state transitions
340 * @transition_lock: Lock for protecting MHI state transition list
344 * @hiprio_wq: High priority workqueue for MHI work such as state transitions
354 * @read_reg: Read a MHI register via the physical link (required)
355 * @write_reg: Write a MHI register via the physical link (required)
359 * @index: Index of the MHI controller instance
361 * @fbc_download: MHI host needs to do complete image transfer (optional)
364 * @mru: the default MRU for the MHI device
453 * struct mhi_device - Structure representing an MHI device which binds
455 * @id: Pointer to MHI device ID struct
456 * @name: Name of the associated MHI device
460 * @dev: Driver model device node for the MHI device
461 * @dev_type: MHI device type
462 * @ul_chan_id: MHI channel id for UL transfer
463 * @dl_chan_id: MHI channel id for DL transfer
494 * struct mhi_buf - MHI Buffer description
510 * struct mhi_driver - Structure representing a MHI client driver
535 * mhi_alloc_controller - Allocate the MHI Controller structure
541 * mhi_free_controller - Free the MHI Controller structure
547 * mhi_register_controller - Register MHI controller
548 * @mhi_cntrl: MHI controller to register
555 * mhi_unregister_controller - Unregister MHI controller
556 * @mhi_cntrl: MHI controller to unregister
577 * __mhi_driver_register - Register driver with MHI framework
590 * mhi_set_mhi_state - Set MHI device state
591 * @mhi_cntrl: MHI controller
598 * mhi_notify - Notify the MHI client driver about client device status
599 * @mhi_dev: MHI device instance
600 * @cb_reason: MHI callback reason
619 * @mhi_cntrl: MHI controller
624 * mhi_async_power_up - Start MHI power up sequence
625 * @mhi_cntrl: MHI controller
630 * mhi_sync_power_up - Start MHI power up sequence and wait till the device
632 * @mhi_cntrl: MHI controller
637 * mhi_power_down - Power down the MHI device and also destroy the
642 * @mhi_cntrl: MHI controller
648 * mhi_power_down_keep_dev - Power down the MHI device but keep the 'struct
654 * @mhi_cntrl: MHI controller
661 * @mhi_cntrl: MHI controller
666 * mhi_pm_suspend - Move MHI into a suspended state
667 * @mhi_cntrl: MHI controller
672 * mhi_pm_resume - Resume MHI from suspended state
673 * @mhi_cntrl: MHI controller
678 * mhi_pm_resume_force - Force resume MHI from suspended state
679 * @mhi_cntrl: MHI controller
681 * Resume the device irrespective of its MHI state. As per the MHI spec, devices
683 * different MHI state other than M3 but they continue working fine if allowed.
693 * @mhi_cntrl: MHI controller
700 * @mhi_cntrl: MHI controller
706 * @mhi_cntrl: MHI controller
711 * mhi_get_mhi_state - Get MHI state of the device
712 * @mhi_cntrl: MHI controller
719 * @mhi_cntrl: MHI controller
760 * The MHI core will automatically allocate and queue buffers for the DL traffic.
781 * over MHI channel
786 * @mflags: MHI transfer flags used for the transfer
792 * mhi_queue_buf - Send or receive raw buffers from client device over MHI
798 * @mflags: MHI transfer flags used for the transfer
804 * mhi_queue_skb - Send or receive SKBs from client device over MHI channel
809 * @mflags: MHI transfer flags used for the transfer
823 * @mhi_cntrl: MHI controller