Home
last modified time | relevance | path

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

/linux/drivers/counter/
A Dcounter-sysfs.c39 #define to_counter_attribute(_dev_attr) \ macro
92 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u8_show()
124 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u8_store()
160 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u32_show()
223 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u32_store()
283 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u64_show()
311 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_u64_store()
368 const struct counter_attribute *const a = to_counter_attribute(attr); in counter_comp_available_show()
509 return sysfs_emit(buf, "%s\n", to_counter_attribute(attr)->comp.name); in counter_comp_name_show()
541 const size_t id = (size_t)to_counter_attribute(attr)->comp.priv; in counter_comp_id_show()

Completed in 6 milliseconds