Home
last modified time | relevance | path

Searched refs:sw_state (Results 1 – 15 of 15) sorted by relevance

/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_privacy_screen.c209 enum drm_privacy_screen_status sw_state) in drm_privacy_screen_set_sw_state() argument
228 priv->hw_state == sw_state) { in drm_privacy_screen_set_sw_state()
229 priv->sw_state = sw_state; in drm_privacy_screen_set_sw_state()
233 ret = priv->ops->set_sw_state(priv, sw_state); in drm_privacy_screen_set_sw_state()
254 *sw_state_ret = priv->sw_state; in drm_privacy_screen_get_state()
319 else if (WARN_ON(priv->sw_state >= ARRAY_SIZE(sw_state_names))) in sw_state_show()
322 ret = sprintf(buf, "%s\n", sw_state_names[priv->sw_state]); in sw_state_show()
331 static DEVICE_ATTR_RO(sw_state);
A Ddrm_connector.c2644 enum drm_privacy_screen_status sw_state, hw_state; in drm_connector_update_privacy_screen_properties() local
2647 &sw_state, &hw_state); in drm_connector_update_privacy_screen_properties()
2650 connector->state->privacy_screen_sw_state = sw_state; in drm_connector_update_privacy_screen_properties()
/linux-6.3-rc2/drivers/input/joystick/
A Dfsia6b.c67 int sw_state; in fsia6b_serio_irq() local
94 sw_state = 0; in fsia6b_serio_irq()
96 sw_state = 1; in fsia6b_serio_irq()
98 sw_state = 2; in fsia6b_serio_irq()
104 sw_state == 0); in fsia6b_serio_irq()
109 sw_state == 1); in fsia6b_serio_irq()
114 sw_state == 2); in fsia6b_serio_irq()
/linux-6.3-rc2/drivers/platform/chrome/
A Dchromeos_privacy_screen.c53 drm_privacy_screen->hw_state = drm_privacy_screen->sw_state = in chromeos_privacy_screen_get_hw_state()
56 drm_privacy_screen->hw_state = drm_privacy_screen->sw_state = in chromeos_privacy_screen_get_hw_state()
97 drm_privacy_screen->hw_state = drm_privacy_screen->sw_state = state; in chromeos_privacy_screen_set_sw_state()
/linux-6.3-rc2/include/drm/
A Ddrm_privacy_screen_driver.h34 enum drm_privacy_screen_status sw_state);
69 enum drm_privacy_screen_status sw_state; member
A Ddrm_privacy_screen_consumer.h23 enum drm_privacy_screen_status sw_state);
42 enum drm_privacy_screen_status sw_state) in drm_privacy_screen_set_sw_state() argument
/linux-6.3-rc2/drivers/staging/media/ipu3/
A Dipu3-css-fw.h111 u32 sw_state; /* Polled from css, enum imgu_abi_sp_swstate */ member
133 u32 sw_state; /* Polled from css, enum imgu_abi_bl_swstate */ member
A Dipu3-css-fw.c168 if (bi->info.bl.sw_state >= css->iomem_length || in imgu_css_fw_init()
180 bi->info.sp.sw_state >= css->iomem_length || in imgu_css_fw_init()
A Dipu3-css.c492 + bi->info.sp.sw_state, in imgu_css_hw_start_sp()
525 base + IMGU_REG_ISP_DMEM_BASE + bl->info.bl.sw_state); in imgu_css_hw_start()
551 + bl->info.bl.sw_state, ~0, in imgu_css_hw_start()
568 base + IMGU_REG_SP_DMEM_BASE(0) + bi->info.sp.sw_state); in imgu_css_hw_start()
596 base + IMGU_REG_SP_DMEM_BASE(1) + bi->info.sp.sw_state); in imgu_css_hw_start()
619 if (readl(base + IMGU_REG_SP_DMEM_BASE(0) + bi->info.sp.sw_state) != in imgu_css_hw_stop()
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/
A Dia_css_acc_types.h305 u32 sw_state; /** Polled from css */ member
322 u32 sw_state; /** Polled from css */ member
A Dsh_css_sp.c1648 HIVE_ADDR_sp_sw_state = fw->info.sp.sw_state; in sh_css_sp_start_isp()
A Dsh_css.c1361 spctrl_cfg->spctrl_state_dmem_addr = fw->info.sp.sw_state; in sh_css_setup_spctrl_config()
/linux-6.3-rc2/tools/testing/selftests/powerpc/eeh/
A Deeh-functions.sh24 local sw_state="$(echo $eeh_state | cut -d' ' -f2)"
/linux-6.3-rc2/drivers/platform/x86/
A Dthinkpad_acpi.c1180 bool sw_state = false; in tpacpi_new_rfkill() local
1207 sw_state = (sw_status == TPACPI_RFK_RADIO_OFF); in tpacpi_new_rfkill()
1211 rfkill_init_sw_state(atp_rfk->rfkill, sw_state); in tpacpi_new_rfkill()
1228 name, (sw_state || hw_state) ? "" : "un"); in tpacpi_new_rfkill()
9986 priv->hw_state = priv->sw_state = state; in lcdshadow_set_sw_state()
9997 priv->hw_state = priv->sw_state = output & 0x1; in lcdshadow_get_hw_state()
10040 lcdshadow_set_sw_state(lcdshadow_dev, lcdshadow_dev->sw_state); in lcdshadow_resume()
/linux-6.3-rc2/drivers/hid/
A Dwacom_wac.c2524 int sw_state = wacom_wac->hid_data.barrelswitch | in wacom_wac_pen_report() local
2526 wacom_wac->hid_data.barrelswitch = sw_state == 1; in wacom_wac_pen_report()
2527 wacom_wac->hid_data.barrelswitch2 = sw_state == 2; in wacom_wac_pen_report()
2528 wacom_wac->hid_data.barrelswitch3 = sw_state == 3; in wacom_wac_pen_report()

Completed in 75 milliseconds