Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/regulator/
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()
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()
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-6.3-rc2/block/
A Dblk-wbt.c71 short enable_state; /* WBT_STATE_* */ member
148 return rwb && rwb->enable_state != WBT_STATE_OFF_DEFAULT && in rwb_enabled()
507 RQWB(rqos)->enable_state == WBT_STATE_OFF_MANUAL; in wbt_disabled()
526 RQWB(rqos)->enable_state = WBT_STATE_ON_MANUAL; in wbt_set_min_lat()
528 RQWB(rqos)->enable_state = WBT_STATE_OFF_MANUAL; in wbt_set_min_lat()
740 RQWB(rqos)->enable_state == WBT_STATE_OFF_DEFAULT) in wbt_enable_default()
741 RQWB(rqos)->enable_state = WBT_STATE_ON_DEFAULT; in wbt_enable_default()
804 if (rwb->enable_state == WBT_STATE_ON_DEFAULT) { in wbt_disable_default()
806 rwb->enable_state = WBT_STATE_OFF_DEFAULT; in wbt_disable_default()
826 seq_printf(m, "%d\n", rwb->enable_state); in wbt_enabled_show()
[all …]
/linux-6.3-rc2/drivers/leds/
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-6.3-rc2/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_encoder_phys_cmd.c198 phys_enc->enable_state = DPU_ENC_ERR_NEEDS_HW_RESET; in _dpu_encoder_phys_cmd_handle_ppdone_timeout()
454 if (phys_enc->enable_state == DPU_ENC_ENABLED) { in dpu_encoder_phys_cmd_enable()
460 phys_enc->enable_state = DPU_ENC_ENABLED; in dpu_encoder_phys_cmd_enable()
509 phys_enc->enable_state); in dpu_encoder_phys_cmd_disable()
511 if (phys_enc->enable_state == DPU_ENC_DISABLED) { in dpu_encoder_phys_cmd_disable()
529 phys_enc->enable_state = DPU_ENC_DISABLED; in dpu_encoder_phys_cmd_disable()
781 phys_enc->enable_state = DPU_ENC_DISABLED; in dpu_encoder_phys_cmd_init()
A Ddpu_encoder_phys_vid.c438 if (phys_enc->enable_state == DPU_ENC_DISABLED) in dpu_encoder_phys_vid_enable()
439 phys_enc->enable_state = DPU_ENC_ENABLING; in dpu_encoder_phys_vid_enable()
541 if (phys_enc->enable_state == DPU_ENC_DISABLED) { in dpu_encoder_phys_vid_disable()
570 phys_enc->enable_state = DPU_ENC_DISABLED; in dpu_encoder_phys_vid_disable()
582 if (phys_enc->enable_state == DPU_ENC_ENABLING) { in dpu_encoder_phys_vid_handle_post_kickoff()
588 phys_enc->enable_state = DPU_ENC_ENABLED; in dpu_encoder_phys_vid_handle_post_kickoff()
710 phys_enc->enable_state = DPU_ENC_DISABLED; in dpu_encoder_phys_vid_init()
A Ddpu_encoder_phys.h195 enum dpu_enc_enable_state enable_state; member
320 if (!phys_enc || phys_enc->enable_state == DPU_ENC_DISABLING) in dpu_encoder_helper_get_3d_blend_mode()
A Ddpu_encoder_phys_wb.c435 phys_enc->enable_state = DPU_ENC_ERR_NEEDS_HW_RESET; in _dpu_encoder_phys_wb_handle_wbdone_timeout()
526 phys_enc->enable_state = DPU_ENC_ENABLED; in dpu_encoder_phys_wb_enable()
539 if (phys_enc->enable_state == DPU_ENC_DISABLED) { in dpu_encoder_phys_wb_disable()
561 phys_enc->enable_state = DPU_ENC_DISABLED; in dpu_encoder_phys_wb_disable()
736 phys_enc->enable_state = DPU_ENC_DISABLED; in dpu_encoder_phys_wb_init()
A Ddpu_encoder.c366 if (phys_enc->enable_state == DPU_ENC_DISABLED) { in dpu_encoder_helper_wait_for_irq()
1502 if (phys->ops.trigger_start && phys->enable_state != DPU_ENC_DISABLED) in _dpu_encoder_trigger_start()
1565 phys_enc->enable_state = DPU_ENC_ENABLED; in dpu_encoder_helper_hw_reset()
1592 if (phys->enable_state == DPU_ENC_DISABLED) in _dpu_encoder_kickoff_phys()
1900 if (phys->enable_state == DPU_ENC_ERR_NEEDS_HW_RESET) in dpu_encoder_prepare_for_kickoff()
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa2/
A Ddpsw-cmd.h149 u8 enable_state; member
160 u8 enable_state; member
A Ddpsw.c176 dpsw_set_field(cmd_params->enable_state, ENABLE, en); in dpsw_set_irq_enable()
/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_drv.c433 dev_priv->enable_state = vmw_read(dev_priv, SVGA_REG_ENABLE); in vmw_device_init()
472 vmw->enable_state); in vmw_device_fini()
A Dvmwgfx_drv.h607 uint32_t enable_state; member

Completed in 49 milliseconds