Searched refs:mh248 (Results 1 – 13 of 13) sorted by relevance
43 struct mh248_para *mh248; in hall_fb_notifier_callback() local46 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() local70 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 …]
3 obj-$(CONFIG_HS_MH248) += mh248.o
14 tristate "hall sensor mh248"
14 hall_sensor: hall-mh248 {15 compatible = "hall-mh248";
81 hall_sensor: hall-mh248 {82 compatible = "hall-mh248";1091 mh248_irq_gpio: mh248-irq-gpio {
294 hall_sensor: hall-mh248 {295 compatible = "hall-mh248";1079 mh248_irq_gpio: mh248-irq-gpio {
199 hall_sensor: hall-mh248 {200 compatible = "hall-mh248";939 mh248_irq_gpio: mh248-irq-gpio {
76 hall_sensor: hall-mh248 {77 compatible = "hall-mh248";972 mh248_irq_gpio: mh248-irq-gpio {
192 hall_sensor: hall-mh248 {193 compatible = "hall-mh248";1004 mh248_irq_gpio: mh248-irq-gpio {
159 hall_sensor: hall-mh248 {160 compatible = "hall-mh248";996 mh248_irq_gpio: mh248-irq-gpio {
128 hall_sensor: hall-mh248 {129 compatible = "hall-mh248";
134 hall_sensor: hall-mh248 {135 compatible = "hall-mh248";
104 hall_sensor: hall-mh248 {105 compatible = "hall-mh248";