Home
last modified time | relevance | path

Searched refs:bpb (Results 1 – 25 of 64) sorted by relevance

123

/third_party/FreeBSD/sbin/newfs_msdos/
Dmkfs_msdos.c157 struct bpb { struct
180 struct bpb bpb; member
230 static int getstdfmt(const char *, struct bpb *);
231 static int getdiskinfo(int, const char *, const char *, int, struct bpb *);
232 static void print_bpb(struct bpb *);
245 struct bpb bpb; in mkfs_msdos() local
313 memset(&bpb, 0, sizeof(bpb)); in mkfs_msdos()
315 if (getstdfmt(o.floppy, &bpb) == -1) in mkfs_msdos()
317 bpb.bpbHugeSectors = bpb.bpbSectors; in mkfs_msdos()
318 bpb.bpbSectors = 0; in mkfs_msdos()
[all …]
/third_party/ntfs-3g/libntfs-3g/
Dbootsect.c76 if (le16_to_cpu(b->bpb.bytes_per_sector) < 256 || in ntfs_boot_sector_is_ntfs()
77 le16_to_cpu(b->bpb.bytes_per_sector) > 4096) { in ntfs_boot_sector_is_ntfs()
79 le16_to_cpu(b->bpb.bytes_per_sector)); in ntfs_boot_sector_is_ntfs()
84 switch (b->bpb.sectors_per_cluster) { in ntfs_boot_sector_is_ntfs()
88 if ((b->bpb.sectors_per_cluster < 240) in ntfs_boot_sector_is_ntfs()
89 || (b->bpb.sectors_per_cluster > 253)) { in ntfs_boot_sector_is_ntfs()
90 if (b->bpb.sectors_per_cluster > 128) in ntfs_boot_sector_is_ntfs()
93 b->bpb.sectors_per_cluster); in ntfs_boot_sector_is_ntfs()
97 b->bpb.sectors_per_cluster); in ntfs_boot_sector_is_ntfs()
103 if (b->bpb.sectors_per_cluster > 128) in ntfs_boot_sector_is_ntfs()
[all …]
/third_party/mesa3d/src/intel/isl/
Disl_gfx9.c43 const uint32_t bpb = fmtl->bpb; in gfx9_calc_std_image_alignment_sa() local
52 .w = 1 << (12 - (ffs(bpb) - 4) + (4 * is_Ys)), in gfx9_calc_std_image_alignment_sa()
63 .w = 1 << (6 - ((ffs(bpb) - 4) / 2) + (4 * is_Ys)), in gfx9_calc_std_image_alignment_sa()
64 .h = 1 << (6 - ((ffs(bpb) - 3) / 2) + (4 * is_Ys)), in gfx9_calc_std_image_alignment_sa()
89 .w = 1 << (4 - ((ffs(bpb) - 2) / 3) + (4 * is_Ys)), in gfx9_calc_std_image_alignment_sa()
90 .h = 1 << (4 - ((ffs(bpb) - 4) / 3) + (2 * is_Ys)), in gfx9_calc_std_image_alignment_sa()
91 .d = 1 << (4 - ((ffs(bpb) - 3) / 3) + (2 * is_Ys)), in gfx9_calc_std_image_alignment_sa()
Disl_gfx12.c82 if (isl_format_get_layout(info->format)->bpb % 3 == 0) in isl_gfx125_filter_tiling()
112 isl_tiling_get_info(tiling, info->dim, msaa_layout, fmtl->bpb, in isl_gfx125_choose_image_alignment_el()
150 } else if (!isl_is_pow2(fmtl->bpb)) { in isl_gfx125_choose_image_alignment_el()
174 *image_align_el = isl_extent3d(128 * 8 / fmtl->bpb, 4, 1); in isl_gfx125_choose_image_alignment_el()
Disl_storage_image.c208 return isl_format_get_layout(fmt)->bpb <= 64; in isl_has_matching_typed_storage_image_format()
210 return isl_format_get_layout(fmt)->bpb <= 32; in isl_has_matching_typed_storage_image_format()
254 const int cpp = isl_format_get_layout(surf->format)->bpb / 8; in isl_surf_fill_image_param()
326 param->stride[0] = isl_format_get_layout(format)->bpb / 8; in isl_buffer_fill_image_param()
Disl_surface_state.c176 } else if (isl_format_get_layout(surf->format)->bpb % 3 == 0) { in get_image_alignment()
185 const uint32_t bs = isl_format_get_layout(surf->format)->bpb / 8; in get_image_alignment()
320 assert(surf_fmtl->bpb == view_fmtl->bpb); in isl_genX()
598 assert(isl_is_pow2(isl_format_get_layout(info->view->format)->bpb)); in isl_genX()
606 if (isl_format_get_layout(info->view->format)->bpb == 8) in isl_genX()
608 if (isl_format_get_layout(info->view->format)->bpb == 16) in isl_genX()
873 info->stride_B < isl_format_get_layout(info->format)->bpb / 8) && in isl_genX()
948 info->stride_B == isl_format_get_layout(info->format)->bpb / 8 && in isl_genX()
Disl.c1565 const uint32_t bs = fmtl->bpb / 8; in isl_calc_row_pitch_alignment()
1609 const uint32_t bs = fmtl->bpb / 8; in isl_calc_linear_min_row_pitch()
1623 assert(fmtl->bpb % tile_info->format_bpb == 0); in isl_calc_tiled_min_row_pitch()
1625 const uint32_t tile_el_scale = fmtl->bpb / tile_info->format_bpb; in isl_calc_tiled_min_row_pitch()
1764 isl_tiling_get_info(tiling, info->dim, msaa_layout, fmtl->bpb, in isl_surf_init_s()
1814 base_alignment_B = MAX(base_alignment_B, fmtl->bpb / 4); in isl_surf_init_s()
1816 base_alignment_B = MAX(base_alignment_B, fmtl->bpb / 8); in isl_surf_init_s()
1942 isl_tiling_get_info(surf->tiling, surf->dim, surf->msaa_layout, fmtl->bpb, in isl_surf_get_tile_info()
2140 if (!isl_is_pow2(isl_format_get_layout(surf->format)->bpb)) in isl_surf_supports_ccs()
2272 if (isl_format_get_layout(surf->format)->bpb < 32) in isl_surf_supports_ccs()
[all …]
Disl_gfx4.c79 if (isl_format_get_layout(info->format)->bpb >= 128) in isl_gfx4_filter_tiling()
Disl_gfx8.c177 fmtl->bpb == 32 && info->samples == 1) { in isl_gfx8_choose_image_alignment_el()
Disl.h1317 uint16_t bpb; /**< Bits per block */ member
2490 assert(surf->row_pitch_B % (fmtl->bpb / 8) == 0); in isl_surf_get_row_pitch_el()
2491 return surf->row_pitch_B / (fmtl->bpb / 8); in isl_surf_get_row_pitch_el()
2709 uint32_t bpb,
2777 isl_tiling_get_intratile_offset_el(tiling, dim, msaa_layout, fmtl->bpb, in isl_tiling_get_intratile_offset_sa()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_formats.c200 supported &= fmtl->bpb != 24 && fmtl->bpb != 48 && fmtl->bpb != 96; in iris_is_format_supported()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_storage_image.c404 assert(image_fmtl->bpb == 64 || image_fmtl->bpb == 128); in lower_image_load_instr()
405 enum isl_format raw_fmt = (image_fmtl->bpb == 64) ? in lower_image_load_instr()
431 nir_image_deref_load_raw_intel(b, image_fmtl->bpb / 32, 32, in lower_image_load_instr()
556 assert(image_fmtl->bpb == 64 || image_fmtl->bpb == 128); in lower_image_store_instr()
557 enum isl_format raw_fmt = (image_fmtl->bpb == 64) ? in lower_image_store_instr()
591 store->num_components = image_fmtl->bpb / 32; in lower_image_store_instr()
/third_party/mesa3d/src/intel/blorp/
Dblorp_blit.c881 assert(src_fmtl->bpb == dst_fmtl->bpb); in bit_cast_color()
883 if (src_fmtl->bpb <= 32) { in bit_cast_color()
1870 128 / (isl_format_get_layout(red_format)->bpb / 8); in surf_fake_rgb_with_red()
2125 if (isl_format_get_layout(params->dst.view.format)->bpb % 3 == 0) { in try_blorp_blit()
2534 get_copy_format_for_bpb(const struct isl_device *isl_dev, unsigned bpb) in get_copy_format_for_bpb() argument
2550 switch (bpb) { in get_copy_format_for_bpb()
2563 switch (bpb) { in get_copy_format_for_bpb()
2838 } else if (src_fmtl->bpb == dst_fmtl->bpb) { in blorp_copy()
2842 get_copy_format_for_bpb(isl_dev, src_fmtl->bpb); in blorp_copy()
2847 if (src_fmtl->bpb == dst_fmtl->bpb) { in blorp_copy()
[all …]
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_formats.c549 supported &= fmtl->bpb != 24 && fmtl->bpb != 48 && fmtl->bpb != 96; in crocus_is_format_supported()
Dcrocus_blt.c52 unsigned cpp = fmtl->bpb / 8; in blt_set_alpha_to_one()
243 unsigned src_cpp = src_fmtl->bpb / 8; in crocus_emit_blt()
245 const unsigned dst_cpp = dst_fmtl->bpb / 8; in crocus_emit_blt()
/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/
Dppucd.cpp44 bmg(U_SENTINEL), bpb(U_SENTINEL), in UniProps()
399 props.bpb=U_SENTINEL; in parseProperty()
456 props.bpb=parseCodePoint(v, errorCode); in parseProperty()
Dppucd.h53 UChar32 bmg, bpb; member
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_screen_cache.c47 unsigned bw, bh, bpb, total_size, i; in svga_surface_size() local
60 svga_format_size(key->format, &bw, &bh, &bpb); in svga_surface_size()
68 unsigned img_size = ((w + bw - 1) / bw) * ((h + bh - 1) / bh) * d * bpb; in svga_surface_size()
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
Dppucd.cpp44 bmg(U_SENTINEL), bpb(U_SENTINEL), in UniProps()
399 props.bpb=U_SENTINEL; in parseProperty()
456 props.bpb=parseCodePoint(v, errorCode); in parseProperty()
Dppucd.h53 UChar32 bmg, bpb; member
/third_party/node/deps/icu-small/source/tools/toolutil/
Dppucd.cpp52 bmg(U_SENTINEL), bpb(U_SENTINEL), in UniProps()
406 props.bpb=U_SENTINEL; in parseProperty()
463 props.bpb=parseCodePoint(v, errorCode); in parseProperty()
Dppucd.h53 UChar32 bmg, bpb; member
/third_party/icu/icu4c/source/tools/toolutil/
Dppucd.cpp44 bmg(U_SENTINEL), bpb(U_SENTINEL), in UniProps()
399 props.bpb=U_SENTINEL; in parseProperty()
456 props.bpb=parseCodePoint(v, errorCode); in parseProperty()
Dppucd.h53 UChar32 bmg, bpb; member
/third_party/icu/tools/unicode/c/genprops/
Dbidipropsbuilder.cpp281 if(!(bpt==0 ? props.bpb==U_SENTINEL : props.bpb==props.bmg)) { in setProps()

123