• Home
  • Raw
  • Download

Lines Matching refs:pdata

142 	struct sta32x_platform_data *pdata;  member
414 if (sta32x->pdata->needs_esd_watchdog) { in sta32x_watchdog_start()
424 if (sta32x->pdata->needs_esd_watchdog) { in sta32x_watchdog_stop()
875 struct sta32x_platform_data *pdata = sta32x->pdata; in sta32x_probe() local
903 if (!pdata->thermal_warning_recovery) in sta32x_probe()
905 if (!pdata->thermal_warning_adjustment) in sta32x_probe()
907 if (!pdata->fault_detect_recovery) in sta32x_probe()
917 pdata->drop_compensation_ns in sta32x_probe()
923 pdata->max_power_use_mpcc ? in sta32x_probe()
927 pdata->max_power_correction ? in sta32x_probe()
931 pdata->am_reduction_mode ? in sta32x_probe()
935 pdata->odd_pwm_speed_mode ? in sta32x_probe()
941 pdata->invalid_input_detect_mute ? in sta32x_probe()
947 pdata->output_conf in sta32x_probe()
953 pdata->ch1_output_mapping in sta32x_probe()
957 pdata->ch2_output_mapping in sta32x_probe()
961 pdata->ch3_output_mapping in sta32x_probe()
975 if (sta32x->pdata->needs_esd_watchdog) in sta32x_probe()
1041 struct sta32x_platform_data *pdata; in sta32x_probe_dt() local
1044 pdata = devm_kzalloc(dev, sizeof(*pdata), GFP_KERNEL); in sta32x_probe_dt()
1045 if (!pdata) in sta32x_probe_dt()
1049 &pdata->output_conf); in sta32x_probe_dt()
1051 &pdata->ch1_output_mapping); in sta32x_probe_dt()
1053 &pdata->ch2_output_mapping); in sta32x_probe_dt()
1055 &pdata->ch3_output_mapping); in sta32x_probe_dt()
1057 pdata->fault_detect_recovery = in sta32x_probe_dt()
1059 pdata->thermal_warning_recovery = in sta32x_probe_dt()
1061 pdata->thermal_warning_adjustment = in sta32x_probe_dt()
1063 pdata->needs_esd_watchdog = in sta32x_probe_dt()
1068 pdata->drop_compensation_ns = clamp_t(u16, tmp, 0, 300) / 20; in sta32x_probe_dt()
1071 pdata->max_power_use_mpcc = in sta32x_probe_dt()
1073 pdata->max_power_correction = in sta32x_probe_dt()
1075 pdata->am_reduction_mode = in sta32x_probe_dt()
1077 pdata->odd_pwm_speed_mode = in sta32x_probe_dt()
1081 pdata->invalid_input_detect_mute = in sta32x_probe_dt()
1084 sta32x->pdata = pdata; in sta32x_probe_dt()
1102 sta32x->pdata = dev_get_platdata(dev); in sta32x_i2c_probe()