Lines Matching refs:buf_pos
1053 u8 *buf_pos = buf; in hifn_setup_base_command() local
1055 base_cmd = (struct hifn_base_command *)buf_pos; in hifn_setup_base_command()
1077 u8 *buf_pos = buf; in hifn_setup_crypto_command() local
1080 cry_cmd = (struct hifn_crypt_command *)buf_pos; in hifn_setup_crypto_command()
1090 buf_pos += sizeof(struct hifn_crypt_command); in hifn_setup_crypto_command()
1099 memcpy(buf_pos, key, keylen); in hifn_setup_crypto_command()
1100 buf_pos += keylen; in hifn_setup_crypto_command()
1103 memcpy(buf_pos, iv, ivsize); in hifn_setup_crypto_command()
1104 buf_pos += ivsize; in hifn_setup_crypto_command()
1107 cmd_len = buf_pos - buf; in hifn_setup_crypto_command()
1118 u8 *buf, *buf_pos; in hifn_setup_cmd_desc() local
1122 buf_pos = buf = dma->command_bufs[dma->cmdi]; in hifn_setup_cmd_desc()
1139 buf_pos += hifn_setup_base_command(dev, buf_pos, nbytes, in hifn_setup_cmd_desc()
1200 buf_pos += hifn_setup_crypto_command(dev, buf_pos, in hifn_setup_cmd_desc()
1208 cmd_len = buf_pos - buf; in hifn_setup_cmd_desc()