/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/ |
nouveau_nvkm_engine_gr_ctxnv50.c | 175 static void nv50_gr_construct_mmio(struct nvkm_grctx *ctx); 176 static void nv50_gr_construct_xfer1(struct nvkm_grctx *ctx); 177 static void nv50_gr_construct_xfer2(struct nvkm_grctx *ctx); 182 nv50_grctx_generate(struct nvkm_grctx *ctx) 184 cp_set (ctx, STATE, RUNNING); 185 cp_set (ctx, XFER_SWITCH, ENABLE); 187 cp_bra (ctx, AUTO_SAVE, PENDING, cp_setup_save); 188 cp_bra (ctx, USER_SAVE, PENDING, cp_setup_save); 190 cp_name(ctx, cp_check_load); 191 cp_bra (ctx, AUTO_LOAD, PENDING, cp_setup_auto_load) 274 struct nvkm_grctx ctx = { local in function:nv50_grctx_init [all...] |
nouveau_nvkm_engine_gr_ctxnv40.c | 51 * rather than a cp_lsr(ctx, dwords_for_1_vs_unit) instruction. 164 nv40_gr_construct_general(struct nvkm_grctx *ctx) 166 struct nvkm_device *device = ctx->device; 169 cp_ctx(ctx, 0x4000a4, 1); 170 gr_def(ctx, 0x4000a4, 0x00000008); 171 cp_ctx(ctx, 0x400144, 58); 172 gr_def(ctx, 0x400144, 0x00000001); 173 cp_ctx(ctx, 0x400314, 1); 174 gr_def(ctx, 0x400314, 0x00000000); 175 cp_ctx(ctx, 0x400400, 10) 679 struct nvkm_grctx ctx = { local in function:nv40_grctx_init [all...] |
ctxnv40.h | 27 cp_out(struct nvkm_grctx *ctx, u32 inst) 29 u32 *ctxprog = ctx->ucode; 31 if (ctx->mode != NVKM_GRCTX_PROG) 34 BUG_ON(ctx->ctxprog_len == ctx->ctxprog_max); 35 ctxprog[ctx->ctxprog_len++] = inst; 39 cp_lsr(struct nvkm_grctx *ctx, u32 val) 41 cp_out(ctx, CP_LOAD_SR | val); 45 cp_ctx(struct nvkm_grctx *ctx, u32 reg, u32 length) 47 ctx->ctxprog_reg = (reg - 0x00400000) >> 2 [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/ |
mock_context.c | 20 struct i915_gem_context *ctx; local in function:mock_context 23 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL); 24 if (!ctx) 27 kref_init(&ctx->ref); 28 INIT_LIST_HEAD(&ctx->link); 29 ctx->i915 = i915; 31 i915_gem_context_set_persistence(ctx); 33 mutex_init(&ctx->engines_mutex); 34 e = default_engines(ctx); 83 struct i915_gem_context *ctx; local in function:live_context 105 struct i915_gem_context *ctx; local in function:kernel_context [all...] |
/src/sys/opencrypto/ |
aesxcbcmac.c | 52 aesxcbc_ctx *ctx; local in function:aes_xcbc_mac_init 55 ctx = vctx; 56 memset(ctx, 0, sizeof(*ctx)); 60 ctx->r_nr = aes_setenckey128(&r_ks, key); 63 ctx->r_nr = aes_setenckey192(&r_ks, key); 66 ctx->r_nr = aes_setenckey256(&r_ks, key); 69 aes_enc(&r_ks, k1seed, k1, ctx->r_nr); 70 aes_enc(&r_ks, k2seed, ctx->k2, ctx->r_nr) 84 aesxcbc_ctx *ctx; local in function:aes_xcbc_mac_loop 130 aesxcbc_ctx *ctx; local in function:aes_xcbc_mac_result [all...] |
/src/common/lib/libprop/ |
prop_ingest.c | 49 prop_ingest_context_t ctx; local in function:prop_ingest_context_alloc 51 ctx = _PROP_MALLOC(sizeof(*ctx), M_TEMP); 52 if (ctx != NULL) { 53 ctx->pic_error = PROP_INGEST_ERROR_NO_ERROR; 54 ctx->pic_type = PROP_TYPE_UNKNOWN; 55 ctx->pic_key = NULL; 56 ctx->pic_private = xprivate; 58 return (ctx); 66 prop_ingest_context_free(prop_ingest_context_t ctx) [all...] |
prop_extern.c | 54 struct _prop_object_externalize_context *ctx, unsigned char c) 57 _PROP_ASSERT(ctx->poec_capacity != 0); 58 _PROP_ASSERT(ctx->poec_buf != NULL); 59 _PROP_ASSERT(ctx->poec_len <= ctx->poec_capacity); 61 if (ctx->poec_len == ctx->poec_capacity) { 62 char *cp = _PROP_REALLOC(ctx->poec_buf, 63 ctx->poec_capacity + BUF_EXPAND, 68 ctx->poec_capacity = ctx->poec_capacity + BUF_EXPAND 449 struct _prop_object_externalize_context *ctx; local in function:_prop_extern_context_alloc 486 struct _prop_object_externalize_context *ctx; local in function:_prop_object_externalize [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/gem/ |
i915_gem_context.h | 24 static inline bool i915_gem_context_is_closed(const struct i915_gem_context *ctx) 26 return test_bit(CONTEXT_CLOSED, &ctx->flags); 29 static inline void i915_gem_context_set_closed(struct i915_gem_context *ctx) 31 GEM_BUG_ON(i915_gem_context_is_closed(ctx)); 32 set_bit(CONTEXT_CLOSED, &ctx->flags); 35 static inline bool i915_gem_context_no_error_capture(const struct i915_gem_context *ctx) 37 return test_bit(UCONTEXT_NO_ERROR_CAPTURE, &ctx->user_flags); 40 static inline void i915_gem_context_set_no_error_capture(struct i915_gem_context *ctx) 42 set_bit(UCONTEXT_NO_ERROR_CAPTURE, &ctx->user_flags); 45 static inline void i915_gem_context_clear_no_error_capture(struct i915_gem_context *ctx) [all...] |
/src/lib/libexecinfo/ |
unwind.c | 45 tracer(struct _Unwind_Context *ctx, void *arg) 54 t->arr[t->n++] = (void *)_Unwind_GetIP(ctx); 63 struct tracer_context ctx; local in function:backtrace 65 ctx.arr = arr; 66 ctx.len = len; 67 ctx.n = (size_t)~0; 69 _Unwind_Backtrace(tracer, &ctx); 70 if (ctx.n == (size_t)~0) 71 ctx.n = 0; 72 else if (ctx.n > 0 [all...] |
/src/sys/crypto/camellia/ |
camellia-api.c | 37 camellia_set_key(camellia_ctx *ctx, const u_char *key, int bits) 40 Camellia_Ekeygen(bits, key, ctx->subkey); 41 ctx->bits = bits; 45 camellia_decrypt(const camellia_ctx *ctx, const u_char *src, u_char *dst) 48 Camellia_DecryptBlock(ctx->bits, src, ctx->subkey, dst); 52 camellia_encrypt(const camellia_ctx *ctx, const u_char *src, u_char *dst) 55 Camellia_EncryptBlock(ctx->bits, src, ctx->subkey, dst);
|
/src/lib/libc/rpc/ |
__rpc_getxid.c | 51 static randomid_t ctx = NULL; local in function:__rpc_getxid 53 if (!ctx) { 54 ctx = randomid_new(32, RANDOMID_TIMEO_DEFAULT); 55 if (!ctx) 59 return randomid(ctx);
|
/src/sys/arch/hpcmips/stand/libsa/ |
winblk.c | 74 static int rawread(struct winblk *ctx, int start, int nsecs, char *buf); 79 struct winblk *ctx = (struct winblk*)devdata; local in function:winblkstrategy 86 dblk += ctx->start; 89 if (error = rawread(ctx, dblk, nblks, buf)) { 93 if (error = rawread(ctx, dblk + nblks, 1, ctx->buf)) { 96 memcpy((BYTE*)buf + nblks * BLKSZ, ctx->buf, 111 struct winblk *ctx = NULL; local in function:winblkopen 122 ctx = (struct winblk *)alloc(sizeof(*ctx)); 295 struct winblk *ctx = f->f_devdata; local in function:winblkclose [all...] |
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_stream/chacha20/dolbeau/ |
chacha20_dolbeau-avx2.c | 37 chacha_keysetup(chacha_ctx *ctx, const uint8_t *k) 39 ctx->input[0] = 0x61707865; 40 ctx->input[1] = 0x3320646e; 41 ctx->input[2] = 0x79622d32; 42 ctx->input[3] = 0x6b206574; 43 ctx->input[4] = LOAD32_LE(k + 0); 44 ctx->input[5] = LOAD32_LE(k + 4); 45 ctx->input[6] = LOAD32_LE(k + 8); 46 ctx->input[7] = LOAD32_LE(k + 12); 47 ctx->input[8] = LOAD32_LE(k + 16) 93 struct chacha_ctx ctx; local in function:stream_ref 112 struct chacha_ctx ctx; local in function:stream_ietf_ref 132 struct chacha_ctx ctx; local in function:stream_ref_xor_ic 157 struct chacha_ctx ctx; local in function:stream_ietf_ref_xor_ic [all...] |
chacha20_dolbeau-ssse3.c | 32 chacha_keysetup(chacha_ctx *ctx, const uint8_t *k) 34 ctx->input[0] = 0x61707865; 35 ctx->input[1] = 0x3320646e; 36 ctx->input[2] = 0x79622d32; 37 ctx->input[3] = 0x6b206574; 38 ctx->input[4] = LOAD32_LE(k + 0); 39 ctx->input[5] = LOAD32_LE(k + 4); 40 ctx->input[6] = LOAD32_LE(k + 8); 41 ctx->input[7] = LOAD32_LE(k + 12); 42 ctx->input[8] = LOAD32_LE(k + 16) 87 struct chacha_ctx ctx; local in function:stream_ref 106 struct chacha_ctx ctx; local in function:stream_ietf_ref 126 struct chacha_ctx ctx; local in function:stream_ref_xor_ic 151 struct chacha_ctx ctx; local in function:stream_ietf_ref_xor_ic [all...] |
/src/sys/arch/hpc/stand/libsa/ |
winblk.c | 74 static int rawread(struct winblk *ctx, int start, int nsecs, char *buf); 80 struct winblk *ctx = (struct winblk*)devdata; local in function:winblkstrategy 87 dblk += ctx->start; 90 if (error = rawread(ctx, dblk, nblks, buf)) { 94 if (error = rawread(ctx, dblk + nblks, 1, ctx->buf)) { 97 memcpy((BYTE*)buf + nblks * BLKSZ, ctx->buf, 112 struct winblk *ctx = NULL; local in function:winblkopen 123 ctx = (struct winblk *)alloc(sizeof(*ctx)); 295 struct winblk *ctx = f->f_devdata; local in function:winblkclose [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/clk_mgr/dce120/ |
dce120_clk_mgr.h | 31 void dce120_clk_mgr_construct(struct dc_context *ctx, struct clk_mgr_internal *clk_mgr); 32 void dce121_clk_mgr_construct(struct dc_context *ctx, struct clk_mgr_internal *clk_mgr);
|
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_stream/salsa20/xmm6int/ |
salsa20_xmm6int-avx2.c | 40 salsa_keysetup(salsa_ctx *ctx, const uint8_t *k) 42 ctx->input[TR[1]] = LOAD32_LE(k + 0); 43 ctx->input[TR[2]] = LOAD32_LE(k + 4); 44 ctx->input[TR[3]] = LOAD32_LE(k + 8); 45 ctx->input[TR[4]] = LOAD32_LE(k + 12); 46 ctx->input[TR[11]] = LOAD32_LE(k + 16); 47 ctx->input[TR[12]] = LOAD32_LE(k + 20); 48 ctx->input[TR[13]] = LOAD32_LE(k + 24); 49 ctx->input[TR[14]] = LOAD32_LE(k + 28); 50 ctx->input[TR[0]] = 0x61707865 85 struct salsa_ctx ctx; local in function:stream_avx2 105 struct salsa_ctx ctx; local in function:stream_avx2_xor_ic [all...] |
salsa20_xmm6int-sse2.c | 32 salsa_keysetup(salsa_ctx *ctx, const uint8_t *k) 34 ctx->input[TR[1]] = LOAD32_LE(k + 0); 35 ctx->input[TR[2]] = LOAD32_LE(k + 4); 36 ctx->input[TR[3]] = LOAD32_LE(k + 8); 37 ctx->input[TR[4]] = LOAD32_LE(k + 12); 38 ctx->input[TR[11]] = LOAD32_LE(k + 16); 39 ctx->input[TR[12]] = LOAD32_LE(k + 20); 40 ctx->input[TR[13]] = LOAD32_LE(k + 24); 41 ctx->input[TR[14]] = LOAD32_LE(k + 28); 42 ctx->input[TR[0]] = 0x61707865 76 struct salsa_ctx ctx; local in function:stream_sse2 96 struct salsa_ctx ctx; local in function:stream_sse2_xor_ic [all...] |
/src/usr.sbin/npf/npfd/ |
npfd_log.c | 64 npfd_log_setfilter(npfd_log_t *ctx) 68 if (ctx->filter == NULL) 71 if (pcap_compile(ctx->pcap, &bprog, ctx->filter, 1, 0) == -1) 73 ctx->filter, pcap_geterr(ctx->pcap)); 74 if (pcap_setfilter(ctx->pcap, &bprog) == -1) 76 pcap_geterr(ctx->pcap)); 81 npfd_log_gethdr(npfd_log_t *ctx, struct pcap_file_header*hdr) 83 FILE *fp = fopen(ctx->path, "r") 216 npfd_log_t *ctx; local in function:npfd_log_create [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce110/ |
dce110_mem_input_v.h | 35 struct dc_context *ctx);
|
dce110_opp_v.h | 35 struct dc_context *ctx);
|
dce110_timing_generator_v.h | 33 struct dc_context *ctx);
|
/src/sys/external/bsd/drm2/dist/drm/amd/include/ |
atom-bits.h | 34 #define U8(ptr) get_u8(ctx->ctx->bios, (ptr)) 35 #define CU8(ptr) get_u8(ctx->bios, (ptr)) 40 #define U16(ptr) get_u16(ctx->ctx->bios, (ptr)) 41 #define CU16(ptr) get_u16(ctx->bios, (ptr)) 46 #define U32(ptr) get_u32(ctx->ctx->bios, (ptr)) 47 #define CU32(ptr) get_u32(ctx->bios, (ptr)) 48 #define CSTR(ptr) (((char *)(ctx->bios))+(ptr) [all...] |
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
atom-bits.h | 34 #define U8(ptr) get_u8(ctx->ctx->bios, (ptr)) 35 #define CU8(ptr) get_u8(ctx->bios, (ptr)) 40 #define U16(ptr) get_u16(ctx->ctx->bios, (ptr)) 41 #define CU16(ptr) get_u16(ctx->bios, (ptr)) 46 #define U32(ptr) get_u32(ctx->ctx->bios, (ptr)) 47 #define CU32(ptr) get_u32(ctx->bios, (ptr)) 48 #define CSTR(ptr) (((char *)(ctx->bios))+(ptr) [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/ |
dm_helpers.h | 41 struct dc_context *ctx, 50 struct dc_context *ctx, 57 struct dc_context *ctx, 66 struct dc_context *ctx, 73 struct dc_context *ctx, 80 struct dc_context *ctx, 86 struct dc_context *ctx, 91 struct dc_context *ctx, 96 struct dc_context *ctx, 102 struct dc_context *ctx, [all...] |