Lines Matching defs:label
125 static void set_label(unsigned short ident, const char *label)
127 if (label) {
128 strncpy(str_ident[ident].name, label,
139 static int cmp_label(unsigned short ident, const char *label)
141 if (label == NULL) {
143 printk(KERN_ERR "Please provide none-null label\n");
146 if (label)
147 return strcmp(str_ident[ident].name, label);
666 * label String
675 int peripheral_request(unsigned short per, const char *label)
724 if (cmp_label(ident, label) == 0)
744 set_label(ident, label);
750 int peripheral_request_list(const unsigned short per[], const char *label)
757 ret = peripheral_request(per[cnt], label);
814 * label String
823 int bfin_gpio_request(unsigned gpio, const char *label)
838 if (cmp_label(gpio, label) == 0) {
871 set_label(gpio, label);
911 int bfin_special_gpio_request(unsigned gpio, const char *label)
923 if (cmp_label(gpio, label) == 0) {
947 set_label(gpio, label);
978 int bfin_gpio_irq_request(unsigned gpio, const char *label)
1002 set_label(gpio, label);
1201 return bfin_gpio_request(gpio, chip->label);
1215 .label = "BFIN-GPIO",