Searched refs:gpiods (Results 1 - 4 of 4) sorted by relevance
/linux-master/drivers/regulator/ |
H A D | gpio-regulator.c | 36 struct gpio_desc **gpiods; member in struct:gpio_regulator_data 79 gpiod_set_value_cansleep(data->gpiods[ptr], state); 116 gpiod_set_value_cansleep(data->gpiods[ptr], state); 263 drvdata->gpiods = devm_kzalloc(dev, sizeof(struct gpio_desc *), 277 if (!drvdata->gpiods) 280 drvdata->gpiods[i] = devm_gpiod_get_index(dev, 284 if (IS_ERR(drvdata->gpiods[i])) 285 return PTR_ERR(drvdata->gpiods[i]); 287 gpiod_set_consumer_name(drvdata->gpiods[i], drvdata->desc.name);
|
/linux-master/drivers/usb/host/ |
H A D | fhci-hcd.c | 154 if (!gpiod_get_value(fhci->gpiods[GPIO_USBOE])) 158 if (gpiod_get_value(fhci->gpiods[GPIO_USBRP])) 162 if (gpiod_get_value(fhci->gpiods[GPIO_USBRN])) 635 fhci->gpiods[i] = devm_gpiod_get_index(dev, 639 fhci->gpiods[i] = devm_gpiod_get_index_optional(dev, 642 if (IS_ERR(fhci->gpiods[i])) { 644 i, PTR_ERR(fhci->gpiods[i])); 647 if (!fhci->gpiods[i]) {
|
H A D | fhci-hub.c | 41 struct gpio_desc *gpiod = fhci->gpiods[gpio_nr]; 131 gpiod_direction_output(fhci->gpiods[GPIO_USBOE], 0); 132 gpiod_direction_output(fhci->gpiods[GPIO_USBTP], 0); 133 gpiod_direction_output(fhci->gpiods[GPIO_USBTN], 0);
|
H A D | fhci.h | 246 struct gpio_desc *gpiods[NUM_GPIOS]; member in struct:fhci_hcd
|
Completed in 108 milliseconds