Lines Matching refs:vops
573 const struct ufs_hba_variant_ops *vops; member
944 if (hba->vops) in ufshcd_get_var_name()
945 return hba->vops->name; in ufshcd_get_var_name()
951 if (hba->vops && hba->vops->init) in ufshcd_vops_init()
952 return hba->vops->init(hba); in ufshcd_vops_init()
959 if (hba->vops && hba->vops->exit) in ufshcd_vops_exit()
960 return hba->vops->exit(hba); in ufshcd_vops_exit()
965 if (hba->vops && hba->vops->get_ufs_hci_version) in ufshcd_vops_get_ufs_hci_version()
966 return hba->vops->get_ufs_hci_version(hba); in ufshcd_vops_get_ufs_hci_version()
974 if (hba->vops && hba->vops->clk_scale_notify) in ufshcd_vops_clk_scale_notify()
975 return hba->vops->clk_scale_notify(hba, up, status); in ufshcd_vops_clk_scale_notify()
982 if (hba->vops && hba->vops->setup_clocks) in ufshcd_vops_setup_clocks()
983 return hba->vops->setup_clocks(hba, on, status); in ufshcd_vops_setup_clocks()
989 if (hba->vops && hba->vops->setup_regulators) in ufshcd_vops_setup_regulators()
990 return hba->vops->setup_regulators(hba, status); in ufshcd_vops_setup_regulators()
998 if (hba->vops && hba->vops->hce_enable_notify) in ufshcd_vops_hce_enable_notify()
999 return hba->vops->hce_enable_notify(hba, status); in ufshcd_vops_hce_enable_notify()
1006 if (hba->vops && hba->vops->link_startup_notify) in ufshcd_vops_link_startup_notify()
1007 return hba->vops->link_startup_notify(hba, status); in ufshcd_vops_link_startup_notify()
1017 if (hba->vops && hba->vops->pwr_change_notify) in ufshcd_vops_pwr_change_notify()
1018 return hba->vops->pwr_change_notify(hba, status, in ufshcd_vops_pwr_change_notify()
1027 if (hba->vops && hba->vops->setup_xfer_req) in ufshcd_vops_setup_xfer_req()
1028 return hba->vops->setup_xfer_req(hba, tag, is_scsi_cmd); in ufshcd_vops_setup_xfer_req()
1034 if (hba->vops && hba->vops->setup_task_mgmt) in ufshcd_vops_setup_task_mgmt()
1035 return hba->vops->setup_task_mgmt(hba, tag, tm_function); in ufshcd_vops_setup_task_mgmt()
1042 if (hba->vops && hba->vops->hibern8_notify) in ufshcd_vops_hibern8_notify()
1043 return hba->vops->hibern8_notify(hba, cmd, status); in ufshcd_vops_hibern8_notify()
1048 if (hba->vops && hba->vops->apply_dev_quirks) in ufshcd_vops_apply_dev_quirks()
1049 return hba->vops->apply_dev_quirks(hba); in ufshcd_vops_apply_dev_quirks()
1055 if (hba->vops && hba->vops->suspend) in ufshcd_vops_suspend()
1056 return hba->vops->suspend(hba, op); in ufshcd_vops_suspend()
1063 if (hba->vops && hba->vops->resume) in ufshcd_vops_resume()
1064 return hba->vops->resume(hba, op); in ufshcd_vops_resume()
1071 if (hba->vops && hba->vops->dbg_register_dump) in ufshcd_vops_dbg_register_dump()
1072 hba->vops->dbg_register_dump(hba); in ufshcd_vops_dbg_register_dump()
1077 if (hba->vops && hba->vops->device_reset) in ufshcd_vops_device_reset()
1078 hba->vops->device_reset(hba); in ufshcd_vops_device_reset()