Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/counter/
Dcounter-sysfs.c44 #define to_counter_attribute(_dev_attr) \ macro
97 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u8_show()
129 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u8_store()
165 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u32_show()
228 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u32_store()
288 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u64_show()
316 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u64_store()
373 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_available_show()
514 return sysfs_emit(buf, "%s\n", to_counter_attribute(attr)->comp.name); in counter_comp_name_show()
546 const size_t id = (size_t)to_counter_attribute(attr)->comp.priv; in counter_comp_id_show()