Lines Matching defs:byte_shift
254 const u_int byte_shift = 8 * (irq & 3);
257 const uint32_t targets_val = (targets >> byte_shift) & 0xff;
275 const u_int byte_shift = 8 * (irq & 3);
286 targets &= ~(0xff << byte_shift);
287 targets |= (targets_val << byte_shift);
419 const u_int byte_shift = 8 * (irq & 3);
440 targets &= ~(0xffU << byte_shift);
444 targets |= sc->sc_mptargets << byte_shift;
448 targets |= sc->sc_bptargets << byte_shift;
481 priority &= ~(0xffU << byte_shift);
482 priority |= armgic_ipl_to_priority(is->is_ipl) << byte_shift;
505 size_t byte_shift = 0;
506 for (size_t j = 0; j < 4; j++, byte_mask <<= 8, byte_shift += 8) {
512 priority |= armgic_ipl_to_priority(is->is_ipl) << byte_shift;
528 const u_int byte_shift = 8 * (irq & 3);
531 targets |= sc->sc_mptargets << byte_shift;
533 targets |= sc->sc_bptargets << byte_shift;