Home
last modified time | relevance | path

Searched refs:bmp (Results 1 – 25 of 227) sorted by relevance

12345678910

/OK3568_Linux_fs/kernel/arch/powerpc/sysdev/
H A Dmsi_bitmap.c14 int msi_bitmap_alloc_hwirqs(struct msi_bitmap *bmp, int num) in msi_bitmap_alloc_hwirqs() argument
19 spin_lock_irqsave(&bmp->lock, flags); in msi_bitmap_alloc_hwirqs()
21 offset = bitmap_find_next_zero_area(bmp->bitmap, bmp->irq_count, 0, in msi_bitmap_alloc_hwirqs()
23 if (offset > bmp->irq_count) in msi_bitmap_alloc_hwirqs()
26 bitmap_set(bmp->bitmap, offset, num); in msi_bitmap_alloc_hwirqs()
27 spin_unlock_irqrestore(&bmp->lock, flags); in msi_bitmap_alloc_hwirqs()
33 spin_unlock_irqrestore(&bmp->lock, flags); in msi_bitmap_alloc_hwirqs()
38 void msi_bitmap_free_hwirqs(struct msi_bitmap *bmp, unsigned int offset, in msi_bitmap_free_hwirqs() argument
46 spin_lock_irqsave(&bmp->lock, flags); in msi_bitmap_free_hwirqs()
47 bitmap_clear(bmp->bitmap, offset, num); in msi_bitmap_free_hwirqs()
[all …]
/OK3568_Linux_fs/kernel/tools/power/cpupower/utils/helpers/
H A Dbitmask.c26 struct bitmask *bmp; in bitmask_alloc() local
28 bmp = malloc(sizeof(*bmp)); in bitmask_alloc()
29 if (!bmp) in bitmask_alloc()
31 bmp->size = n; in bitmask_alloc()
32 bmp->maskp = calloc(longsperbits(n), sizeof(unsigned long)); in bitmask_alloc()
33 if (!bmp->maskp) { in bitmask_alloc()
34 free(bmp); in bitmask_alloc()
37 return bmp; in bitmask_alloc()
41 void bitmask_free(struct bitmask *bmp) in bitmask_free() argument
43 if (!bmp) in bitmask_free()
[all …]
H A Dbitmask.h17 void bitmask_free(struct bitmask *bmp);
19 struct bitmask *bitmask_setbit(struct bitmask *bmp, unsigned int i);
20 struct bitmask *bitmask_setall(struct bitmask *bmp);
21 struct bitmask *bitmask_clearall(struct bitmask *bmp);
23 unsigned int bitmask_first(const struct bitmask *bmp);
24 unsigned int bitmask_next(const struct bitmask *bmp, unsigned int i);
25 unsigned int bitmask_last(const struct bitmask *bmp);
26 int bitmask_isallclear(const struct bitmask *bmp);
27 int bitmask_isbitset(const struct bitmask *bmp, unsigned int i);
29 int bitmask_parselist(const char *buf, struct bitmask *bmp);
[all …]
/OK3568_Linux_fs/kernel/fs/jfs/
H A Djfs_dmap.c57 #define BMAP_LOCK_INIT(bmp) mutex_init(&bmp->db_bmaplock) argument
58 #define BMAP_LOCK(bmp) mutex_lock(&bmp->db_bmaplock) argument
59 #define BMAP_UNLOCK(bmp) mutex_unlock(&bmp->db_bmaplock) argument
64 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
70 static int dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc,
72 static int dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results);
73 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno,
75 static int dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno,
78 static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
80 static int dbAllocDmapLev(struct bmap * bmp, struct dmap * dp, int nblocks,
[all …]
H A Djfs_discard.c68 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; in jfs_ioc_trim() local
86 if (minlen > bmp->db_agsize || in jfs_ioc_trim()
87 start >= bmp->db_mapsize || in jfs_ioc_trim()
91 if (end >= bmp->db_mapsize) in jfs_ioc_trim()
92 end = bmp->db_mapsize - 1; in jfs_ioc_trim()
/OK3568_Linux_fs/u-boot/cmd/
H A Dbmp.c45 struct bmp_image *bmp; in gunzip_bmp() local
58 bmp = dst; in gunzip_bmp()
61 bmp = (struct bmp_image *)((((unsigned int)dst + 1) & ~3) + 2); in gunzip_bmp()
63 if (gunzip(bmp, CONFIG_SYS_VIDEO_LOGO_MAX_SIZE, map_sysmem(addr, 0), in gunzip_bmp()
75 if (!((bmp->header.signature[0] == 'B') && in gunzip_bmp()
76 (bmp->header.signature[1] == 'M'))) { in gunzip_bmp()
84 return bmp; in gunzip_bmp()
176 bmp, 5, 1, do_bmp,
194 struct bmp_image *bmp = (struct bmp_image *)map_sysmem(addr, 0); in bmp_info() local
198 if (!((bmp->header.signature[0]=='B') && in bmp_info()
[all …]
/OK3568_Linux_fs/kernel/fs/hpfs/
H A Dalloc.c72 __le32 *bmp; in chk_if_allocated() local
73 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "chk"))) goto fail; in chk_if_allocated()
74 if ((le32_to_cpu(bmp[(sec & 0x3fff) >> 5]) >> (sec & 0x1f)) & 1) { in chk_if_allocated()
81 if (!(bmp = hpfs_map_dnode_bitmap(s, &qbh))) goto fail; in chk_if_allocated()
82 if ((le32_to_cpu(bmp[ssec >> 5]) >> (ssec & 0x1f)) & 1) { in chk_if_allocated()
118 __le32 *bmp; in alloc_in_bmp() local
130 if (!(bmp = hpfs_map_bitmap(s, near >> 14, &qbh, "aib"))) goto uls; in alloc_in_bmp()
132 if (!(bmp = hpfs_map_dnode_bitmap(s, &qbh))) goto uls; in alloc_in_bmp()
134 if (!tstbits(bmp, nr, n + forward)) { in alloc_in_bmp()
139 while ((a = tstbits(bmp, q, n + forward)) != 0) { in alloc_in_bmp()
[all …]
/OK3568_Linux_fs/u-boot/drivers/video/
H A Dvideo_bmp.c42 struct bmp_image *bmp, ushort *cmap, in video_display_rle8_bitmap() argument
53 width = get_unaligned_le32(&bmp->header.width); in video_display_rle8_bitmap()
54 height = get_unaligned_le32(&bmp->header.height); in video_display_rle8_bitmap()
55 bmap = (uchar *)bmp + get_unaligned_le32(&bmp->header.data_offset); in video_display_rle8_bitmap()
199 struct bmp_image *bmp = map_sysmem(bmp_image, 0); in video_bmp_display() local
208 if (!bmp || !(bmp->header.signature[0] == 'B' && in video_bmp_display()
209 bmp->header.signature[1] == 'M')) { in video_bmp_display()
215 width = get_unaligned_le32(&bmp->header.width); in video_bmp_display()
216 height = get_unaligned_le32(&bmp->header.height); in video_bmp_display()
217 bmp_bpix = get_unaligned_le16(&bmp->header.bit_count); in video_bmp_display()
[all …]
H A Dbus_vcxk.c361 struct bmp_image *bmp; in vcxk_display_bitmap() local
372 bmp = (struct bmp_image *)addr; in vcxk_display_bitmap()
373 if ((bmp->header.signature[0] == 'B') && in vcxk_display_bitmap()
374 (bmp->header.signature[1] == 'M')) { in vcxk_display_bitmap()
375 width = le32_to_cpu(bmp->header.width); in vcxk_display_bitmap()
376 height = le32_to_cpu(bmp->header.height); in vcxk_display_bitmap()
377 bpp = le16_to_cpu(bmp->header.bit_count); in vcxk_display_bitmap()
379 dataptr = (unsigned char *) bmp + in vcxk_display_bitmap()
380 le32_to_cpu(bmp->header.data_offset); in vcxk_display_bitmap()
405 printf("Error: no valid bmp at %lx\n", (ulong) bmp); in vcxk_display_bitmap()
/OK3568_Linux_fs/debian/overlay-debug/usr/local/share/minigui/
H A DMiniGUI-2048x1536.cfg151 radiobutton=classic_radio_button.bmp
152 checkbutton=classic_check_button.bmp
234 radiobutton=flat_radio_button.bmp
235 checkbutton=flat_check_button.bmp
359 skin_bkgnd=skin_bkgnd.bmp
364 skin_scrollbar_hshaft=skin_sb_hshaft.bmp
365 skin_scrollbar_vshaft=skin_sb_vshaft.bmp
366 skin_scrollbar_hthumb=skin_sb_hthumb.bmp
367 skin_scrollbar_vthumb=skin_sb_vthumb.bmp
368 skin_scrollbar_arrows=skin_sb_arrows.bmp
[all …]
H A DMiniGUI-1920x1080.cfg151 radiobutton=classic_radio_button.bmp
152 checkbutton=classic_check_button.bmp
234 radiobutton=flat_radio_button.bmp
235 checkbutton=flat_check_button.bmp
359 skin_bkgnd=skin_bkgnd.bmp
364 skin_scrollbar_hshaft=skin_sb_hshaft.bmp
365 skin_scrollbar_vshaft=skin_sb_vshaft.bmp
366 skin_scrollbar_hthumb=skin_sb_hthumb.bmp
367 skin_scrollbar_vthumb=skin_sb_vthumb.bmp
368 skin_scrollbar_arrows=skin_sb_arrows.bmp
[all …]
H A DMiniGUI-1280x720.cfg151 radiobutton=classic_radio_button.bmp
152 checkbutton=classic_check_button.bmp
234 radiobutton=flat_radio_button.bmp
235 checkbutton=flat_check_button.bmp
359 skin_bkgnd=skin_bkgnd.bmp
364 skin_scrollbar_hshaft=skin_sb_hshaft.bmp
365 skin_scrollbar_vshaft=skin_sb_vshaft.bmp
366 skin_scrollbar_hthumb=skin_sb_hthumb.bmp
367 skin_scrollbar_vthumb=skin_sb_vthumb.bmp
368 skin_scrollbar_arrows=skin_sb_arrows.bmp
[all …]
/OK3568_Linux_fs/debian/overlay-debug/etc/
H A DMiniGUI.cfg151 radiobutton=classic_radio_button.bmp
152 checkbutton=classic_check_button.bmp
234 radiobutton=flat_radio_button.bmp
235 checkbutton=flat_check_button.bmp
359 skin_bkgnd=skin_bkgnd.bmp
364 skin_scrollbar_hshaft=skin_sb_hshaft.bmp
365 skin_scrollbar_vshaft=skin_sb_vshaft.bmp
366 skin_scrollbar_hthumb=skin_sb_hthumb.bmp
367 skin_scrollbar_vthumb=skin_sb_vthumb.bmp
368 skin_scrollbar_arrows=skin_sb_arrows.bmp
[all …]
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Dbmp_helper.c147 struct bmp_image *bmp = bmp_addr; in bmpdecoder() local
154 if (!bmp || !(bmp->header.signature[0] == 'B' && in bmpdecoder()
155 bmp->header.signature[1] == 'M')) { in bmpdecoder()
159 width = get_unaligned_le32(&bmp->header.width); in bmpdecoder()
160 height = get_unaligned_le32(&bmp->header.height); in bmpdecoder()
161 bpp = get_unaligned_le16(&bmp->header.bit_count); in bmpdecoder()
169 cmap_base = src + sizeof(bmp->header); in bmpdecoder()
170 src = bmp_addr + get_unaligned_le32(&bmp->header.data_offset); in bmpdecoder()
192 if (get_unaligned_le32(&bmp->header.compression)) { in bmpdecoder()
215 if (get_unaligned_le32(&bmp->header.compression)) { in bmpdecoder()
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Dmsi_bitmap.h20 int msi_bitmap_alloc_hwirqs(struct msi_bitmap *bmp, int num);
21 void msi_bitmap_free_hwirqs(struct msi_bitmap *bmp, unsigned int offset,
23 void msi_bitmap_reserve_hwirq(struct msi_bitmap *bmp, unsigned int hwirq);
25 int msi_bitmap_reserve_dt_hwirqs(struct msi_bitmap *bmp);
27 int msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count,
29 void msi_bitmap_free(struct msi_bitmap *bmp);
/OK3568_Linux_fs/u-boot/common/
H A Dlcd.c454 static void lcd_display_rle8_bitmap(struct bmp_image *bmp, ushort *cmap, in lcd_display_rle8_bitmap() argument
463 width = get_unaligned_le32(&bmp->header.width); in lcd_display_rle8_bitmap()
464 height = get_unaligned_le32(&bmp->header.height); in lcd_display_rle8_bitmap()
465 bmap = (uchar *)bmp + get_unaligned_le32(&bmp->header.data_offset); in lcd_display_rle8_bitmap()
554 __weak void lcd_set_cmap(struct bmp_image *bmp, unsigned colors) in lcd_set_cmap() argument
561 cte = bmp->color_table[i]; in lcd_set_cmap()
574 struct bmp_image *bmp = (struct bmp_image *)map_sysmem(bmp_image, 0); in lcd_display_bitmap() local
583 if (!bmp || !(bmp->header.signature[0] == 'B' && in lcd_display_bitmap()
584 bmp->header.signature[1] == 'M')) { in lcd_display_bitmap()
590 palette = bmp->color_table; in lcd_display_bitmap()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Drk3288-linux.dtsi109 logo,uboot = "logo.bmp";
110 logo,kernel = "logo_kernel.bmp";
118 logo,uboot = "logo.bmp";
119 logo,kernel = "logo_kernel.bmp";
127 logo,uboot = "logo.bmp";
128 logo,kernel = "logo_kernel.bmp";
136 logo,uboot = "logo.bmp";
137 logo,kernel = "logo_kernel.bmp";
145 logo,uboot = "logo.bmp";
146 logo,kernel = "logo_kernel.bmp";
H A Drk312x-android.dtsi80 logo,uboot = "logo.bmp";
81 logo,kernel = "logo_kernel.bmp";
89 logo,uboot = "logo.bmp";
90 logo,kernel = "logo_kernel.bmp";
98 logo,uboot = "logo.bmp";
99 logo,kernel = "logo_kernel.bmp";
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3326-linux.dtsi65 logo,uboot = "logo.bmp";
66 logo,kernel = "logo_kernel.bmp";
74 logo,uboot = "logo.bmp";
75 logo,kernel = "logo_kernel.bmp";
83 logo,uboot = "logo.bmp";
84 logo,kernel = "logo_kernel.bmp";
H A Drk3368-android.dtsi95 logo,uboot = "logo.bmp";
96 logo,kernel = "logo_kernel.bmp";
104 logo,uboot = "logo.bmp";
105 logo,kernel = "logo_kernel.bmp";
113 logo,uboot = "logo.bmp";
114 logo,kernel = "logo_kernel.bmp";
122 logo,uboot = "logo.bmp";
123 logo,kernel = "logo_kernel.bmp";
131 logo,uboot = "logo.bmp";
132 logo,kernel = "logo_kernel.bmp";
H A Dpx30-android.dtsi77 logo,uboot = "logo.bmp";
78 logo,kernel = "logo_kernel.bmp";
86 logo,uboot = "logo.bmp";
87 logo,kernel = "logo_kernel.bmp";
95 logo,uboot = "logo.bmp";
96 logo,kernel = "logo_kernel.bmp";
H A Drk3358.dtsi40 logo,uboot = "logo.bmp";
41 logo,kernel = "logo_kernel.bmp";
49 logo,uboot = "logo.bmp";
50 logo,kernel = "logo_kernel.bmp";
58 logo,uboot = "logo.bmp";
59 logo,kernel = "logo_kernel.bmp";
H A Drk3399-android.dtsi161 logo,uboot = "logo.bmp";
162 logo,kernel = "logo_kernel.bmp";
170 logo,uboot = "logo.bmp";
171 logo,kernel = "logo_kernel.bmp";
179 logo,uboot = "logo.bmp";
180 logo,kernel = "logo_kernel.bmp";
188 logo,uboot = "logo.bmp";
189 logo,kernel = "logo_kernel.bmp";
/OK3568_Linux_fs/u-boot/scripts/
H A DREADME.rockchip40 ./tools/resource_tool rk-kernel.dtb logo_kernel.bmp logo.bmp
58 …ols/bmp2gray16 --uboot-logo uboot.bmp --charge-logo charging.bmp --lowpower-logo lowpower.bmp --ke…
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/4xx/
H A Dhsta_msi.c27 struct msi_bitmap bmp; member
51 irq = msi_bitmap_alloc_hwirqs(&ppc4xx_hsta_msi.bmp, 1); in hsta_setup_msi_irqs()
82 msi_bitmap_free_hwirqs(&ppc4xx_hsta_msi.bmp, irq, 1); in hsta_setup_msi_irqs()
117 msi_bitmap_free_hwirqs(&ppc4xx_hsta_msi.bmp, irq, 1); in hsta_teardown_msi_irqs()
151 ret = msi_bitmap_alloc(&ppc4xx_hsta_msi.bmp, irq_count, dev->of_node); in hsta_msi_probe()
183 msi_bitmap_free(&ppc4xx_hsta_msi.bmp); in hsta_msi_probe()

12345678910