Lines Matching full:polarity
58 const char *func, u32 polarity) in skl_int3472_fill_gpiod_lookup() argument
73 *table_entry = GPIO_LOOKUP(acpi_dev_name(adev), agpio->pin_table[0], func, polarity); in skl_int3472_fill_gpiod_lookup()
80 const char *func, u32 polarity) in skl_int3472_map_gpio_to_sensor() argument
90 agpio, func, polarity); in skl_int3472_map_gpio_to_sensor()
103 const char *func, u32 polarity) in skl_int3472_gpiod_get_from_temp_lookup() argument
114 ret = skl_int3472_fill_gpiod_lookup(&lookup->table[0], agpio, func, polarity); in skl_int3472_gpiod_get_from_temp_lookup()
125 static void int3472_get_func_and_polarity(u8 type, const char **func, u32 *polarity) in int3472_get_func_and_polarity() argument
130 *polarity = GPIO_ACTIVE_LOW; in int3472_get_func_and_polarity()
134 *polarity = GPIO_ACTIVE_LOW; in int3472_get_func_and_polarity()
138 *polarity = GPIO_ACTIVE_HIGH; in int3472_get_func_and_polarity()
142 *polarity = GPIO_ACTIVE_HIGH; in int3472_get_func_and_polarity()
146 *polarity = GPIO_ACTIVE_HIGH; in int3472_get_func_and_polarity()
150 *polarity = GPIO_ACTIVE_HIGH; in int3472_get_func_and_polarity()
197 u32 polarity; in skl_int3472_handle_gpio_resources() local
220 int3472_get_func_and_polarity(type, &func, &polarity); in skl_int3472_handle_gpio_resources()
230 polarity ^= GPIO_ACTIVE_LOW; in skl_int3472_handle_gpio_resources()
234 str_high_low(polarity == GPIO_ACTIVE_HIGH)); in skl_int3472_handle_gpio_resources()
239 ret = skl_int3472_map_gpio_to_sensor(int3472, agpio, func, polarity); in skl_int3472_handle_gpio_resources()
247 gpio = skl_int3472_gpiod_get_from_temp_lookup(int3472, agpio, func, polarity); in skl_int3472_handle_gpio_resources()