Lines Matching refs:buf_pos
1052 u8 *buf_pos = buf; in hifn_setup_base_command() local
1054 base_cmd = (struct hifn_base_command *)buf_pos; in hifn_setup_base_command()
1076 u8 *buf_pos = buf; in hifn_setup_crypto_command() local
1079 cry_cmd = (struct hifn_crypt_command *)buf_pos; in hifn_setup_crypto_command()
1089 buf_pos += sizeof(struct hifn_crypt_command); in hifn_setup_crypto_command()
1098 memcpy(buf_pos, key, keylen); in hifn_setup_crypto_command()
1099 buf_pos += keylen; in hifn_setup_crypto_command()
1102 memcpy(buf_pos, iv, ivsize); in hifn_setup_crypto_command()
1103 buf_pos += ivsize; in hifn_setup_crypto_command()
1106 cmd_len = buf_pos - buf; in hifn_setup_crypto_command()
1117 u8 *buf, *buf_pos; in hifn_setup_cmd_desc() local
1121 buf_pos = buf = dma->command_bufs[dma->cmdi]; in hifn_setup_cmd_desc()
1138 buf_pos += hifn_setup_base_command(dev, buf_pos, nbytes, in hifn_setup_cmd_desc()
1199 buf_pos += hifn_setup_crypto_command(dev, buf_pos, in hifn_setup_cmd_desc()
1207 cmd_len = buf_pos - buf; in hifn_setup_cmd_desc()