Home
last modified time | relevance | path

Searched refs:enable_state (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/thermal/intel/int340x_thermal/
H A Dprocessor_thermal_power_floor.c47 static bool enable_state; variable
55 if (enable_state == enable) in proc_thermal_power_floor_set_state()
65 enable_state = enable; in proc_thermal_power_floor_set_state()
76 return enable_state; in proc_thermal_power_floor_get_state()
/linux/drivers/regulator/
H A Drt6245-regulator.c35 bool enable_state; member
55 priv->enable_state = true; in rt6245_enable()
72 priv->enable_state = false; in rt6245_disable()
80 return priv->enable_state ? 1 : 0; in rt6245_is_enabled()
200 priv->enable_state = true; in rt6245_probe()
H A Drt6160-regulator.c45 bool enable_state; member
60 priv->enable_state = true; in rt6160_enable()
79 priv->enable_state = false; in rt6160_disable()
89 return priv->enable_state ? 1 : 0; in rt6160_is_enabled()
248 priv->enable_state = true; in rt6160_probe()
H A Dqcom_rpm-regulator.c36 struct request_member enable_state; /* NCP and switch */ member
91 .enable_state = { 0, 0x00000001, 0 },
101 .enable_state = { 0, 0x00001000, 12 },
133 .enable_state = { 0, 0x00000001, 0 },
143 .enable_state = { 0, 0x00800000, 23 },
309 const struct request_member *req = &parts->enable_state; in rpm_reg_switch_enable()
366 const struct request_member *req = &parts->enable_state; in rpm_reg_switch_disable()
/linux/block/
H A Dblk-wbt.c72 short enable_state; /* WBT_STATE_* */ member
147 return rwb && rwb->enable_state != WBT_STATE_OFF_DEFAULT && in rwb_enabled()
148 rwb->enable_state != WBT_STATE_OFF_MANUAL; in rwb_enabled()
515 RQWB(rqos)->enable_state = WBT_STATE_ON_MANUAL; in wbt_set_min_lat()
517 RQWB(rqos)->enable_state = WBT_STATE_OFF_MANUAL; in wbt_set_min_lat()
717 if (enable && RQWB(rqos)->enable_state == WBT_STATE_OFF_DEFAULT) in wbt_enable_default()
718 RQWB(rqos)->enable_state = WBT_STATE_ON_DEFAULT; in wbt_enable_default()
781 if (rwb->enable_state == WBT_STATE_ON_DEFAULT) { in wbt_disable_default()
783 rwb->enable_state = WBT_STATE_OFF_DEFAULT; in wbt_disable_default()
803 seq_printf(m, "%d\n", rwb->enable_state); in wbt_enabled_show()
[all …]
/linux/drivers/leds/
H A Dleds-lm3692x.c170 int enable_state; in lm3692x_leds_enable() local
250 enable_state = LM3692X_LED1_EN | LM3692X_LED2_EN | in lm3692x_leds_enable()
253 enable_state = LM3692X_LED1_EN | LM3692X_LED2_EN; in lm3692x_leds_enable()
257 enable_state = LM3692X_LED1_EN; in lm3692x_leds_enable()
260 enable_state = LM3692X_LED2_EN; in lm3692x_leds_enable()
265 enable_state = LM36923_LED3_EN; in lm3692x_leds_enable()
276 enable_state | LM3692X_DEVICE_EN); in lm3692x_leds_enable()
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_encoder_phys_vid.c493 if (phys_enc->enable_state == DPU_ENC_DISABLED) in dpu_encoder_phys_vid_enable()
494 phys_enc->enable_state = DPU_ENC_ENABLING; in dpu_encoder_phys_vid_enable()
591 if (phys_enc->enable_state == DPU_ENC_DISABLED) { in dpu_encoder_phys_vid_disable()
641 phys_enc->enable_state = DPU_ENC_DISABLED; in dpu_encoder_phys_vid_disable()
653 if (phys_enc->enable_state == DPU_ENC_ENABLING) { in dpu_encoder_phys_vid_handle_post_kickoff()
659 phys_enc->enable_state = DPU_ENC_ENABLED; in dpu_encoder_phys_vid_handle_post_kickoff()
H A Ddpu_encoder_phys_wb.c428 phys_enc->enable_state = DPU_ENC_ERR_NEEDS_HW_RESET; in _dpu_encoder_phys_wb_handle_wbdone_timeout()
520 phys_enc->enable_state = DPU_ENC_ENABLED; in dpu_encoder_phys_wb_enable()
533 if (phys_enc->enable_state == DPU_ENC_DISABLED) { in dpu_encoder_phys_wb_disable()
554 phys_enc->enable_state = DPU_ENC_DISABLED; in dpu_encoder_phys_wb_disable()
H A Ddpu_encoder.c470 if (phys_enc->enable_state == DPU_ENC_DISABLED) { in dpu_encoder_helper_wait_for_irq()
1706 if (phys->ops.trigger_start && phys->enable_state != DPU_ENC_DISABLED) in _dpu_encoder_trigger_start()
1777 phys_enc->enable_state = DPU_ENC_ENABLED; in dpu_encoder_helper_hw_reset()
1804 if (phys->enable_state == DPU_ENC_DISABLED) in _dpu_encoder_kickoff_phys()
2093 if (phys->enable_state == DPU_ENC_ERR_NEEDS_HW_RESET) in dpu_encoder_prepare_for_kickoff()
2815 phys_enc->enable_state = DPU_ENC_DISABLED; in dpu_encoder_phys_init()
/linux/tools/sched_ext/
H A Dscx_show_state.py31 enable_state = read_atomic("scx_ops_enable_state_var") variable
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpsw-cmd.h149 u8 enable_state; member
160 u8 enable_state; member
H A Ddpsw.c176 dpsw_set_field(cmd_params->enable_state, ENABLE, en); in dpsw_set_irq_enable()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_drv.c443 dev_priv->enable_state = vmw_read(dev_priv, SVGA_REG_ENABLE); in vmw_device_init()
482 vmw->enable_state); in vmw_device_fini()
H A Dvmwgfx_drv.h558 uint32_t enable_state; member