adata 205 arch/ia64/kernel/efi.c efi_char16_t *adata = NULL; \ adata 208 arch/ia64/kernel/efi.c adata = adjust_arg(data); \ adata 213 arch/ia64/kernel/efi.c reset_type, status, data_size, adata); \ adata 157 crypto/ccm.c static int format_adata(u8 *adata, unsigned int a) adata 165 crypto/ccm.c *(__be16 *)adata = cpu_to_be16(a); adata 168 crypto/ccm.c *(__be16 *)adata = cpu_to_be16(0xfffe); adata 169 crypto/ccm.c *(__be32 *)&adata[2] = cpu_to_be32(a); adata 1173 drivers/crypto/bcm/spu.c u8 adata; adata 1211 drivers/crypto/bcm/spu.c adata = (assoclen > 0); /* adata = 1 if any associated data */ adata 1213 drivers/crypto/bcm/spu.c cipher_parms->iv_buf[0] = (adata << CCM_B0_ADATA_SHIFT) | adata 112 drivers/crypto/caam/caamalg.c struct alginfo adata; adata 124 drivers/crypto/caam/caamalg.c ctx->adata.keylen_pad; adata 131 drivers/crypto/caam/caamalg.c ctx->adata.key_inline = true; adata 132 drivers/crypto/caam/caamalg.c ctx->adata.key_virt = ctx->key; adata 134 drivers/crypto/caam/caamalg.c ctx->adata.key_inline = false; adata 135 drivers/crypto/caam/caamalg.c ctx->adata.key_dma = ctx->key_dma; adata 140 drivers/crypto/caam/caamalg.c cnstr_shdsc_aead_null_encap(desc, &ctx->adata, ctx->authsize, adata 150 drivers/crypto/caam/caamalg.c ctx->adata.key_inline = true; adata 151 drivers/crypto/caam/caamalg.c ctx->adata.key_virt = ctx->key; adata 153 drivers/crypto/caam/caamalg.c ctx->adata.key_inline = false; adata 154 drivers/crypto/caam/caamalg.c ctx->adata.key_dma = ctx->key_dma; adata 159 drivers/crypto/caam/caamalg.c cnstr_shdsc_aead_null_decap(desc, &ctx->adata, ctx->authsize, adata 204 drivers/crypto/caam/caamalg.c nonce = (u32 *)((void *)ctx->key + ctx->adata.keylen_pad + adata 214 drivers/crypto/caam/caamalg.c ctx->adata.key_virt = ctx->key; adata 215 drivers/crypto/caam/caamalg.c ctx->adata.key_dma = ctx->key_dma; adata 217 drivers/crypto/caam/caamalg.c ctx->cdata.key_virt = ctx->key + ctx->adata.keylen_pad; adata 218 drivers/crypto/caam/caamalg.c ctx->cdata.key_dma = ctx->key_dma + ctx->adata.keylen_pad; adata 220 drivers/crypto/caam/caamalg.c data_len[0] = ctx->adata.keylen_pad; adata 236 drivers/crypto/caam/caamalg.c ctx->adata.key_inline = !!(inl_mask & 1); adata 241 drivers/crypto/caam/caamalg.c cnstr_shdsc_aead_encap(desc, &ctx->cdata, &ctx->adata, ivsize, adata 258 drivers/crypto/caam/caamalg.c ctx->adata.key_inline = !!(inl_mask & 1); adata 263 drivers/crypto/caam/caamalg.c cnstr_shdsc_aead_decap(desc, &ctx->cdata, &ctx->adata, ivsize, adata 282 drivers/crypto/caam/caamalg.c ctx->adata.key_inline = !!(inl_mask & 1); adata 287 drivers/crypto/caam/caamalg.c cnstr_shdsc_aead_givencap(desc, &ctx->cdata, &ctx->adata, ivsize, adata 518 drivers/crypto/caam/caamalg.c cnstr_shdsc_chachapoly(desc, &ctx->cdata, &ctx->adata, ivsize, adata 524 drivers/crypto/caam/caamalg.c cnstr_shdsc_chachapoly(desc, &ctx->cdata, &ctx->adata, ivsize, adata 585 drivers/crypto/caam/caamalg.c ctx->adata.keylen = keys.authkeylen; adata 586 drivers/crypto/caam/caamalg.c ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype & adata 589 drivers/crypto/caam/caamalg.c if (ctx->adata.keylen_pad + keys.enckeylen > CAAM_MAX_KEY_SIZE) adata 593 drivers/crypto/caam/caamalg.c memcpy(ctx->key + ctx->adata.keylen_pad, keys.enckey, adata 596 drivers/crypto/caam/caamalg.c ctx->adata.keylen_pad + adata 601 drivers/crypto/caam/caamalg.c ret = gen_split_key(ctx->jrdev, ctx->key, &ctx->adata, keys.authkey, adata 609 drivers/crypto/caam/caamalg.c memcpy(ctx->key + ctx->adata.keylen_pad, keys.enckey, keys.enckeylen); adata 610 drivers/crypto/caam/caamalg.c dma_sync_single_for_device(jrdev, ctx->key_dma, ctx->adata.keylen_pad + adata 615 drivers/crypto/caam/caamalg.c ctx->adata.keylen_pad + keys.enckeylen, 1); adata 3443 drivers/crypto/caam/caamalg.c ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam->class2_alg_type; adata 56 drivers/crypto/caam/caamalg_desc.c void cnstr_shdsc_aead_null_encap(u32 * const desc, struct alginfo *adata, adata 67 drivers/crypto/caam/caamalg_desc.c if (adata->key_inline) adata 68 drivers/crypto/caam/caamalg_desc.c append_key_as_imm(desc, adata->key_virt, adata 69 drivers/crypto/caam/caamalg_desc.c adata->keylen_pad, adata->keylen, adata 73 drivers/crypto/caam/caamalg_desc.c append_key(desc, adata->key_dma, adata->keylen, adata 76 drivers/crypto/caam/caamalg_desc.c append_proto_dkp(desc, adata); adata 101 drivers/crypto/caam/caamalg_desc.c append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL | adata 135 drivers/crypto/caam/caamalg_desc.c void cnstr_shdsc_aead_null_decap(u32 * const desc, struct alginfo *adata, adata 146 drivers/crypto/caam/caamalg_desc.c if (adata->key_inline) adata 147 drivers/crypto/caam/caamalg_desc.c append_key_as_imm(desc, adata->key_virt, adata 148 drivers/crypto/caam/caamalg_desc.c adata->keylen_pad, adata->keylen, adata 152 drivers/crypto/caam/caamalg_desc.c append_key(desc, adata->key_dma, adata->keylen, adata 155 drivers/crypto/caam/caamalg_desc.c append_proto_dkp(desc, adata); adata 160 drivers/crypto/caam/caamalg_desc.c append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL | adata 212 drivers/crypto/caam/caamalg_desc.c struct alginfo * const adata, adata 234 drivers/crypto/caam/caamalg_desc.c if (adata->key_inline) adata 235 drivers/crypto/caam/caamalg_desc.c append_key_as_imm(desc, adata->key_virt, adata 236 drivers/crypto/caam/caamalg_desc.c adata->keylen_pad, adata->keylen, adata 240 drivers/crypto/caam/caamalg_desc.c append_key(desc, adata->key_dma, adata->keylen, adata 243 drivers/crypto/caam/caamalg_desc.c append_proto_dkp(desc, adata); adata 289 drivers/crypto/caam/caamalg_desc.c struct alginfo *adata, unsigned int ivsize, adata 295 drivers/crypto/caam/caamalg_desc.c init_sh_desc_key_aead(desc, cdata, adata, is_rfc3686, nonce, era); adata 298 drivers/crypto/caam/caamalg_desc.c append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL | adata 383 drivers/crypto/caam/caamalg_desc.c struct alginfo *adata, unsigned int ivsize, adata 389 drivers/crypto/caam/caamalg_desc.c init_sh_desc_key_aead(desc, cdata, adata, is_rfc3686, nonce, era); adata 392 drivers/crypto/caam/caamalg_desc.c append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL | adata 500 drivers/crypto/caam/caamalg_desc.c struct alginfo *adata, unsigned int ivsize, adata 509 drivers/crypto/caam/caamalg_desc.c init_sh_desc_key_aead(desc, cdata, adata, is_rfc3686, nonce, era); adata 555 drivers/crypto/caam/caamalg_desc.c append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL | adata 1240 drivers/crypto/caam/caamalg_desc.c struct alginfo *adata, unsigned int ivsize, adata 1268 drivers/crypto/caam/caamalg_desc.c append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL | adata 1273 drivers/crypto/caam/caamalg_desc.c append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL | adata 51 drivers/crypto/caam/caamalg_desc.h void cnstr_shdsc_aead_null_encap(u32 * const desc, struct alginfo *adata, adata 54 drivers/crypto/caam/caamalg_desc.h void cnstr_shdsc_aead_null_decap(u32 * const desc, struct alginfo *adata, adata 58 drivers/crypto/caam/caamalg_desc.h struct alginfo *adata, unsigned int ivsize, adata 64 drivers/crypto/caam/caamalg_desc.h struct alginfo *adata, unsigned int ivsize, adata 70 drivers/crypto/caam/caamalg_desc.h struct alginfo *adata, unsigned int ivsize, adata 100 drivers/crypto/caam/caamalg_desc.h struct alginfo *adata, unsigned int ivsize, adata 64 drivers/crypto/caam/caamalg_qi.c struct alginfo adata; adata 104 drivers/crypto/caam/caamalg_qi.c nonce = (u32 *)((void *)ctx->key + ctx->adata.keylen_pad + adata 114 drivers/crypto/caam/caamalg_qi.c ctx->adata.key_virt = ctx->key; adata 115 drivers/crypto/caam/caamalg_qi.c ctx->adata.key_dma = ctx->key_dma; adata 117 drivers/crypto/caam/caamalg_qi.c ctx->cdata.key_virt = ctx->key + ctx->adata.keylen_pad; adata 118 drivers/crypto/caam/caamalg_qi.c ctx->cdata.key_dma = ctx->key_dma + ctx->adata.keylen_pad; adata 120 drivers/crypto/caam/caamalg_qi.c data_len[0] = ctx->adata.keylen_pad; adata 133 drivers/crypto/caam/caamalg_qi.c ctx->adata.key_inline = !!(inl_mask & 1); adata 136 drivers/crypto/caam/caamalg_qi.c cnstr_shdsc_aead_encap(ctx->sh_desc_enc, &ctx->cdata, &ctx->adata, adata 148 drivers/crypto/caam/caamalg_qi.c ctx->adata.key_inline = !!(inl_mask & 1); adata 151 drivers/crypto/caam/caamalg_qi.c cnstr_shdsc_aead_decap(ctx->sh_desc_dec, &ctx->cdata, &ctx->adata, adata 166 drivers/crypto/caam/caamalg_qi.c ctx->adata.key_inline = !!(inl_mask & 1); adata 169 drivers/crypto/caam/caamalg_qi.c cnstr_shdsc_aead_givencap(ctx->sh_desc_enc, &ctx->cdata, &ctx->adata, adata 210 drivers/crypto/caam/caamalg_qi.c ctx->adata.keylen = keys.authkeylen; adata 211 drivers/crypto/caam/caamalg_qi.c ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype & adata 214 drivers/crypto/caam/caamalg_qi.c if (ctx->adata.keylen_pad + keys.enckeylen > CAAM_MAX_KEY_SIZE) adata 218 drivers/crypto/caam/caamalg_qi.c memcpy(ctx->key + ctx->adata.keylen_pad, keys.enckey, adata 221 drivers/crypto/caam/caamalg_qi.c ctx->adata.keylen_pad + adata 226 drivers/crypto/caam/caamalg_qi.c ret = gen_split_key(jrdev, ctx->key, &ctx->adata, keys.authkey, adata 233 drivers/crypto/caam/caamalg_qi.c memcpy(ctx->key + ctx->adata.keylen_pad, keys.enckey, keys.enckeylen); adata 235 drivers/crypto/caam/caamalg_qi.c ctx->adata.keylen_pad + keys.enckeylen, adata 240 drivers/crypto/caam/caamalg_qi.c ctx->adata.keylen_pad + keys.enckeylen, 1); adata 2449 drivers/crypto/caam/caamalg_qi.c ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam->class2_alg_type; adata 80 drivers/crypto/caam/caamalg_qi2.c struct alginfo adata; adata 198 drivers/crypto/caam/caamalg_qi2.c nonce = (u32 *)((void *)ctx->key + ctx->adata.keylen_pad + adata 208 drivers/crypto/caam/caamalg_qi2.c ctx->adata.key_virt = ctx->key; adata 209 drivers/crypto/caam/caamalg_qi2.c ctx->adata.key_dma = ctx->key_dma; adata 211 drivers/crypto/caam/caamalg_qi2.c ctx->cdata.key_virt = ctx->key + ctx->adata.keylen_pad; adata 212 drivers/crypto/caam/caamalg_qi2.c ctx->cdata.key_dma = ctx->key_dma + ctx->adata.keylen_pad; adata 214 drivers/crypto/caam/caamalg_qi2.c data_len[0] = ctx->adata.keylen_pad; adata 225 drivers/crypto/caam/caamalg_qi2.c ctx->adata.key_inline = !!(inl_mask & 1); adata 232 drivers/crypto/caam/caamalg_qi2.c cnstr_shdsc_aead_givencap(desc, &ctx->cdata, &ctx->adata, adata 237 drivers/crypto/caam/caamalg_qi2.c cnstr_shdsc_aead_encap(desc, &ctx->cdata, &ctx->adata, adata 253 drivers/crypto/caam/caamalg_qi2.c ctx->adata.key_inline = !!(inl_mask & 1); adata 258 drivers/crypto/caam/caamalg_qi2.c cnstr_shdsc_aead_decap(desc, &ctx->cdata, &ctx->adata, adata 296 drivers/crypto/caam/caamalg_qi2.c ctx->adata.keylen = keys.authkeylen; adata 297 drivers/crypto/caam/caamalg_qi2.c ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype & adata 300 drivers/crypto/caam/caamalg_qi2.c if (ctx->adata.keylen_pad + keys.enckeylen > CAAM_MAX_KEY_SIZE) adata 304 drivers/crypto/caam/caamalg_qi2.c memcpy(ctx->key + ctx->adata.keylen_pad, keys.enckey, keys.enckeylen); adata 305 drivers/crypto/caam/caamalg_qi2.c dma_sync_single_for_device(dev, ctx->key_dma, ctx->adata.keylen_pad + adata 309 drivers/crypto/caam/caamalg_qi2.c ctx->adata.keylen_pad + keys.enckeylen, 1); adata 599 drivers/crypto/caam/caamalg_qi2.c cnstr_shdsc_chachapoly(desc, &ctx->cdata, &ctx->adata, ivsize, adata 608 drivers/crypto/caam/caamalg_qi2.c cnstr_shdsc_chachapoly(desc, &ctx->cdata, &ctx->adata, ivsize, adata 1541 drivers/crypto/caam/caamalg_qi2.c ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam->class2_alg_type; adata 2992 drivers/crypto/caam/caamalg_qi2.c struct alginfo adata; adata 3098 drivers/crypto/caam/caamalg_qi2.c cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_UPDATE, ctx->ctx_len, adata 3110 drivers/crypto/caam/caamalg_qi2.c cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_INIT, ctx->ctx_len, adata 3122 drivers/crypto/caam/caamalg_qi2.c cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_FINALIZE, digestsize, adata 3134 drivers/crypto/caam/caamalg_qi2.c cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_INITFINAL, digestsize, adata 3197 drivers/crypto/caam/caamalg_qi2.c append_operation(desc, ctx->adata.algtype | OP_ALG_ENCRYPT | adata 3280 drivers/crypto/caam/caamalg_qi2.c ctx->adata.keylen = keylen; adata 3281 drivers/crypto/caam/caamalg_qi2.c ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype & adata 3283 drivers/crypto/caam/caamalg_qi2.c if (ctx->adata.keylen_pad > CAAM_MAX_HASH_KEY_SIZE) adata 3286 drivers/crypto/caam/caamalg_qi2.c ctx->adata.key_virt = key; adata 3287 drivers/crypto/caam/caamalg_qi2.c ctx->adata.key_inline = true; adata 3295 drivers/crypto/caam/caamalg_qi2.c if (keylen > ctx->adata.keylen_pad) { adata 3297 drivers/crypto/caam/caamalg_qi2.c dma_sync_single_for_device(ctx->dev, ctx->adata.key_dma, adata 3298 drivers/crypto/caam/caamalg_qi2.c ctx->adata.keylen_pad, adata 4533 drivers/crypto/caam/caamalg_qi2.c ctx->adata.key_dma = dma_map_single_attrs(ctx->dev, ctx->key, adata 4537 drivers/crypto/caam/caamalg_qi2.c if (dma_mapping_error(ctx->dev, ctx->adata.key_dma)) { adata 4548 drivers/crypto/caam/caamalg_qi2.c if (ctx->adata.key_dma) adata 4549 drivers/crypto/caam/caamalg_qi2.c dma_unmap_single_attrs(ctx->dev, ctx->adata.key_dma, adata 4560 drivers/crypto/caam/caamalg_qi2.c ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam_hash->alg_type; adata 4562 drivers/crypto/caam/caamalg_qi2.c ctx->ctx_len = runninglen[(ctx->adata.algtype & adata 4578 drivers/crypto/caam/caamalg_qi2.c if (ctx->adata.key_dma) adata 4579 drivers/crypto/caam/caamalg_qi2.c dma_unmap_single_attrs(ctx->dev, ctx->adata.key_dma, adata 102 drivers/crypto/caam/caamhash.c struct alginfo adata; adata 230 drivers/crypto/caam/caamhash.c ctx->adata.key_virt = ctx->key; adata 234 drivers/crypto/caam/caamhash.c cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_UPDATE, ctx->ctx_len, adata 245 drivers/crypto/caam/caamhash.c cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_INIT, ctx->ctx_len, adata 255 drivers/crypto/caam/caamhash.c cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_FINALIZE, digestsize, adata 266 drivers/crypto/caam/caamhash.c cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_INITFINAL, digestsize, adata 287 drivers/crypto/caam/caamhash.c cnstr_shdsc_sk_hash(desc, &ctx->adata, OP_ALG_AS_UPDATE, adata 297 drivers/crypto/caam/caamhash.c cnstr_shdsc_sk_hash(desc, &ctx->adata, OP_ALG_AS_FINALIZE, adata 306 drivers/crypto/caam/caamhash.c ctx->adata.key_virt = ctx->key; adata 310 drivers/crypto/caam/caamhash.c cnstr_shdsc_sk_hash(desc, &ctx->adata, OP_ALG_AS_INIT, ctx->ctx_len, adata 320 drivers/crypto/caam/caamhash.c cnstr_shdsc_sk_hash(desc, &ctx->adata, OP_ALG_AS_INITFINAL, adata 339 drivers/crypto/caam/caamhash.c cnstr_shdsc_sk_hash(desc, &ctx->adata, OP_ALG_AS_UPDATE, adata 349 drivers/crypto/caam/caamhash.c cnstr_shdsc_sk_hash(desc, &ctx->adata, OP_ALG_AS_FINALIZE, adata 359 drivers/crypto/caam/caamhash.c cnstr_shdsc_sk_hash(desc, &ctx->adata, OP_ALG_AS_INIT, ctx->ctx_len, adata 369 drivers/crypto/caam/caamhash.c cnstr_shdsc_sk_hash(desc, &ctx->adata, OP_ALG_AS_INITFINAL, adata 406 drivers/crypto/caam/caamhash.c append_operation(desc, ctx->adata.algtype | OP_ALG_ENCRYPT | adata 471 drivers/crypto/caam/caamhash.c ctx->adata.key_inline = true; adata 472 drivers/crypto/caam/caamhash.c ctx->adata.keylen = keylen; adata 473 drivers/crypto/caam/caamhash.c ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype & adata 476 drivers/crypto/caam/caamhash.c if (ctx->adata.keylen_pad > CAAM_MAX_HASH_KEY_SIZE) adata 487 drivers/crypto/caam/caamhash.c if (keylen > ctx->adata.keylen_pad) adata 489 drivers/crypto/caam/caamhash.c ctx->adata.key_dma, adata 490 drivers/crypto/caam/caamhash.c ctx->adata.keylen_pad, adata 493 drivers/crypto/caam/caamhash.c ret = gen_split_key(ctx->jrdev, ctx->key, &ctx->adata, key, adata 519 drivers/crypto/caam/caamhash.c dma_sync_single_for_device(jrdev, ctx->adata.key_dma, keylen, adata 521 drivers/crypto/caam/caamhash.c ctx->adata.keylen = keylen; adata 542 drivers/crypto/caam/caamhash.c ctx->adata.key_virt = key; adata 543 drivers/crypto/caam/caamhash.c ctx->adata.keylen = keylen; adata 808 drivers/crypto/caam/caamhash.c if ((is_xcbc_aes(ctx->adata.algtype) || adata 809 drivers/crypto/caam/caamhash.c is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && adata 1228 drivers/crypto/caam/caamhash.c if ((is_xcbc_aes(ctx->adata.algtype) || adata 1229 drivers/crypto/caam/caamhash.c is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && adata 1447 drivers/crypto/caam/caamhash.c if ((is_xcbc_aes(ctx->adata.algtype) || adata 1448 drivers/crypto/caam/caamhash.c is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && adata 1842 drivers/crypto/caam/caamhash.c ctx->adata.algtype = OP_TYPE_CLASS1_ALG | caam_hash->alg_type; adata 1847 drivers/crypto/caam/caamhash.c ctx->adata.algtype = OP_TYPE_CLASS1_ALG | caam_hash->alg_type; adata 1857 drivers/crypto/caam/caamhash.c ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam_hash->alg_type; adata 1858 drivers/crypto/caam/caamhash.c ctx->ctx_len = runninglen[(ctx->adata.algtype & adata 1864 drivers/crypto/caam/caamhash.c ctx->adata.key_dma = dma_map_single_attrs(ctx->jrdev, ctx->key, adata 1868 drivers/crypto/caam/caamhash.c if (dma_mapping_error(ctx->jrdev, ctx->adata.key_dma)) { adata 1882 drivers/crypto/caam/caamhash.c dma_unmap_single_attrs(ctx->jrdev, ctx->adata.key_dma, adata 1918 drivers/crypto/caam/caamhash.c dma_unmap_single_attrs(ctx->jrdev, ctx->adata.key_dma, adata 28 drivers/crypto/caam/caamhash_desc.c void cnstr_shdsc_ahash(u32 * const desc, struct alginfo *adata, u32 state, adata 31 drivers/crypto/caam/caamhash_desc.c u32 op = adata->algtype; adata 36 drivers/crypto/caam/caamhash_desc.c if (state != OP_ALG_AS_UPDATE && adata->keylen) { adata 44 drivers/crypto/caam/caamhash_desc.c append_key_as_imm(desc, adata->key_virt, adata 45 drivers/crypto/caam/caamhash_desc.c adata->keylen_pad, adata 46 drivers/crypto/caam/caamhash_desc.c adata->keylen, CLASS_2 | adata 49 drivers/crypto/caam/caamhash_desc.c append_proto_dkp(desc, adata); adata 87 drivers/crypto/caam/caamhash_desc.c void cnstr_shdsc_sk_hash(u32 * const desc, struct alginfo *adata, u32 state, adata 98 drivers/crypto/caam/caamhash_desc.c append_key_as_imm(desc, adata->key_virt, adata->keylen, adata 99 drivers/crypto/caam/caamhash_desc.c adata->keylen, CLASS_1 | KEY_DEST_CLASS_REG); adata 101 drivers/crypto/caam/caamhash_desc.c if (is_xcbc_aes(adata->algtype)) adata 103 drivers/crypto/caam/caamhash_desc.c append_key(desc, adata->key_dma, adata->keylen, adata 106 drivers/crypto/caam/caamhash_desc.c append_key_as_imm(desc, adata->key_virt, adata->keylen, adata 107 drivers/crypto/caam/caamhash_desc.c adata->keylen, CLASS_1 | adata 117 drivers/crypto/caam/caamhash_desc.c append_operation(desc, adata->algtype | state | OP_ALG_ENCRYPT); adata 136 drivers/crypto/caam/caamhash_desc.c if (is_xcbc_aes(adata->algtype) && state == OP_ALG_AS_INIT) adata 138 drivers/crypto/caam/caamhash_desc.c append_fifo_store(desc, adata->key_dma, adata->keylen, adata 24 drivers/crypto/caam/caamhash_desc.h void cnstr_shdsc_ahash(u32 * const desc, struct alginfo *adata, u32 state, adata 27 drivers/crypto/caam/caamhash_desc.h void cnstr_shdsc_sk_hash(u32 * const desc, struct alginfo *adata, u32 state, adata 561 drivers/crypto/caam/desc_constr.h static inline void append_proto_dkp(u32 * const desc, struct alginfo *adata) adata 569 drivers/crypto/caam/desc_constr.h protid = (adata->algtype & OP_ALG_ALGSEL_SUBMASK) | adata 572 drivers/crypto/caam/desc_constr.h if (adata->key_inline) { adata 575 drivers/crypto/caam/desc_constr.h if (adata->keylen > adata->keylen_pad) { adata 578 drivers/crypto/caam/desc_constr.h OP_PCL_DKP_DST_IMM | adata->keylen); adata 579 drivers/crypto/caam/desc_constr.h append_ptr(desc, adata->key_dma); adata 581 drivers/crypto/caam/desc_constr.h words = (ALIGN(adata->keylen_pad, CAAM_CMD_SZ) - adata 586 drivers/crypto/caam/desc_constr.h OP_PCL_DKP_DST_IMM | adata->keylen); adata 587 drivers/crypto/caam/desc_constr.h append_data(desc, adata->key_virt, adata->keylen); adata 589 drivers/crypto/caam/desc_constr.h words = (ALIGN(adata->keylen_pad, CAAM_CMD_SZ) - adata 590 drivers/crypto/caam/desc_constr.h ALIGN(adata->keylen, CAAM_CMD_SZ)) / adata 600 drivers/crypto/caam/desc_constr.h adata->keylen); adata 601 drivers/crypto/caam/desc_constr.h append_ptr(desc, adata->key_dma); adata 45 drivers/crypto/caam/key_gen.c struct alginfo * const adata, const u8 *key_in, u32 keylen, adata 54 drivers/crypto/caam/key_gen.c adata->keylen = split_key_len(adata->algtype & OP_ALG_ALGSEL_MASK); adata 55 drivers/crypto/caam/key_gen.c adata->keylen_pad = split_key_pad_len(adata->algtype & adata 57 drivers/crypto/caam/key_gen.c local_max = max(keylen, adata->keylen_pad); adata 60 drivers/crypto/caam/key_gen.c adata->keylen, adata->keylen_pad); adata 85 drivers/crypto/caam/key_gen.c append_operation(desc, (adata->algtype & OP_ALG_ALGSEL_MASK) | adata 100 drivers/crypto/caam/key_gen.c append_fifo_store(desc, dma_addr, adata->keylen, adata 118 drivers/crypto/caam/key_gen.c adata->keylen_pad, 1); adata 47 drivers/crypto/caam/key_gen.h struct alginfo * const adata, const u8 *key_in, u32 keylen, adata 915 drivers/iio/accel/st_accel_core.c struct st_sensor_data *adata = iio_priv(indio_dev); adata 925 drivers/iio/accel/st_accel_core.c *val = adata->current_fullscale->gain / 1000000; adata 926 drivers/iio/accel/st_accel_core.c *val2 = adata->current_fullscale->gain % 1000000; adata 929 drivers/iio/accel/st_accel_core.c *val = adata->odr; adata 1001 drivers/iio/accel/st_accel_core.c struct st_sensor_data *adata = iio_priv(indio_dev); adata 1003 drivers/iio/accel/st_accel_core.c return adata->mount_matrix; adata 1017 drivers/iio/accel/st_accel_core.c struct st_sensor_data *adata = iio_priv(indio_dev); adata 1041 drivers/iio/accel/st_accel_core.c adev = ACPI_COMPANION(adata->dev); adata 1104 drivers/iio/accel/st_accel_core.c adata->mount_matrix = devm_kmalloc(&indio_dev->dev, adata 1105 drivers/iio/accel/st_accel_core.c sizeof(*adata->mount_matrix), adata 1107 drivers/iio/accel/st_accel_core.c if (!adata->mount_matrix) { adata 1130 drivers/iio/accel/st_accel_core.c adata->mount_matrix->rotation[i * 3 + j] = str_value; adata 1173 drivers/iio/accel/st_accel_core.c struct st_sensor_data *adata = iio_priv(indio_dev); adata 1175 drivers/iio/accel/st_accel_core.c (struct st_sensors_platform_data *)adata->dev->platform_data; adata 1191 drivers/iio/accel/st_accel_core.c adata->num_data_channels = ST_ACCEL_NUMBER_DATA_CHANNELS; adata 1196 drivers/iio/accel/st_accel_core.c adata->sensor_settings->ch, adata 1208 drivers/iio/accel/st_accel_core.c adata->current_fullscale = (struct st_sensor_fullscale_avl *) adata 1209 drivers/iio/accel/st_accel_core.c &adata->sensor_settings->fs.fs_avl[0]; adata 1210 drivers/iio/accel/st_accel_core.c adata->odr = adata->sensor_settings->odr.odr_avl[0].hz; adata 1223 drivers/iio/accel/st_accel_core.c if (adata->irq > 0) { adata 1240 drivers/iio/accel/st_accel_core.c if (adata->irq > 0) adata 1253 drivers/iio/accel/st_accel_core.c struct st_sensor_data *adata = iio_priv(indio_dev); adata 1258 drivers/iio/accel/st_accel_core.c if (adata->irq > 0) adata 154 drivers/iio/accel/st_accel_i2c.c struct st_sensor_data *adata; adata 170 drivers/iio/accel/st_accel_i2c.c indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*adata)); adata 174 drivers/iio/accel/st_accel_i2c.c adata = iio_priv(indio_dev); adata 175 drivers/iio/accel/st_accel_i2c.c adata->sensor_settings = (struct st_sensor_settings *)settings; adata 106 drivers/iio/accel/st_accel_spi.c struct st_sensor_data *adata; adata 120 drivers/iio/accel/st_accel_spi.c indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*adata)); adata 124 drivers/iio/accel/st_accel_spi.c adata = iio_priv(indio_dev); adata 125 drivers/iio/accel/st_accel_spi.c adata->sensor_settings = (struct st_sensor_settings *)settings; adata 1953 fs/namei.c unsigned long adata, mask, len; adata 1964 fs/namei.c } while (!has_zero(a, &adata, &constants)); adata 1966 fs/namei.c adata = prep_zero_mask(a, adata, &constants); adata 1967 fs/namei.c mask = create_zero_mask(adata); adata 1981 fs/namei.c unsigned long adata, bdata, mask, len; adata 1993 fs/namei.c } while (!(has_zero(a, &adata, &constants) | has_zero(b, &bdata, &constants))); adata 1995 fs/namei.c adata = prep_zero_mask(a, adata, &constants); adata 1997 fs/namei.c mask = create_zero_mask(adata | bdata); adata 8329 fs/nfs/nfs4proc.c struct nfs4_add_xprt_data *adata = (struct nfs4_add_xprt_data *)data; adata 8338 fs/nfs/nfs4proc.c sp4_how = (adata->clp->cl_sp4_flags == 0 ? SP4_NONE : SP4_MACH_CRED); adata 8341 fs/nfs/nfs4proc.c task = nfs4_run_exchange_id(adata->clp, adata->cred, sp4_how, xprt); adata 8347 fs/nfs/nfs4proc.c status = nfs4_detect_session_trunking(adata->clp, adata 49 include/sound/simple_card_utils.h struct asoc_simple_data adata; adata 195 include/sound/simple_card_utils.h if (props->adata.convert_rate) adata 197 include/sound/simple_card_utils.h props->adata.convert_rate); adata 198 include/sound/simple_card_utils.h if (props->adata.convert_channels) adata 200 include/sound/simple_card_utils.h props->adata.convert_channels); adata 771 sound/soc/amd/acp-pcm-dma.c struct audio_substream_data *adata = adata 773 sound/soc/amd/acp-pcm-dma.c if (!adata) adata 798 sound/soc/amd/acp-pcm-dma.c kfree(adata); adata 802 sound/soc/amd/acp-pcm-dma.c adata->acp_mmio = intr_data->acp_mmio; adata 803 sound/soc/amd/acp-pcm-dma.c runtime->private_data = adata; adata 813 sound/soc/amd/acp-pcm-dma.c acp_reg_write(1, adata->acp_mmio, mmACP_EXTERNAL_INTR_ENB); adata 848 sound/soc/amd/acp-pcm-dma.c struct audio_drv_data *adata = dev_get_drvdata(component->dev); adata 866 sound/soc/amd/acp-pcm-dma.c if (adata->asic_type == CHIP_STONEY) { adata 867 sound/soc/amd/acp-pcm-dma.c val = acp_reg_read(adata->acp_mmio, adata 888 sound/soc/amd/acp-pcm-dma.c acp_reg_write(val, adata->acp_mmio, adata 906 sound/soc/amd/acp-pcm-dma.c adata->play_i2sbt_stream = substream; adata 910 sound/soc/amd/acp-pcm-dma.c switch (adata->asic_type) { adata 927 sound/soc/amd/acp-pcm-dma.c adata->play_i2ssp_stream = substream; adata 944 sound/soc/amd/acp-pcm-dma.c adata->capture_i2sbt_stream = substream; adata 951 sound/soc/amd/acp-pcm-dma.c switch (adata->asic_type) { adata 968 sound/soc/amd/acp-pcm-dma.c adata->capture_i2ssp_stream = substream; adata 990 sound/soc/amd/acp-pcm-dma.c config_acp_dma(rtd->acp_mmio, rtd, adata->asic_type); adata 1139 sound/soc/amd/acp-pcm-dma.c struct audio_drv_data *adata = dev_get_drvdata(component->dev); adata 1142 sound/soc/amd/acp-pcm-dma.c switch (adata->asic_type) { adata 1169 sound/soc/amd/acp-pcm-dma.c struct audio_drv_data *adata = dev_get_drvdata(component->dev); adata 1174 sound/soc/amd/acp-pcm-dma.c adata->play_i2sbt_stream = NULL; adata 1178 sound/soc/amd/acp-pcm-dma.c adata->play_i2ssp_stream = NULL; adata 1186 sound/soc/amd/acp-pcm-dma.c if (adata->asic_type != CHIP_STONEY) { adata 1188 sound/soc/amd/acp-pcm-dma.c acp_set_sram_bank_state(adata->acp_mmio, adata 1195 sound/soc/amd/acp-pcm-dma.c adata->capture_i2sbt_stream = NULL; adata 1199 sound/soc/amd/acp-pcm-dma.c adata->capture_i2ssp_stream = NULL; adata 1200 sound/soc/amd/acp-pcm-dma.c if (adata->asic_type != CHIP_STONEY) { adata 1202 sound/soc/amd/acp-pcm-dma.c acp_set_sram_bank_state(adata->acp_mmio, adata 1212 sound/soc/amd/acp-pcm-dma.c if (!adata->play_i2ssp_stream && !adata->capture_i2ssp_stream && adata 1213 sound/soc/amd/acp-pcm-dma.c !adata->play_i2sbt_stream && !adata->capture_i2sbt_stream) adata 1214 sound/soc/amd/acp-pcm-dma.c acp_reg_write(0, adata->acp_mmio, mmACP_EXTERNAL_INTR_ENB); adata 1310 sound/soc/amd/acp-pcm-dma.c struct audio_drv_data *adata = dev_get_drvdata(&pdev->dev); adata 1312 sound/soc/amd/acp-pcm-dma.c status = acp_deinit(adata->acp_mmio); adata 1325 sound/soc/amd/acp-pcm-dma.c struct audio_drv_data *adata = dev_get_drvdata(dev); adata 1327 sound/soc/amd/acp-pcm-dma.c status = acp_init(adata->acp_mmio, adata->asic_type); adata 1333 sound/soc/amd/acp-pcm-dma.c if (adata->play_i2ssp_stream && adata->play_i2ssp_stream->runtime) { adata 1339 sound/soc/amd/acp-pcm-dma.c if (adata->asic_type != CHIP_STONEY) { adata 1341 sound/soc/amd/acp-pcm-dma.c acp_set_sram_bank_state(adata->acp_mmio, bank, adata 1344 sound/soc/amd/acp-pcm-dma.c rtd = adata->play_i2ssp_stream->runtime->private_data; adata 1345 sound/soc/amd/acp-pcm-dma.c config_acp_dma(adata->acp_mmio, rtd, adata->asic_type); adata 1347 sound/soc/amd/acp-pcm-dma.c if (adata->capture_i2ssp_stream && adata 1348 sound/soc/amd/acp-pcm-dma.c adata->capture_i2ssp_stream->runtime) { adata 1349 sound/soc/amd/acp-pcm-dma.c if (adata->asic_type != CHIP_STONEY) { adata 1351 sound/soc/amd/acp-pcm-dma.c acp_set_sram_bank_state(adata->acp_mmio, bank, adata 1354 sound/soc/amd/acp-pcm-dma.c rtd = adata->capture_i2ssp_stream->runtime->private_data; adata 1355 sound/soc/amd/acp-pcm-dma.c config_acp_dma(adata->acp_mmio, rtd, adata->asic_type); adata 1357 sound/soc/amd/acp-pcm-dma.c if (adata->asic_type != CHIP_CARRIZO) { adata 1358 sound/soc/amd/acp-pcm-dma.c if (adata->play_i2sbt_stream && adata 1359 sound/soc/amd/acp-pcm-dma.c adata->play_i2sbt_stream->runtime) { adata 1360 sound/soc/amd/acp-pcm-dma.c rtd = adata->play_i2sbt_stream->runtime->private_data; adata 1361 sound/soc/amd/acp-pcm-dma.c config_acp_dma(adata->acp_mmio, rtd, adata->asic_type); adata 1363 sound/soc/amd/acp-pcm-dma.c if (adata->capture_i2sbt_stream && adata 1364 sound/soc/amd/acp-pcm-dma.c adata->capture_i2sbt_stream->runtime) { adata 1365 sound/soc/amd/acp-pcm-dma.c rtd = adata->capture_i2sbt_stream->runtime->private_data; adata 1366 sound/soc/amd/acp-pcm-dma.c config_acp_dma(adata->acp_mmio, rtd, adata->asic_type); adata 1369 sound/soc/amd/acp-pcm-dma.c acp_reg_write(1, adata->acp_mmio, mmACP_EXTERNAL_INTR_ENB); adata 1376 sound/soc/amd/acp-pcm-dma.c struct audio_drv_data *adata = dev_get_drvdata(dev); adata 1378 sound/soc/amd/acp-pcm-dma.c status = acp_deinit(adata->acp_mmio); adata 1381 sound/soc/amd/acp-pcm-dma.c acp_reg_write(0, adata->acp_mmio, mmACP_EXTERNAL_INTR_ENB); adata 1388 sound/soc/amd/acp-pcm-dma.c struct audio_drv_data *adata = dev_get_drvdata(dev); adata 1390 sound/soc/amd/acp-pcm-dma.c status = acp_init(adata->acp_mmio, adata->asic_type); adata 1395 sound/soc/amd/acp-pcm-dma.c acp_reg_write(1, adata->acp_mmio, mmACP_EXTERNAL_INTR_ENB); adata 286 sound/soc/amd/raven/acp3x-pcm-dma.c struct i2s_dev_data *adata = dev_get_drvdata(component->dev); adata 306 sound/soc/amd/raven/acp3x-pcm-dma.c if (!adata->play_stream && !adata->capture_stream) adata 307 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(1, adata->acp3x_base + mmACP_EXTERNAL_INTR_ENB); adata 310 sound/soc/amd/raven/acp3x-pcm-dma.c adata->play_stream = substream; adata 312 sound/soc/amd/raven/acp3x-pcm-dma.c adata->capture_stream = substream; adata 314 sound/soc/amd/raven/acp3x-pcm-dma.c i2s_data->acp3x_base = adata->acp3x_base; adata 409 sound/soc/amd/raven/acp3x-pcm-dma.c struct i2s_dev_data *adata = dev_get_drvdata(component->dev); adata 412 sound/soc/amd/raven/acp3x-pcm-dma.c adata->play_stream = NULL; adata 414 sound/soc/amd/raven/acp3x-pcm-dma.c adata->capture_stream = NULL; adata 419 sound/soc/amd/raven/acp3x-pcm-dma.c if (!adata->play_stream && !adata->capture_stream) adata 420 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(0, adata->acp3x_base + mmACP_EXTERNAL_INTR_ENB); adata 439 sound/soc/amd/raven/acp3x-pcm-dma.c struct i2s_dev_data *adata = snd_soc_dai_get_drvdata(cpu_dai); adata 443 sound/soc/amd/raven/acp3x-pcm-dma.c adata->tdm_mode = false; adata 446 sound/soc/amd/raven/acp3x-pcm-dma.c adata->tdm_mode = true; adata 461 sound/soc/amd/raven/acp3x-pcm-dma.c struct i2s_dev_data *adata = snd_soc_dai_get_drvdata(cpu_dai); adata 480 sound/soc/amd/raven/acp3x-pcm-dma.c val = rv_readl(adata->acp3x_base + mmACP_BTTDM_ITER); adata 481 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel((val | 0x2), adata->acp3x_base + mmACP_BTTDM_ITER); adata 482 sound/soc/amd/raven/acp3x-pcm-dma.c val = rv_readl(adata->acp3x_base + mmACP_BTTDM_IRER); adata 483 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel((val | 0x2), adata->acp3x_base + mmACP_BTTDM_IRER); adata 486 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(val, adata->acp3x_base + mmACP_BTTDM_TXFRMT); adata 487 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(val, adata->acp3x_base + mmACP_BTTDM_RXFRMT); adata 489 sound/soc/amd/raven/acp3x-pcm-dma.c adata->tdm_fmt = val; adata 622 sound/soc/amd/raven/acp3x-pcm-dma.c struct i2s_dev_data *adata; adata 637 sound/soc/amd/raven/acp3x-pcm-dma.c adata = devm_kzalloc(&pdev->dev, sizeof(*adata), GFP_KERNEL); adata 638 sound/soc/amd/raven/acp3x-pcm-dma.c if (!adata) adata 641 sound/soc/amd/raven/acp3x-pcm-dma.c adata->acp3x_base = devm_ioremap(&pdev->dev, res->start, adata 650 sound/soc/amd/raven/acp3x-pcm-dma.c adata->i2s_irq = res->start; adata 651 sound/soc/amd/raven/acp3x-pcm-dma.c adata->play_stream = NULL; adata 652 sound/soc/amd/raven/acp3x-pcm-dma.c adata->capture_stream = NULL; adata 654 sound/soc/amd/raven/acp3x-pcm-dma.c dev_set_drvdata(&pdev->dev, adata); adata 656 sound/soc/amd/raven/acp3x-pcm-dma.c status = acp3x_init(adata->acp3x_base); adata 666 sound/soc/amd/raven/acp3x-pcm-dma.c status = devm_request_irq(&pdev->dev, adata->i2s_irq, i2s_irq_handler, adata 667 sound/soc/amd/raven/acp3x-pcm-dma.c irqflags, "ACP3x_I2S_IRQ", adata); adata 678 sound/soc/amd/raven/acp3x-pcm-dma.c status = acp3x_deinit(adata->acp3x_base); adata 690 sound/soc/amd/raven/acp3x-pcm-dma.c struct i2s_dev_data *adata = dev_get_drvdata(&pdev->dev); adata 692 sound/soc/amd/raven/acp3x-pcm-dma.c ret = acp3x_deinit(adata->acp3x_base); adata 706 sound/soc/amd/raven/acp3x-pcm-dma.c struct i2s_dev_data *adata = dev_get_drvdata(dev); adata 708 sound/soc/amd/raven/acp3x-pcm-dma.c status = acp3x_init(adata->acp3x_base); adata 712 sound/soc/amd/raven/acp3x-pcm-dma.c if (adata->play_stream && adata->play_stream->runtime) { adata 714 sound/soc/amd/raven/acp3x-pcm-dma.c adata->play_stream->runtime->private_data; adata 718 sound/soc/amd/raven/acp3x-pcm-dma.c if (adata->tdm_mode == true) { adata 719 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(adata->tdm_fmt, adata->acp3x_base + adata 721 sound/soc/amd/raven/acp3x-pcm-dma.c val = rv_readl(adata->acp3x_base + mmACP_BTTDM_ITER); adata 722 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel((val | 0x2), adata->acp3x_base + adata 727 sound/soc/amd/raven/acp3x-pcm-dma.c if (adata->capture_stream && adata->capture_stream->runtime) { adata 729 sound/soc/amd/raven/acp3x-pcm-dma.c adata->capture_stream->runtime->private_data; adata 733 sound/soc/amd/raven/acp3x-pcm-dma.c if (adata->tdm_mode == true) { adata 734 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(adata->tdm_fmt, adata->acp3x_base + adata 736 sound/soc/amd/raven/acp3x-pcm-dma.c val = rv_readl(adata->acp3x_base + mmACP_BTTDM_IRER); adata 737 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel((val | 0x2), adata->acp3x_base + adata 742 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(1, adata->acp3x_base + mmACP_EXTERNAL_INTR_ENB); adata 750 sound/soc/amd/raven/acp3x-pcm-dma.c struct i2s_dev_data *adata = dev_get_drvdata(dev); adata 752 sound/soc/amd/raven/acp3x-pcm-dma.c status = acp3x_deinit(adata->acp3x_base); adata 758 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(0, adata->acp3x_base + mmACP_EXTERNAL_INTR_ENB); adata 766 sound/soc/amd/raven/acp3x-pcm-dma.c struct i2s_dev_data *adata = dev_get_drvdata(dev); adata 768 sound/soc/amd/raven/acp3x-pcm-dma.c status = acp3x_init(adata->acp3x_base); adata 771 sound/soc/amd/raven/acp3x-pcm-dma.c rv_writel(1, adata->acp3x_base + mmACP_EXTERNAL_INTR_ENB); adata 27 sound/soc/amd/raven/pci-acp3x.c struct acp3x_dev_data *adata; adata 42 sound/soc/amd/raven/pci-acp3x.c adata = devm_kzalloc(&pci->dev, sizeof(struct acp3x_dev_data), adata 44 sound/soc/amd/raven/pci-acp3x.c if (!adata) { adata 59 sound/soc/amd/raven/pci-acp3x.c adata->acp3x_base = ioremap(addr, pci_resource_len(pci, 0)); adata 60 sound/soc/amd/raven/pci-acp3x.c if (!adata->acp3x_base) { adata 65 sound/soc/amd/raven/pci-acp3x.c pci_set_drvdata(pci, adata); adata 67 sound/soc/amd/raven/pci-acp3x.c val = rv_readl(adata->acp3x_base + mmACP_I2S_PIN_CONFIG); adata 70 sound/soc/amd/raven/pci-acp3x.c adata->res = devm_kzalloc(&pci->dev, adata 73 sound/soc/amd/raven/pci-acp3x.c if (!adata->res) { adata 78 sound/soc/amd/raven/pci-acp3x.c adata->res[0].name = "acp3x_i2s_iomem"; adata 79 sound/soc/amd/raven/pci-acp3x.c adata->res[0].flags = IORESOURCE_MEM; adata 80 sound/soc/amd/raven/pci-acp3x.c adata->res[0].start = addr; adata 81 sound/soc/amd/raven/pci-acp3x.c adata->res[0].end = addr + (ACP3x_REG_END - ACP3x_REG_START); adata 83 sound/soc/amd/raven/pci-acp3x.c adata->res[1].name = "acp3x_i2s_irq"; adata 84 sound/soc/amd/raven/pci-acp3x.c adata->res[1].flags = IORESOURCE_IRQ; adata 85 sound/soc/amd/raven/pci-acp3x.c adata->res[1].start = pci->irq; adata 86 sound/soc/amd/raven/pci-acp3x.c adata->res[1].end = pci->irq; adata 88 sound/soc/amd/raven/pci-acp3x.c adata->acp3x_audio_mode = ACP3x_I2S_MODE; adata 95 sound/soc/amd/raven/pci-acp3x.c pdevinfo.res = adata->res; adata 99 sound/soc/amd/raven/pci-acp3x.c adata->pdev = platform_device_register_full(&pdevinfo); adata 100 sound/soc/amd/raven/pci-acp3x.c if (IS_ERR(adata->pdev)) { adata 103 sound/soc/amd/raven/pci-acp3x.c ret = PTR_ERR(adata->pdev); adata 116 sound/soc/amd/raven/pci-acp3x.c iounmap(adata->acp3x_base); adata 127 sound/soc/amd/raven/pci-acp3x.c struct acp3x_dev_data *adata = pci_get_drvdata(pci); adata 129 sound/soc/amd/raven/pci-acp3x.c platform_device_unregister(adata->pdev); adata 130 sound/soc/amd/raven/pci-acp3x.c iounmap(adata->acp3x_base); adata 165 sound/soc/generic/audio-graph-card.c struct asoc_simple_data *adata) adata 172 sound/soc/generic/audio-graph-card.c asoc_simple_parse_convert(dev, top, NULL, adata); adata 173 sound/soc/generic/audio-graph-card.c asoc_simple_parse_convert(dev, node, PREFIX, adata); adata 174 sound/soc/generic/audio-graph-card.c asoc_simple_parse_convert(dev, ports, NULL, adata); adata 175 sound/soc/generic/audio-graph-card.c asoc_simple_parse_convert(dev, port, NULL, adata); adata 176 sound/soc/generic/audio-graph-card.c asoc_simple_parse_convert(dev, ep, NULL, adata); adata 306 sound/soc/generic/audio-graph-card.c graph_parse_convert(dev, ep, &dai_props->adata); adata 426 sound/soc/generic/audio-graph-card.c struct asoc_simple_data adata; adata 446 sound/soc/generic/audio-graph-card.c memset(&adata, 0, sizeof(adata)); adata 447 sound/soc/generic/audio-graph-card.c graph_parse_convert(dev, codec_ep, &adata); adata 448 sound/soc/generic/audio-graph-card.c graph_parse_convert(dev, cpu_ep, &adata); adata 457 sound/soc/generic/audio-graph-card.c adata.convert_rate || adata.convert_channels)) adata 296 sound/soc/generic/simple-card-utils.c asoc_simple_convert_fixup(&dai_props->adata, params); adata 82 sound/soc/generic/simple-card.c struct asoc_simple_data *adata) adata 87 sound/soc/generic/simple-card.c asoc_simple_parse_convert(dev, top, PREFIX, adata); adata 88 sound/soc/generic/simple-card.c asoc_simple_parse_convert(dev, node, PREFIX, adata); adata 89 sound/soc/generic/simple-card.c asoc_simple_parse_convert(dev, node, NULL, adata); adata 90 sound/soc/generic/simple-card.c asoc_simple_parse_convert(dev, np, NULL, adata); adata 220 sound/soc/generic/simple-card.c simple_parse_convert(dev, np, &dai_props->adata); adata 372 sound/soc/generic/simple-card.c struct asoc_simple_data adata; adata 386 sound/soc/generic/simple-card.c memset(&adata, 0, sizeof(adata)); adata 388 sound/soc/generic/simple-card.c simple_parse_convert(dev, np, &adata); adata 399 sound/soc/generic/simple-card.c adata.convert_rate || adata.convert_channels)) adata 283 sound/soc/xilinx/xlnx_formatter_pcm.c struct xlnx_pcm_drv_data *adata = dev_get_drvdata(dev); adata 285 sound/soc/xilinx/xlnx_formatter_pcm.c reg = adata->mmio + XLNX_MM2S_OFFSET + XLNX_AUD_STS; adata 289 sound/soc/xilinx/xlnx_formatter_pcm.c if (adata->play_stream) adata 290 sound/soc/xilinx/xlnx_formatter_pcm.c snd_pcm_period_elapsed(adata->play_stream); adata 302 sound/soc/xilinx/xlnx_formatter_pcm.c struct xlnx_pcm_drv_data *adata = dev_get_drvdata(dev); adata 304 sound/soc/xilinx/xlnx_formatter_pcm.c reg = adata->mmio + XLNX_S2MM_OFFSET + XLNX_AUD_STS; adata 308 sound/soc/xilinx/xlnx_formatter_pcm.c if (adata->capture_stream) adata 309 sound/soc/xilinx/xlnx_formatter_pcm.c snd_pcm_period_elapsed(adata->capture_stream); adata 326 sound/soc/xilinx/xlnx_formatter_pcm.c struct xlnx_pcm_drv_data *adata = dev_get_drvdata(component->dev); adata 329 sound/soc/xilinx/xlnx_formatter_pcm.c !adata->mm2s_presence) adata 332 sound/soc/xilinx/xlnx_formatter_pcm.c !adata->s2mm_presence) adata 345 sound/soc/xilinx/xlnx_formatter_pcm.c stream_data->mmio = adata->mmio + XLNX_MM2S_OFFSET; adata 346 sound/soc/xilinx/xlnx_formatter_pcm.c adata->play_stream = substream; adata 354 sound/soc/xilinx/xlnx_formatter_pcm.c stream_data->mmio = adata->mmio + XLNX_S2MM_OFFSET; adata 355 sound/soc/xilinx/xlnx_formatter_pcm.c adata->capture_stream = substream; adata 358 sound/soc/xilinx/xlnx_formatter_pcm.c val = readl(adata->mmio + XLNX_AUD_CORE_CONFIG); adata 674 sound/soc/xilinx/xlnx_formatter_pcm.c struct xlnx_pcm_drv_data *adata = dev_get_drvdata(&pdev->dev); adata 676 sound/soc/xilinx/xlnx_formatter_pcm.c if (adata->s2mm_presence) adata 677 sound/soc/xilinx/xlnx_formatter_pcm.c ret = xlnx_formatter_pcm_reset(adata->mmio + XLNX_S2MM_OFFSET); adata 680 sound/soc/xilinx/xlnx_formatter_pcm.c if (adata->mm2s_presence) adata 681 sound/soc/xilinx/xlnx_formatter_pcm.c ret = xlnx_formatter_pcm_reset(adata->mmio + XLNX_MM2S_OFFSET); adata 686 sound/soc/xilinx/xlnx_formatter_pcm.c clk_disable_unprepare(adata->axi_clk);