Lines Matching refs:label
25 static void set_label(unsigned short ident, const char *label) in set_label() argument
27 if (label) { in set_label()
28 strncpy(str_ident[ident].name, label, in set_label()
39 static int cmp_label(unsigned short ident, const char *label) in cmp_label() argument
41 if (label == NULL) in cmp_label()
44 if (label) in cmp_label()
45 return strcmp(str_ident[ident].name, label); in cmp_label()
129 int peripheral_request(unsigned short per, const char *label) in peripheral_request() argument
167 if (cmp_label(ident, label) == 0) in peripheral_request()
183 set_label(ident, label); in peripheral_request()
188 int peripheral_request_list(const unsigned short per[], const char *label) in peripheral_request_list() argument
194 ret = peripheral_request(per[cnt], label); in peripheral_request_list()
246 int gpio_request(unsigned gpio, const char *label) in gpio_request() argument
257 if (cmp_label(gpio, label) == 0) in gpio_request()
272 set_label(gpio, label); in gpio_request()
299 int special_gpio_request(unsigned gpio, const char *label) in special_gpio_request() argument
307 if (cmp_label(gpio, label) == 0) in special_gpio_request()
325 set_label(gpio, label); in special_gpio_request()