Lines Matching refs:proto_names
1038 } proto_names[] = {
1124 for (i = 0; i < ARRAY_SIZE(proto_names); i++) {
1125 if (allowed & enabled & proto_names[i].type)
1126 tmp += sprintf(tmp, "[%s] ", proto_names[i].name);
1127 else if (allowed & proto_names[i].type)
1128 tmp += sprintf(tmp, "%s ", proto_names[i].name);
1130 if (allowed & proto_names[i].type)
1131 allowed &= ~proto_names[i].type;
1184 for (i = 0; i < ARRAY_SIZE(proto_names); i++) {
1185 if (!strcasecmp(tmp, proto_names[i].name)) {
1186 mask = proto_names[i].type;
1191 if (i == ARRAY_SIZE(proto_names)) {
1224 for (i = 0; i < ARRAY_SIZE(proto_names); i++) {
1225 if (proto_names[i].type == RC_PROTO_BIT_NONE ||
1226 proto_names[i].type & (RC_PROTO_BIT_OTHER |
1231 if (!(*protocols & proto_names[i].type & ~available))
1234 if (!proto_names[i].module_name) {
1236 proto_names[i].name);
1237 *protocols &= ~proto_names[i].type;
1241 ret = request_module("%s", proto_names[i].module_name);
1244 proto_names[i].module_name);
1245 *protocols &= ~proto_names[i].type;
1250 if (!(*protocols & proto_names[i].type & ~available))
1254 proto_names[i].module_name,
1255 proto_names[i].name);
1256 *protocols &= ~proto_names[i].type;