Home
last modified time | relevance | path

Searched refs:bpb (Results 1 – 25 of 67) 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.c89 if (isl_format_get_layout(info->format)->bpb % 3 == 0) in isl_gfx125_filter_tiling()
131 isl_tiling_get_info(tiling, info->dim, msaa_layout, fmtl->bpb, in isl_gfx125_choose_image_alignment_el()
169 } else if (!isl_is_pow2(fmtl->bpb)) { in isl_gfx125_choose_image_alignment_el()
193 *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_genX_helpers.h91 } else if (isl_format_get_layout(surf->format)->bpb % 3 == 0) { in isl_get_image_alignment()
100 const uint32_t bs = isl_format_get_layout(surf->format)->bpb / 8; in isl_get_image_alignment()
Disl_surface_state.c128 const uint32_t plane_bpb = isl_format_get_layout(lowered_format)->bpb; in get_media_compression_format()
191 assert(surf_fmtl->bpb == view_fmtl->bpb); in isl_genX()
494 assert(isl_is_pow2(isl_format_get_layout(info->view->format)->bpb)); in isl_genX()
502 if (isl_format_get_layout(info->view->format)->bpb == 8) in isl_genX()
504 if (isl_format_get_layout(info->view->format)->bpb == 16) in isl_genX()
810 info->stride_B < isl_format_get_layout(info->format)->bpb / 8) && in isl_genX()
885 info->stride_B == isl_format_get_layout(info->format)->bpb / 8 && in isl_genX()
Disl.c1627 const uint32_t bs = fmtl->bpb / 8; in isl_calc_row_pitch_alignment()
1671 const uint32_t bs = fmtl->bpb / 8; in isl_calc_linear_min_row_pitch()
1685 assert(fmtl->bpb % tile_info->format_bpb == 0); in isl_calc_tiled_min_row_pitch()
1687 const uint32_t tile_el_scale = fmtl->bpb / tile_info->format_bpb; in isl_calc_tiled_min_row_pitch()
1834 isl_tiling_get_info(tiling, info->dim, msaa_layout, fmtl->bpb, in isl_surf_init_s()
1884 base_alignment_B = MAX(base_alignment_B, fmtl->bpb / 4); in isl_surf_init_s()
1886 base_alignment_B = MAX(base_alignment_B, fmtl->bpb / 8); in isl_surf_init_s()
2012 isl_tiling_get_info(surf->tiling, surf->dim, surf->msaa_layout, fmtl->bpb, in isl_surf_get_tile_info()
2304 switch (isl_format_get_layout(surf->format)->bpb) { in isl_surf_get_ccs_surf()
2335 switch (isl_format_get_layout(surf->format)->bpb) { in isl_surf_get_ccs_surf()
[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.h1329 uint16_t bpb; /**< Bits per block */ member
2582 assert(surf->row_pitch_B % (fmtl->bpb / 8) == 0); in isl_surf_get_row_pitch_el()
2583 return surf->row_pitch_B / (fmtl->bpb / 8); in isl_surf_get_row_pitch_el()
2801 uint32_t bpb,
2869 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.c204 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()
2498 if (fmtl->bpb == 96) { in blorp_copy_supports_blitter()
2618 get_copy_format_for_bpb(const struct isl_device *isl_dev, unsigned bpb) in get_copy_format_for_bpb() argument
2634 switch (bpb) { in get_copy_format_for_bpb()
2647 switch (bpb) { in get_copy_format_for_bpb()
2936 } else if (src_fmtl->bpb == dst_fmtl->bpb) { in blorp_copy()
2940 get_copy_format_for_bpb(isl_dev, src_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/exfatprogs/lib/
Dlibexfat.c370 if (memcmp(bs->bpb.oem_name, "EXFAT ", 8) != 0) { in exfat_get_root_entry_offset()
572 if (memcmp(ppbr->bpb.oem_name, "EXFAT ", 8) != 0) { in exfat_show_volume_serial()
646 if (memcmp(ppbr->bpb.oem_name, "EXFAT ", 8) != 0) { in exfat_set_volume_serial()
830 if (memcmp(pbr->bpb.oem_name, "EXFAT ", 8) != 0) { in read_boot_sect()
/third_party/icu/icu4c/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/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/mesa3d/src/intel/vulkan/
Danv_formats.c454 if (!util_is_power_of_two_or_zero(isl_layout->bpb)) in anv_format_has_npot_plane()
503 (isl_layout->bpb == 24 || isl_layout->bpb == 48)) in anv_get_format_plane()
507 !util_is_power_of_two_or_zero(isl_layout->bpb)) { in anv_get_format_plane()
683 !util_is_power_of_two_or_zero(isl_format_layouts[base_isl_format].bpb) && in anv_get_image_format_features2()
1175 if (!util_is_power_of_two_or_zero(isl_layout->bpb)) in anv_get_image_format_properties()

123