Lines Matching defs:ufs_hba

832 struct ufs_hba {  struct
833 void __iomem *mmio_base;
836 struct utp_transfer_cmd_desc *ucdl_base_addr;
837 struct utp_transfer_req_desc *utrdl_base_addr;
838 struct utp_task_req_desc *utmrdl_base_addr;
841 dma_addr_t ucdl_dma_addr;
842 dma_addr_t utrdl_dma_addr;
843 dma_addr_t utmrdl_dma_addr;
845 struct Scsi_Host *host;
846 struct device *dev;
847 struct scsi_device *ufs_device_wlun;
850 struct device *hwmon_device;
875 const struct ufs_hba_variant_ops *vops; argument
876 struct ufs_hba_variant_params *vps; argument
877 void *priv;
878 unsigned int irq;
879 bool is_irq_enabled;
880 enum ufs_ref_clk_freq dev_ref_clk_freq;
882 unsigned int quirks; /* Deviations from standard UFSHCI spec. */
885 unsigned int dev_quirks;
887 struct blk_mq_tag_set tmf_tag_set;
888 struct request_queue *tmf_queue;
889 struct request **tmf_rqs;
891 struct uic_command *active_uic_cmd;
892 struct mutex uic_cmd_mutex;
893 struct completion *uic_async_done;
895 enum ufshcd_state ufshcd_state;
896 u32 eh_flags;
897 u32 intr_mask;
898 u16 ee_ctrl_mask;
899 u16 ee_drv_mask;
900 u16 ee_usr_mask;
901 struct mutex ee_ctrl_mutex;
902 bool is_powered;
903 bool shutting_down;
904 struct semaphore host_sem;
907 struct workqueue_struct *eh_wq;
908 struct work_struct eh_work;
909 struct work_struct eeh_work;
912 u32 errors;
913 u32 uic_error;
914 u32 saved_err;
915 u32 saved_uic_err;
916 struct ufs_stats ufs_stats;
917 bool force_reset;
918 bool force_pmc;
919 bool silence_err_logs;
922 struct ufs_dev_cmd dev_cmd;
923 ktime_t last_dme_cmd_tstamp;
924 int nop_out_timeout;
927 struct ufs_dev_info dev_info;
928 bool auto_bkops_enabled;
929 struct ufs_vreg_info vreg_info;
930 struct list_head clk_list_head;
933 int req_abort_count;
936 u32 lanes_per_direction;
937 struct ufs_pa_layer_attr pwr_info;
938 struct ufs_pwr_mode_info max_pwr_info;
963 struct ufs_hba_monitor monitor; argument
981 static inline bool ufshcd_is_clkgating_allowed(struct ufs_hba *hba) in ufshcd_is_clkgating_allowed() argument