Lines Matching refs:pdata
147 struct sta32x_platform_data *pdata; member
419 if (sta32x->pdata->needs_esd_watchdog) { in sta32x_watchdog_start()
429 if (sta32x->pdata->needs_esd_watchdog) { in sta32x_watchdog_stop()
881 struct sta32x_platform_data *pdata = sta32x->pdata; in sta32x_probe() local
897 if (!pdata->thermal_warning_recovery) in sta32x_probe()
899 if (!pdata->thermal_warning_adjustment) in sta32x_probe()
901 if (!pdata->fault_detect_recovery) in sta32x_probe()
911 pdata->drop_compensation_ns in sta32x_probe()
917 pdata->max_power_use_mpcc ? in sta32x_probe()
921 pdata->max_power_correction ? in sta32x_probe()
925 pdata->am_reduction_mode ? in sta32x_probe()
929 pdata->odd_pwm_speed_mode ? in sta32x_probe()
935 pdata->invalid_input_detect_mute ? in sta32x_probe()
941 pdata->output_conf in sta32x_probe()
947 pdata->ch1_output_mapping in sta32x_probe()
951 pdata->ch2_output_mapping in sta32x_probe()
955 pdata->ch3_output_mapping in sta32x_probe()
969 if (sta32x->pdata->needs_esd_watchdog) in sta32x_probe()
1024 struct sta32x_platform_data *pdata; in sta32x_probe_dt() local
1027 pdata = devm_kzalloc(dev, sizeof(*pdata), GFP_KERNEL); in sta32x_probe_dt()
1028 if (!pdata) in sta32x_probe_dt()
1032 &pdata->output_conf); in sta32x_probe_dt()
1034 &pdata->ch1_output_mapping); in sta32x_probe_dt()
1036 &pdata->ch2_output_mapping); in sta32x_probe_dt()
1038 &pdata->ch3_output_mapping); in sta32x_probe_dt()
1041 pdata->thermal_warning_recovery = 1; in sta32x_probe_dt()
1043 pdata->thermal_warning_adjustment = 1; in sta32x_probe_dt()
1045 pdata->needs_esd_watchdog = 1; in sta32x_probe_dt()
1049 pdata->drop_compensation_ns = clamp_t(u16, tmp, 0, 300) / 20; in sta32x_probe_dt()
1053 pdata->max_power_use_mpcc = 1; in sta32x_probe_dt()
1056 pdata->max_power_correction = 1; in sta32x_probe_dt()
1059 pdata->am_reduction_mode = 1; in sta32x_probe_dt()
1062 pdata->odd_pwm_speed_mode = 1; in sta32x_probe_dt()
1066 pdata->invalid_input_detect_mute = 1; in sta32x_probe_dt()
1068 sta32x->pdata = pdata; in sta32x_probe_dt()
1087 sta32x->pdata = dev_get_platdata(dev); in sta32x_i2c_probe()