Lines Matching refs:proto_names
1039 } proto_names[] = {
1125 for (i = 0; i < ARRAY_SIZE(proto_names); i++) {
1126 if (allowed & enabled & proto_names[i].type)
1127 tmp += sprintf(tmp, "[%s] ", proto_names[i].name);
1128 else if (allowed & proto_names[i].type)
1129 tmp += sprintf(tmp, "%s ", proto_names[i].name);
1131 if (allowed & proto_names[i].type)
1132 allowed &= ~proto_names[i].type;
1185 for (i = 0; i < ARRAY_SIZE(proto_names); i++) {
1186 if (!strcasecmp(tmp, proto_names[i].name)) {
1187 mask = proto_names[i].type;
1192 if (i == ARRAY_SIZE(proto_names)) {
1225 for (i = 0; i < ARRAY_SIZE(proto_names); i++) {
1226 if (proto_names[i].type == RC_PROTO_BIT_NONE ||
1227 proto_names[i].type & (RC_PROTO_BIT_OTHER |
1232 if (!(*protocols & proto_names[i].type & ~available))
1235 if (!proto_names[i].module_name) {
1237 proto_names[i].name);
1238 *protocols &= ~proto_names[i].type;
1242 ret = request_module("%s", proto_names[i].module_name);
1245 proto_names[i].module_name);
1246 *protocols &= ~proto_names[i].type;
1251 if (!(*protocols & proto_names[i].type & ~available))
1255 proto_names[i].module_name,
1256 proto_names[i].name);
1257 *protocols &= ~proto_names[i].type;