Home
last modified time | relevance | path

Searched refs:BITS_TO_U32 (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/irqchip/
H A Dirq-sun6i-r.c75 u32 mux_valid[BITS_TO_U32(SUN6I_NR_MUX_BITS)];
273 u32 buf[BITS_TO_U32(max(SUN6I_NR_TOP_LEVEL_IRQS, SUN6I_NR_MUX_BITS))]; in sun6i_r_intc_suspend()
278 for (i = 0; i < BITS_TO_U32(SUN6I_NR_TOP_LEVEL_IRQS); ++i) in sun6i_r_intc_suspend()
281 for (i = 0; i < BITS_TO_U32(SUN6I_NR_MUX_BITS); ++i) in sun6i_r_intc_suspend()
293 for (i = 1; i < BITS_TO_U32(SUN6I_NR_TOP_LEVEL_IRQS); ++i) in sun6i_r_intc_resume()
H A Dirq-apple-aic.c1021 for (i = 0; i < BITS_TO_U32(irqc->nr_irq); i++) in aic_of_ic_init()
1023 for (i = 0; i < BITS_TO_U32(irqc->nr_irq); i++) in aic_of_ic_init()
/openbmc/linux/tools/include/linux/
H A Dbitops.h20 #define BITS_TO_U32(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(u32)) macro
/openbmc/linux/include/linux/
H A Dbitops.h21 #define BITS_TO_U32(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(u32)) macro
/openbmc/linux/lib/
H A Dbitmap.c910 int chunks = BITS_TO_U32(nmaskbits); in bitmap_parse()
932 unset_bit = (BITS_TO_U32(nmaskbits) - chunks) * 32; in bitmap_parse()
/openbmc/linux/tools/perf/util/
H A Dsynthetic-events.c1245 data->data->mask32_data.nr = BITS_TO_U32(data->max_cpu); in synthesize_mask()
1285 BITS_TO_U32(syn_data->max_cpu) * sizeof(__u32); in cpu_map_data__alloc()
H A Dheader.c3993 BITS_TO_U32(HEADER_FEAT_BITS)); in perf_file_header__read()
/openbmc/linux/drivers/iommu/
H A Dapple-dart.c470 for (i = 0; i < BITS_TO_U32(dart->num_streams); i++) in apple_dart_hw_reset()