Lines Matching defs:ufs_hba
529 struct ufs_hba { struct
530 void __iomem *mmio_base;
533 struct utp_transfer_cmd_desc *ucdl_base_addr;
534 struct utp_transfer_req_desc *utrdl_base_addr;
535 struct utp_task_req_desc *utmrdl_base_addr;
538 dma_addr_t ucdl_dma_addr;
539 dma_addr_t utrdl_dma_addr;
540 dma_addr_t utmrdl_dma_addr;
542 struct Scsi_Host *host;
543 struct device *dev;
548 struct scsi_device *sdev_ufs_device;
573 const struct ufs_hba_variant_ops *vops; argument
574 void *priv;
575 unsigned int irq;
576 bool is_irq_enabled;
577 enum ufs_ref_clk_freq dev_ref_clk_freq;
641 unsigned int quirks; /* Deviations from standard UFSHCI spec. */
644 unsigned int dev_quirks;
646 wait_queue_head_t tm_wq;
647 wait_queue_head_t tm_tag_wq;
648 unsigned long tm_condition;
649 unsigned long tm_slots_in_use;
651 struct uic_command *active_uic_cmd;
652 struct mutex uic_cmd_mutex;
653 struct completion *uic_async_done;
655 u32 ufshcd_state;
656 u32 eh_flags;
657 u32 intr_mask;
658 u16 ee_ctrl_mask;
659 bool is_powered;
660 bool is_init_prefetch;
661 struct ufs_init_prefetch init_prefetch_data;
664 struct work_struct eh_work;
665 struct work_struct eeh_work;
668 u32 errors;
669 u32 uic_error;
670 u32 saved_err;
671 u32 saved_uic_err;
672 struct ufs_stats ufs_stats;
675 struct ufs_dev_cmd dev_cmd;
676 ktime_t last_dme_cmd_tstamp;
679 struct ufs_dev_info dev_info;
680 bool auto_bkops_enabled;
681 struct ufs_vreg_info vreg_info;
682 struct list_head clk_list_head;
684 bool wlun_dev_clr_ua;
687 int req_abort_count;
690 u32 lanes_per_direction;
691 struct ufs_pa_layer_attr pwr_info;
692 struct ufs_pwr_mode_info max_pwr_info;
694 struct ufs_clk_gating clk_gating;
696 u32 caps;
736 static inline bool ufshcd_is_clkgating_allowed(struct ufs_hba *hba) in ufshcd_is_clkgating_allowed() argument