Lines Matching refs:attributes

1049         return u->attributes.boot_lun_en;  in ufs_read_attr_value()
1051 return u->attributes.current_power_mode; in ufs_read_attr_value()
1053 return u->attributes.active_icc_level; in ufs_read_attr_value()
1055 return u->attributes.out_of_order_data_en; in ufs_read_attr_value()
1057 return u->attributes.background_op_status; in ufs_read_attr_value()
1059 return u->attributes.purge_status; in ufs_read_attr_value()
1061 return u->attributes.max_data_in_size; in ufs_read_attr_value()
1063 return u->attributes.max_data_out_size; in ufs_read_attr_value()
1065 return be32_to_cpu(u->attributes.dyn_cap_needed); in ufs_read_attr_value()
1067 return u->attributes.ref_clk_freq; in ufs_read_attr_value()
1069 return u->attributes.config_descr_lock; in ufs_read_attr_value()
1071 return u->attributes.max_num_of_rtt; in ufs_read_attr_value()
1073 return be16_to_cpu(u->attributes.exception_event_control); in ufs_read_attr_value()
1075 return be16_to_cpu(u->attributes.exception_event_status); in ufs_read_attr_value()
1077 return be32_to_cpu(u->attributes.seconds_passed); in ufs_read_attr_value()
1079 return be16_to_cpu(u->attributes.context_conf); in ufs_read_attr_value()
1081 return u->attributes.device_ffu_status; in ufs_read_attr_value()
1083 return be32_to_cpu(u->attributes.psa_state); in ufs_read_attr_value()
1085 return be32_to_cpu(u->attributes.psa_data_size); in ufs_read_attr_value()
1087 return u->attributes.ref_clk_gating_wait_time; in ufs_read_attr_value()
1089 return u->attributes.device_case_rough_temperaure; in ufs_read_attr_value()
1091 return u->attributes.device_too_high_temp_boundary; in ufs_read_attr_value()
1093 return u->attributes.device_too_low_temp_boundary; in ufs_read_attr_value()
1095 return u->attributes.throttling_status; in ufs_read_attr_value()
1097 return u->attributes.wb_buffer_flush_status; in ufs_read_attr_value()
1099 return u->attributes.available_wb_buffer_size; in ufs_read_attr_value()
1101 return u->attributes.wb_buffer_life_time_est; in ufs_read_attr_value()
1103 return be32_to_cpu(u->attributes.current_wb_buffer_size); in ufs_read_attr_value()
1105 return u->attributes.refresh_status; in ufs_read_attr_value()
1107 return u->attributes.refresh_freq; in ufs_read_attr_value()
1109 return u->attributes.refresh_unit; in ufs_read_attr_value()
1121 u->attributes.active_icc_level = value; in ufs_write_attr_value()
1124 u->attributes.max_data_in_size = value; in ufs_write_attr_value()
1127 u->attributes.max_data_out_size = value; in ufs_write_attr_value()
1130 u->attributes.ref_clk_freq = value; in ufs_write_attr_value()
1133 u->attributes.max_num_of_rtt = value; in ufs_write_attr_value()
1136 u->attributes.exception_event_control = cpu_to_be16(value); in ufs_write_attr_value()
1139 u->attributes.seconds_passed = cpu_to_be32(value); in ufs_write_attr_value()
1142 u->attributes.psa_state = value; in ufs_write_attr_value()
1145 u->attributes.psa_data_size = cpu_to_be32(value); in ufs_write_attr_value()
1698 memset(&u->attributes, 0, sizeof(u->attributes)); in ufs_init_hc()
1699 u->attributes.max_data_in_size = 0x08; in ufs_init_hc()
1700 u->attributes.max_data_out_size = 0x08; in ufs_init_hc()
1701 u->attributes.ref_clk_freq = 0x01; /* 26 MHz */ in ufs_init_hc()
1703 u->attributes.config_descr_lock = 0x01; in ufs_init_hc()
1704 u->attributes.max_num_of_rtt = 0x02; in ufs_init_hc()