| /linux/drivers/scsi/esas2r/ |
| H A D | esas2r_targdb.c | 53 t->target_state = TS_NOT_PRESENT; in esas2r_targ_db_initialize() 65 if (t->target_state != TS_PRESENT) in esas2r_targ_db_remove_all() 98 if (t->buffered_target_state != t->target_state) in esas2r_targ_db_report_changes() 99 state = t->buffered_target_state = t->target_state; in esas2r_targ_db_report_changes() 135 if (t->target_state == TS_PRESENT) { in esas2r_targ_db_add_raid() 167 t->target_state = TS_PRESENT; in esas2r_targ_db_add_raid() 195 || t->target_state == TS_PRESENT) { in esas2r_targ_db_add_pthru() 216 t->target_state = TS_PRESENT; in esas2r_targ_db_add_pthru() 225 t->target_state = TS_NOT_PRESENT; in esas2r_targ_db_remove() 267 if (t->target_state == TS_PRESENT) in esas2r_targ_db_find_next_present() [all …]
|
| H A D | esas2r_io.c | 73 if (unlikely(t->target_state != TS_PRESENT && in esas2r_start_request() 541 && t->target_state == TS_PRESENT in esas2r_build_sg_list_prd()
|
| H A D | esas2r_ioctl.c | 562 || t->target_state != TS_PRESENT in csmi_ioctl_callback() 581 || t->target_state != TS_PRESENT in csmi_ioctl_callback() 1078 if (t->target_state != TS_PRESENT) { in hba_ioctl_callback() 1180 if (t->target_state != TS_PRESENT) { in hba_ioctl_callback()
|
| H A D | esas2r_disc.c | 1175 if (t->target_state == TS_PRESENT) in esas2r_disc_fix_curr_requests()
|
| H A D | esas2r.h | 631 u8 target_state; member
|
| /linux/drivers/acpi/ |
| H A D | processor_throttling.c | 38 int target_state; /* target T-state */ member 43 int target_state; member 206 int target_state; in acpi_processor_throttling_notifier() local 222 target_state = p_tstate->target_state; in acpi_processor_throttling_notifier() 231 if (p_limit->thermal.tx > target_state) in acpi_processor_throttling_notifier() 232 target_state = p_limit->thermal.tx; in acpi_processor_throttling_notifier() 233 if (p_limit->user.tx > target_state) in acpi_processor_throttling_notifier() 234 target_state = p_limit->user.tx; in acpi_processor_throttling_notifier() 235 if (pr->throttling_platform_limit > target_state) in acpi_processor_throttling_notifier() 236 target_state = pr->throttling_platform_limit; in acpi_processor_throttling_notifier() [all …]
|
| H A D | device_pm.c | 164 int target_state = state; in acpi_device_set_power() local 189 target_state = state; in acpi_device_set_power() 240 result = acpi_power_transition(device, target_state); in acpi_device_set_power() 280 acpi_power_state_string(target_state)); in acpi_device_set_power() 282 device->power.state = target_state; in acpi_device_set_power() 284 acpi_power_state_string(target_state)); in acpi_device_set_power() 669 u32 target_state, int *d_min_p, int *d_max_p) in acpi_dev_pm_get_state() argument 671 char method[] = { '_', 'S', '0' + target_state, 'D', '\0' }; in acpi_dev_pm_get_state() 693 if (target_state > ACPI_STATE_S0) { in acpi_dev_pm_get_state() 721 && adev->wakeup.sleep_state >= target_state; in acpi_dev_pm_get_state() [all …]
|
| /linux/sound/soc/sof/imx/ |
| H A D | imx-common.c | 200 const struct sof_dsp_power_state target_state = { in imx_runtime_resume() local 211 return snd_sof_dsp_set_power_state(sdev, &target_state); in imx_runtime_resume() 216 const struct sof_dsp_power_state target_state = { in imx_resume() local 235 return snd_sof_dsp_set_power_state(sdev, &target_state); in imx_resume() 240 const struct sof_dsp_power_state target_state = { in imx_runtime_suspend() local 249 return snd_sof_dsp_set_power_state(sdev, &target_state); in imx_runtime_suspend() 252 static int imx_suspend(struct snd_sof_dev *sdev, unsigned int target_state) in imx_suspend() argument 255 .state = target_state, in imx_suspend()
|
| /linux/sound/soc/sof/ |
| H A D | pm.c | 202 u32 target_state = snd_sof_dsp_power_target(sdev); in sof_suspend() local 235 pm_state.event = target_state; in sof_suspend() 244 if (target_state == SOF_DSP_PM_D0) in sof_suspend() 279 ret = snd_sof_dsp_suspend(sdev, target_state); in sof_suspend() 286 if (target_state == SOF_DSP_PM_D0) in sof_suspend()
|
| H A D | ipc4.c | 403 const struct sof_dsp_power_state target_state = { in sof_ipc4_tx_msg() local 408 ret = snd_sof_dsp_set_power_state(sdev, &target_state); in sof_ipc4_tx_msg() 439 const struct sof_dsp_power_state target_state = { in sof_ipc4_set_get_data() local 473 ret = snd_sof_dsp_set_power_state(sdev, &target_state); in sof_ipc4_set_get_data()
|
| /linux/sound/hda/common/ |
| H A D | hda_local.h | 638 unsigned int target_state) in snd_hda_check_power_state() argument 640 return snd_hdac_check_power_state(&codec->core, nid, target_state); in snd_hda_check_power_state() 645 unsigned int target_state) in snd_hda_sync_power_state() argument 647 return snd_hdac_sync_power_state(&codec->core, nid, target_state); in snd_hda_sync_power_state()
|
| /linux/drivers/usb/typec/tipd/ |
| H A D | core.c | 160 int (*switch_power_state)(struct tps6598x *tps, u8 target_state); 1131 static int cd321x_switch_power_state(struct tps6598x *tps, u8 target_state) in cd321x_switch_power_state() argument 1140 if (state == target_state) in cd321x_switch_power_state() 1143 ret = tps6598x_exec_cmd(tps, "SSPS", sizeof(u8), &target_state, 0, NULL); in cd321x_switch_power_state() 1151 if (state != target_state) in cd321x_switch_power_state()
|
| /linux/sound/soc/sof/amd/ |
| H A D | acp.h | 355 int amd_sof_acp_suspend(struct snd_sof_dev *sdev, u32 target_state);
|
| H A D | acp.c | 697 int amd_sof_acp_suspend(struct snd_sof_dev *sdev, u32 target_state) in amd_sof_acp_suspend() argument
|
| /linux/include/sound/ |
| H A D | hdaudio.h | 159 hda_nid_t nid, unsigned int target_state); 161 hda_nid_t nid, unsigned int target_state);
|
| /linux/sound/soc/sof/intel/ |
| H A D | byt.c | 86 static int byt_suspend(struct snd_sof_dev *sdev, u32 target_state) in byt_suspend() argument
|
| /linux/sound/soc/sof/mediatek/mt8195/ |
| H A D | mt8195.c | 298 static int mt8195_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state) in mt8195_dsp_suspend() argument
|
| /linux/sound/soc/sof/mediatek/mt8186/ |
| H A D | mt8186.c | 306 static int mt8186_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state) in mt8186_dsp_suspend() argument
|
| /linux/drivers/scsi/ |
| H A D | scsi_transport_iscsi.c | 1801 session->target_state = ISCSI_SESSION_TARGET_SCANNED; in iscsi_user_scan_session() 1984 if (session->target_state == ISCSI_SESSION_TARGET_ALLOCATED) { in __iscsi_unbind_session() 1986 } else if (session->target_state != ISCSI_SESSION_TARGET_SCANNED) { in __iscsi_unbind_session() 1994 session->target_state = ISCSI_SESSION_TARGET_UNBINDING; in __iscsi_unbind_session() 2010 session->target_state = ISCSI_SESSION_TARGET_UNBOUND; in __iscsi_unbind_session() 2089 session->target_state = ISCSI_SESSION_TARGET_ALLOCATED; in iscsi_add_session() 4406 iscsi_session_target_state_name[session->target_state]); in show_priv_session_target_state() 4409 static ISCSI_CLASS_ATTR(priv_sess, target_state, S_IRUGO,
|
| H A D | pmcraid.c | 2318 u8 target_state in pmcraid_reset_reload() argument 2342 if (pinstance->ioa_state == target_state) { in pmcraid_reset_reload() 2371 return pinstance->ioa_state != target_state; in pmcraid_reset_reload()
|