Home
last modified time | relevance | path

Searched refs:txc (Results 1 – 25 of 47) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/clock_adjtime/
Dclock_adjtime.h25 static int sys_clock_adjtime(clockid_t clk_id, struct timex *txc) in sys_clock_adjtime() argument
27 return tst_syscall(__NR_clock_adjtime, clk_id, txc); in sys_clock_adjtime()
30 static void timex_show(char *given, struct timex txc) in timex_show() argument
45 txc.modes, in timex_show()
46 txc.offset, in timex_show()
47 txc.freq, in timex_show()
48 txc.maxerror, in timex_show()
49 txc.esterror, in timex_show()
50 txc.status, in timex_show()
51 txc.status, in timex_show()
[all …]
/external/mesa3d/prebuilt-intermediates/isl/
Disl_format_layout.c47 .txc = ISL_TXC_NONE,
67 .txc = ISL_TXC_NONE,
87 .txc = ISL_TXC_NONE,
107 .txc = ISL_TXC_NONE,
127 .txc = ISL_TXC_NONE,
147 .txc = ISL_TXC_NONE,
167 .txc = ISL_TXC_NONE,
187 .txc = ISL_TXC_NONE,
207 .txc = ISL_TXC_NONE,
227 .txc = ISL_TXC_NONE,
[all …]
/external/linux-kselftest/tools/testing/selftests/timers/
Dfreq-step.c82 struct timex txc; in reset_ntp_error() local
84 txc.modes = ADJ_SETOFFSET; in reset_ntp_error()
85 txc.time.tv_sec = 0; in reset_ntp_error()
86 txc.time.tv_usec = 0; in reset_ntp_error()
88 if (adjtimex(&txc) < 0) { in reset_ntp_error()
96 struct timex txc; in set_frequency() local
101 txc.modes = ADJ_TICK | ADJ_FREQUENCY; in set_frequency()
102 txc.tick = 1000000 / user_hz + tick_offset; in set_frequency()
103 txc.freq = (1e6 * freq - user_hz * tick_offset) * (1 << 16); in set_frequency()
105 if (adjtimex(&txc) < 0) { in set_frequency()
/external/libwebsockets/lib/roles/h2/
Dhttp2.c168 (int)wsi->txc.peer_tx_cr_est + bump); in lws_h2_update_peer_txcredit()
176 wsi->txc.peer_tx_cr_est += bump; in lws_h2_update_peer_txcredit()
178 lws_wsi_txc_describe(&wsi->txc, __func__, wsi->mux.my_sid); in lws_h2_update_peer_txcredit()
188 nwsi->txc.peer_tx_cr_est += bump; in lws_h2_update_peer_txcredit()
190 lws_wsi_txc_describe(&nwsi->txc, __func__, nwsi->mux.my_sid); in lws_h2_update_peer_txcredit()
200 lws_wsi_txc_describe(&wsi->txc, __func__, wsi->mux.my_sid); in lws_h2_get_peer_txcredit_estimate()
201 return (int)wsi->txc.peer_tx_cr_est; in lws_h2_get_peer_txcredit_estimate()
207 if (wsi->txc.peer_tx_cr_est > threshold) in lws_h2_update_peer_txcredit_thresh()
255 wsi->txc.tx_cr = nwsi->h2.h2n->peer_set.s[H2SET_INITIAL_WINDOW_SIZE]; in lws_wsi_server_new()
256 wsi->txc.peer_tx_cr_est = in lws_wsi_server_new()
[all …]
Dops-h2.c591 wsi->txc.tx_cr += add; in rops_tx_credit_h2()
592 nwsi->txc.tx_cr += add; in rops_tx_credit_h2()
600 n = wsi->txc.peer_tx_cr_est; in rops_tx_credit_h2()
601 if (n > nwsi->txc.peer_tx_cr_est) in rops_tx_credit_h2()
602 n = nwsi->txc.peer_tx_cr_est; in rops_tx_credit_h2()
734 lws_wsi_txc_check_skint(&wsi->txc, lws_h2_tx_cr_get(wsi))) { in rops_callback_on_writable_h2()
987 if (lws_wsi_txc_check_skint(&w->txc, in rops_perform_user_POLLOUT_h2()
1180 wsi->txc.tx_cr = 65535; in rops_alpn_negotiated_h2()
/external/libwebsockets/lib/secure-streams/
Dsecure-streams-client.c65 int n, txc; in lws_sspc_serialize_metadata() local
83 txc = strlen(md->name); in lws_sspc_serialize_metadata()
84 n = txc + 1 + md->len; in lws_sspc_serialize_metadata()
86 p[3] = txc; in lws_sspc_serialize_metadata()
87 memcpy(&p[4], md->name, txc); in lws_sspc_serialize_metadata()
88 memcpy(&p[4 + txc], &md[1], md->len); in lws_sspc_serialize_metadata()
89 n = 4 + txc + md->len; in lws_sspc_serialize_metadata()
187 lws_ser_wu32be(&s[3], h->txc.peer_tx_cr_est); in callback_sspc_client()
253 if (h->txc.tx_cr <= 0) { in callback_sspc_client()
256 h->txc.tx_cr); in callback_sspc_client()
[all …]
Dsecure-streams-serialize.c577 h->txc.peer_tx_cr_est -= n; in lws_ss_deserialize_parse()
622 h->txc.tx_cr += par->temp32; in lws_ss_deserialize_parse()
672 (*pss)->wsi->txc.peer_tx_cr_est); in lws_ss_deserialize_parse()
685 h->txc.tx_cr += par->temp32; in lws_ss_deserialize_parse()
/external/ltp/include/
Dtst_safe_clocks.h53 clockid_t clk_id, struct timex *txc) in safe_clock_adjtime() argument
57 rval = tst_syscall(__NR_clock_adjtime, clk_id, txc); in safe_clock_adjtime()
74 #define SAFE_CLOCK_ADJTIME(clk_id, txc)\ argument
75 safe_clock_adjtime(__FILE__, __LINE__, (clk_id), (txc))
/external/libwebsockets/lib/core-net/
Dwsi.c1251 lws_wsi_txc_check_skint(struct lws_tx_credit *txc, int32_t tx_cr) in lws_wsi_txc_check_skint() argument
1253 if (txc->tx_cr <= 0) { in lws_wsi_txc_check_skint()
1260 if (!txc->skint) in lws_wsi_txc_check_skint()
1261 lwsl_info("%s: %p: skint (%d)\n", __func__, txc, in lws_wsi_txc_check_skint()
1262 (int)txc->tx_cr); in lws_wsi_txc_check_skint()
1264 txc->skint = 1; in lws_wsi_txc_check_skint()
1269 if (txc->skint) in lws_wsi_txc_check_skint()
1270 lwsl_info("%s: %p: unskint (%d)\n", __func__, txc, in lws_wsi_txc_check_skint()
1271 (int)txc->tx_cr); in lws_wsi_txc_check_skint()
1273 txc->skint = 0; in lws_wsi_txc_check_skint()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_compute.c133 PUSH_DATAh(push, screen->txc->offset); in nv50_screen_compute_setup()
134 PUSH_DATA (push, screen->txc->offset); in nv50_screen_compute_setup()
140 PUSH_DATAh(push, screen->txc->offset + 65536); in nv50_screen_compute_setup()
141 PUSH_DATA (push, screen->txc->offset + 65536); in nv50_screen_compute_setup()
Dnv50_tex.c243 struct nouveau_bo *txc = nv50->screen->txc; in nv50_validate_tic() local
270 PUSH_DATAh(push, txc->offset); in nv50_validate_tic()
271 PUSH_DATA (push, txc->offset); in nv50_validate_tic()
367 nv50_sifc_linear_u8(&nv50->base, nv50->screen->txc, in nv50_validate_tsc()
469 nv50_sifc_linear_u8(&nv50->base, nv50->screen->txc, in nv50_upload_tsc0()
Dnv50_screen.c582 nouveau_bo_ref(NULL, &screen->txc); in nv50_screen_destroy()
794 PUSH_DATAh(push, screen->txc->offset); in nv50_screen_init_hwctx()
795 PUSH_DATA (push, screen->txc->offset); in nv50_screen_init_hwctx()
799 PUSH_DATAh(push, screen->txc->offset + 65536); in nv50_screen_init_hwctx()
800 PUSH_DATA (push, screen->txc->offset + 65536); in nv50_screen_init_hwctx()
1161 &screen->txc); in nv50_screen_create()
Dnv50_screen.h70 struct nouveau_bo *txc; /* TIC (offset 0) and TSC (65536) */ member
Dnv50_context.c363 BCTX_REFN_bo(nv50->bufctx_3d, 3D_SCREEN, flags, screen->txc); in nv50_create()
367 BCTX_REFN_bo(nv50->bufctx_cp, CP_SCREEN, flags, screen->txc); in nv50_create()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnve4_compute.c139 PUSH_DATAh(push, screen->txc->offset); in nve4_screen_compute_setup()
140 PUSH_DATA (push, screen->txc->offset); in nve4_screen_compute_setup()
143 PUSH_DATAh(push, screen->txc->offset + 65536); in nve4_screen_compute_setup()
144 PUSH_DATA (push, screen->txc->offset + 65536); in nve4_screen_compute_setup()
226 struct nouveau_bo *txc = nvc0->screen->txc; in gm107_compute_validate_surfaces() local
242 PUSH_DATAh(push, txc->offset + (tic->id * 32)); in gm107_compute_validate_surfaces()
243 PUSH_DATA (push, txc->offset + (tic->id * 32)); in gm107_compute_validate_surfaces()
951 struct nouveau_bo *txc = nvc0->screen->txc; in nve4_compute_validate_textures() local
975 PUSH_DATAh(push, txc->offset + (tic->id * 32)); in nve4_compute_validate_textures()
976 PUSH_DATA (push, txc->offset + (tic->id * 32)); in nve4_compute_validate_textures()
Dnvc0_compute.c106 PUSH_DATAh(push, screen->txc->offset); in nvc0_screen_compute_setup()
107 PUSH_DATA (push, screen->txc->offset); in nvc0_screen_compute_setup()
112 PUSH_DATAh(push, screen->txc->offset + 65536); in nvc0_screen_compute_setup()
113 PUSH_DATA (push, screen->txc->offset + 65536); in nvc0_screen_compute_setup()
Dnvc0_tex.c471 nvc0->base.push_data(&nvc0->base, nvc0->screen->txc, tic->id * 32, in nvc0_update_tic()
505 nvc0->base.push_data(&nvc0->base, nvc0->screen->txc, tic->id * 32, in nvc0_validate_tic()
571 nvc0->base.push_data(&nvc0->base, nvc0->screen->txc, tic->id * 32, in nve4_validate_tic()
646 nvc0_m2mf_push_linear(&nvc0->base, nvc0->screen->txc, in nvc0_validate_tsc()
701 nve4_p2mf_push_linear(&nvc0->base, nvc0->screen->txc, in nve4_validate_tsc()
749 nvc0->base.push_data(&nvc0->base, nvc0->screen->txc, in nvc0_upload_tsc0()
816 nve4_p2mf_push_linear(&nvc0->base, nvc0->screen->txc, tic->id * 32, in nve4_create_texture_handle()
823 nve4_p2mf_push_linear(&nvc0->base, nvc0->screen->txc, in nve4_create_texture_handle()
1254 nve4_p2mf_push_linear(&nvc0->base, nvc0->screen->txc, tic->id * 32, in gm107_validate_surfaces()
1428 nve4_p2mf_push_linear(&nvc0->base, nvc0->screen->txc, tic->id * 32, in gm107_create_image_handle()
Dnvc0_screen.c702 nouveau_bo_ref(NULL, &screen->txc); in nvc0_screen_destroy()
1354 &screen->txc); in nvc0_screen_create()
1359 PUSH_DATAh(push, screen->txc->offset); in nvc0_screen_create()
1360 PUSH_DATA (push, screen->txc->offset); in nvc0_screen_create()
1372 PUSH_DATAh(push, screen->txc->offset + 65536); in nvc0_screen_create()
1373 PUSH_DATA (push, screen->txc->offset + 65536); in nvc0_screen_create()
Dnvc0_screen.h80 struct nouveau_bo *txc; /* TIC (offset 0) and TSC (65536) */ member
/external/libwebsockets/lib/secure-streams/protocols/
Dss-h2.c50 __func__, wsi->txc.tx_cr); in secstream_h2()
51 ss_proxy_onward_txcr((void *)&h[1], wsi->txc.tx_cr); in secstream_h2()
/external/mesa3d/src/intel/isl/
Disl_gen7.c231 if (isl_format_get_layout(info->format)->txc == ISL_TXC_ASTC) in isl_gen6_filter_tiling()
235 if (isl_format_get_layout(info->format)->txc == ISL_TXC_MCS) in isl_gen6_filter_tiling()
Disl_gen12.c40 if (fmtl->txc == ISL_TXC_CCS) { in isl_gen12_choose_image_alignment_el()
Disl_gen8.c104 if (fmtl->txc == ISL_TXC_CCS) { in isl_gen8_choose_image_alignment_el()
Disl_gen9.c111 if (fmtl->txc == ISL_TXC_CCS) { in isl_gen9_choose_image_alignment_el()
Dgen_format_layout.py188 self.txc = line[14].strip().upper() or 'NONE'

12