Lines Matching full:polarity

57 					 const char *func, u32 polarity)  in skl_int3472_fill_gpiod_lookup()  argument
76 table_entry->flags = polarity; in skl_int3472_fill_gpiod_lookup()
83 const char *func, u32 polarity) in skl_int3472_map_gpio_to_sensor() argument
93 agpio, func, polarity); in skl_int3472_map_gpio_to_sensor()
106 const char *func, u32 polarity) in skl_int3472_gpiod_get_from_temp_lookup() argument
117 ret = skl_int3472_fill_gpiod_lookup(&lookup->table[0], agpio, func, polarity); in skl_int3472_gpiod_get_from_temp_lookup()
128 static void int3472_get_func_and_polarity(u8 type, const char **func, u32 *polarity) in int3472_get_func_and_polarity() argument
133 *polarity = GPIO_ACTIVE_LOW; in int3472_get_func_and_polarity()
137 *polarity = GPIO_ACTIVE_LOW; in int3472_get_func_and_polarity()
141 *polarity = GPIO_ACTIVE_HIGH; in int3472_get_func_and_polarity()
145 *polarity = GPIO_ACTIVE_HIGH; in int3472_get_func_and_polarity()
149 *polarity = GPIO_ACTIVE_HIGH; in int3472_get_func_and_polarity()
153 *polarity = GPIO_ACTIVE_HIGH; in int3472_get_func_and_polarity()
200 u32 polarity; in skl_int3472_handle_gpio_resources() local
223 int3472_get_func_and_polarity(type, &func, &polarity); in skl_int3472_handle_gpio_resources()
233 polarity ^= GPIO_ACTIVE_LOW; in skl_int3472_handle_gpio_resources()
237 (polarity == GPIO_ACTIVE_HIGH) ? "high" : "low"); in skl_int3472_handle_gpio_resources()
242 ret = skl_int3472_map_gpio_to_sensor(int3472, agpio, func, polarity); in skl_int3472_handle_gpio_resources()
250 gpio = skl_int3472_gpiod_get_from_temp_lookup(int3472, agpio, func, polarity); in skl_int3472_handle_gpio_resources()