Home
last modified time | relevance | path

Searched refs:curr_status (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/power/supply/
Dabx500_chargalg.c249 struct abx500_chargalg_current_step_status curr_status; member
423 if (di->curr_status.curr_step_change) in abx500_chargalg_check_current_step_status()
425 di->curr_status.curr_step_change = false; in abx500_chargalg_check_current_step_status()
1500 if (di->curr_status.curr_step == CHARGALG_CURR_STEP_LOW) in abx500_chargalg_algorithm()
1505 * di->curr_status.curr_step in abx500_chargalg_algorithm()
1747 return sprintf(buf, "%d\n", di->curr_status.curr_step); in abx500_chargalg_curr_step_show()
1760 di->curr_status.curr_step = param; in abx500_chargalg_curr_step_store()
1761 if (di->curr_status.curr_step >= CHARGALG_CURR_STEP_LOW && in abx500_chargalg_curr_step_store()
1762 di->curr_status.curr_step <= CHARGALG_CURR_STEP_HIGH) { in abx500_chargalg_curr_step_store()
1763 di->curr_status.curr_step_change = true; in abx500_chargalg_curr_step_store()
[all …]
/Linux-v5.4/drivers/net/ethernet/via/
Dvia-velocity.c868 u32 curr_status; in velocity_set_media_mode() local
872 curr_status = vptr->mii_status & (~VELOCITY_LINK_FAIL); in velocity_set_media_mode()
3364 u32 curr_status; in velocity_set_link_ksettings() local
3368 curr_status = check_connection_type(vptr->mac_regs); in velocity_set_link_ksettings()
3369 curr_status &= (~VELOCITY_LINK_FAIL); in velocity_set_link_ksettings()
3379 (new_status != (curr_status | VELOCITY_AUTONEG_ENABLE))) { in velocity_set_link_ksettings()
/Linux-v5.4/drivers/scsi/ufs/
Dufshcd.c5069 u32 curr_status = 0; in ufshcd_bkops_ctrl() local
5071 err = ufshcd_get_bkops_status(hba, &curr_status); in ufshcd_bkops_ctrl()
5076 } else if (curr_status > BKOPS_STATUS_MAX) { in ufshcd_bkops_ctrl()
5078 __func__, curr_status); in ufshcd_bkops_ctrl()
5083 if (curr_status >= status) in ufshcd_bkops_ctrl()
5115 u32 curr_status = 0; in ufshcd_bkops_exception_event_handler() local
5120 err = ufshcd_get_bkops_status(hba, &curr_status); in ufshcd_bkops_exception_event_handler()
5133 if (curr_status < BKOPS_STATUS_PERF_IMPACT) { in ufshcd_bkops_exception_event_handler()
5135 __func__, curr_status); in ufshcd_bkops_exception_event_handler()
5137 hba->urgent_bkops_lvl = curr_status; in ufshcd_bkops_exception_event_handler()