Lines Matching refs:str
3015 static int __init parse_amd_iommu_dump(char *str)
3022 static int __init parse_amd_iommu_intr(char *str)
3024 for (; *str; ++str) {
3025 if (strncmp(str, "legacy", 6) == 0) {
3029 if (strncmp(str, "vapic", 5) == 0) {
3037 static int __init parse_amd_iommu_options(char *str)
3039 for (; *str; ++str) {
3040 if (strncmp(str, "fullflush", 9) == 0)
3042 if (strncmp(str, "off", 3) == 0)
3044 if (strncmp(str, "force_isolation", 15) == 0)
3051 static int __init parse_ivrs_ioapic(char *str)
3057 if (sscanf(str, "=%d@%x:%x.%x", &id, &bus, &dev, &fn) == 4 ||
3058 sscanf(str, "=%d@%x:%x:%x.%x", &id, &seg, &bus, &dev, &fn) == 5)
3061 if (sscanf(str, "[%d]=%x:%x.%x", &id, &bus, &dev, &fn) == 4 ||
3062 sscanf(str, "[%d]=%x:%x:%x.%x", &id, &seg, &bus, &dev, &fn) == 5) {
3064 str, id, seg, bus, dev, fn);
3068 pr_err("Invalid command line: ivrs_ioapic%s\n", str);
3074 str);
3089 static int __init parse_ivrs_hpet(char *str)
3095 if (sscanf(str, "=%d@%x:%x.%x", &id, &bus, &dev, &fn) == 4 ||
3096 sscanf(str, "=%d@%x:%x:%x.%x", &id, &seg, &bus, &dev, &fn) == 5)
3099 if (sscanf(str, "[%d]=%x:%x.%x", &id, &bus, &dev, &fn) == 4 ||
3100 sscanf(str, "[%d]=%x:%x:%x.%x", &id, &seg, &bus, &dev, &fn) == 5) {
3102 str, id, seg, bus, dev, fn);
3106 pr_err("Invalid command line: ivrs_hpet%s\n", str);
3112 str);
3129 static int __init parse_ivrs_acpihid(char *str)
3136 addr = strchr(str, '@');
3138 addr = strchr(str, '=');
3147 if (sscanf(str, "[%x:%x.%x]=%s", &bus, &dev, &fn, acpiid) == 4 ||
3148 sscanf(str, "[%x:%x:%x.%x]=%s", &seg, &bus, &dev, &fn, acpiid) == 5) {
3150 str, acpiid, seg, bus, dev, fn);
3159 if (strlen(str) > ACPIID_LEN + 1)
3162 if (sscanf(str, "=%s", acpiid) != 1)
3170 pr_err("Invalid command line: ivrs_acpihid%s\n", str);