Lines Matching refs:d8
147 static int burst_update(struct shash_desc *desc, const u8 *d8, in burst_update() argument
163 ctx->partial = crc32_le(ctx->partial, d8, length); in burst_update()
165 ctx->partial = __crc32c_le(ctx->partial, d8, length); in burst_update()
181 if (d8 != PTR_ALIGN(d8, sizeof(u32))) { in burst_update()
185 while (d8 != PTR_ALIGN(d8, sizeof(u32)) && length) { in burst_update()
186 writeb_relaxed(*d8++, crc->regs + CRC_DR); in burst_update()
194 for (; length >= sizeof(u32); d8 += sizeof(u32), length -= sizeof(u32)) in burst_update()
195 writel_relaxed(*((u32 *)d8), crc->regs + CRC_DR); in burst_update()
202 writeb_relaxed(*d8++, crc->regs + CRC_DR); in burst_update()
217 static int stm32_crc_update(struct shash_desc *desc, const u8 *d8, in stm32_crc_update() argument
227 return burst_update(desc, d8, length); in stm32_crc_update()
230 size = min_t(size_t, length, burst_sz + (size_t)d8 - in stm32_crc_update()
231 ALIGN_DOWN((size_t)d8, sizeof(u32))); in stm32_crc_update()
232 for (rem_sz = length, cur = d8; rem_sz; in stm32_crc_update()