Searched refs:sw_state (Results 1 – 15 of 15) sorted by relevance
/linux-6.3-rc2/drivers/gpu/drm/ |
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);
|
A D | drm_connector.c | 2644 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 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()
|
/linux-6.3-rc2/drivers/platform/chrome/ |
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()
|
/linux-6.3-rc2/include/drm/ |
A D | drm_privacy_screen_driver.h | 34 enum drm_privacy_screen_status sw_state); 69 enum drm_privacy_screen_status sw_state; member
|
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
|
/linux-6.3-rc2/drivers/staging/media/ipu3/ |
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
|
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()
|
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()
|
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/ |
A D | ia_css_acc_types.h | 305 u32 sw_state; /** Polled from css */ member 322 u32 sw_state; /** Polled from css */ member
|
A D | sh_css_sp.c | 1648 HIVE_ADDR_sp_sw_state = fw->info.sp.sw_state; in sh_css_sp_start_isp()
|
A D | sh_css.c | 1361 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 D | eeh-functions.sh | 24 local sw_state="$(echo $eeh_state | cut -d' ' -f2)"
|
/linux-6.3-rc2/drivers/platform/x86/ |
A D | thinkpad_acpi.c | 1180 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 D | wacom_wac.c | 2524 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