Lines Matching refs:buf_pos
1106 u8 *buf_pos = buf; in hifn_setup_base_command() local
1108 base_cmd = (struct hifn_base_command *)buf_pos; in hifn_setup_base_command()
1130 u8 *buf_pos = buf; in hifn_setup_crypto_command() local
1133 cry_cmd = (struct hifn_crypt_command *)buf_pos; in hifn_setup_crypto_command()
1143 buf_pos += sizeof(struct hifn_crypt_command); in hifn_setup_crypto_command()
1152 memcpy(buf_pos, key, keylen); in hifn_setup_crypto_command()
1153 buf_pos += keylen; in hifn_setup_crypto_command()
1156 memcpy(buf_pos, iv, ivsize); in hifn_setup_crypto_command()
1157 buf_pos += ivsize; in hifn_setup_crypto_command()
1160 cmd_len = buf_pos - buf; in hifn_setup_crypto_command()
1171 u8 *buf, *buf_pos; in hifn_setup_cmd_desc() local
1175 buf_pos = buf = dma->command_bufs[dma->cmdi]; in hifn_setup_cmd_desc()
1192 buf_pos += hifn_setup_base_command(dev, buf_pos, nbytes, in hifn_setup_cmd_desc()
1253 buf_pos += hifn_setup_crypto_command(dev, buf_pos, in hifn_setup_cmd_desc()
1261 cmd_len = buf_pos - buf; in hifn_setup_cmd_desc()