Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/
H 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);
H A Ddrm_connector.c2713 enum drm_privacy_screen_status sw_state, hw_state; in drm_connector_update_privacy_screen_properties() local
2716 &sw_state, &hw_state); in drm_connector_update_privacy_screen_properties()
2719 connector->state->privacy_screen_sw_state = sw_state; in drm_connector_update_privacy_screen_properties()
/openbmc/linux/drivers/input/joystick/
H 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()
/openbmc/linux/drivers/platform/chrome/
H 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()
/openbmc/linux/include/drm/
H A Ddrm_privacy_screen_driver.h34 enum drm_privacy_screen_status sw_state);
69 enum drm_privacy_screen_status sw_state; member
H 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
/openbmc/linux/drivers/staging/media/ipu3/
H 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
H 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()
H 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()
/openbmc/linux/drivers/staging/media/atomisp/pci/
H A Dia_css_acc_types.h305 u32 sw_state; /** Polled from css */ member
322 u32 sw_state; /** Polled from css */ member
H A Dsh_css_sp.c1648 HIVE_ADDR_sp_sw_state = fw->info.sp.sw_state; in sh_css_sp_start_isp()
H A Dsh_css.c1361 spctrl_cfg->spctrl_state_dmem_addr = fw->info.sp.sw_state; in sh_css_setup_spctrl_config()
/openbmc/linux/tools/testing/selftests/powerpc/eeh/
H A Deeh-functions.sh24 local sw_state="$(echo $eeh_state | cut -d' ' -f2)"
/openbmc/linux/drivers/platform/x86/
H A Dthinkpad_acpi.c1169 bool sw_state = false; in tpacpi_new_rfkill() local
1196 sw_state = (sw_status == TPACPI_RFK_RADIO_OFF); in tpacpi_new_rfkill()
1200 rfkill_init_sw_state(atp_rfk->rfkill, sw_state); in tpacpi_new_rfkill()
1217 name, (sw_state || hw_state) ? "" : "un"); in tpacpi_new_rfkill()
9942 priv->hw_state = priv->sw_state = state; in lcdshadow_set_sw_state()
9953 priv->hw_state = priv->sw_state = output & 0x1; in lcdshadow_get_hw_state()
9996 lcdshadow_set_sw_state(lcdshadow_dev, lcdshadow_dev->sw_state); in lcdshadow_resume()
/openbmc/linux/drivers/hid/
H A Dwacom_wac.c2561 int sw_state = wacom_wac->hid_data.barrelswitch | in wacom_wac_pen_report() local
2563 wacom_wac->hid_data.barrelswitch = sw_state == 1; in wacom_wac_pen_report()
2564 wacom_wac->hid_data.barrelswitch2 = sw_state == 2; in wacom_wac_pen_report()
2565 wacom_wac->hid_data.barrelswitch3 = sw_state == 3; in wacom_wac_pen_report()