/linux-master/arch/arm64/crypto/ |
H A D | aes-ce-setkey.h | 5 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key,
|
/linux-master/arch/powerpc/include/asm/ |
H A D | spu_priv1.h | 170 void (*enable_spu)(struct spu_context *ctx); 171 void (*disable_spu)(struct spu_context *ctx); 202 spu_enable_spu (struct spu_context *ctx) argument 204 spu_management_ops->enable_spu(ctx); 208 spu_disable_spu (struct spu_context *ctx) argument 210 spu_management_ops->disable_spu(ctx);
|
/linux-master/arch/powerpc/platforms/cell/spufs/ |
H A D | backing_ops.c | 34 static void gen_spu_event(struct spu_context *ctx, u32 event) argument 40 ch0_cnt = ctx->csa.spu_chnlcnt_RW[0]; 41 ch0_data = ctx->csa.spu_chnldata_RW[0]; 42 ch1_data = ctx->csa.spu_chnldata_RW[1]; 43 ctx->csa.spu_chnldata_RW[0] |= event; 45 ctx->csa.spu_chnlcnt_RW[0] = 1; 49 static int spu_backing_mbox_read(struct spu_context *ctx, u32 * data) argument 54 spin_lock(&ctx->csa.register_lock); 55 mbox_stat = ctx->csa.prob.mb_stat_R; 61 *data = ctx 71 spu_backing_mbox_stat_read(struct spu_context *ctx) argument 76 spu_backing_mbox_stat_poll(struct spu_context *ctx, __poll_t events) argument 115 spu_backing_ibox_read(struct spu_context *ctx, u32 * data) argument 139 spu_backing_wbox_write(struct spu_context *ctx, u32 data) argument 170 spu_backing_signal1_read(struct spu_context *ctx) argument 175 spu_backing_signal1_write(struct spu_context *ctx, u32 data) argument 187 spu_backing_signal2_read(struct spu_context *ctx) argument 192 spu_backing_signal2_write(struct spu_context *ctx, u32 data) argument 204 spu_backing_signal1_type_set(struct spu_context *ctx, u64 val) argument 218 spu_backing_signal1_type_get(struct spu_context *ctx) argument 223 spu_backing_signal2_type_set(struct spu_context *ctx, u64 val) argument 237 spu_backing_signal2_type_get(struct spu_context *ctx) argument 242 spu_backing_npc_read(struct spu_context *ctx) argument 247 spu_backing_npc_write(struct spu_context *ctx, u32 val) argument 252 spu_backing_status_read(struct spu_context *ctx) argument 257 spu_backing_get_ls(struct spu_context *ctx) argument 262 spu_backing_privcntl_write(struct spu_context *ctx, u64 val) argument 267 spu_backing_runcntl_read(struct spu_context *ctx) argument 272 spu_backing_runcntl_write(struct spu_context *ctx, u32 val) argument 290 spu_backing_runcntl_stop(struct spu_context *ctx) argument 295 spu_backing_master_start(struct spu_context *ctx) argument 306 spu_backing_master_stop(struct spu_context *ctx) argument 317 spu_backing_set_mfc_query(struct spu_context * ctx, u32 mask, u32 mode) argument 343 spu_backing_read_mfc_tagstatus(struct spu_context * ctx) argument 348 spu_backing_get_mfc_free_elements(struct spu_context *ctx) argument 353 spu_backing_send_mfc_command(struct spu_context *ctx, struct mfc_dma_command *cmd) argument 366 spu_backing_restart_dma(struct spu_context *ctx) argument [all...] |
H A D | context.c | 27 struct spu_context *ctx; local 29 ctx = kzalloc(sizeof *ctx, GFP_KERNEL); 30 if (!ctx) 35 if (spu_init_csa(&ctx->csa)) 37 spin_lock_init(&ctx->mmio_lock); 38 mutex_init(&ctx->mapping_lock); 39 kref_init(&ctx->kref); 40 mutex_init(&ctx->state_mutex); 41 mutex_init(&ctx 71 struct spu_context *ctx; local 88 get_spu_context(struct spu_context *ctx) argument 94 put_spu_context(struct spu_context *ctx) argument 100 spu_forget(struct spu_context *ctx) argument 119 spu_unmap_mappings(struct spu_context *ctx) argument 143 spu_acquire_saved(struct spu_context *ctx) argument 165 spu_release_saved(struct spu_context *ctx) argument [all...] |
H A D | fault.c | 23 static void spufs_handle_event(struct spu_context *ctx, argument 26 if (ctx->flags & SPU_CREATE_EVENTS_ENABLED) { 27 ctx->event_return |= type; 28 wake_up_all(&ctx->stop_wq); 37 ctx->ops->restart_dma(ctx); 48 ctx->ops->npc_read(ctx) - 4); 53 int spufs_handle_class0(struct spu_context *ctx) argument 55 unsigned long stat = ctx 86 spufs_handle_class1(struct spu_context *ctx) argument [all...] |
H A D | gang.c | 52 void spu_gang_add_ctx(struct spu_gang *gang, struct spu_context *ctx) argument 55 ctx->gang = get_spu_gang(gang); 56 list_add(&ctx->gang_list, &gang->list); 61 void spu_gang_remove_ctx(struct spu_gang *gang, struct spu_context *ctx) argument 64 WARN_ON(ctx->gang != gang); 65 if (!list_empty(&ctx->aff_list)) { 66 list_del_init(&ctx->aff_list); 69 list_del_init(&ctx->gang_list);
|
H A D | hw_ops.c | 24 static int spu_hw_mbox_read(struct spu_context *ctx, u32 * data) argument 26 struct spu *spu = ctx->spu; 41 static u32 spu_hw_mbox_stat_read(struct spu_context *ctx) argument 43 return in_be32(&ctx->spu->problem->mb_stat_R); 46 static __poll_t spu_hw_mbox_stat_poll(struct spu_context *ctx, __poll_t events) argument 48 struct spu *spu = ctx->spu; 82 static int spu_hw_ibox_read(struct spu_context *ctx, u32 * data) argument 84 struct spu *spu = ctx->spu; 103 static int spu_hw_wbox_write(struct spu_context *ctx, u32 data) argument 105 struct spu *spu = ctx 124 spu_hw_signal1_write(struct spu_context *ctx, u32 data) argument 129 spu_hw_signal2_write(struct spu_context *ctx, u32 data) argument 134 spu_hw_signal1_type_set(struct spu_context *ctx, u64 val) argument 150 spu_hw_signal1_type_get(struct spu_context *ctx) argument 155 spu_hw_signal2_type_set(struct spu_context *ctx, u64 val) argument 171 spu_hw_signal2_type_get(struct spu_context *ctx) argument 176 spu_hw_npc_read(struct spu_context *ctx) argument 181 spu_hw_npc_write(struct spu_context *ctx, u32 val) argument 186 spu_hw_status_read(struct spu_context *ctx) argument 191 spu_hw_get_ls(struct spu_context *ctx) argument 196 spu_hw_privcntl_write(struct spu_context *ctx, u64 val) argument 201 spu_hw_runcntl_read(struct spu_context *ctx) argument 206 spu_hw_runcntl_write(struct spu_context *ctx, u32 val) argument 216 spu_hw_runcntl_stop(struct spu_context *ctx) argument 225 spu_hw_master_start(struct spu_context *ctx) argument 236 spu_hw_master_stop(struct spu_context *ctx) argument 247 spu_hw_set_mfc_query(struct spu_context * ctx, u32 mask, u32 mode) argument 264 spu_hw_read_mfc_tagstatus(struct spu_context * ctx) argument 269 spu_hw_get_mfc_free_elements(struct spu_context *ctx) argument 274 spu_hw_send_mfc_command(struct spu_context *ctx, struct mfc_dma_command *cmd) argument 300 spu_hw_restart_dma(struct spu_context *ctx) argument [all...] |
H A D | sputrace.h | 12 TP_PROTO(struct spu_context *ctx, struct spu *spu, const char *name), 13 TP_ARGS(ctx, spu, name), 23 __entry->owner_tid = ctx->tid; 31 #define spu_context_trace(name, ctx, spu) \ 32 trace_spufs_context(ctx, spu, __stringify(name)) 33 #define spu_context_nospu_trace(name, ctx) \ 34 trace_spufs_context(ctx, NULL, __stringify(name))
|
/linux-master/arch/sparc/kernel/ |
H A D | sun4v_tlb_miss.S | 81 ldx [%g6 + HV_FAULT_I_CTX_OFFSET], %o1 ! ctx 124 ldx [%g6 + HV_FAULT_D_CTX_OFFSET], %o1 ! ctx
|
/linux-master/arch/sparc/mm/ |
H A D | leon_mm.c | 43 unsigned int ctx; local 65 ctx = srmmu_get_context(); 67 printk(KERN_INFO "swprobe: --- ctx (%x) ---\n", ctx); 69 pgd = LEON_BYPASS_LOAD_PA(ctxtbl + (ctx * 4));
|
/linux-master/arch/sparc/prom/ |
H A D | mp.c | 19 * by 'ctable_reg' in context 'ctx' at program counter 'pc'. 24 prom_startcpu(int cpunode, struct linux_prom_registers *ctable_reg, int ctx, char *pc) argument 37 ret = (*(romvec->v3_cpustart))(cpunode, (int) ctable_reg, ctx, pc);
|
/linux-master/crypto/ |
H A D | 842.c | 33 void *ctx; local 35 ctx = kmalloc(SW842_MEM_COMPRESS, GFP_KERNEL); 36 if (!ctx) 39 return ctx; 44 struct crypto842_ctx *ctx = crypto_tfm_ctx(tfm); local 46 ctx->wmem = crypto842_alloc_ctx(NULL); 47 if (IS_ERR(ctx->wmem)) 53 static void crypto842_free_ctx(struct crypto_scomp *tfm, void *ctx) argument 55 kfree(ctx); 60 struct crypto842_ctx *ctx local 69 struct crypto842_ctx *ctx = crypto_tfm_ctx(tfm); local 74 crypto842_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 88 crypto842_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument [all...] |
H A D | lz4.c | 21 void *ctx; local 23 ctx = vmalloc(LZ4_MEM_COMPRESS); 24 if (!ctx) 27 return ctx; 32 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); local 34 ctx->lz4_comp_mem = lz4_alloc_ctx(NULL); 35 if (IS_ERR(ctx->lz4_comp_mem)) 41 static void lz4_free_ctx(struct crypto_scomp *tfm, void *ctx) argument 43 vfree(ctx); 48 struct lz4_ctx *ctx local 53 __lz4_compress_crypto(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 66 lz4_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 76 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); local 81 __lz4_decompress_crypto(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 93 lz4_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument [all...] |
H A D | lz4hc.c | 20 void *ctx; local 22 ctx = vmalloc(LZ4HC_MEM_COMPRESS); 23 if (!ctx) 26 return ctx; 31 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); local 33 ctx->lz4hc_comp_mem = lz4hc_alloc_ctx(NULL); 34 if (IS_ERR(ctx->lz4hc_comp_mem)) 40 static void lz4hc_free_ctx(struct crypto_scomp *tfm, void *ctx) argument 42 vfree(ctx); 47 struct lz4hc_ctx *ctx local 52 __lz4hc_compress_crypto(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 65 lz4hc_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 76 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); local 82 __lz4hc_decompress_crypto(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 94 lz4hc_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument [all...] |
H A D | lzo-rle.c | 20 void *ctx; local 22 ctx = kvmalloc(LZO1X_MEM_COMPRESS, GFP_KERNEL); 23 if (!ctx) 26 return ctx; 31 struct lzorle_ctx *ctx = crypto_tfm_ctx(tfm); local 33 ctx->lzorle_comp_mem = lzorle_alloc_ctx(NULL); 34 if (IS_ERR(ctx->lzorle_comp_mem)) 40 static void lzorle_free_ctx(struct crypto_scomp *tfm, void *ctx) argument 42 kvfree(ctx); 47 struct lzorle_ctx *ctx local 52 __lzorle_compress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 70 struct lzorle_ctx *ctx = crypto_tfm_ctx(tfm); local 75 lzorle_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 103 lzorle_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument [all...] |
H A D | lzo.c | 20 void *ctx; local 22 ctx = kvmalloc(LZO1X_MEM_COMPRESS, GFP_KERNEL); 23 if (!ctx) 26 return ctx; 31 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); local 33 ctx->lzo_comp_mem = lzo_alloc_ctx(NULL); 34 if (IS_ERR(ctx->lzo_comp_mem)) 40 static void lzo_free_ctx(struct crypto_scomp *tfm, void *ctx) argument 42 kvfree(ctx); 47 struct lzo_ctx *ctx local 52 __lzo_compress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 70 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); local 75 lzo_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 103 lzo_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument [all...] |
H A D | md4.c | 133 static inline void md4_transform_helper(struct md4_ctx *ctx) argument 135 le32_to_cpu_array(ctx->block, ARRAY_SIZE(ctx->block)); 136 md4_transform(ctx->hash, ctx->block);
|
/linux-master/crypto/asymmetric_keys/ |
H A D | pkcs7_key_type.c | 28 static int pkcs7_view_content(void *ctx, const void *data, size_t len, argument 31 struct key_preparsed_payload *prep = ctx;
|
H A D | pkcs8_parser.c | 37 struct pkcs8_parse_context *ctx = context; local 39 ctx->last_oid = look_up_OID(value, vlen); 40 if (ctx->last_oid == OID__NR) { 45 (unsigned long)value - ctx->data, buffer); 71 struct pkcs8_parse_context *ctx = context; local 73 if (ctx->last_oid != OID_rsaEncryption) 76 ctx->pub->pkey_algo = "rsa"; 87 struct pkcs8_parse_context *ctx = context; local 89 ctx->key = value; 90 ctx 99 struct pkcs8_parse_context ctx; local [all...] |
/linux-master/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_common.h | 15 void crypto_free_context(void *ctx);
|
/linux-master/drivers/crypto/cavium/zip/ |
H A D | zip_crypto.h | 75 u8 *dst, unsigned int *dlen, void *ctx); 78 u8 *dst, unsigned int *dlen, void *ctx);
|
H A D | zip_device.h | 92 * @ctx: Context pointer for inflate 99 union zip_zptr_s *ctx; member in struct:zip_state
|
/linux-master/drivers/crypto/nx/ |
H A D | nx-842.c | 106 struct nx842_crypto_ctx *ctx = crypto_tfm_ctx(tfm); local 108 spin_lock_init(&ctx->lock); 109 ctx->driver = driver; 110 ctx->wmem = kmalloc(driver->workmem_size, GFP_KERNEL); 111 ctx->sbounce = (u8 *)__get_free_pages(GFP_KERNEL, BOUNCE_BUFFER_ORDER); 112 ctx->dbounce = (u8 *)__get_free_pages(GFP_KERNEL, BOUNCE_BUFFER_ORDER); 113 if (!ctx->wmem || !ctx->sbounce || !ctx->dbounce) { 114 kfree(ctx 126 struct nx842_crypto_ctx *ctx = crypto_tfm_ctx(tfm); local 158 compress(struct nx842_crypto_ctx *ctx, struct nx842_crypto_param *p, struct nx842_crypto_header_group *g, struct nx842_constraints *c, u16 *ignore, unsigned int hdrsize) argument 253 struct nx842_crypto_ctx *ctx = crypto_tfm_ctx(tfm); local 335 decompress(struct nx842_crypto_ctx *ctx, struct nx842_crypto_param *p, struct nx842_crypto_header_group *g, struct nx842_constraints *c, u16 ignore) argument 436 struct nx842_crypto_ctx *ctx = crypto_tfm_ctx(tfm); local [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/ |
H A D | dce_clk_mgr.h | 43 struct dc_context *ctx,
|
/linux-master/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/ |
H A D | dce110_clk_mgr.h | 30 struct dc_context *ctx,
|