Home
last modified time | relevance | path

Searched refs:default_state (Results 1 – 25 of 33) sorted by relevance

12

/linux/drivers/leds/
A Dleds-pwm.c25 u8 default_state; member
83 switch (led->default_state) { in led_pwm_add()
88 led->default_state = LEDS_DEFSTATE_OFF; in led_pwm_add()
99 switch (led->default_state) { in led_pwm_add()
122 if (led->default_state != LEDS_DEFSTATE_KEEP) { in led_pwm_add()
158 led.default_state = led_init_default_state_get(fwnode); in led_pwm_create_fwnode()
A Dleds-pca955x.c131 int default_state; member
457 led->default_state = LEDS_GPIO_DEFSTATE_KEEP; in pca955x_get_pdata()
459 led->default_state = LEDS_GPIO_DEFSTATE_ON; in pca955x_get_pdata()
461 led->default_state = LEDS_GPIO_DEFSTATE_OFF; in pca955x_get_pdata()
463 led->default_state = LEDS_GPIO_DEFSTATE_OFF; in pca955x_get_pdata()
579 if (pdata->leds[i].default_state == in pca955x_probe()
584 } else if (pdata->leds[i].default_state == in pca955x_probe()
622 if (pdata->leds[i].default_state == in pca955x_probe()
A Dleds-an30259a.c69 u32 default_state; member
234 led->default_state = STATE_ON; in an30259a_dt_init()
236 led->default_state = STATE_KEEP; in an30259a_dt_init()
238 led->default_state = STATE_OFF; in an30259a_dt_init()
263 switch (led->default_state) { in an30259a_init_default_state()
A Dleds-gpio.c93 if (template->default_state == LEDS_GPIO_DEFSTATE_KEEP) { in create_gpio_led()
98 state = (template->default_state == LEDS_GPIO_DEFSTATE_ON); in create_gpio_led()
164 led.default_state = led_init_default_state_get(child); in gpio_leds_create()
/linux/arch/arm/mach-s3c/
A Dmach-crag6410.c782 .default_state = LEDS_GPIO_DEFSTATE_ON,
787 .default_state = LEDS_GPIO_DEFSTATE_ON,
792 .default_state = LEDS_GPIO_DEFSTATE_ON,
797 .default_state = LEDS_GPIO_DEFSTATE_ON,
802 .default_state = LEDS_GPIO_DEFSTATE_ON,
807 .default_state = LEDS_GPIO_DEFSTATE_ON,
812 .default_state = LEDS_GPIO_DEFSTATE_ON,
817 .default_state = LEDS_GPIO_DEFSTATE_ON,
A Dmach-smdk6410.c495 .default_state = LEDS_GPIO_DEFSTATE_ON,
/linux/drivers/base/
A Dpinctrl.c39 dev->pins->default_state = pinctrl_lookup_state(dev->pins->p, in pinctrl_bind_pins()
41 if (IS_ERR(dev->pins->default_state)) { in pinctrl_bind_pins()
54 dev->pins->default_state); in pinctrl_bind_pins()
/linux/arch/mips/loongson32/ls1b/
A Dboard.c21 .default_state = LEDS_GPIO_DEFSTATE_OFF,
27 .default_state = LEDS_GPIO_DEFSTATE_OFF,
/linux/arch/arm/mach-omap1/
A Dboard-ams-delta.c409 .default_state = LEDS_GPIO_DEFSTATE_OFF,
416 .default_state = LEDS_GPIO_DEFSTATE_OFF,
420 .default_state = LEDS_GPIO_DEFSTATE_OFF,
424 .default_state = LEDS_GPIO_DEFSTATE_OFF,
428 .default_state = LEDS_GPIO_DEFSTATE_OFF,
432 .default_state = LEDS_GPIO_DEFSTATE_OFF,
/linux/drivers/gpu/drm/i915/gt/
A Dselftest_lrc.c152 if (!engine->default_state) in live_lrc_layout()
155 hw = shmem_pin_map(engine->default_state); in live_lrc_layout()
226 shmem_unpin_map(engine->default_state, hw); in live_lrc_layout()
328 if (!engine->default_state) in live_lrc_fixed()
331 hw = shmem_pin_map(engine->default_state); in live_lrc_fixed()
352 shmem_unpin_map(engine->default_state, hw); in live_lrc_fixed()
929 defaults = shmem_pin_map(ce->engine->default_state); in store_context()
969 shmem_unpin_map(ce->engine->default_state, defaults); in store_context()
1093 defaults = shmem_pin_map(ce->engine->default_state); in load_context()
1129 shmem_unpin_map(ce->engine->default_state, defaults); in load_context()
[all …]
A Dintel_engine_user.c276 unsigned int expected = engine->default_state ? bit : 0; in intel_engines_driver_register()
300 if (engine->default_state) in intel_engines_has_context_isolation()
A Dselftest_context.c174 saved = fetch_and_zero(&engine->default_state); in live_context_size()
183 engine->default_state = saved; in live_context_size()
A Dintel_engine_types.h336 struct file *default_state; member
/linux/include/linux/pinctrl/
A Ddevinfo.h32 struct pinctrl_state *default_state; member
/linux/drivers/gpu/drm/rockchip/
A Drockchip_lvds.c246 if (lvds->pins && !IS_ERR(lvds->pins->default_state)) in rk3288_lvds_grf_config()
248 lvds->pins->default_state); in rk3288_lvds_grf_config()
466 lvds->pins->default_state = in rk3288_lvds_probe()
468 if (IS_ERR(lvds->pins->default_state)) { in rk3288_lvds_probe()
/linux/drivers/platform/x86/intel/atomisp2/
A Dled.c24 .default_state = LEDS_GPIO_DEFSTATE_OFF,
/linux/arch/arm/mach-sa1100/
A Dassabet.c489 .default_state = LEDS_GPIO_DEFSTATE_KEEP,
493 .default_state = LEDS_GPIO_DEFSTATE_KEEP,
/linux/arch/mips/bcm47xx/
A Dleds.c17 .default_state = _default_state, \
26 .default_state = LEDS_GPIO_DEFSTATE_OFF, \
/linux/drivers/gpu/drm/i915/gt/uc/
A Dintel_guc_ads.c433 if (!engine->default_state) in find_engine_state()
492 shmem_read(engine->default_state, 0, ptr, real_size); in guc_init_golden_context()
/linux/drivers/gpu/drm/i915/selftests/
A Dintel_uncore.c211 if (!engine->default_state) in live_forcewake_ops()
/linux/include/linux/
A Dleds.h524 unsigned default_state : 2; member
/linux/drivers/pinctrl/
A Dcore.c1544 if (IS_ERR(pins->default_state)) in pinctrl_init_done()
1547 ret = pinctrl_select_state(pins->p, pins->default_state); in pinctrl_init_done()
1578 return pinctrl_select_bound_state(dev, dev->pins->default_state); in pinctrl_select_default_state()
/linux/drivers/gpu/drm/bridge/synopsys/
A Ddw-hdmi.c180 struct pinctrl_state *default_state; member
338 pinctrl_select_state(hdmi->pinctrl, hdmi->default_state); in dw_hdmi_i2c_unwedge()
3394 hdmi->default_state = in dw_hdmi_probe()
3397 if (IS_ERR(hdmi->default_state) || in dw_hdmi_probe()
3402 hdmi->default_state = NULL; in dw_hdmi_probe()
/linux/net/rfkill/
A Dcore.c106 module_param_named(default_state, rfkill_default_state, uint, 0444);
107 MODULE_PARM_DESC(default_state,
/linux/Documentation/driver-api/
A Drfkill.rst32 The rfkill subsystem has two parameters, rfkill.default_state and

Completed in 58 milliseconds

12