Lines Matching refs:function

161 #define CCP5_CMD_FUNCTION(p)	(CCP5_CMD_DW0(p).function)
280 union ccp_function function; in ccp5_perform_aes() local
296 function.raw = 0; in ccp5_perform_aes()
297 CCP_AES_ENCRYPT(&function) = op->u.aes.action; in ccp5_perform_aes()
298 CCP_AES_MODE(&function) = op->u.aes.mode; in ccp5_perform_aes()
299 CCP_AES_TYPE(&function) = op->u.aes.type; in ccp5_perform_aes()
300 CCP_AES_SIZE(&function) = op->u.aes.size; in ccp5_perform_aes()
302 CCP5_CMD_FUNCTION(&desc) = function.raw; in ccp5_perform_aes()
325 union ccp_function function; in ccp5_perform_xts_aes() local
341 function.raw = 0; in ccp5_perform_xts_aes()
342 CCP_XTS_TYPE(&function) = op->u.xts.type; in ccp5_perform_xts_aes()
343 CCP_XTS_ENCRYPT(&function) = op->u.xts.action; in ccp5_perform_xts_aes()
344 CCP_XTS_SIZE(&function) = op->u.xts.unit_size; in ccp5_perform_xts_aes()
345 CCP5_CMD_FUNCTION(&desc) = function.raw; in ccp5_perform_xts_aes()
368 union ccp_function function; in ccp5_perform_sha() local
383 function.raw = 0; in ccp5_perform_sha()
384 CCP_SHA_TYPE(&function) = op->u.sha.type; in ccp5_perform_sha()
385 CCP5_CMD_FUNCTION(&desc) = function.raw; in ccp5_perform_sha()
409 union ccp_function function; in ccp5_perform_des3() local
425 function.raw = 0; in ccp5_perform_des3()
426 CCP_DES3_ENCRYPT(&function) = op->u.des3.action; in ccp5_perform_des3()
427 CCP_DES3_MODE(&function) = op->u.des3.mode; in ccp5_perform_des3()
428 CCP_DES3_TYPE(&function) = op->u.des3.type; in ccp5_perform_des3()
429 CCP5_CMD_FUNCTION(&desc) = function.raw; in ccp5_perform_des3()
452 union ccp_function function; in ccp5_perform_rsa() local
467 function.raw = 0; in ccp5_perform_rsa()
468 CCP_RSA_SIZE(&function) = (op->u.rsa.mod_size + 7) >> 3; in ccp5_perform_rsa()
469 CCP5_CMD_FUNCTION(&desc) = function.raw; in ccp5_perform_rsa()
494 union ccp_function function; in ccp5_perform_passthru() local
511 function.raw = 0; in ccp5_perform_passthru()
512 CCP_PT_BYTESWAP(&function) = op->u.passthru.byte_swap; in ccp5_perform_passthru()
513 CCP_PT_BITWISE(&function) = op->u.passthru.bit_mod; in ccp5_perform_passthru()
514 CCP5_CMD_FUNCTION(&desc) = function.raw; in ccp5_perform_passthru()
555 union ccp_function function; in ccp5_perform_ecc() local
570 function.raw = 0; in ccp5_perform_ecc()
571 function.ecc.mode = op->u.ecc.function; in ccp5_perform_ecc()
572 CCP5_CMD_FUNCTION(&desc) = function.raw; in ccp5_perform_ecc()