Lines Matching full:gpiod

35  * @gpiod:	gpio descriptor
46 struct gpio_desc *gpiod; member
55 gpiod_set_value(clk->gpiod, 1); in clk_gpio_gate_enable()
64 gpiod_set_value(clk->gpiod, 0); in clk_gpio_gate_disable()
71 return gpiod_get_value(clk->gpiod); in clk_gpio_gate_is_enabled()
84 gpiod_set_value_cansleep(clk->gpiod, 1); in clk_sleeping_gpio_gate_prepare()
93 gpiod_set_value_cansleep(clk->gpiod, 0); in clk_sleeping_gpio_gate_unprepare()
100 return gpiod_get_value_cansleep(clk->gpiod); in clk_sleeping_gpio_gate_is_prepared()
121 return gpiod_get_value_cansleep(clk->gpiod); in clk_gpio_mux_get_parent()
128 gpiod_set_value_cansleep(clk->gpiod, index); in clk_gpio_mux_set_parent()
140 struct gpio_desc *gpiod, in clk_register_gpio() argument
162 clk_gpio->gpiod = gpiod; in clk_register_gpio()
175 struct gpio_desc *gpiod) in clk_hw_register_gpio_gate() argument
179 if (gpiod_cansleep(gpiod)) in clk_hw_register_gpio_gate()
184 return clk_register_gpio(dev, num_parents, gpiod, ops); in clk_hw_register_gpio_gate()
188 struct gpio_desc *gpiod) in clk_hw_register_gpio_mux() argument
190 return clk_register_gpio(dev, 2, gpiod, &clk_gpio_mux_ops); in clk_hw_register_gpio_mux()
199 struct gpio_desc *gpiod; in gpio_clk_driver_probe() local
213 gpiod = devm_gpiod_get(dev, gpio_name, GPIOD_OUT_LOW); in gpio_clk_driver_probe()
214 if (IS_ERR(gpiod)) { in gpio_clk_driver_probe()
215 ret = PTR_ERR(gpiod); in gpio_clk_driver_probe()
227 hw = clk_hw_register_gpio_mux(dev, gpiod); in gpio_clk_driver_probe()
229 hw = clk_hw_register_gpio_gate(dev, num_parents, gpiod); in gpio_clk_driver_probe()