Lines Matching refs:label
117 static void set_label(unsigned short ident, const char *label) in set_label() argument
119 if (label) { in set_label()
120 strncpy(str_ident[ident].name, label, in set_label()
131 static int cmp_label(unsigned short ident, const char *label) in cmp_label() argument
133 if (label == NULL) { in cmp_label()
138 if (label) in cmp_label()
139 return strcmp(str_ident[ident].name, label); in cmp_label()
653 int peripheral_request(unsigned short per, const char *label) in peripheral_request() argument
698 if (cmp_label(ident, label) == 0) in peripheral_request()
722 set_label(ident, label); in peripheral_request()
728 int peripheral_request_list(const unsigned short per[], const char *label) in peripheral_request_list() argument
735 ret = peripheral_request(per[cnt], label); in peripheral_request_list()
801 int bfin_gpio_request(unsigned gpio, const char *label) in bfin_gpio_request() argument
816 if (cmp_label(gpio, label) == 0) { in bfin_gpio_request()
846 set_label(gpio, label); in bfin_gpio_request()
886 int bfin_special_gpio_request(unsigned gpio, const char *label) in bfin_special_gpio_request() argument
898 if (cmp_label(gpio, label) == 0) { in bfin_special_gpio_request()
922 set_label(gpio, label); in bfin_special_gpio_request()
953 int bfin_gpio_irq_request(unsigned gpio, const char *label) in bfin_gpio_irq_request() argument
977 set_label(gpio, label); in bfin_gpio_irq_request()
1172 return bfin_gpio_request(gpio, chip->label); in bfin_gpiolib_gpio_request()
1186 .label = "BFIN-GPIO",