Home
last modified time | relevance | path

Searched refs:bpb (Results 1 - 25 of 52) sorted by relevance

123

/third_party/FreeBSD/sbin/newfs_msdos/
H A Dmkfs_msdos.c152 struct bpb { struct
175 struct bpb bpb; member
225 static int getstdfmt(const char *, struct bpb *);
226 static int getdiskinfo(int, const char *, const char *, int, struct bpb *);
227 static void print_bpb(struct bpb *);
240 struct bpb bpb; in mkfs_msdos() local
308 memset(&bpb, 0, sizeof(bpb)); in mkfs_msdos()
838 getstdfmt(const char *fmt, struct bpb *bpb) getstdfmt() argument
874 getdiskinfo(int fd, const char *fname, const char *dtype, int oflag, struct bpb *bpb) getdiskinfo() argument
904 getdiskinfo(int fd, const char *fname, const char *dtype, int oflag, struct bpb *bpb) getdiskinfo() argument
996 print_bpb(struct bpb *bpb) print_bpb() argument
[all...]
/third_party/ntfs-3g/libntfs-3g/
H A 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 in ntfs_boot_sector_is_ntfs()
[all...]
/third_party/mesa3d/src/intel/isl/
H A 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()
H A Disl_gfx12.c88 /* Tile64 is not defined for format sizes that are 24, 48, and 96 bpb. */ in isl_gfx125_filter_tiling()
89 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()
H A 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()
H A Disl_genX_helpers.h91 } else if (isl_format_get_layout(surf->format)->bpb % 3 == 0) { in isl_get_image_alignment()
93 * units of elements for 24, 48, and 96 bpb formats. in isl_get_image_alignment()
100 const uint32_t bs = isl_format_get_layout(surf->format)->bpb / 8; in isl_get_image_alignment()
H A Disl.c499 /* HiZ buffers are required to have a 128bpb HiZ format. The tiling has in isl_tiling_get_info()
1627 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()
3099 isl_tiling_get_intratile_offset_el(enum isl_tiling tiling, enum isl_surf_dim dim, enum isl_msaa_layout msaa_layout, uint32_t bpb, uint32_t samples, uint32_t row_pitch_B, uint32_t array_pitch_el_rows, uint32_t total_x_offset_el, uint32_t total_y_offset_el, uint32_t total_z_offset_el, uint32_t total_array_offset, uint64_t *tile_offset_B, uint32_t *x_offset_el, uint32_t *y_offset_el, uint32_t *z_offset_el, uint32_t *array_offset) isl_tiling_get_intratile_offset_el() argument
[all...]
H A Disl_surface_state.c128 const uint32_t plane_bpb = isl_format_get_layout(lowered_format)->bpb; in get_media_compression_format()
141 /* drm_fourcc.h defines the chroma plane of NV12 as 16-bpb */ in get_media_compression_format()
149 /* drm_fourcc.h defines the chroma plane of P01X as 32-bpb */ in get_media_compression_format()
185 * that they're at least the same bpb and block size. in surf_fill_state_s()
191 assert(surf_fmtl->bpb == view_fmtl->bpb); in surf_fill_state_s()
494 assert(isl_is_pow2(isl_format_get_layout(info->view->format)->bpb)); in surf_fill_state_s()
502 if (isl_format_get_layout(info->view->format)->bpb == 8) in surf_fill_state_s()
504 if (isl_format_get_layout(info->view->format)->bpb == 16) in surf_fill_state_s()
810 info->stride_B < isl_format_get_layout(info->format)->bpb / in buffer_fill_state_s()
[all...]
H A Disl_gfx4.c79 if (isl_format_get_layout(info->format)->bpb >= 128) in isl_gfx4_filter_tiling()
H A Disl_gfx8.c177 fmtl->bpb == 32 && info->samples == 1) { in isl_gfx8_choose_image_alignment_el()
H A Disl.h1329 uint16_t bpb; /**< Bits per block */ member
1362 * isl_format_layout::bpb. For non-power-of-two formats it may be smaller.
1366 * isl_format_layout::bpb is 96 (a non-power-of-two). In this case, none
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()
2750 * is an umcompressed format with the same bpb as the surface format. The
2783 * @param[in] bpb The size of the surface format in bits per
2801 uint32_t bpb,
2824 * @param[in] bpb The size of the surface format in bits per
2869 isl_tiling_get_intratile_offset_el(tiling, dim, msaa_layout, fmtl->bpb, in isl_tiling_get_intratile_offset_sa()
[all...]
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_formats.c204 supported &= fmtl->bpb != 24 && fmtl->bpb != 48 && fmtl->bpb != 96; in iris_is_format_supported()
/third_party/mesa3d/src/intel/compiler/
H A 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/
H A 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()
2644 unreachable("Unknown format bpb"); in get_copy_format_for_bpb()
2647 switch (bpb) { in get_copy_format_for_bpb()
[all...]
/third_party/mesa3d/src/gallium/drivers/svga/
H A 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/node/deps/icu-small/source/tools/toolutil/
H A 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()
H A Dppucd.h53 UChar32 bmg, bpb; member
/third_party/icu/icu4c/source/tools/toolutil/
H A 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()
H A Dppucd.h53 UChar32 bmg, bpb; member
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_formats.c549 supported &= fmtl->bpb != 24 && fmtl->bpb != 48 && fmtl->bpb != 96; in crocus_is_format_supported()
H A 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/skia/third_party/externals/icu/source/tools/toolutil/
H A 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()
H A Dppucd.h53 UChar32 bmg, bpb; member
/third_party/mesa3d/src/intel/vulkan/
H A 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()
/third_party/exfatprogs/lib/
H A 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()

Completed in 28 milliseconds

123