/external/u-boot/board/gdsys/a38x/ |
dt_helpers.h | 13 uint offset, char *gpio_name);
|
dt_helpers.c | 29 uint offset, char *gpio_name) 40 return dm_gpio_request(gpio, gpio_name);
|
ihs_phys.c | 69 char gpio_name[64]; local 76 snprintf(gpio_name, 64, "cat-gpio-%u", k); 78 if (request_gpio_by_name(&gpio, dev_name[k], 0x20, gpio_name)) 88 snprintf(gpio_name, 64, "second-octo-gpio-%u", k); 90 if (request_gpio_by_name(&gpio, dev_name[k], 0x27, gpio_name)) {
|
/external/u-boot/cmd/ |
gpio.c | 66 static int do_gpio_status(bool all, const char *gpio_name) 74 if (gpio_name && !*gpio_name) 75 gpio_name = NULL; 92 if (!gpio_name || !bank_name || 93 !strncmp(gpio_name, bank_name, banklen)) { 97 p = gpio_name + banklen; 98 if (gpio_name && *p) {
|
/external/autotest/server/site_tests/firmware_ECUsbPorts/ |
firmware_ECUsbPorts.py | 90 gpio_name = self.__get_usb_enable_name(cnt) 92 "gpioget %s" % gpio_name, 93 ["[01].\s*%s" % gpio_name]) 118 gpio_name = self.__get_usb_enable_name(idx) 120 "gpioget %s" % gpio_name, 121 ["0.\s*%s" % gpio_name])
|
/device/google/bonito/ |
init.edge_sense.sh | 70 gpio_name=gpio${gpio_num} 74 if [ "${name%${gpio_name}}" != "${name}" ]; then
|
/device/google/crosshatch/ |
init.edge_sense.sh | 80 gpio_name=gpio${gpio_num} 84 if [ "${name%${gpio_name}}" != "${name}" ]; then
|
/external/u-boot/drivers/gpio/ |
xilinx_gpio.c | 40 struct gpio_names *gpio_name; member in struct:xilinx_gpio_priv 76 return *priv->gpio_name[gpio_priv].name ? 77 priv->gpio_name[gpio_priv].name : "UNKNOWN"; 277 strncpy(priv->gpio_name[gpio_priv].name, label, 279 priv->gpio_name[gpio_priv].name[GPIO_NAME_SIZE - 1] = 299 priv->gpio_name[gpio_priv].name[0] = '\0'; 325 priv->gpio_name = calloc(gpio_no, sizeof(struct gpio_names));
|
/external/autotest/server/cros/servo/ |
servo.py | 582 def get(self, gpio_name): 585 @param gpio_name Name of the gpio. 587 assert gpio_name 589 return self._server.get(gpio_name) 592 (gpio_name, self._get_xmlrpclib_exception(e)) 596 def set(self, gpio_name, gpio_value): 599 @param gpio_name Name of the gpio. 602 self.set_nocheck(gpio_name, gpio_value) 604 while gpio_value != self.get(gpio_name) and retry_count: 605 logging.warning("%s != %s, retry %d", gpio_name, gpio_value [all...] |
/external/vboot_reference/host/arch/arm/lib/ |
crossystem_arch.c | 219 char gpio_name[FNAME_SIZE]; local 222 snprintf(gpio_name, sizeof(gpio_name), "%s/%s/value", 224 if (ReadFileInt(gpio_name, &value) < 0) 231 char gpio_name[FNAME_SIZE]; local 234 snprintf(gpio_name, sizeof(gpio_name), "%s/gpio%d/value", 236 if (ReadFileInt(gpio_name, &value) < 0) { 245 if (ReadFileInt(gpio_name, &value) < 0)
|