Lines Matching refs:buf_pos
1061 u8 *buf_pos = buf; in hifn_setup_base_command() local
1063 base_cmd = (struct hifn_base_command *)buf_pos; in hifn_setup_base_command()
1085 u8 *buf_pos = buf; in hifn_setup_crypto_command() local
1088 cry_cmd = (struct hifn_crypt_command *)buf_pos; in hifn_setup_crypto_command()
1098 buf_pos += sizeof(struct hifn_crypt_command); in hifn_setup_crypto_command()
1107 memcpy(buf_pos, key, keylen); in hifn_setup_crypto_command()
1108 buf_pos += keylen; in hifn_setup_crypto_command()
1111 memcpy(buf_pos, iv, ivsize); in hifn_setup_crypto_command()
1112 buf_pos += ivsize; in hifn_setup_crypto_command()
1115 cmd_len = buf_pos - buf; in hifn_setup_crypto_command()
1126 u8 *buf, *buf_pos; in hifn_setup_cmd_desc() local
1130 buf_pos = buf = dma->command_bufs[dma->cmdi]; in hifn_setup_cmd_desc()
1147 buf_pos += hifn_setup_base_command(dev, buf_pos, nbytes, in hifn_setup_cmd_desc()
1208 buf_pos += hifn_setup_crypto_command(dev, buf_pos, in hifn_setup_cmd_desc()
1216 cmd_len = buf_pos - buf; in hifn_setup_cmd_desc()