Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/leds/
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()
Dleds-pca955x.c133 int default_state; member
462 led->default_state = LEDS_GPIO_DEFSTATE_KEEP; in pca955x_get_pdata()
464 led->default_state = LEDS_GPIO_DEFSTATE_ON; in pca955x_get_pdata()
466 led->default_state = LEDS_GPIO_DEFSTATE_OFF; in pca955x_get_pdata()
468 led->default_state = LEDS_GPIO_DEFSTATE_OFF; in pca955x_get_pdata()
581 if (pdata->leds[i].default_state == in pca955x_probe()
586 } else if (pdata->leds[i].default_state == in pca955x_probe()
626 if (pdata->leds[i].default_state == in pca955x_probe()
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()
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-6.1.9/drivers/base/
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-6.1.9/arch/arm/mach-s3c/
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,
Dmach-smdk6410.c495 .default_state = LEDS_GPIO_DEFSTATE_ON,
/linux-6.1.9/arch/mips/loongson32/ls1b/
Dboard.c21 .default_state = LEDS_GPIO_DEFSTATE_OFF,
27 .default_state = LEDS_GPIO_DEFSTATE_OFF,
/linux-6.1.9/arch/arm/mach-omap1/
Dboard-ams-delta.c408 .default_state = LEDS_GPIO_DEFSTATE_OFF,
412 .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,
/linux-6.1.9/include/linux/pinctrl/
Ddevinfo.h32 struct pinctrl_state *default_state; member
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dselftest_lrc.c178 if (!engine->default_state) in live_lrc_layout()
181 hw = shmem_pin_map(engine->default_state); in live_lrc_layout()
265 shmem_unpin_map(engine->default_state, hw); in live_lrc_layout()
372 if (!engine->default_state) in live_lrc_fixed()
375 hw = shmem_pin_map(engine->default_state); in live_lrc_fixed()
396 shmem_unpin_map(engine->default_state, hw); in live_lrc_fixed()
986 defaults = shmem_pin_map(ce->engine->default_state); in store_context()
1048 shmem_unpin_map(ce->engine->default_state, defaults); in store_context()
1172 defaults = shmem_pin_map(ce->engine->default_state); in load_context()
1221 shmem_unpin_map(ce->engine->default_state, defaults); in load_context()
[all …]
Dintel_engine_user.c280 unsigned int expected = engine->default_state ? bit : 0; in intel_engines_driver_register()
304 if (engine->default_state) in intel_engines_has_context_isolation()
Dselftest_context.c174 saved = fetch_and_zero(&engine->default_state); in live_context_size()
183 engine->default_state = saved; in live_context_size()
Dintel_engine_types.h420 struct file *default_state; member
/linux-6.1.9/drivers/platform/x86/intel/atomisp2/
Dled.c24 .default_state = LEDS_GPIO_DEFSTATE_OFF,
/linux-6.1.9/drivers/gpu/drm/rockchip/
Drockchip_lvds.c252 if (lvds->pins && !IS_ERR(lvds->pins->default_state)) in rk3288_lvds_grf_config()
254 lvds->pins->default_state); in rk3288_lvds_grf_config()
476 lvds->pins->default_state = in rk3288_lvds_probe()
478 if (IS_ERR(lvds->pins->default_state)) { in rk3288_lvds_probe()
/linux-6.1.9/drivers/leds/flash/
Dleds-mt6360.c87 u32 default_state; member
407 switch (led->default_state) { in mt6360_isnk_init_default_state()
445 switch (led->default_state) { in mt6360_flash_init_default_state()
776 led->default_state = ret; in mt6360_init_common_properties()
/linux-6.1.9/arch/arm/mach-sa1100/
Dassabet.c489 .default_state = LEDS_GPIO_DEFSTATE_KEEP,
493 .default_state = LEDS_GPIO_DEFSTATE_KEEP,
/linux-6.1.9/arch/mips/bcm47xx/
Dleds.c17 .default_state = _default_state, \
26 .default_state = LEDS_GPIO_DEFSTATE_OFF, \
/linux-6.1.9/include/linux/
Dleds.h524 unsigned default_state : 2; member
/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Dintel_uncore.c213 if (!engine->default_state) in live_forcewake_ops()
/linux-6.1.9/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ads.c555 if (!engine->default_state) in find_engine_state()
611 shmem_read_to_iosys_map(engine->default_state, 0, &guc->ads_map, in guc_init_golden_context()
/linux-6.1.9/drivers/pinctrl/
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-6.1.9/Documentation/driver-api/
Drfkill.rst32 The rfkill subsystem has two parameters, rfkill.default_state and
/linux-6.1.9/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c181 struct pinctrl_state *default_state; member
342 pinctrl_select_state(hdmi->pinctrl, hdmi->default_state); in dw_hdmi_i2c_unwedge()
3533 hdmi->default_state = in dw_hdmi_probe()
3536 if (IS_ERR(hdmi->default_state) || in dw_hdmi_probe()
3541 hdmi->default_state = NULL; in dw_hdmi_probe()

12