Searched refs:psr_attrs (Results 1 – 1 of 1) sorted by relevance
23 } *psr_attrs; variable135 psr_attrs = kcalloc(of_get_child_count(psr), sizeof(*psr_attrs), in opal_psr_init()137 if (!psr_attrs) in opal_psr_init()148 &psr_attrs[i].handle)) in opal_psr_init()151 sysfs_attr_init(&psr_attrs[i].attr.attr); in opal_psr_init()153 &psr_attrs[i].attr.attr.name)) in opal_psr_init()155 psr_attrs[i].attr.attr.mode = 0664; in opal_psr_init()156 psr_attrs[i].attr.show = psr_show; in opal_psr_init()157 psr_attrs[i].attr.store = psr_store; in opal_psr_init()158 if (sysfs_create_file(psr_kobj, &psr_attrs[i].attr.attr)) { in opal_psr_init()[all …]