spuh               23 drivers/crypto/bcm/spu.c 	struct SPUHEADER *spuh = (struct SPUHEADER *)buf;
spuh               45 drivers/crypto/bcm/spu.c 	if (spuh->mh.flags & MH_SCTX_PRES)
spuh               47 drivers/crypto/bcm/spu.c 	if (spuh->mh.flags & MH_BDESC_PRES)
spuh               49 drivers/crypto/bcm/spu.c 	if (spuh->mh.flags & MH_MFM_PRES)
spuh               51 drivers/crypto/bcm/spu.c 	if (spuh->mh.flags & MH_BD_PRES)
spuh               53 drivers/crypto/bcm/spu.c 	if (spuh->mh.flags & MH_HASH_PRES)
spuh               55 drivers/crypto/bcm/spu.c 	if (spuh->mh.flags & MH_SUPDT_PRES)
spuh               57 drivers/crypto/bcm/spu.c 	packet_log("    Opcode 0x%02x\n", spuh->mh.op_code);
spuh               59 drivers/crypto/bcm/spu.c 	ptr += sizeof(spuh->mh) + sizeof(spuh->emh);  /* skip emh. unused */
spuh               62 drivers/crypto/bcm/spu.c 	if (spuh->mh.flags & MH_SCTX_PRES) {
spuh               63 drivers/crypto/bcm/spu.c 		pflags = be32_to_cpu(spuh->sa.proto_flags);
spuh               68 drivers/crypto/bcm/spu.c 		cflags = be32_to_cpu(spuh->sa.cipher_flags);
spuh               88 drivers/crypto/bcm/spu.c 		ecf = be32_to_cpu(spuh->sa.ecf);
spuh              279 drivers/crypto/bcm/spu.c 	if (spuh->mh.flags & MH_BDESC_PRES) {
spuh              303 drivers/crypto/bcm/spu.c 	if (spuh->mh.flags & MH_BD_PRES) {
spuh              599 drivers/crypto/bcm/spu.c 	struct SPUHEADER *spuh;
spuh              677 drivers/crypto/bcm/spu.c 	spuh = (struct SPUHEADER *)ptr;
spuh              681 drivers/crypto/bcm/spu.c 	spuh->mh.op_code = SPU_CRYPTO_OPERATION_GENERIC;
spuh              682 drivers/crypto/bcm/spu.c 	spuh->mh.flags |= (MH_SCTX_PRES | MH_BDESC_PRES | MH_BD_PRES);
spuh              785 drivers/crypto/bcm/spu.c 	spuh->sa.proto_flags = cpu_to_be32(protocol_bits);
spuh              786 drivers/crypto/bcm/spu.c 	spuh->sa.cipher_flags = cpu_to_be32(cipher_bits);
spuh              787 drivers/crypto/bcm/spu.c 	spuh->sa.ecf = cpu_to_be32(ecf_bits);
spuh              840 drivers/crypto/bcm/spu.c 	struct SPUHEADER *spuh;
spuh              860 drivers/crypto/bcm/spu.c 	spuh = (struct SPUHEADER *)spu_hdr;
spuh              862 drivers/crypto/bcm/spu.c 	spuh->mh.op_code = SPU_CRYPTO_OPERATION_GENERIC;
spuh              863 drivers/crypto/bcm/spu.c 	spuh->mh.flags |= (MH_SCTX_PRES | MH_BDESC_PRES | MH_BD_PRES);
spuh              894 drivers/crypto/bcm/spu.c 		memcpy(spuh + 1, cipher_parms->key_buf, cipher_parms->key_len);
spuh              900 drivers/crypto/bcm/spu.c 	spuh->sa.proto_flags = cpu_to_be32(protocol_bits);
spuh              903 drivers/crypto/bcm/spu.c 	spuh->sa.cipher_flags = cpu_to_be32(cipher_bits);
spuh              904 drivers/crypto/bcm/spu.c 	spuh->sa.ecf = cpu_to_be32(ecf_bits);
spuh              939 drivers/crypto/bcm/spu.c 	struct SPUHEADER *spuh;
spuh              973 drivers/crypto/bcm/spu.c 	spuh = (struct SPUHEADER *)spu_hdr;
spuh              976 drivers/crypto/bcm/spu.c 	cipher_bits = be32_to_cpu(spuh->sa.cipher_flags);
spuh              986 drivers/crypto/bcm/spu.c 		spuh->sa.cipher_flags |=
spuh              988 drivers/crypto/bcm/spu.c 		memcpy(spuh + 1, cipher_parms->key_buf, cipher_parms->key_len);
spuh              996 drivers/crypto/bcm/spu.c 	spuh->sa.cipher_flags = cpu_to_be32(cipher_bits);