Lines Matching refs:buf_pos
1104 u8 *buf_pos = buf; in hifn_setup_base_command() local
1106 base_cmd = (struct hifn_base_command *)buf_pos; in hifn_setup_base_command()
1128 u8 *buf_pos = buf; in hifn_setup_crypto_command() local
1131 cry_cmd = (struct hifn_crypt_command *)buf_pos; in hifn_setup_crypto_command()
1141 buf_pos += sizeof(struct hifn_crypt_command); in hifn_setup_crypto_command()
1150 memcpy(buf_pos, key, keylen); in hifn_setup_crypto_command()
1151 buf_pos += keylen; in hifn_setup_crypto_command()
1154 memcpy(buf_pos, iv, ivsize); in hifn_setup_crypto_command()
1155 buf_pos += ivsize; in hifn_setup_crypto_command()
1158 cmd_len = buf_pos - buf; in hifn_setup_crypto_command()
1169 u8 *buf, *buf_pos; in hifn_setup_cmd_desc() local
1173 buf_pos = buf = dma->command_bufs[dma->cmdi]; in hifn_setup_cmd_desc()
1190 buf_pos += hifn_setup_base_command(dev, buf_pos, nbytes, in hifn_setup_cmd_desc()
1251 buf_pos += hifn_setup_crypto_command(dev, buf_pos, in hifn_setup_cmd_desc()
1259 cmd_len = buf_pos - buf; in hifn_setup_cmd_desc()