/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/ |
H A D | nouveau_nvkm_subdev_therm_temp.c | 64 enum nvkm_therm_thrs thrs, in nvkm_therm_sensor_set_threshold_state() argument 67 therm->sensor.alarm_state[thrs] = st; in nvkm_therm_sensor_set_threshold_state() 73 enum nvkm_therm_thrs thrs) in nvkm_therm_sensor_get_threshold_state() argument 75 return therm->sensor.alarm_state[thrs]; in nvkm_therm_sensor_get_threshold_state() 86 nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, in nvkm_therm_sensor_event() argument 96 if ((unsigned)thrs >= __arraycount(thresholds)) in nvkm_therm_sensor_event() 102 temperature, thresholds[thrs]); in nvkm_therm_sensor_event() 105 temperature, thresholds[thrs]); in nvkm_therm_sensor_event() 108 switch (thrs) { in nvkm_therm_sensor_event() 143 const struct nvbios_therm_threshold *thrs, in nvkm_therm_threshold_hyst_polling() argument [all …]
|
H A D | nouveau_nvkm_subdev_therm_g84.c | 102 const struct nvbios_therm_threshold *thrs, in g84_therm_threshold_hyst_emulation() argument 114 if (temp == thrs->temp) { in g84_therm_threshold_hyst_emulation() 115 nvkm_wr32(device, thrs_reg, thrs->temp - thrs->hysteresis); in g84_therm_threshold_hyst_emulation() 118 nvkm_wr32(device, thrs_reg, thrs->temp); in g84_therm_threshold_hyst_emulation() 124 if (new_state == NVKM_THERM_THRS_LOWER && cur > thrs->temp) in g84_therm_threshold_hyst_emulation() 127 cur < thrs->temp - thrs->hysteresis) in g84_therm_threshold_hyst_emulation()
|
/netbsd-src/sys/net80211/ |
H A D | ieee80211_rssadapt.c | 196 u_int16_t (*thrs)[IEEE80211_RATE_SIZE]; in ieee80211_rssadapt_choose() local 210 thrs = &ra->ra_rate_thresh[thridx]; in ieee80211_rssadapt_choose() 228 if ((*thrs)[i] < ra->ra_avg_rssi) in ieee80211_rssadapt_choose() 239 (*thrs)[rateidx], ra->ra_avg_rssi); in ieee80211_rssadapt_choose() 328 u_int16_t (*thrs)[IEEE80211_RATE_SIZE], newthr, oldthr; in ieee80211_rssadapt_raise_rate() local 344 thrs = &ra->ra_rate_thresh[i]; in ieee80211_rssadapt_raise_rate() 350 (*thrs)[id->id_rateidx + 1] > (*thrs)[id->id_rateidx]) { in ieee80211_rssadapt_raise_rate() 357 rate / 2, rate * 5 % 10, (*thrs)[id->id_rateidx + 1])); in ieee80211_rssadapt_raise_rate() 358 oldthr = (*thrs)[id->id_rateidx + 1]; in ieee80211_rssadapt_raise_rate() 359 if ((*thrs)[id->id_rateidx] == 0) in ieee80211_rssadapt_raise_rate() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libgomp/config/gcn/ |
H A D | team.c | 73 struct gomp_thread *thrs = team_malloc_cleared (sizeof (*thrs) in gomp_gcn_enter_kernel() local 75 set_gcn_thrs (thrs); in gomp_gcn_enter_kernel() 83 pool->threads[tid] = &thrs[tid]; in gomp_gcn_enter_kernel() 89 thrs->thread_pool = pool; in gomp_gcn_enter_kernel()
|
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/config/gcn/ |
H A D | team.c | 73 struct gomp_thread *thrs = team_malloc_cleared (sizeof (*thrs) in gomp_gcn_enter_kernel() local 75 set_gcn_thrs (thrs); in gomp_gcn_enter_kernel() 83 pool->threads[tid] = &thrs[tid]; in gomp_gcn_enter_kernel() 89 thrs->thread_pool = pool; in gomp_gcn_enter_kernel()
|
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/ |
H A D | libgomp.h | 762 struct gomp_thread * __lds *thrs = (struct gomp_thread * __lds *)4; in gcn_thrs() local 763 return *thrs; in gcn_thrs() 768 struct gomp_thread * __lds *thrs = (struct gomp_thread * __lds *)4; in set_gcn_thrs() local 769 *thrs = val; in set_gcn_thrs()
|
H A D | team.c | 1054 pthread_t *thrs in gomp_pause_host() local 1061 thrs[i] = gomp_thread_to_pthread_t (nthr); in gomp_pause_host() 1080 pthread_join (thrs[i], NULL); in gomp_pause_host()
|
/netbsd-src/external/gpl3/gcc/dist/libgomp/ |
H A D | libgomp.h | 839 struct gomp_thread * __lds *thrs = (struct gomp_thread * __lds *)4; in gcn_thrs() local 840 return *thrs; in gcn_thrs() 845 struct gomp_thread * __lds *thrs = (struct gomp_thread * __lds *)4; in set_gcn_thrs() local 846 *thrs = val; in set_gcn_thrs()
|
H A D | team.c | 1073 pthread_t *thrs in gomp_pause_host() local 1080 thrs[i] = gomp_thread_to_pthread_t (nthr); in gomp_pause_host() 1099 pthread_join (thrs[i], NULL); in gomp_pause_host()
|
/netbsd-src/games/fortune/datfiles/ |
H A D | limerick-o.real | 3236 Whose tearful but short story thrs.
|