Searched refs:psr_attrs (Results 1 – 1 of 1) sorted by relevance
27 } *psr_attrs; variable139 psr_attrs = kcalloc(of_get_child_count(psr), sizeof(struct psr_attr), in opal_psr_init()141 if (!psr_attrs) in opal_psr_init()152 &psr_attrs[i].handle)) in opal_psr_init()155 sysfs_attr_init(&psr_attrs[i].attr.attr); in opal_psr_init()157 &psr_attrs[i].attr.attr.name)) in opal_psr_init()159 psr_attrs[i].attr.attr.mode = 0664; in opal_psr_init()160 psr_attrs[i].attr.show = psr_show; in opal_psr_init()161 psr_attrs[i].attr.store = psr_store; in opal_psr_init()162 if (sysfs_create_file(psr_kobj, &psr_attrs[i].attr.attr)) { in opal_psr_init()[all …]