Lines Matching defs:attr
133 struct device_attribute *attr, in ufs_sysfs_pm_lvl_store()
162 struct device_attribute *attr, char *buf) in rpm_lvl_show()
170 struct device_attribute *attr, const char *buf, size_t count) in rpm_lvl_store()
176 struct device_attribute *attr, char *buf) in rpm_target_dev_state_show()
185 struct device_attribute *attr, char *buf) in rpm_target_link_state_show()
194 struct device_attribute *attr, char *buf) in spm_lvl_show()
202 struct device_attribute *attr, const char *buf, size_t count) in spm_lvl_store()
208 struct device_attribute *attr, char *buf) in spm_target_dev_state_show()
217 struct device_attribute *attr, char *buf) in spm_target_link_state_show()
269 struct device_attribute *attr, char *buf) in auto_hibern8_show()
286 struct device_attribute *attr, in auto_hibern8_store()
315 static ssize_t wb_on_show(struct device *dev, struct device_attribute *attr, in wb_on_show()
323 static ssize_t wb_on_store(struct device *dev, struct device_attribute *attr, in wb_on_store()
360 static ssize_t rtc_update_ms_show(struct device *dev, struct device_attribute *attr, in rtc_update_ms_show()
368 static ssize_t rtc_update_ms_store(struct device *dev, struct device_attribute *attr, in rtc_update_ms_store()
390 struct device_attribute *attr, in enable_wb_buf_flush_show()
399 struct device_attribute *attr, in enable_wb_buf_flush_store()
433 struct device_attribute *attr, in wb_flush_threshold_show()
442 struct device_attribute *attr, in wb_flush_threshold_store()
470 struct device_attribute *attr, in wb_resize_enable_store()
512 struct device_attribute *attr, char *buf) in pm_qos_enable_show()
534 struct device_attribute *attr, const char *buf, size_t count) in pm_qos_enable_store()
551 struct device_attribute *attr, char *buf) in critical_health_show()
559 struct device_attribute *attr, in device_lvl_exception_count_show()
571 struct device_attribute *attr, in device_lvl_exception_count_store()
590 struct device_attribute *attr, in device_lvl_exception_id_show()
649 static ssize_t clock_scaling_show(struct device *dev, struct device_attribute *attr, in clock_scaling_show()
657 static ssize_t write_booster_show(struct device *dev, struct device_attribute *attr, in write_booster_show()
684 struct device_attribute *attr, char *buf) in version_show()
692 struct device_attribute *attr, char *buf) in product_id_show()
706 struct device_attribute *attr, char *buf) in man_id_show()
736 struct device_attribute *attr, char *buf) in monitor_enable_show()
744 struct device_attribute *attr, in monitor_enable_store()
771 struct device_attribute *attr, char *buf) in monitor_chunk_size_show()
779 struct device_attribute *attr, in monitor_chunk_size_store()
797 struct device_attribute *attr, char *buf) in read_total_sectors_show()
805 struct device_attribute *attr, char *buf) in read_total_busy_show()
814 struct device_attribute *attr, char *buf) in read_nr_requests_show()
822 struct device_attribute *attr, in read_req_latency_avg_show()
836 struct device_attribute *attr, in read_req_latency_max_show()
846 struct device_attribute *attr, in read_req_latency_min_show()
856 struct device_attribute *attr, in read_req_latency_sum_show()
866 struct device_attribute *attr, in write_total_sectors_show()
875 struct device_attribute *attr, char *buf) in write_total_busy_show()
884 struct device_attribute *attr, char *buf) in write_nr_requests_show()
892 struct device_attribute *attr, in write_req_latency_avg_show()
906 struct device_attribute *attr, in write_req_latency_max_show()
916 struct device_attribute *attr, in write_req_latency_min_show()
926 struct device_attribute *attr, in write_req_latency_sum_show()
977 static ssize_t lane_show(struct device *dev, struct device_attribute *attr, in lane_show()
985 static ssize_t mode_show(struct device *dev, struct device_attribute *attr, in mode_show()
993 static ssize_t rate_show(struct device *dev, struct device_attribute *attr, in rate_show()
1001 static ssize_t gear_show(struct device *dev, struct device_attribute *attr, in gear_show()
1011 static ssize_t dev_pm_show(struct device *dev, struct device_attribute *attr, in dev_pm_show()
1020 struct device_attribute *attr, char *buf) in link_state_show()
1563 struct device_attribute *attr, char *buf) in max_number_of_rtt_show()
1591 struct device_attribute *attr, in max_number_of_rtt_store()
1671 struct device_attribute *attr, char *buf) in wb_resize_hint_show()
1688 struct device_attribute *attr, char *buf) in wb_resize_status_show()
1807 struct device_attribute *attr, const char *buf, size_t count) in analysis_trigger_store()
1829 struct device_attribute *attr, const char *buf, size_t count) in defrag_trigger_store()
1851 struct device_attribute *attr, char *buf) in fragmented_size_show()
1868 struct device_attribute *attr, char *buf) in defrag_size_show()
1883 struct device_attribute *attr, const char *buf, size_t count) in defrag_size_store()
1901 struct device_attribute *attr, char *buf) in progress_ratio_show()
1918 struct device_attribute *attr, char *buf) in state_show()
1945 struct attribute *attr, int n) in ufs_sysfs_hid_is_visible()
2029 static umode_t ufs_unit_descriptor_is_visible(struct kobject *kobj, struct attribute *attr, int n) in ufs_unit_descriptor_is_visible()
2053 struct device_attribute *attr, char *buf) in dyn_cap_needed_attribute_show()