Searched refs:headset_gpio (Results 1 – 25 of 41) sorted by relevance
12
123 level = gpio_get_value(pdata->headset_gpio); in headset_interrupt()126 __func__, pdata->headset_gpio, i); in headset_interrupt()137 __func__, pdata->headset_gpio, i); in headset_interrupt()331 gpio_get_value(pdata->headset_gpio) == 0 : in hook_work_callback()332 gpio_get_value(pdata->headset_gpio) > 0)) { in hook_work_callback()352 gpio_get_value(pdata->headset_gpio) == 0 : in hook_work_callback()353 gpio_get_value(pdata->headset_gpio) > 0)) { in hook_work_callback()436 if (pdata->headset_gpio) { in rk_headset_adc_probe()439 headset->irq[HEADSET] = gpio_to_irq(pdata->headset_gpio); in rk_headset_adc_probe()
59 pdata->headset_gpio = ret; in rockchip_headset_probe()60 ret = devm_gpio_request(&pdev->dev, pdata->headset_gpio, in rockchip_headset_probe()66 ret = gpio_direction_input(pdata->headset_gpio); in rockchip_headset_probe()117 pdata->headset_gpio = ret; in rockchip_headset_probe()
161 level = read_gpio(pdata->headset_gpio); in headsetobserve_work()165 level2 = read_gpio(pdata->headset_gpio); in headsetobserve_work()414 if (pdata->headset_gpio) { in rk_headset_probe()415 headset->irq[HEADSET] = gpio_to_irq(pdata->headset_gpio); in rk_headset_probe()
13 unsigned int headset_gpio; member
30 headset_gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_LOW>;
20 headset_gpio = <&gpio4 RK_PC1 GPIO_ACTIVE_LOW>;
18 headset_gpio = <&gpio3 RK_PC2 GPIO_ACTIVE_LOW>;
20 headset_gpio = <&gpio4 RK_PB3 GPIO_ACTIVE_LOW>;
20 headset_gpio = <&gpio3 RK_PC2 GPIO_ACTIVE_LOW>;
125 headset_gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>;
67 headset_gpio = <&gpio4 RK_PC4 GPIO_ACTIVE_HIGH>;
134 headset_gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>;
69 headset_gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>;
113 headset_gpio = <&gpio3 RK_PC3 GPIO_ACTIVE_LOW>;
142 headset_gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>;
144 headset_gpio = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
150 headset_gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>;
50 headset_gpio = <&gpio2 RK_PC3 GPIO_ACTIVE_HIGH>;
111 headset_gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
180 headset_gpio = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>;
81 headset_gpio = <&gpio2 10 GPIO_ACTIVE_LOW>;
87 headset_gpio = <&gpio2 18 GPIO_ACTIVE_LOW>;
125 headset_gpio = <&gpio7 7 GPIO_ACTIVE_HIGH>;