Home
last modified time | relevance | path

Searched refs:ops_info (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-sensor-groups.c116 } ops_info[] = { variable
124 attr->attr.attr.name = ops_info[index].attr_name; in add_attr()
126 attr->attr.store = ops_info[index].store; in add_attr()
136 for (j = 0; j < ARRAY_SIZE(ops_info); j++) in add_attr_group()
137 if (be32_to_cpu(ops[i]) == ops_info[j].opal_no) { in add_attr_group()
153 for (j = 0; j < ARRAY_SIZE(ops_info); j++) in get_nr_attrs()
154 if (be32_to_cpu(ops[i]) == ops_info[j].opal_no) in get_nr_attrs()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dpapr_platform_attributes.c201 } ops_info[KOBJ_MAX_ATTRS] = { variable
211 attr->kobj_attr.attr.name = ops_info[index].attr_name; in add_attr()
213 attr->kobj_attr.show = ops_info[index].show; in add_attr()
221 if (!strcmp(ops_info[i].attr_name, "value_desc") && in add_attr_group()