/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_privacy_screen.c | 209 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 D | drm_connector.c | 2713 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 D | fsia6b.c | 67 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 D | chromeos_privacy_screen.c | 53 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 D | drm_privacy_screen_driver.h | 34 enum drm_privacy_screen_status sw_state); 69 enum drm_privacy_screen_status sw_state; member
|
H A D | drm_privacy_screen_consumer.h | 23 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 D | ipu3-css-fw.h | 111 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 D | ipu3-css-fw.c | 168 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 D | ipu3-css.c | 492 + 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 D | ia_css_acc_types.h | 305 u32 sw_state; /** Polled from css */ member 322 u32 sw_state; /** Polled from css */ member
|
H A D | sh_css_sp.c | 1648 HIVE_ADDR_sp_sw_state = fw->info.sp.sw_state; in sh_css_sp_start_isp()
|
H A D | sh_css.c | 1361 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 D | eeh-functions.sh | 24 local sw_state="$(echo $eeh_state | cut -d' ' -f2)"
|
/openbmc/linux/drivers/platform/x86/ |
H A D | thinkpad_acpi.c | 1169 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 D | wacom_wac.c | 2561 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()
|