/linux-4.19.296/drivers/clk/ |
D | clk-gpio.c | 38 gpiod_set_value(clk->gpiod, 1); in clk_gpio_gate_enable() 47 gpiod_set_value(clk->gpiod, 0); in clk_gpio_gate_disable() 54 return gpiod_get_value(clk->gpiod); in clk_gpio_gate_is_enabled() 76 return gpiod_get_value_cansleep(clk->gpiod); in clk_gpio_mux_get_parent() 83 gpiod_set_value_cansleep(clk->gpiod, index); in clk_gpio_mux_set_parent() 96 const char * const *parent_names, u8 num_parents, struct gpio_desc *gpiod, in clk_register_gpio() argument 118 clk_gpio->gpiod = gpiod; in clk_register_gpio() 147 const char *parent_name, struct gpio_desc *gpiod, in clk_hw_register_gpio_gate() argument 152 (parent_name ? 1 : 0), gpiod, flags, in clk_hw_register_gpio_gate() 158 const char *parent_name, struct gpio_desc *gpiod, in clk_register_gpio_gate() argument [all …]
|
/linux-4.19.296/drivers/extcon/ |
D | extcon-max3355.c | 61 struct gpio_desc *gpiod; in max3355_probe() local 69 gpiod = devm_gpiod_get(&pdev->dev, "id", GPIOD_IN); in max3355_probe() 70 if (IS_ERR(gpiod)) { in max3355_probe() 72 return PTR_ERR(gpiod); in max3355_probe() 74 data->id_gpiod = gpiod; in max3355_probe() 76 gpiod = devm_gpiod_get(&pdev->dev, "maxim,shdn", GPIOD_OUT_HIGH); in max3355_probe() 77 if (IS_ERR(gpiod)) { in max3355_probe() 79 return PTR_ERR(gpiod); in max3355_probe() 81 data->shdn_gpiod = gpiod; in max3355_probe()
|
D | extcon-gpio.c | 49 struct gpio_desc *gpiod; member 63 state = gpiod_get_value_cansleep(data->gpiod); in gpio_extcon_work() 96 data->gpiod = devm_gpiod_get(dev, "extcon", GPIOD_IN); in gpio_extcon_probe() 97 if (IS_ERR(data->gpiod)) in gpio_extcon_probe() 98 return PTR_ERR(data->gpiod); in gpio_extcon_probe() 99 data->irq = gpiod_to_irq(data->gpiod); in gpio_extcon_probe()
|
/linux-4.19.296/drivers/media/rc/ |
D | gpio-ir-recv.c | 29 struct gpio_desc *gpiod; member 38 val = gpiod_get_value(gpio_dev->gpiod); in gpio_ir_recv_irq() 60 gpio_dev->gpiod = devm_gpiod_get(dev, NULL, GPIOD_IN); in gpio_ir_recv_probe() 61 if (IS_ERR(gpio_dev->gpiod)) { in gpio_ir_recv_probe() 62 rc = PTR_ERR(gpio_dev->gpiod); in gpio_ir_recv_probe() 68 gpio_dev->irq = gpiod_to_irq(gpio_dev->gpiod); in gpio_ir_recv_probe()
|
/linux-4.19.296/drivers/regulator/ |
D | max8952.c | 200 struct gpio_desc *gpiod; in max8952_pmic_probe() local 233 gpiod = devm_gpiod_get_optional(&client->dev, in max8952_pmic_probe() 236 if (IS_ERR(gpiod)) in max8952_pmic_probe() 237 return PTR_ERR(gpiod); in max8952_pmic_probe() 238 if (gpiod) in max8952_pmic_probe() 239 config.ena_gpiod = gpiod; in max8952_pmic_probe()
|
D | lm363x-regulator.c | 246 struct gpio_desc *gpiod; in lm363x_regulator_probe() local 256 gpiod = lm363x_regulator_of_get_enable_gpio(dev, id); in lm363x_regulator_probe() 257 if (gpiod) { in lm363x_regulator_probe() 258 cfg.ena_gpiod = gpiod; in lm363x_regulator_probe()
|
D | max8973-regulator.c | 635 struct gpio_desc *gpiod; in max8973_probe() local 761 gpiod = devm_gpiod_get_optional(&client->dev, in max8973_probe() 764 if (IS_ERR(gpiod)) in max8973_probe() 765 return PTR_ERR(gpiod); in max8973_probe() 766 if (gpiod) { in max8973_probe() 767 config.ena_gpiod = gpiod; in max8973_probe() 778 gpiod = devm_gpiod_get_optional(&client->dev, in max8973_probe() 781 if (IS_ERR(gpiod)) in max8973_probe() 782 return PTR_ERR(gpiod); in max8973_probe() 783 if (gpiod) in max8973_probe()
|
D | tps65090-regulator.c | 378 rpdata->gpiod = devm_gpiod_get_from_of_node(&pdev->dev, in tps65090_parse_dt_reg_data() 383 if (IS_ERR(rpdata->gpiod)) in tps65090_parse_dt_reg_data() 384 return ERR_CAST(rpdata->gpiod); in tps65090_parse_dt_reg_data() 385 if (!rpdata->gpiod) in tps65090_parse_dt_reg_data() 457 config.ena_gpiod = tps_pdata->gpiod; in tps65090_regulator_probe()
|
D | core.c | 80 struct gpio_desc *gpiod; member 2072 struct gpio_desc *gpiod; in regulator_ena_gpio_request() local 2076 gpiod = config->ena_gpiod; in regulator_ena_gpio_request() 2078 gpiod = gpio_to_desc(config->ena_gpio); in regulator_ena_gpio_request() 2081 if (pin->gpiod == gpiod) { in regulator_ena_gpio_request() 2103 pin->gpiod = gpiod; in regulator_ena_gpio_request() 2122 if (pin->gpiod == rdev->ena_pin->gpiod) { in regulator_ena_gpio_free() 2125 gpiod_put(pin->gpiod); in regulator_ena_gpio_free() 2155 gpiod_set_value_cansleep(pin->gpiod, in regulator_ena_gpio_ctrl() 2167 gpiod_set_value_cansleep(pin->gpiod, in regulator_ena_gpio_ctrl()
|
/linux-4.19.296/include/linux/ |
D | w1-gpio.h | 19 struct gpio_desc *gpiod; member
|
D | clk-provider.h | 717 struct gpio_desc *gpiod; member 724 const char *parent_name, struct gpio_desc *gpiod, 727 const char *parent_name, struct gpio_desc *gpiod, 743 const char * const *parent_names, u8 num_parents, struct gpio_desc *gpiod, 746 const char * const *parent_names, u8 num_parents, struct gpio_desc *gpiod,
|
D | leds.h | 424 struct gpio_desc *gpiod; member
|
/linux-4.19.296/include/linux/mfd/ |
D | tps65090.h | 109 struct gpio_desc *gpiod; member
|
/linux-4.19.296/drivers/gpio/ |
D | gpio-mvebu.c | 98 struct gpio_desc *gpiod; member 607 if (mvpwm->gpiod) { in mvebu_pwm_request() 623 mvpwm->gpiod = desc; in mvebu_pwm_request() 636 gpiochip_free_own_desc(mvpwm->gpiod); in mvebu_pwm_free() 637 mvpwm->gpiod = NULL; in mvebu_pwm_free()
|
/linux-4.19.296/drivers/iio/pressure/ |
D | bmp280-core.c | 994 struct gpio_desc *gpiod; in bmp280_common_probe() local 1063 gpiod = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in bmp280_common_probe() 1065 if (!IS_ERR(gpiod)) { in bmp280_common_probe() 1067 gpiod_set_value(gpiod, 0); in bmp280_common_probe()
|