Lines Matching refs:pdata
141 struct sta32x_platform_data *pdata; member
413 if (sta32x->pdata->needs_esd_watchdog) { in sta32x_watchdog_start()
423 if (sta32x->pdata->needs_esd_watchdog) { in sta32x_watchdog_stop()
874 struct sta32x_platform_data *pdata = sta32x->pdata; in sta32x_probe() local
902 if (!pdata->thermal_warning_recovery) in sta32x_probe()
904 if (!pdata->thermal_warning_adjustment) in sta32x_probe()
906 if (!pdata->fault_detect_recovery) in sta32x_probe()
916 pdata->drop_compensation_ns in sta32x_probe()
922 pdata->max_power_use_mpcc ? in sta32x_probe()
926 pdata->max_power_correction ? in sta32x_probe()
930 pdata->am_reduction_mode ? in sta32x_probe()
934 pdata->odd_pwm_speed_mode ? in sta32x_probe()
940 pdata->invalid_input_detect_mute ? in sta32x_probe()
946 pdata->output_conf in sta32x_probe()
952 pdata->ch1_output_mapping in sta32x_probe()
956 pdata->ch2_output_mapping in sta32x_probe()
960 pdata->ch3_output_mapping in sta32x_probe()
974 if (sta32x->pdata->needs_esd_watchdog) in sta32x_probe()
1038 struct sta32x_platform_data *pdata; in sta32x_probe_dt() local
1041 pdata = devm_kzalloc(dev, sizeof(*pdata), GFP_KERNEL); in sta32x_probe_dt()
1042 if (!pdata) in sta32x_probe_dt()
1046 &pdata->output_conf); in sta32x_probe_dt()
1048 &pdata->ch1_output_mapping); in sta32x_probe_dt()
1050 &pdata->ch2_output_mapping); in sta32x_probe_dt()
1052 &pdata->ch3_output_mapping); in sta32x_probe_dt()
1054 pdata->fault_detect_recovery = in sta32x_probe_dt()
1056 pdata->thermal_warning_recovery = in sta32x_probe_dt()
1058 pdata->thermal_warning_adjustment = in sta32x_probe_dt()
1060 pdata->needs_esd_watchdog = in sta32x_probe_dt()
1065 pdata->drop_compensation_ns = clamp_t(u16, tmp, 0, 300) / 20; in sta32x_probe_dt()
1068 pdata->max_power_use_mpcc = in sta32x_probe_dt()
1070 pdata->max_power_correction = in sta32x_probe_dt()
1072 pdata->am_reduction_mode = in sta32x_probe_dt()
1074 pdata->odd_pwm_speed_mode = in sta32x_probe_dt()
1078 pdata->invalid_input_detect_mute = in sta32x_probe_dt()
1081 sta32x->pdata = pdata; in sta32x_probe_dt()
1099 sta32x->pdata = dev_get_platdata(dev); in sta32x_i2c_probe()