Lines Matching refs:streq
478 if (streq(key, "MatchName")) { in parse_match()
481 } else if (streq(key, "MatchBus")) { in parse_match()
483 if (streq(value, "usb")) in parse_match()
485 else if (streq(value, "bluetooth")) in parse_match()
487 else if (streq(value, "ps2")) in parse_match()
489 else if (streq(value, "rmi")) in parse_match()
491 else if (streq(value, "i2c")) in parse_match()
495 } else if (streq(key, "MatchVendor")) { in parse_match()
503 } else if (streq(key, "MatchProduct")) { in parse_match()
511 } else if (streq(key, "MatchVersion")) { in parse_match()
519 } else if (streq(key, "MatchDMIModalias")) { in parse_match()
528 } else if (streq(key, "MatchUdevType")) { in parse_match()
530 if (streq(value, "touchpad")) in parse_match()
532 else if (streq(value, "mouse")) in parse_match()
534 else if (streq(value, "pointingstick")) in parse_match()
536 else if (streq(value, "keyboard")) in parse_match()
538 else if (streq(value, "joystick")) in parse_match()
540 else if (streq(value, "tablet")) in parse_match()
542 else if (streq(value, "tablet-pad")) in parse_match()
546 } else if (streq(key, "MatchDeviceTree")) { in parse_match()
581 if (streq(value, "1")) in parse_model()
583 else if (streq(value, "0")) in parse_model()
589 if (streq(key, quirk_get_name(q))) { in parse_model()
630 if (streq(key, quirk_get_name(QUIRK_ATTR_SIZE_HINT))) { in parse_attr()
637 } else if (streq(key, quirk_get_name(QUIRK_ATTR_TOUCH_SIZE_RANGE))) { in parse_attr()
644 } else if (streq(key, quirk_get_name(QUIRK_ATTR_PALM_SIZE_THRESHOLD))) { in parse_attr()
651 } else if (streq(key, quirk_get_name(QUIRK_ATTR_LID_SWITCH_RELIABILITY))) { in parse_attr()
653 if (!streq(value, "reliable") && in parse_attr()
654 !streq(value, "write_open")) in parse_attr()
659 } else if (streq(key, quirk_get_name(QUIRK_ATTR_KEYBOARD_INTEGRATION))) { in parse_attr()
661 if (!streq(value, "internal") && !streq(value, "external")) in parse_attr()
666 } else if (streq(key, quirk_get_name(QUIRK_ATTR_TRACKPOINT_INTEGRATION))) { in parse_attr()
668 if (!streq(value, "internal") && !streq(value, "external")) in parse_attr()
673 } else if (streq(key, quirk_get_name(QUIRK_ATTR_TPKBCOMBO_LAYOUT))) { in parse_attr()
675 if (!streq(value, "below")) in parse_attr()
680 } else if (streq(key, quirk_get_name(QUIRK_ATTR_PRESSURE_RANGE))) { in parse_attr()
687 } else if (streq(key, quirk_get_name(QUIRK_ATTR_PALM_PRESSURE_THRESHOLD))) { in parse_attr()
694 } else if (streq(key, quirk_get_name(QUIRK_ATTR_RESOLUTION_HINT))) { in parse_attr()
701 } else if (streq(key, quirk_get_name(QUIRK_ATTR_TRACKPOINT_MULTIPLIER))) { in parse_attr()
708 } else if (streq(key, quirk_get_name(QUIRK_ATTR_USE_VELOCITY_AVERAGING))) { in parse_attr()
710 if (streq(value, "1")) in parse_attr()
712 else if (streq(value, "0")) in parse_attr()
719 } else if (streq(key, quirk_get_name(QUIRK_ATTR_THUMB_PRESSURE_THRESHOLD))) { in parse_attr()
726 } else if (streq(key, quirk_get_name(QUIRK_ATTR_THUMB_SIZE_THRESHOLD))) { in parse_attr()
733 } else if (streq(key, quirk_get_name(QUIRK_ATTR_MSC_TIMESTAMP))) { in parse_attr()
735 if (!streq(value, "watch")) in parse_attr()
740 } else if (streq(key, quirk_get_name(QUIRK_ATTR_EVENT_CODE_DISABLE))) { in parse_attr()