Home
last modified time | relevance | path

Searched refs:tspec (Results 1 – 8 of 8) sorted by relevance

/external/wpa_supplicant_8/wpa_supplicant/
Dwmm_ac.c35 static inline u8 wmm_ac_get_tsid(const struct wmm_tspec_element *tspec) in wmm_ac_get_tsid() argument
37 return (tspec->ts_info[0] >> 1) & 0x0f; in wmm_ac_get_tsid()
41 static u8 wmm_ac_get_direction(const struct wmm_tspec_element *tspec) in wmm_ac_get_direction() argument
43 return (tspec->ts_info[0] >> 5) & 0x03; in wmm_ac_get_direction()
47 static u8 wmm_ac_get_user_priority(const struct wmm_tspec_element *tspec) in wmm_ac_get_user_priority() argument
49 return (tspec->ts_info[1] >> 3) & 0x07; in wmm_ac_get_user_priority()
70 const struct wmm_tspec_element *tspec) in wmm_ac_add_ts() argument
74 u16 admitted_time = le_to_host16(tspec->medium_time); in wmm_ac_add_ts()
75 u8 up = wmm_ac_get_user_priority(tspec); in wmm_ac_add_ts()
77 u8 dir = wmm_ac_get_direction(tspec); in wmm_ac_add_ts()
[all …]
Dwmm_ac.h108 struct wmm_tspec_element tspec; member
/external/wpa_supplicant_8/src/ap/
Dwmm.c123 const struct wmm_tspec_element *tspec, in wmm_send_action() argument
145 os_memcpy(t, tspec, sizeof(struct wmm_tspec_element)); in wmm_send_action()
153 int wmm_process_tspec(struct wmm_tspec_element *tspec) in wmm_process_tspec() argument
160 up = (tspec->ts_info[1] >> 3) & 0x07; in wmm_process_tspec()
161 psb = (tspec->ts_info[1] >> 2) & 0x01; in wmm_process_tspec()
162 dir = (tspec->ts_info[0] >> 5) & 0x03; in wmm_process_tspec()
163 tid = (tspec->ts_info[0] >> 1) & 0x0f; in wmm_process_tspec()
166 val = le_to_host16(tspec->nominal_msdu_size); in wmm_process_tspec()
170 le_to_host32(tspec->mean_data_rate)); in wmm_process_tspec()
172 le_to_host32(tspec->minimum_phy_rate)); in wmm_process_tspec()
[all …]
Dwmm.h21 int wmm_process_tspec(struct wmm_tspec_element *tspec);
Dwpa_auth_ft.c555 struct wmm_tspec_element *tspec; in wpa_ft_process_rdie() local
557 if (parse.wmm_tspec_len + 2 < (int) sizeof(*tspec)) { in wpa_ft_process_rdie()
564 if (end - pos < (int) sizeof(*tspec)) { in wpa_ft_process_rdie()
571 tspec = (struct wmm_tspec_element *) pos; in wpa_ft_process_rdie()
572 os_memcpy(tspec, parse.wmm_tspec - 2, sizeof(*tspec)); in wpa_ft_process_rdie()
/external/deqp/framework/delibs/deutil/
DdeTimer.c217 struct itimerspec tspec; in deTimer_scheduleSingle() local
224 tspec.it_value.tv_sec = milliseconds / 1000; in deTimer_scheduleSingle()
225 tspec.it_value.tv_nsec = (milliseconds % 1000) * 1000; in deTimer_scheduleSingle()
226 tspec.it_interval.tv_sec = 0; in deTimer_scheduleSingle()
227 tspec.it_interval.tv_nsec = 0; in deTimer_scheduleSingle()
229 if (timer_settime(timer->timer, 0, &tspec, DE_NULL) != 0) in deTimer_scheduleSingle()
238 struct itimerspec tspec; in deTimer_scheduleInterval() local
245 tspec.it_value.tv_sec = milliseconds / 1000; in deTimer_scheduleInterval()
246 tspec.it_value.tv_nsec = (milliseconds % 1000) * 1000; in deTimer_scheduleInterval()
247 tspec.it_interval.tv_sec = tspec.it_value.tv_sec; in deTimer_scheduleInterval()
[all …]
/external/libdrm/tests/exynos/
Dexynos_fimg2d_perf.c34 struct timespec tspec = { 0 }; in fimg2d_perf_simple() local
78 clock_gettime(CLOCK_MONOTONIC, &tspec); in fimg2d_perf_simple()
91 g2d_time = (end.tv_sec - tspec.tv_sec) * 1000000000ULL; in fimg2d_perf_simple()
92 g2d_time += (end.tv_nsec - tspec.tv_nsec); in fimg2d_perf_simple()
112 struct timespec tspec = { 0 }; in fimg2d_perf_multi() local
172 clock_gettime(CLOCK_MONOTONIC, &tspec); in fimg2d_perf_multi()
184 g2d_time = (end.tv_sec - tspec.tv_sec) * 1000000000ULL; in fimg2d_perf_multi()
185 g2d_time += (end.tv_nsec - tspec.tv_nsec); in fimg2d_perf_multi()
/external/autotest/client/tests/cyclictest/src/
Dcyclictest.c206 struct itimerspec tspec; in timerthread() local
240 tspec.it_interval = interval; in timerthread()
254 tspec.it_value = next; in timerthread()
256 tspec.it_value.tv_nsec = 0; in timerthread()
257 tspec.it_value.tv_sec = 1; in timerthread()
259 timer_settime(timer, par->timermode, &tspec, NULL); in timerthread()