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