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