/drivers/gpu/drm/ |
D | drm_fourcc.c | 147 const struct drm_format_info *__drm_format_info(u32 format) in __drm_format_info() argument 150 { .format = DRM_FORMAT_C1, .depth = 1, .num_planes = 1, in __drm_format_info() 152 { .format = DRM_FORMAT_C2, .depth = 2, .num_planes = 1, in __drm_format_info() 154 { .format = DRM_FORMAT_C4, .depth = 4, .num_planes = 1, in __drm_format_info() 156 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info() 157 { .format = DRM_FORMAT_D1, .depth = 1, .num_planes = 1, in __drm_format_info() 159 { .format = DRM_FORMAT_D2, .depth = 2, .num_planes = 1, in __drm_format_info() 161 { .format = DRM_FORMAT_D4, .depth = 4, .num_planes = 1, in __drm_format_info() 163 …{ .format = DRM_FORMAT_D8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info() 164 { .format = DRM_FORMAT_R1, .depth = 1, .num_planes = 1, in __drm_format_info() [all …]
|
/drivers/media/platform/renesas/vsp1/ |
D | vsp1_rwpf.c | 66 struct v4l2_mbus_framefmt *format; in vsp1_rwpf_set_format() local 79 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && in vsp1_rwpf_set_format() 80 fmt->format.code != MEDIA_BUS_FMT_AHSV8888_1X32 && in vsp1_rwpf_set_format() 81 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) in vsp1_rwpf_set_format() 82 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; in vsp1_rwpf_set_format() 84 format = vsp1_entity_get_pad_format(&rwpf->entity, config, fmt->pad); in vsp1_rwpf_set_format() 91 format->code = fmt->format.code; in vsp1_rwpf_set_format() 92 fmt->format = *format; in vsp1_rwpf_set_format() 96 format->code = fmt->format.code; in vsp1_rwpf_set_format() 97 format->width = clamp_t(unsigned int, fmt->format.width, in vsp1_rwpf_set_format() [all …]
|
D | vsp1_drm.c | 69 struct v4l2_subdev_format format = { in vsp1_du_insert_uif() local 87 format.pad = prev_pad; in vsp1_du_insert_uif() 89 ret = v4l2_subdev_call(&prev->subdev, pad, get_fmt, NULL, &format); in vsp1_du_insert_uif() 93 format.pad = UIF_PAD_SINK; in vsp1_du_insert_uif() 95 ret = v4l2_subdev_call(&uif->subdev, pad, set_fmt, NULL, &format); in vsp1_du_insert_uif() 100 __func__, format.format.width, format.format.height, in vsp1_du_insert_uif() 101 format.format.code); in vsp1_du_insert_uif() 124 struct v4l2_subdev_format format = { in vsp1_du_pipeline_setup_rpf() local 136 format.pad = RWPF_PAD_SINK; in vsp1_du_pipeline_setup_rpf() 137 format.format.width = crop->width + crop->left; in vsp1_du_pipeline_setup_rpf() [all …]
|
D | vsp1_sru.c | 127 struct v4l2_mbus_framefmt *format; in sru_enum_frame_size() local 135 format = vsp1_entity_get_pad_format(&sru->entity, config, SRU_PAD_SINK); in sru_enum_frame_size() 139 if (fse->index || fse->code != format->code) { in sru_enum_frame_size() 150 fse->min_width = format->width; in sru_enum_frame_size() 151 fse->min_height = format->height; in sru_enum_frame_size() 152 if (format->width <= SRU_MAX_SIZE / 2 && in sru_enum_frame_size() 153 format->height <= SRU_MAX_SIZE / 2) { in sru_enum_frame_size() 154 fse->max_width = format->width * 2; in sru_enum_frame_size() 155 fse->max_height = format->height * 2; in sru_enum_frame_size() 157 fse->max_width = format->width; in sru_enum_frame_size() [all …]
|
D | vsp1_hsit.c | 70 struct v4l2_mbus_framefmt *format; in hsit_set_format() local 82 format = vsp1_entity_get_pad_format(&hsit->entity, config, fmt->pad); in hsit_set_format() 89 fmt->format = *format; in hsit_set_format() 93 format->code = hsit->inverse ? MEDIA_BUS_FMT_AHSV8888_1X32 in hsit_set_format() 95 format->width = clamp_t(unsigned int, fmt->format.width, in hsit_set_format() 97 format->height = clamp_t(unsigned int, fmt->format.height, in hsit_set_format() 99 format->field = V4L2_FIELD_NONE; in hsit_set_format() 100 format->colorspace = V4L2_COLORSPACE_SRGB; in hsit_set_format() 102 fmt->format = *format; in hsit_set_format() 105 format = vsp1_entity_get_pad_format(&hsit->entity, config, in hsit_set_format() [all …]
|
/drivers/acpi/acpica/ |
D | utprint.c | 318 int vsnprintf(char *string, acpi_size size, const char *format, va_list args) in vsnprintf() argument 342 for (; *format; ++format) { in vsnprintf() 343 if (*format != '%') { in vsnprintf() 344 pos = acpi_ut_bound_string_output(pos, end, *format); in vsnprintf() 354 ++format; in vsnprintf() 355 if (*format == '#') { in vsnprintf() 357 } else if (*format == '0') { in vsnprintf() 359 } else if (*format == '+') { in vsnprintf() 361 } else if (*format == ' ') { in vsnprintf() 363 } else if (*format == '-') { in vsnprintf() [all …]
|
D | utxferror.c | 35 acpi_error(const char *module_name, u32 line_number, const char *format, ...) in acpi_error() argument 42 va_start(arg_list, format); in acpi_error() 43 acpi_os_vprintf(format, arg_list); in acpi_error() 69 u32 line_number, acpi_status status, const char *format, ...) in ACPI_EXPORT_SYMBOL() 85 va_start(arg_list, format); in ACPI_EXPORT_SYMBOL() 86 acpi_os_vprintf(format, arg_list); in ACPI_EXPORT_SYMBOL() 109 acpi_warning(const char *module_name, u32 line_number, const char *format, ...) in ACPI_EXPORT_SYMBOL() 116 va_start(arg_list, format); in ACPI_EXPORT_SYMBOL() 117 acpi_os_vprintf(format, arg_list); in ACPI_EXPORT_SYMBOL() 138 void ACPI_INTERNAL_VAR_XFACE acpi_info(const char *format, ...) in ACPI_EXPORT_SYMBOL() [all …]
|
/drivers/staging/media/omap4iss/ |
D | iss_ipipe.c | 85 struct v4l2_mbus_framefmt *format; in ipipe_configure() local 88 format = &ipipe->formats[IPIPE_PAD_SINK]; in ipipe_configure() 101 (format->height - 2) & IPIPE_SRC_VSZ_MASK); in ipipe_configure() 103 (format->width - 1) & IPIPE_SRC_HSZ_MASK); in ipipe_configure() 115 format = &ipipe->formats[IPIPE_PAD_SOURCE_VP]; in ipipe_configure() 203 struct v4l2_mbus_framefmt *format; in ipipe_try_format() local 226 format = __ipipe_get_format(ipipe, sd_state, IPIPE_PAD_SINK, in ipipe_try_format() 228 memcpy(fmt, format, sizeof(*fmt)); in ipipe_try_format() 279 struct v4l2_mbus_framefmt format; in ipipe_enum_frame_size() local 284 format.code = fse->code; in ipipe_enum_frame_size() [all …]
|
D | iss_ipipeif.c | 125 struct v4l2_mbus_framefmt *format; in ipipeif_configure() local 131 format = &ipipeif->formats[IPIPEIF_PAD_SINK]; in ipipeif_configure() 138 switch (format->code) { in ipipeif_configure() 182 info = omap4iss_video_format_info(format->code); in ipipeif_configure() 195 (format->width - 1) & ISIF_LNH_MASK); in ipipeif_configure() 197 (format->height - 1) & ISIF_LNV_MASK); in ipipeif_configure() 201 format->height - 1); in ipipeif_configure() 204 format = &ipipeif->formats[IPIPEIF_PAD_SOURCE_ISIF_SF]; in ipipeif_configure() 382 struct v4l2_mbus_framefmt *format; in ipipeif_try_format() local 407 format = __ipipeif_get_format(ipipeif, sd_state, in ipipeif_try_format() [all …]
|
D | iss_resizer.c | 442 struct v4l2_mbus_framefmt *format; in resizer_try_format() local 465 format = __resizer_get_format(resizer, sd_state, in resizer_try_format() 468 memcpy(fmt, format, sizeof(*fmt)); in resizer_try_format() 501 struct v4l2_mbus_framefmt *format; in resizer_enum_mbus_code() local 512 format = __resizer_get_format(resizer, sd_state, in resizer_enum_mbus_code() 517 code->code = format->code; in resizer_enum_mbus_code() 521 switch (format->code) { in resizer_enum_mbus_code() 547 struct v4l2_mbus_framefmt format; in resizer_enum_frame_size() local 552 format.code = fse->code; in resizer_enum_frame_size() 553 format.width = 1; in resizer_enum_frame_size() [all …]
|
/drivers/media/v4l2-core/ |
D | v4l2-common.c | 234 const struct v4l2_format_info *v4l2_format_info(u32 format) in v4l2_format_info() argument 238 …{ .format = V4L2_PIX_FMT_BGR24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info() 239 …{ .format = V4L2_PIX_FMT_RGB24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info() 240 …{ .format = V4L2_PIX_FMT_HSV24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info() 241 …{ .format = V4L2_PIX_FMT_BGR32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info() 242 …{ .format = V4L2_PIX_FMT_XBGR32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info() 243 …{ .format = V4L2_PIX_FMT_BGRX32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info() 244 …{ .format = V4L2_PIX_FMT_RGB32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info() 245 …{ .format = V4L2_PIX_FMT_XRGB32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info() 246 …{ .format = V4L2_PIX_FMT_RGBX32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info() [all …]
|
/drivers/media/platform/xilinx/ |
D | xilinx-vip.c | 60 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_get_format_by_code() local 62 if (format->code == code) in xvip_get_format_by_code() 63 return format; in xvip_get_format_by_code() 83 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_get_format_by_fourcc() local 85 if (format->fourcc == fourcc) in xvip_get_format_by_fourcc() 86 return format; in xvip_get_format_by_fourcc() 124 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_of_get_format() local 126 if (format->vf_code != vf_code || format->width != width) in xvip_of_get_format() 130 strcmp(pattern, format->pattern)) in xvip_of_get_format() 133 return format; in xvip_of_get_format() [all …]
|
/drivers/gpu/drm/tegra/ |
D | plane.c | 64 copy->format = state->format; in tegra_plane_atomic_duplicate_state() 108 uint32_t format, in tegra_plane_format_mod_supported() argument 111 const struct drm_format_info *info = drm_format_info(format); in tegra_plane_format_mod_supported() 145 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_pin() 193 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_unpin() 246 fmt = state->fb->format; in tegra_plane_calculate_memory_bandwidth() 326 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap) in tegra_plane_format() argument 334 *format = WIN_COLOR_DEPTH_B4G4R4A4; in tegra_plane_format() 338 *format = WIN_COLOR_DEPTH_B5G5R5A1; in tegra_plane_format() 342 *format = WIN_COLOR_DEPTH_B5G6R5; in tegra_plane_format() [all …]
|
/drivers/gpu/drm/renesas/shmobile/ |
D | shmob_drm_plane.c | 26 const struct shmob_drm_format_info *format; member 46 bpp = splane->format->yuv ? 8 : splane->format->bpp; in shmob_drm_plane_compute_base() 51 if (splane->format->yuv) { in shmob_drm_plane_compute_base() 52 bpp = splane->format->bpp - 8; in shmob_drm_plane_compute_base() 64 u32 format; in __shmob_drm_plane_setup() local 67 format = LDBBSIFR_EN | (splane->alpha << LDBBSIFR_LAY_SHIFT); in __shmob_drm_plane_setup() 69 switch (splane->format->fourcc) { in __shmob_drm_plane_setup() 74 format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW; in __shmob_drm_plane_setup() 80 format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW | LDBBSIFR_SWPB; in __shmob_drm_plane_setup() 85 format |= LDBBSIFR_SWPL; in __shmob_drm_plane_setup() [all …]
|
/drivers/usb/atm/ |
D | usbatm.h | 29 #define usb_err(instance, format, arg...) \ argument 30 dev_err(&(instance)->usb_intf->dev , format , ## arg) 31 #define usb_info(instance, format, arg...) \ argument 32 dev_info(&(instance)->usb_intf->dev , format , ## arg) 33 #define usb_warn(instance, format, arg...) \ argument 34 dev_warn(&(instance)->usb_intf->dev , format , ## arg) 35 #define usb_dbg(instance, format, arg...) \ argument 36 dev_dbg(&(instance)->usb_intf->dev , format , ## arg) 39 #define atm_printk(level, instance, format, arg...) \ argument 40 printk(level "ATM dev %d: " format , \ [all …]
|
/drivers/gpu/drm/imx/dcss/ |
D | dcss-plane.c | 71 u32 format, in dcss_plane_format_mod_supported() argument 76 switch (format) { in dcss_plane_format_mod_supported() 104 static bool dcss_plane_can_rotate(const struct drm_format_info *format, in dcss_plane_can_rotate() argument 111 if (!format->is_yuv && linear_format) in dcss_plane_can_rotate() 114 else if (!format->is_yuv && in dcss_plane_can_rotate() 119 else if (format->is_yuv && linear_format && in dcss_plane_can_rotate() 120 (format->format == DRM_FORMAT_NV12 || in dcss_plane_can_rotate() 121 format->format == DRM_FORMAT_NV21)) in dcss_plane_can_rotate() 170 fb->format->format)) { in dcss_plane_atomic_check() 187 if (!dcss_plane_can_rotate(fb->format, in dcss_plane_atomic_check() [all …]
|
/drivers/staging/media/atomisp/pci/camera/util/src/ |
D | util.c | 26 enum atomisp_input_format format, in ia_css_util_input_format_bpp() argument 31 switch (format) { in ia_css_util_input_format_bpp() 151 bool ia_css_util_is_input_format_raw(enum atomisp_input_format format) in ia_css_util_is_input_format_raw() argument 153 return ((format == ATOMISP_INPUT_FORMAT_RAW_6) || in ia_css_util_is_input_format_raw() 154 (format == ATOMISP_INPUT_FORMAT_RAW_7) || in ia_css_util_is_input_format_raw() 155 (format == ATOMISP_INPUT_FORMAT_RAW_8) || in ia_css_util_is_input_format_raw() 156 (format == ATOMISP_INPUT_FORMAT_RAW_10) || in ia_css_util_is_input_format_raw() 157 (format == ATOMISP_INPUT_FORMAT_RAW_12)); in ia_css_util_is_input_format_raw() 164 bool ia_css_util_is_input_format_yuv(enum atomisp_input_format format) in ia_css_util_is_input_format_yuv() argument 166 return format == ATOMISP_INPUT_FORMAT_YUV420_8_LEGACY || in ia_css_util_is_input_format_yuv() [all …]
|
/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 54 const struct drm_format_info *format; member 85 const struct drm_format_info *format, int n, int x, int y) in get_linear_addr() argument 92 + (x * format->cpp[n] / (n == 0 ? 1 : format->hsub)) in get_linear_addr() 93 + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); in get_linear_addr() 141 const struct drm_format_info *format = omap_fb->format; in omap_framebuffer_update_scanout() local 144 info->fourcc = fb->format->format; in omap_framebuffer_update_scanout() 172 if (fb->format->format == DRM_FORMAT_UYVY || in omap_framebuffer_update_scanout() 173 fb->format->format == DRM_FORMAT_YUYV) { in omap_framebuffer_update_scanout() 205 info->paddr = get_linear_addr(fb, format, 0, x, y); in omap_framebuffer_update_scanout() 212 info->screen_width /= format->cpp[0]; in omap_framebuffer_update_scanout() [all …]
|
/drivers/media/test-drivers/vimc/ |
D | vimc-capture.c | 19 struct v4l2_pix_format format; member 72 *fmt = vcapture->format; in vimc_capture_get_format() 80 f->fmt.pix = vcapture->format; in vimc_capture_g_fmt_vid_cap() 88 struct v4l2_pix_format *format = &f->fmt.pix; in vimc_capture_try_fmt_vid_cap() local 91 format->width = clamp_t(u32, format->width, VIMC_FRAME_MIN_WIDTH, in vimc_capture_try_fmt_vid_cap() 93 format->height = clamp_t(u32, format->height, VIMC_FRAME_MIN_HEIGHT, in vimc_capture_try_fmt_vid_cap() 97 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_capture_try_fmt_vid_cap() 99 format->pixelformat = fmt_default.pixelformat; in vimc_capture_try_fmt_vid_cap() 100 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_capture_try_fmt_vid_cap() 103 format->bytesperline = format->width * vpix->bpp; in vimc_capture_try_fmt_vid_cap() [all …]
|
D | vimc-scaler.c | 160 struct v4l2_subdev_format *format) in vimc_scaler_get_fmt() argument 164 format->format = *vimc_scaler_pad_format(vscaler, sd_state, format->pad, in vimc_scaler_get_fmt() 165 format->which); in vimc_scaler_get_fmt() 171 struct v4l2_subdev_format *format) in vimc_scaler_set_fmt() argument 177 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE && vscaler->src_frame) in vimc_scaler_set_fmt() 180 fmt = vimc_scaler_pad_format(vscaler, sd_state, format->pad, format->which); in vimc_scaler_set_fmt() 186 if (format->pad == VIMC_SCALER_SINK) { in vimc_scaler_set_fmt() 190 vpix = vimc_pix_map_by_code(format->format.code); in vimc_scaler_set_fmt() 192 fmt->code = format->format.code; in vimc_scaler_set_fmt() 197 fmt->colorspace = format->format.colorspace; in vimc_scaler_set_fmt() [all …]
|
/drivers/media/platform/ti/omap3isp/ |
D | ispccp2.c | 289 u32 val, format; in ccp2_lcx_config() local 291 switch (config->format) { in ccp2_lcx_config() 293 format = ISPCCP2_LCx_CTRL_FORMAT_RAW8_DPCM10_VP; in ccp2_lcx_config() 297 format = ISPCCP2_LCx_CTRL_FORMAT_RAW10_VP; /* RAW10+VP */ in ccp2_lcx_config() 311 ISPCCP2_LCx_CTRL_FORMAT_MASK_15_0, format); in ccp2_lcx_config() 318 ISPCCP2_LCx_CTRL_FORMAT_MASK, format); in ccp2_lcx_config() 352 struct v4l2_mbus_framefmt *format; in ccp2_if_configure() local 374 format = &ccp2->formats[CCP2_PAD_SINK]; in ccp2_if_configure() 378 ccp2->if_cfg.format = format->code; in ccp2_if_configure() 379 ccp2->if_cfg.data_size = format->height; in ccp2_if_configure() [all …]
|
/drivers/gpu/drm/gud/ |
D | gud_pipe.c | 52 static size_t gud_xrgb8888_to_r124(u8 *dst, const struct drm_format_info *format, in gud_xrgb8888_to_r124() argument 56 unsigned int block_width = drm_format_info_block_width(format, 0); in gud_xrgb8888_to_r124() 64 WARN_ON_ONCE(format->char_per_block[0] != 1); in gud_xrgb8888_to_r124() 70 len = drm_format_info_min_pitch(format, 0, width) * height; in gud_xrgb8888_to_r124() 101 static size_t gud_xrgb8888_to_color(u8 *dst, const struct drm_format_info *format, in gud_xrgb8888_to_color() argument 105 unsigned int block_width = drm_format_info_block_width(format, 0); in gud_xrgb8888_to_color() 116 len = drm_format_info_min_pitch(format, 0, width) * drm_rect_height(rect); in gud_xrgb8888_to_color() 136 switch (format->format) { in gud_xrgb8888_to_color() 154 const struct drm_format_info *format, struct drm_rect *rect, in gud_prep_flush() argument 162 pitch = drm_format_info_min_pitch(format, 0, drm_rect_width(rect)); in gud_prep_flush() [all …]
|
/drivers/gpu/drm/meson/ |
D | meson_osd_afbcd.c | 58 static int meson_gxm_afbcd_pixel_fmt(u64 modifier, uint32_t format) in meson_gxm_afbcd_pixel_fmt() argument 60 switch (format) { in meson_gxm_afbcd_pixel_fmt() 66 DRM_DEBUG("unsupported afbc format[%08x]\n", format); in meson_gxm_afbcd_pixel_fmt() 71 static bool meson_gxm_afbcd_supported_fmt(u64 modifier, uint32_t format) in meson_gxm_afbcd_supported_fmt() argument 79 return meson_gxm_afbcd_pixel_fmt(modifier, format) >= 0; in meson_gxm_afbcd_supported_fmt() 125 priv->afbcd.format); in meson_gxm_afbcd_setup() 206 static int meson_g12a_afbcd_pixel_fmt(u64 modifier, uint32_t format) in meson_g12a_afbcd_pixel_fmt() argument 208 switch (format) { in meson_g12a_afbcd_pixel_fmt() 230 DRM_DEBUG("unsupported afbc format[%08x]\n", format); in meson_g12a_afbcd_pixel_fmt() 235 static int meson_g12a_afbcd_bpp(uint32_t format) in meson_g12a_afbcd_bpp() argument [all …]
|
/drivers/hwmon/pmbus/ |
D | bel-pfe.c | 33 .format[PSC_VOLTAGE_IN] = linear, 34 .format[PSC_VOLTAGE_OUT] = linear, 35 .format[PSC_CURRENT_IN] = linear, 36 .format[PSC_CURRENT_OUT] = linear, 37 .format[PSC_POWER] = linear, 38 .format[PSC_TEMPERATURE] = linear, 39 .format[PSC_FAN] = linear, 53 .format[PSC_VOLTAGE_IN] = linear, 54 .format[PSC_VOLTAGE_OUT] = linear, 55 .format[PSC_CURRENT_IN] = linear, [all …]
|
/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | custom_float.c | 31 const struct custom_float_format *format, in build_custom_float() argument 36 uint32_t exp_offset = (1 << (format->exponenta_bits - 1)) - 1; in build_custom_float() 40 (1LL << (format->mantissa_bits + 1)) - 1, in build_custom_float() 41 1LL << format->mantissa_bits); in build_custom_float() 57 *negative = format->sign; in build_custom_float() 115 format->mantissa_bits); in build_custom_float() 123 const struct custom_float_format *format, in setup_custom_float() argument 139 (1 << (format->mantissa_bits + 1)) - 1; in setup_custom_float() 142 (1 << (format->exponenta_bits + 1)) - 1; in setup_custom_float() 156 while (i < format->mantissa_bits) { in setup_custom_float() [all …]
|