Home
last modified time | relevance | path

Searched refs:mh248 (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/input/sensors/hall/
H A Dmh248.c43 struct mh248_para *mh248; in hall_fb_notifier_callback() local
46 mh248 = container_of(self, struct mh248_para, fb_notif); in hall_fb_notifier_callback()
51 mutex_lock(&mh248->ops_lock); in hall_fb_notifier_callback()
54 mh248->is_suspend = 0; in hall_fb_notifier_callback()
57 mh248->is_suspend = 1; in hall_fb_notifier_callback()
60 mutex_unlock(&mh248->ops_lock); in hall_fb_notifier_callback()
67 struct mh248_para *mh248 = (struct mh248_para *)dev_id; in hall_mh248_interrupt() local
70 gpio_value = gpio_get_value(mh248->gpio_pin); in hall_mh248_interrupt()
71 if ((gpio_value != mh248->active_value) && in hall_mh248_interrupt()
72 (mh248->is_suspend == 0)) { in hall_mh248_interrupt()
[all …]
H A DMakefile3 obj-$(CONFIG_HS_MH248) += mh248.o
H A DKconfig14 tristate "hall sensor mh248"
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/sensors/
H A Drk_sensor.txt14 hall_sensor: hall-mh248 {
15 compatible = "hall-mh248";
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3588-evb3-lp5.dtsi81 hall_sensor: hall-mh248 {
82 compatible = "hall-mh248";
1091 mh248_irq_gpio: mh248-irq-gpio {
H A Drk3399-tve1205g.dts294 hall_sensor: hall-mh248 {
295 compatible = "hall-mh248";
1079 mh248_irq_gpio: mh248-irq-gpio {
H A Drk3588s-tablet.dtsi199 hall_sensor: hall-mh248 {
200 compatible = "hall-mh248";
939 mh248_irq_gpio: mh248-irq-gpio {
H A Drk3399-mid-818-android.dts76 hall_sensor: hall-mh248 {
77 compatible = "hall-mh248";
972 mh248_irq_gpio: mh248-irq-gpio {
H A Drk3566-rk817-tablet-rkg11.dts192 hall_sensor: hall-mh248 {
193 compatible = "hall-mh248";
1004 mh248_irq_gpio: mh248-irq-gpio {
H A Drk3588s-tablet-single.dtsi159 hall_sensor: hall-mh248 {
160 compatible = "hall-mh248";
996 mh248_irq_gpio: mh248-irq-gpio {
H A Drk3588s-evb1-lp4x.dtsi128 hall_sensor: hall-mh248 {
129 compatible = "hall-mh248";
H A Drk3566-rk817-eink-w103.dts134 hall_sensor: hall-mh248 {
135 compatible = "hall-mh248";
H A Drk3566-rk817-tablet-k108.dts104 hall_sensor: hall-mh248 {
105 compatible = "hall-mh248";