Lines Matching refs:ATTRCMP
115 #define ATTRCMP(x) (0 == strcmp(attr->attr.name, #x)) macro
123 if (ATTRCMP(timer_timeout)) in db1x_pmattr_show()
126 else if (ATTRCMP(timer)) in db1x_pmattr_show()
130 else if (ATTRCMP(wakesrc)) in db1x_pmattr_show()
133 else if (ATTRCMP(gpio0) || ATTRCMP(gpio1) || ATTRCMP(gpio2) || in db1x_pmattr_show()
134 ATTRCMP(gpio3) || ATTRCMP(gpio4) || ATTRCMP(gpio5) || in db1x_pmattr_show()
135 ATTRCMP(gpio6) || ATTRCMP(gpio7)) { in db1x_pmattr_show()
140 } else if (ATTRCMP(wakemsk)) { in db1x_pmattr_show()
155 if (ATTRCMP(timer_timeout)) { in db1x_pmattr_store()
162 } else if (ATTRCMP(timer)) { in db1x_pmattr_store()
168 } else if (ATTRCMP(gpio0) || ATTRCMP(gpio1) || ATTRCMP(gpio2) || in db1x_pmattr_store()
169 ATTRCMP(gpio3) || ATTRCMP(gpio4) || ATTRCMP(gpio5) || in db1x_pmattr_store()
170 ATTRCMP(gpio6) || ATTRCMP(gpio7)) { in db1x_pmattr_store()
178 } else if (ATTRCMP(wakemsk)) { in db1x_pmattr_store()