Lines Matching refs:to_counter_attribute
44 #define to_counter_attribute(_dev_attr) \ macro
102 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u8_show()
134 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u8_store()
170 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u32_show()
235 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u32_store()
299 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u64_show()
327 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u64_store()
359 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_array_u32_show()
381 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_array_u32_store()
409 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_array_u64_show()
441 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_array_u64_store()
502 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_available_show()
671 return sysfs_emit(buf, "%s\n", to_counter_attribute(attr)->comp.name); in counter_comp_name_show()
703 const size_t id = (size_t)to_counter_attribute(attr)->comp.priv; in counter_comp_id_show()