• Home
  • Raw
  • Download

Lines Matching refs:pdata

145 	struct sta32x_platform_data *pdata;  member
417 if (sta32x->pdata->needs_esd_watchdog) { in sta32x_watchdog_start()
427 if (sta32x->pdata->needs_esd_watchdog) { in sta32x_watchdog_stop()
878 struct sta32x_platform_data *pdata = sta32x->pdata; in sta32x_probe() local
906 if (!pdata->thermal_warning_recovery) in sta32x_probe()
908 if (!pdata->thermal_warning_adjustment) in sta32x_probe()
910 if (!pdata->fault_detect_recovery) in sta32x_probe()
920 pdata->drop_compensation_ns in sta32x_probe()
926 pdata->max_power_use_mpcc ? in sta32x_probe()
930 pdata->max_power_correction ? in sta32x_probe()
934 pdata->am_reduction_mode ? in sta32x_probe()
938 pdata->odd_pwm_speed_mode ? in sta32x_probe()
944 pdata->invalid_input_detect_mute ? in sta32x_probe()
950 pdata->output_conf in sta32x_probe()
956 pdata->ch1_output_mapping in sta32x_probe()
960 pdata->ch2_output_mapping in sta32x_probe()
964 pdata->ch3_output_mapping in sta32x_probe()
978 if (sta32x->pdata->needs_esd_watchdog) in sta32x_probe()
1045 struct sta32x_platform_data *pdata; in sta32x_probe_dt() local
1048 pdata = devm_kzalloc(dev, sizeof(*pdata), GFP_KERNEL); in sta32x_probe_dt()
1049 if (!pdata) in sta32x_probe_dt()
1053 &pdata->output_conf); in sta32x_probe_dt()
1055 &pdata->ch1_output_mapping); in sta32x_probe_dt()
1057 &pdata->ch2_output_mapping); in sta32x_probe_dt()
1059 &pdata->ch3_output_mapping); in sta32x_probe_dt()
1062 pdata->fault_detect_recovery = 1; in sta32x_probe_dt()
1064 pdata->thermal_warning_recovery = 1; in sta32x_probe_dt()
1066 pdata->thermal_warning_adjustment = 1; in sta32x_probe_dt()
1068 pdata->needs_esd_watchdog = 1; in sta32x_probe_dt()
1072 pdata->drop_compensation_ns = clamp_t(u16, tmp, 0, 300) / 20; in sta32x_probe_dt()
1076 pdata->max_power_use_mpcc = 1; in sta32x_probe_dt()
1079 pdata->max_power_correction = 1; in sta32x_probe_dt()
1082 pdata->am_reduction_mode = 1; in sta32x_probe_dt()
1085 pdata->odd_pwm_speed_mode = 1; in sta32x_probe_dt()
1089 pdata->invalid_input_detect_mute = 1; in sta32x_probe_dt()
1091 sta32x->pdata = pdata; in sta32x_probe_dt()
1110 sta32x->pdata = dev_get_platdata(dev); in sta32x_i2c_probe()