Lines Matching defs:tmp
558 unsigned int tmp = 0;
590 ret = of_property_read_u32(node, "mediatek,eint-use-ap", &tmp);
592 tmp = 0;
593 if (tmp == 0)
595 else if (tmp == 1)
605 ret = of_property_read_u32(node, "mediatek,eint-num", &tmp);
607 tmp = 0;
608 if (tmp == 0)
610 else if (tmp == 1)
612 else if (tmp == 2)
616 &tmp);
618 tmp = 0;
619 if (tmp == 0)
621 else if (tmp == 1)
636 ret = of_property_read_u32(node, "mediatek,key-mode", &tmp);
638 tmp = 0;
639 if (tmp == 0) {
650 } else if (tmp == 1) {
665 } else if (tmp == 2) {