Lines Matching refs:ctrl3
470 static void spu2_dump_fmd_ctrl3(u64 ctrl3) in spu2_dump_fmd_ctrl3() argument
472 packet_log(" FMD CTRL3 %#16llx\n", ctrl3); in spu2_dump_fmd_ctrl3()
474 packet_log(" Payload length %llu bytes\n", ctrl3 & SPU2_PL_LEN); in spu2_dump_fmd_ctrl3()
476 (ctrl3 & SPU2_TLS_LEN) >> SPU2_TLS_LEN_SHIFT); in spu2_dump_fmd_ctrl3()
484 spu2_dump_fmd_ctrl3(le64_to_cpu(fmd->ctrl3)); in spu2_dump_fmd()
572 u64 ctrl3; in spu2_fmd_init() local
597 ctrl3 = 0; in spu2_fmd_init()
602 fmd->ctrl3 = cpu_to_le64(ctrl3); in spu2_fmd_init()
771 u64 ctrl3; in spu2_fmd_ctrl3_write() local
773 ctrl3 = payload_len & SPU2_PL_LEN; in spu2_fmd_ctrl3_write()
775 fmd->ctrl3 = cpu_to_le64(ctrl3); in spu2_fmd_ctrl3_write()
817 u64 ctrl3; in spu2_payload_length() local
819 ctrl3 = le64_to_cpu(fmd->ctrl3); in spu2_payload_length()
820 pl_len = ctrl3 & SPU2_PL_LEN; in spu2_payload_length()
1204 u64 ctrl3; in spu2_cipher_req_finish() local
1239 ctrl3 = le64_to_cpu(fmd->ctrl3); in spu2_cipher_req_finish()
1241 ctrl3 |= data_size; in spu2_cipher_req_finish()
1242 fmd->ctrl3 = cpu_to_le64(ctrl3); in spu2_cipher_req_finish()