Lines Matching refs:to_counter_attribute
44 #define to_counter_attribute(_dev_attr) \ macro
108 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u8_show()
140 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u8_store()
176 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u32_show()
241 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u32_store()
305 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u64_show()
333 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u64_store()
365 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_array_u32_show()
387 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_array_u32_store()
415 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_array_u64_show()
447 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_array_u64_store()
508 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_available_show()
677 return sysfs_emit(buf, "%s\n", to_counter_attribute(attr)->comp.name); in counter_comp_name_show()
709 const size_t id = (size_t)to_counter_attribute(attr)->comp.priv; in counter_comp_id_show()