Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/input/joystick/
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()
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/
Dipu3-css-fw.h109 u32 sw_state; /* Polled from css, enum imgu_abi_sp_swstate */ member
131 u32 sw_state; /* Polled from css, enum imgu_abi_bl_swstate */ member
Dipu3-css-fw.c166 if (bi->info.bl.sw_state >= css->iomem_length || in imgu_css_fw_init()
178 bi->info.sp.sw_state >= css->iomem_length || in imgu_css_fw_init()
Dipu3-css.c505 + bi->info.sp.sw_state, in imgu_css_hw_start_sp()
538 base + IMGU_REG_ISP_DMEM_BASE + bl->info.bl.sw_state); in imgu_css_hw_start()
564 + bl->info.bl.sw_state, ~0, in imgu_css_hw_start()
581 base + IMGU_REG_SP_DMEM_BASE(0) + bi->info.sp.sw_state); in imgu_css_hw_start()
609 base + IMGU_REG_SP_DMEM_BASE(1) + bi->info.sp.sw_state); in imgu_css_hw_start()
632 if (readl(base + IMGU_REG_SP_DMEM_BASE(0) + bi->info.sp.sw_state) != in imgu_css_hw_stop()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/eeh/
Deeh-functions.sh18 local sw_state="$(echo $eeh_state | cut -d' ' -f2)"
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dia_css_acc_types.h309 u32 sw_state; /** Polled from css */ member
326 u32 sw_state; /** Polled from css */ member
Dsh_css_sp.c1679 HIVE_ADDR_sp_sw_state = fw->info.sp.sw_state; in sh_css_sp_start_isp()
Dsh_css.c1553 spctrl_cfg->spctrl_state_dmem_addr = fw->info.sp.sw_state; in sh_css_setup_spctrl_config()
/kernel/linux/linux-5.10/drivers/hid/
Dwacom_wac.c2454 int sw_state = wacom_wac->hid_data.barrelswitch | in wacom_wac_pen_report() local
2457 input_report_key(input, BTN_STYLUS, sw_state == 1); in wacom_wac_pen_report()
2458 input_report_key(input, BTN_STYLUS2, sw_state == 2); in wacom_wac_pen_report()
2459 input_report_key(input, BTN_STYLUS3, sw_state == 3); in wacom_wac_pen_report()
/kernel/linux/linux-5.10/drivers/platform/x86/
Dthinkpad_acpi.c1243 bool sw_state = false; in tpacpi_new_rfkill() local
1270 sw_state = (sw_status == TPACPI_RFK_RADIO_OFF); in tpacpi_new_rfkill()
1274 rfkill_init_sw_state(atp_rfk->rfkill, sw_state); in tpacpi_new_rfkill()
1291 name, (sw_state || hw_state) ? "" : "un"); in tpacpi_new_rfkill()