Lines Matching refs:name

25 	const char *name;
29 [RC_PROTO_UNKNOWN] = { .name = "unknown", .repeat_period = 125 },
30 [RC_PROTO_OTHER] = { .name = "other", .repeat_period = 125 },
31 [RC_PROTO_RC5] = { .name = "rc-5",
33 [RC_PROTO_RC5X_20] = { .name = "rc-5x-20",
35 [RC_PROTO_RC5_SZ] = { .name = "rc-5-sz",
37 [RC_PROTO_JVC] = { .name = "jvc",
39 [RC_PROTO_SONY12] = { .name = "sony-12",
41 [RC_PROTO_SONY15] = { .name = "sony-15",
43 [RC_PROTO_SONY20] = { .name = "sony-20",
45 [RC_PROTO_NEC] = { .name = "nec",
47 [RC_PROTO_NECX] = { .name = "nec-x",
49 [RC_PROTO_NEC32] = { .name = "nec-32",
51 [RC_PROTO_SANYO] = { .name = "sanyo",
53 [RC_PROTO_MCIR2_KBD] = { .name = "mcir2-kbd",
55 [RC_PROTO_MCIR2_MSE] = { .name = "mcir2-mse",
57 [RC_PROTO_RC6_0] = { .name = "rc-6-0",
59 [RC_PROTO_RC6_6A_20] = { .name = "rc-6-6a-20",
61 [RC_PROTO_RC6_6A_24] = { .name = "rc-6-6a-24",
63 [RC_PROTO_RC6_6A_32] = { .name = "rc-6-6a-32",
65 [RC_PROTO_RC6_MCE] = { .name = "rc-6-mce",
67 [RC_PROTO_SHARP] = { .name = "sharp",
69 [RC_PROTO_XMP] = { .name = "xmp", .repeat_period = 125 },
70 [RC_PROTO_CEC] = { .name = "cec", .repeat_period = 0 },
71 [RC_PROTO_IMON] = { .name = "imon",
73 [RC_PROTO_RCMM12] = { .name = "rc-mm-12",
75 [RC_PROTO_RCMM24] = { .name = "rc-mm-24",
77 [RC_PROTO_RCMM32] = { .name = "rc-mm-32",
79 [RC_PROTO_XBOX_DVD] = { .name = "xbox-dvd", .repeat_period = 64 },
90 static struct rc_map_list *seek_rc_map(const char *name)
96 if (!strcmp(name, map->map.name)) {
106 struct rc_map *rc_map_get(const char *name)
111 map = seek_rc_map(name);
114 int rc = request_module("%s", name);
116 pr_err("Couldn't load IR keymap %s\n", name);
121 map = seek_rc_map(name);
125 pr_err("IR keymap %s not found\n", name);
129 printk(KERN_INFO "Registered IR keymap %s\n", map->map.name);
162 .name = RC_MAP_EMPTY,
205 * @name: name to assign to the table
215 const char *name, u64 rc_proto, size_t size)
217 rc_map->name = kstrdup(name, GFP_KERNEL);
218 if (!rc_map->name)
225 kfree(rc_map->name);
226 rc_map->name = NULL;
245 kfree(rc_map->name);
246 rc_map->name = NULL;
477 rc = ir_create_table(dev, rc_map, from->name, from->rc_proto,
1025 .name = "rc",
1036 const char *name;
1126 tmp += sprintf(tmp, "[%s] ", proto_names[i].name);
1128 tmp += sprintf(tmp, "%s ", proto_names[i].name);
1185 if (!strcasecmp(tmp, proto_names[i].name)) {
1236 proto_names[i].name);
1255 proto_names[i].name);
1517 tmp += sprintf(tmp, "[%s] ", protocols[i].name);
1519 tmp += sprintf(tmp, "%s ", protocols[i].name);
1565 sysfs_streq(buf, protocols[i].name)) {
1625 if (ret == 0 && dev->rc_map.name)
1626 ret = add_uevent_var(env, "NAME=%s", dev->rc_map.name);
1837 dev->input_dev->name = dev->device_name;