Lines Matching refs:pdata
164 struct sta350_platform_data *pdata; member
909 struct sta350_platform_data *pdata = sta350->pdata; in sta350_probe() local
926 if (!pdata->thermal_warning_recovery) in sta350_probe()
928 if (!pdata->thermal_warning_adjustment) in sta350_probe()
930 if (!pdata->fault_detect_recovery) in sta350_probe()
940 pdata->ffx_power_output_mode in sta350_probe()
944 pdata->drop_compensation_ns in sta350_probe()
949 pdata->oc_warning_adjustment ? in sta350_probe()
955 pdata->max_power_use_mpcc ? in sta350_probe()
959 pdata->max_power_correction ? in sta350_probe()
963 pdata->am_reduction_mode ? in sta350_probe()
967 pdata->odd_pwm_speed_mode ? in sta350_probe()
971 pdata->distortion_compensation ? in sta350_probe()
976 pdata->invalid_input_detect_mute ? in sta350_probe()
980 pdata->output_conf in sta350_probe()
986 pdata->ch1_output_mapping in sta350_probe()
990 pdata->ch2_output_mapping in sta350_probe()
994 pdata->ch3_output_mapping in sta350_probe()
1000 pdata->activate_mute_output ? in sta350_probe()
1004 pdata->bridge_immediate_off ? in sta350_probe()
1008 pdata->noise_shape_dc_cut ? in sta350_probe()
1012 pdata->powerdown_master_vol ? in sta350_probe()
1017 pdata->powerdown_delay_divider in sta350_probe()
1090 struct sta350_platform_data *pdata; in sta350_probe_dt() local
1095 pdata = devm_kzalloc(dev, sizeof(*pdata), GFP_KERNEL); in sta350_probe_dt()
1096 if (!pdata) in sta350_probe_dt()
1100 &pdata->output_conf); in sta350_probe_dt()
1102 &pdata->ch1_output_mapping); in sta350_probe_dt()
1104 &pdata->ch2_output_mapping); in sta350_probe_dt()
1106 &pdata->ch3_output_mapping); in sta350_probe_dt()
1108 pdata->thermal_warning_recovery = in sta350_probe_dt()
1110 pdata->thermal_warning_adjustment = in sta350_probe_dt()
1112 pdata->fault_detect_recovery = in sta350_probe_dt()
1115 pdata->ffx_power_output_mode = STA350_FFX_PM_VARIABLE_DROP_COMP; in sta350_probe_dt()
1128 pdata->ffx_power_output_mode = mode; in sta350_probe_dt()
1133 pdata->drop_compensation_ns = clamp_t(u16, tmp, 0, 300) / 20; in sta350_probe_dt()
1135 pdata->oc_warning_adjustment = in sta350_probe_dt()
1139 pdata->max_power_use_mpcc = in sta350_probe_dt()
1141 pdata->max_power_correction = in sta350_probe_dt()
1143 pdata->am_reduction_mode = in sta350_probe_dt()
1145 pdata->odd_pwm_speed_mode = in sta350_probe_dt()
1147 pdata->distortion_compensation = in sta350_probe_dt()
1151 pdata->invalid_input_detect_mute = in sta350_probe_dt()
1155 pdata->activate_mute_output = in sta350_probe_dt()
1157 pdata->bridge_immediate_off = in sta350_probe_dt()
1159 pdata->noise_shape_dc_cut = in sta350_probe_dt()
1161 pdata->powerdown_master_vol = in sta350_probe_dt()
1166 pdata->powerdown_delay_divider = ilog2(tmp8); in sta350_probe_dt()
1172 sta350->pdata = pdata; in sta350_probe_dt()
1189 sta350->pdata = dev_get_platdata(dev); in sta350_i2c_probe()