Lines Matching refs:ATTRCMP
116 #define ATTRCMP(x) (0 == strcmp(attr->attr.name, #x)) macro
124 if (ATTRCMP(timer_timeout)) in db1x_pmattr_show()
127 else if (ATTRCMP(timer)) in db1x_pmattr_show()
131 else if (ATTRCMP(wakesrc)) in db1x_pmattr_show()
134 else if (ATTRCMP(gpio0) || ATTRCMP(gpio1) || ATTRCMP(gpio2) || in db1x_pmattr_show()
135 ATTRCMP(gpio3) || ATTRCMP(gpio4) || ATTRCMP(gpio5) || in db1x_pmattr_show()
136 ATTRCMP(gpio6) || ATTRCMP(gpio7)) { in db1x_pmattr_show()
141 } else if (ATTRCMP(wakemsk)) { in db1x_pmattr_show()
156 if (ATTRCMP(timer_timeout)) { in db1x_pmattr_store()
163 } else if (ATTRCMP(timer)) { in db1x_pmattr_store()
169 } else if (ATTRCMP(gpio0) || ATTRCMP(gpio1) || ATTRCMP(gpio2) || in db1x_pmattr_store()
170 ATTRCMP(gpio3) || ATTRCMP(gpio4) || ATTRCMP(gpio5) || in db1x_pmattr_store()
171 ATTRCMP(gpio6) || ATTRCMP(gpio7)) { in db1x_pmattr_store()
179 } else if (ATTRCMP(wakemsk)) { in db1x_pmattr_store()