Lines Matching refs:throt_cfgs
344 struct soctherm_throt_cfg throt_cfgs[THROTTLE_SIZE]; member
560 for (i = 0; ts->throt_cfgs[i].name; i++) in find_throttle_cfg_by_name()
561 if (!strcmp(ts->throt_cfgs[i].name, name)) in find_throttle_cfg_by_name()
562 return &ts->throt_cfgs[i]; in find_throttle_cfg_by_name()
620 if (!ts->throt_cfgs[i].init) in tegra_thermctl_set_trip_temp()
623 cdev = ts->throt_cfgs[i].cdev; in tegra_thermctl_set_trip_temp()
805 if (!ts->throt_cfgs[i].init) in tegra_soctherm_set_hwtrips()
808 cdev = ts->throt_cfgs[i].cdev; in tegra_soctherm_set_hwtrips()
1700 ts->throt_cfgs[i].name = throt_names[i]; in soctherm_init_hw_throt_cdev()
1701 ts->throt_cfgs[i].id = i; in soctherm_init_hw_throt_cdev()
1702 ts->throt_cfgs[i].init = false; in soctherm_init_hw_throt_cdev()
1824 switch (ts->throt_cfgs[throt].cpu_throt_level) { in throttlectl_cpu_level_select()
1869 depth = ts->throt_cfgs[throt].cpu_throt_depth; in throttlectl_cpu_mn()
1899 level = ts->throt_cfgs[throt].gpu_throt_level; in throttlectl_gpu_level_select()
1911 struct soctherm_oc_cfg *oc = &ts->throt_cfgs[throt].oc_cfg; in soctherm_oc_cfg_program()
1941 struct soctherm_throt_cfg stc = ts->throt_cfgs[throt]; in soctherm_throttle_program()