Lines Matching refs:pwr_mode

311 			     struct ufs_pa_layer_attr *pwr_mode);
4577 struct ufs_pa_layer_attr *pwr_mode) in ufshcd_change_power_mode() argument
4583 pwr_mode->gear_rx == hba->pwr_info.gear_rx && in ufshcd_change_power_mode()
4584 pwr_mode->gear_tx == hba->pwr_info.gear_tx && in ufshcd_change_power_mode()
4585 pwr_mode->lane_rx == hba->pwr_info.lane_rx && in ufshcd_change_power_mode()
4586 pwr_mode->lane_tx == hba->pwr_info.lane_tx && in ufshcd_change_power_mode()
4587 pwr_mode->pwr_rx == hba->pwr_info.pwr_rx && in ufshcd_change_power_mode()
4588 pwr_mode->pwr_tx == hba->pwr_info.pwr_tx && in ufshcd_change_power_mode()
4589 pwr_mode->hs_rate == hba->pwr_info.hs_rate) { in ufshcd_change_power_mode()
4600 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_RXGEAR), pwr_mode->gear_rx); in ufshcd_change_power_mode()
4602 pwr_mode->lane_rx); in ufshcd_change_power_mode()
4603 if (pwr_mode->pwr_rx == FASTAUTO_MODE || in ufshcd_change_power_mode()
4604 pwr_mode->pwr_rx == FAST_MODE) in ufshcd_change_power_mode()
4609 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_TXGEAR), pwr_mode->gear_tx); in ufshcd_change_power_mode()
4611 pwr_mode->lane_tx); in ufshcd_change_power_mode()
4612 if (pwr_mode->pwr_tx == FASTAUTO_MODE || in ufshcd_change_power_mode()
4613 pwr_mode->pwr_tx == FAST_MODE) in ufshcd_change_power_mode()
4618 if (pwr_mode->pwr_rx == FASTAUTO_MODE || in ufshcd_change_power_mode()
4619 pwr_mode->pwr_tx == FASTAUTO_MODE || in ufshcd_change_power_mode()
4620 pwr_mode->pwr_rx == FAST_MODE || in ufshcd_change_power_mode()
4621 pwr_mode->pwr_tx == FAST_MODE) in ufshcd_change_power_mode()
4623 pwr_mode->hs_rate); in ufshcd_change_power_mode()
4647 ret = ufshcd_uic_change_pwr_mode(hba, pwr_mode->pwr_rx << 4 in ufshcd_change_power_mode()
4648 | pwr_mode->pwr_tx); in ufshcd_change_power_mode()
4655 pwr_mode); in ufshcd_change_power_mode()
4657 memcpy(&hba->pwr_info, pwr_mode, in ufshcd_change_power_mode()
9394 enum ufs_dev_pwr_mode pwr_mode, in ufshcd_execute_start_stop() argument
9397 const unsigned char cdb[6] = { START_STOP, 0, 0, 0, pwr_mode << 4, 0 }; in ufshcd_execute_start_stop()
9429 enum ufs_dev_pwr_mode pwr_mode) in ufshcd_set_dev_pwr_mode() argument
9460 ret = ufshcd_execute_start_stop(sdp, pwr_mode, &sshdr); in ufshcd_set_dev_pwr_mode()
9464 pwr_mode, ret); in ufshcd_set_dev_pwr_mode()
9471 hba->curr_dev_pwr_mode = pwr_mode; in ufshcd_set_dev_pwr_mode()