Searched refs:NBITS (Results 1 – 13 of 13) sorted by relevance
/openbmc/qemu/tests/tcg/hexagon/ |
H A D | brev.c | 26 #define NBITS 8 macro 27 #define SIZE (1 << NBITS) 99 for (int i = 0; i < NBITS; i++) { in bitreverse() 117 BREV_LOAD_##SZ(result, p, 1 << (SHIFT - NBITS)); \ 127 BREV_STORE_##SZ(p, (TYPE)(VAL), 1 << (SHIFT - NBITS)); \ 139 BREV_STORE_##SZ(p, i, 1 << (SHIFT - NBITS)); \
|
/openbmc/linux/tools/perf/tests/ |
H A D | bitmap.c | 9 #define NBITS 100 macro 31 unsigned long *bm = get_bitmap(str, NBITS); in test_bitmap() 35 bitmap_scnprintf(bm, NBITS, buf, sizeof(buf)); in test_bitmap()
|
/openbmc/u-boot/include/ |
H A D | lcd.h | 170 #define NBITS(bit_code) (1 << (bit_code)) macro 171 #define NCOLORS(bit_code) (1 << NBITS(bit_code)) 193 #define NBYTES(bit_code) (NBITS(bit_code) >> 3)
|
/openbmc/u-boot/drivers/video/ |
H A D | pxa_lcd.c | 401 int line_length = (panel_info.vl_col * NBITS (panel_info.vl_bpix)) / 8; in calc_fbsize() 413 int fb_size = vid->vl_row * (vid->vl_col * NBITS (vid->vl_bpix)) / 8; in pxafb_init_mem() 417 fbi->palette_size = NBITS(vid->vl_bpix) == 8 ? 256 : 16; in pxafb_init_mem() 558 (vid->vl_col * vid->vl_row * NBITS(vid->vl_bpix) / 8 / 2) : \ in pxafb_init() 559 (vid->vl_col * vid->vl_row * NBITS(vid->vl_bpix) / 8)) in pxafb_init() 577 if( NBITS(vid->vl_bpix) < 12) in pxafb_init()
|
H A D | am335x-fb.c | 108 *line_length = (panel_info.vl_col * NBITS(panel_info.vl_bpix)) / 8; in lcd_get_size()
|
H A D | atmel_lcdfb.c | 238 NBITS(panel_info.vl_bpix)) / 8) + PAGE_SIZE; in calc_fbsize()
|
H A D | atmel_hlcdfb.c | 174 switch (NBITS(panel_info.vl_bpix)) { in lcd_ctrl_init()
|
/openbmc/u-boot/common/ |
H A D | lcd.c | 144 *line_length = (panel_info.vl_col * NBITS(panel_info.vl_bpix)) / 8; in lcd_get_size() 290 panel_info.vl_row, NBITS(panel_info.vl_bpix)); in lcd_setmem() 341 unsigned bpix = NBITS(panel_info.vl_bpix); in lcd_logo_plot() 589 bpix = NBITS(panel_info.vl_bpix); in lcd_display_bitmap()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-test/evtest/evtest/ |
H A D | 0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch | 32 #define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | mamoiada_params.h | 146 #define NBITS ISP_VEC_ELEMBITS macro
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/include/ |
H A D | brcmu_utils.h | 43 #define NBITS(type) (sizeof(type) * 8) macro
|
/openbmc/u-boot/board/compulab/common/ |
H A D | omap3_display.c | 144 lcd_line_length = (panel_info.vl_col * NBITS(panel_info.vl_bpix)) / 8; in set_resolution_params()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | main.c | 7866 wlc->ucode_rev = (rev << NBITS(u16)) | patch; in brcms_c_init()
|