Lines Matching defs:func
57 const char *func, u32 polarity)
74 table_entry->con_id = func;
83 const char *func, u32 polarity)
93 agpio, func, polarity);
106 const char *func, u32 polarity)
117 ret = skl_int3472_fill_gpiod_lookup(&lookup->table[0], agpio, func, polarity);
122 desc = devm_gpiod_get(int3472->dev, func, GPIOD_OUT_LOW);
128 static void int3472_get_func_and_polarity(u8 type, const char **func, u32 *polarity)
132 *func = "reset";
136 *func = "powerdown";
140 *func = "clk-enable";
144 *func = "privacy-led";
148 *func = "power-enable";
152 *func = "unknown";
199 const char *func;
223 int3472_get_func_and_polarity(type, &func, &polarity);
228 func, agpio->resource_source.string_ptr, pin,
235 dev_dbg(int3472->dev, "%s %s pin %d active-%s\n", func,
242 ret = skl_int3472_map_gpio_to_sensor(int3472, agpio, func, polarity);
250 gpio = skl_int3472_gpiod_get_from_temp_lookup(int3472, agpio, func, polarity);