Loading drivers/scsi/ufs/ufs-qcom.c +5 −3 Original line number Diff line number Diff line Loading @@ -345,7 +345,8 @@ static void ufs_qcom_enable_hw_clk_gating(struct ufs_hba *hba) mb(); } static int ufs_qcom_hce_enable_notify(struct ufs_hba *hba, bool status) static int ufs_qcom_hce_enable_notify(struct ufs_hba *hba, enum ufs_notify_change_status status) { struct ufs_qcom_host *host = hba->priv; int err = 0; Loading Loading @@ -530,7 +531,8 @@ out: return ret; } static int ufs_qcom_link_startup_notify(struct ufs_hba *hba, bool status) static int ufs_qcom_link_startup_notify(struct ufs_hba *hba, enum ufs_notify_change_status status) { int err = 0; struct ufs_qcom_host *host = hba->priv; Loading Loading @@ -908,7 +910,7 @@ static void ufs_qcom_dev_ref_clk_ctrl(struct ufs_qcom_host *host, bool enable) } static int ufs_qcom_pwr_change_notify(struct ufs_hba *hba, bool status, enum ufs_notify_change_status status, struct ufs_pa_layer_attr *dev_max_params, struct ufs_pa_layer_attr *dev_req_params) { Loading drivers/scsi/ufs/ufshcd.h +10 −5 Original line number Diff line number Diff line Loading @@ -264,8 +264,10 @@ struct ufs_clk_info { bool enabled; }; #define PRE_CHANGE 0 #define POST_CHANGE 1 enum ufs_notify_change_status { PRE_CHANGE, POST_CHANGE, }; struct ufs_pa_layer_attr { u32 gear_rx; Loading Loading @@ -325,10 +327,13 @@ struct ufs_hba_variant_ops { int (*clk_scale_notify)(struct ufs_hba *, bool, bool); int (*setup_clocks)(struct ufs_hba *, bool); int (*setup_regulators)(struct ufs_hba *, bool); int (*hce_enable_notify)(struct ufs_hba *, bool); int (*link_startup_notify)(struct ufs_hba *, bool); int (*hce_enable_notify)(struct ufs_hba *, enum ufs_notify_change_status); int (*link_startup_notify)(struct ufs_hba *, enum ufs_notify_change_status); int (*pwr_change_notify)(struct ufs_hba *, bool, struct ufs_pa_layer_attr *, enum ufs_notify_change_status status, struct ufs_pa_layer_attr *, struct ufs_pa_layer_attr *); int (*suspend)(struct ufs_hba *, enum ufs_pm_op); int (*resume)(struct ufs_hba *, enum ufs_pm_op); Loading Loading
drivers/scsi/ufs/ufs-qcom.c +5 −3 Original line number Diff line number Diff line Loading @@ -345,7 +345,8 @@ static void ufs_qcom_enable_hw_clk_gating(struct ufs_hba *hba) mb(); } static int ufs_qcom_hce_enable_notify(struct ufs_hba *hba, bool status) static int ufs_qcom_hce_enable_notify(struct ufs_hba *hba, enum ufs_notify_change_status status) { struct ufs_qcom_host *host = hba->priv; int err = 0; Loading Loading @@ -530,7 +531,8 @@ out: return ret; } static int ufs_qcom_link_startup_notify(struct ufs_hba *hba, bool status) static int ufs_qcom_link_startup_notify(struct ufs_hba *hba, enum ufs_notify_change_status status) { int err = 0; struct ufs_qcom_host *host = hba->priv; Loading Loading @@ -908,7 +910,7 @@ static void ufs_qcom_dev_ref_clk_ctrl(struct ufs_qcom_host *host, bool enable) } static int ufs_qcom_pwr_change_notify(struct ufs_hba *hba, bool status, enum ufs_notify_change_status status, struct ufs_pa_layer_attr *dev_max_params, struct ufs_pa_layer_attr *dev_req_params) { Loading
drivers/scsi/ufs/ufshcd.h +10 −5 Original line number Diff line number Diff line Loading @@ -264,8 +264,10 @@ struct ufs_clk_info { bool enabled; }; #define PRE_CHANGE 0 #define POST_CHANGE 1 enum ufs_notify_change_status { PRE_CHANGE, POST_CHANGE, }; struct ufs_pa_layer_attr { u32 gear_rx; Loading Loading @@ -325,10 +327,13 @@ struct ufs_hba_variant_ops { int (*clk_scale_notify)(struct ufs_hba *, bool, bool); int (*setup_clocks)(struct ufs_hba *, bool); int (*setup_regulators)(struct ufs_hba *, bool); int (*hce_enable_notify)(struct ufs_hba *, bool); int (*link_startup_notify)(struct ufs_hba *, bool); int (*hce_enable_notify)(struct ufs_hba *, enum ufs_notify_change_status); int (*link_startup_notify)(struct ufs_hba *, enum ufs_notify_change_status); int (*pwr_change_notify)(struct ufs_hba *, bool, struct ufs_pa_layer_attr *, enum ufs_notify_change_status status, struct ufs_pa_layer_attr *, struct ufs_pa_layer_attr *); int (*suspend)(struct ufs_hba *, enum ufs_pm_op); int (*resume)(struct ufs_hba *, enum ufs_pm_op); Loading