Lines Matching refs:pdata
168 struct sta350_platform_data *pdata; member
913 struct sta350_platform_data *pdata = sta350->pdata; in sta350_probe() local
930 if (!pdata->thermal_warning_recovery) in sta350_probe()
932 if (!pdata->thermal_warning_adjustment) in sta350_probe()
934 if (!pdata->fault_detect_recovery) in sta350_probe()
944 pdata->ffx_power_output_mode in sta350_probe()
948 pdata->drop_compensation_ns in sta350_probe()
953 pdata->oc_warning_adjustment ? in sta350_probe()
959 pdata->max_power_use_mpcc ? in sta350_probe()
963 pdata->max_power_correction ? in sta350_probe()
967 pdata->am_reduction_mode ? in sta350_probe()
971 pdata->odd_pwm_speed_mode ? in sta350_probe()
975 pdata->distortion_compensation ? in sta350_probe()
980 pdata->invalid_input_detect_mute ? in sta350_probe()
984 pdata->output_conf in sta350_probe()
990 pdata->ch1_output_mapping in sta350_probe()
994 pdata->ch2_output_mapping in sta350_probe()
998 pdata->ch3_output_mapping in sta350_probe()
1004 pdata->activate_mute_output ? in sta350_probe()
1008 pdata->bridge_immediate_off ? in sta350_probe()
1012 pdata->noise_shape_dc_cut ? in sta350_probe()
1016 pdata->powerdown_master_vol ? in sta350_probe()
1021 pdata->powerdown_delay_divider in sta350_probe()
1095 struct sta350_platform_data *pdata; in sta350_probe_dt() local
1100 pdata = devm_kzalloc(dev, sizeof(*pdata), GFP_KERNEL); in sta350_probe_dt()
1101 if (!pdata) in sta350_probe_dt()
1105 &pdata->output_conf); in sta350_probe_dt()
1107 &pdata->ch1_output_mapping); in sta350_probe_dt()
1109 &pdata->ch2_output_mapping); in sta350_probe_dt()
1111 &pdata->ch3_output_mapping); in sta350_probe_dt()
1114 pdata->thermal_warning_recovery = 1; in sta350_probe_dt()
1116 pdata->thermal_warning_adjustment = 1; in sta350_probe_dt()
1118 pdata->fault_detect_recovery = 1; in sta350_probe_dt()
1120 pdata->ffx_power_output_mode = STA350_FFX_PM_VARIABLE_DROP_COMP; in sta350_probe_dt()
1133 pdata->ffx_power_output_mode = mode; in sta350_probe_dt()
1138 pdata->drop_compensation_ns = clamp_t(u16, tmp, 0, 300) / 20; in sta350_probe_dt()
1141 pdata->oc_warning_adjustment = 1; in sta350_probe_dt()
1145 pdata->max_power_use_mpcc = 1; in sta350_probe_dt()
1148 pdata->max_power_correction = 1; in sta350_probe_dt()
1151 pdata->am_reduction_mode = 1; in sta350_probe_dt()
1154 pdata->odd_pwm_speed_mode = 1; in sta350_probe_dt()
1157 pdata->distortion_compensation = 1; in sta350_probe_dt()
1161 pdata->invalid_input_detect_mute = 1; in sta350_probe_dt()
1165 pdata->activate_mute_output = 1; in sta350_probe_dt()
1168 pdata->bridge_immediate_off = 1; in sta350_probe_dt()
1171 pdata->noise_shape_dc_cut = 1; in sta350_probe_dt()
1174 pdata->powerdown_master_vol = 1; in sta350_probe_dt()
1178 pdata->powerdown_delay_divider = ilog2(tmp8); in sta350_probe_dt()
1184 sta350->pdata = pdata; in sta350_probe_dt()
1202 sta350->pdata = dev_get_platdata(dev); in sta350_i2c_probe()