Lines Matching refs:reg_addr
250 unsigned short reg_addr; in qat_hal_get_reg_addr() local
255 reg_addr = 0x80 | (reg_num & 0x7f); in qat_hal_get_reg_addr()
259 reg_addr = reg_num & 0x1f; in qat_hal_get_reg_addr()
264 reg_addr = 0x180 | (reg_num & 0x1f); in qat_hal_get_reg_addr()
267 reg_addr = 0x140 | ((reg_num & 0x3) << 1); in qat_hal_get_reg_addr()
272 reg_addr = 0x1c0 | (reg_num & 0x1f); in qat_hal_get_reg_addr()
275 reg_addr = 0x100 | ((reg_num & 0x3) << 1); in qat_hal_get_reg_addr()
278 reg_addr = 0x280 | (reg_num & 0x1f); in qat_hal_get_reg_addr()
281 reg_addr = 0x200; in qat_hal_get_reg_addr()
284 reg_addr = 0x220; in qat_hal_get_reg_addr()
287 reg_addr = 0x2c0; in qat_hal_get_reg_addr()
290 reg_addr = 0x2e0; in qat_hal_get_reg_addr()
293 reg_addr = 0x300 | (reg_num & 0xff); in qat_hal_get_reg_addr()
296 reg_addr = BAD_REGADDR; in qat_hal_get_reg_addr()
299 return reg_addr; in qat_hal_get_reg_addr()
1134 unsigned short reg_addr; in qat_hal_rd_rel_reg() local
1138 reg_addr = qat_hal_get_reg_addr(reg_type, reg_num); in qat_hal_rd_rel_reg()
1139 if (reg_addr == BAD_REGADDR) { in qat_hal_rd_rel_reg()
1140 pr_err("QAT: bad regaddr=0x%x\n", reg_addr); in qat_hal_rd_rel_reg()
1145 insts = 0xA070000000ull | (reg_addr & 0x3ff); in qat_hal_rd_rel_reg()
1148 insts = (u64)0xA030000000ull | ((reg_addr & 0x3ff) << 10); in qat_hal_rd_rel_reg()
1348 unsigned int reg_addr; in qat_hal_put_rel_rd_xfer() local
1366 reg_addr = reg_num + (ctx << 0x5); in qat_hal_put_rel_rd_xfer()
1370 SET_AE_XFER(handle, ae, reg_addr, val); in qat_hal_put_rel_rd_xfer()
1374 SET_AE_XFER(handle, ae, (reg_addr + dr_offset), val); in qat_hal_put_rel_rd_xfer()