Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 1118) sorted by relevance

12345678910>>...45

/drivers/gpu/drm/
Ddrm_fourcc.c132 const struct drm_format_info *__drm_format_info(u32 format) in __drm_format_info() argument
135 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info()
136 …{ .format = DRM_FORMAT_RGB332, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub… in __drm_format_info()
137 …{ .format = DRM_FORMAT_BGR233, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub… in __drm_format_info()
138 …{ .format = DRM_FORMAT_XRGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info()
139 …{ .format = DRM_FORMAT_XBGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info()
140 …{ .format = DRM_FORMAT_RGBX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info()
141 …{ .format = DRM_FORMAT_BGRX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info()
142 …{ .format = DRM_FORMAT_ARGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info()
143 …{ .format = DRM_FORMAT_ABGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info()
[all …]
/drivers/media/platform/vsp1/
Dvsp1_rwpf.c66 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 …]
Dvsp1_drm.c69 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 …]
Dvsp1_sru.c127 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 …]
Dvsp1_hsit.c70 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/
Dutprint.c318 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 …]
Dutxferror.c35 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/
Diss_ipipe.c85 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 …]
Diss_ipipeif.c125 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 …]
Diss_resizer.c442 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/platform/xilinx/
Dxilinx-vip.c58 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_get_format_by_code() local
60 if (format->code == code) in xvip_get_format_by_code()
61 return format; in xvip_get_format_by_code()
81 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_get_format_by_fourcc() local
83 if (format->fourcc == fourcc) in xvip_get_format_by_fourcc()
84 return format; in xvip_get_format_by_fourcc()
122 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_of_get_format() local
124 if (format->vf_code != vf_code || format->width != width) in xvip_of_get_format()
128 strcmp(pattern, format->pattern)) in xvip_of_get_format()
131 return format; in xvip_of_get_format()
[all …]
/drivers/media/v4l2-core/
Dv4l2-common.c234 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/usb/atm/
Dusbatm.h29 #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/
Ddcss-plane.c69 u32 format, in dcss_plane_format_mod_supported() argument
74 switch (format) { in dcss_plane_format_mod_supported()
102 static bool dcss_plane_can_rotate(const struct drm_format_info *format, in dcss_plane_can_rotate() argument
109 if (!format->is_yuv && linear_format) in dcss_plane_can_rotate()
112 else if (!format->is_yuv && in dcss_plane_can_rotate()
117 else if (format->is_yuv && linear_format && in dcss_plane_can_rotate()
118 (format->format == DRM_FORMAT_NV12 || in dcss_plane_can_rotate()
119 format->format == DRM_FORMAT_NV21)) in dcss_plane_can_rotate()
168 fb->format->format)) { in dcss_plane_atomic_check()
185 if (!dcss_plane_can_rotate(fb->format, in dcss_plane_atomic_check()
[all …]
/drivers/gpu/drm/shmobile/
Dshmob_drm_plane.c26 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()
84 format |= LDBBSIFR_SWPL; in __shmob_drm_plane_setup()
[all …]
/drivers/staging/media/atomisp/pci/camera/util/src/
Dutil.c26 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/media/test-drivers/vimc/
Dvimc-capture.c18 struct v4l2_pix_format format; member
71 *fmt = vcap->format; in vimc_cap_get_format()
79 f->fmt.pix = vcap->format; in vimc_cap_g_fmt_vid_cap()
87 struct v4l2_pix_format *format = &f->fmt.pix; in vimc_cap_try_fmt_vid_cap() local
90 format->width = clamp_t(u32, format->width, VIMC_FRAME_MIN_WIDTH, in vimc_cap_try_fmt_vid_cap()
92 format->height = clamp_t(u32, format->height, VIMC_FRAME_MIN_HEIGHT, in vimc_cap_try_fmt_vid_cap()
96 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_cap_try_fmt_vid_cap()
98 format->pixelformat = fmt_default.pixelformat; in vimc_cap_try_fmt_vid_cap()
99 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_cap_try_fmt_vid_cap()
102 format->bytesperline = format->width * vpix->bpp; in vimc_cap_try_fmt_vid_cap()
[all …]
/drivers/gpu/drm/omapdrm/
Domap_fb.c52 const struct drm_format_info *format; member
83 const struct drm_format_info *format, int n, int x, int y) in get_linear_addr() argument
90 + (x * format->cpp[n] / (n == 0 ? 1 : format->hsub)) in get_linear_addr()
91 + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); in get_linear_addr()
137 const struct drm_format_info *format = omap_fb->format; in omap_framebuffer_update_scanout() local
140 info->fourcc = fb->format->format; in omap_framebuffer_update_scanout()
168 if (fb->format->format == DRM_FORMAT_UYVY || in omap_framebuffer_update_scanout()
169 fb->format->format == DRM_FORMAT_YUYV) { in omap_framebuffer_update_scanout()
201 info->paddr = get_linear_addr(fb, format, 0, x, y); in omap_framebuffer_update_scanout()
208 info->screen_width /= format->cpp[0]; in omap_framebuffer_update_scanout()
[all …]
/drivers/gpu/drm/tegra/
Dplane.c63 copy->format = state->format; in tegra_plane_atomic_duplicate_state()
107 uint32_t format, in tegra_plane_format_mod_supported() argument
110 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()
216 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_unpin()
272 fmt = state->fb->format; in tegra_plane_calculate_memory_bandwidth()
352 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap) in tegra_plane_format() argument
360 *format = WIN_COLOR_DEPTH_B4G4R4A4; in tegra_plane_format()
364 *format = WIN_COLOR_DEPTH_B5G5R5A1; in tegra_plane_format()
368 *format = WIN_COLOR_DEPTH_B5G6R5; in tegra_plane_format()
[all …]
/drivers/media/platform/omap3isp/
Dispccp2.c289 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
372 format = &ccp2->formats[CCP2_PAD_SINK]; in ccp2_if_configure()
376 ccp2->if_cfg.format = format->code; in ccp2_if_configure()
377 ccp2->if_cfg.data_size = format->height; in ccp2_if_configure()
[all …]
/drivers/gpu/drm/meson/
Dmeson_osd_afbcd.c58 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/
Dbel-pfe.c33 .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/calcs/
Dcustom_float.c31 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 …]
/drivers/gpu/drm/gud/
Dgud_pipe.c54 static size_t gud_xrgb8888_to_r124(u8 *dst, const struct drm_format_info *format, in gud_xrgb8888_to_r124() argument
58 unsigned int block_width = drm_format_info_block_width(format, 0); in gud_xrgb8888_to_r124()
65 WARN_ON_ONCE(format->char_per_block[0] != 1); in gud_xrgb8888_to_r124()
71 len = drm_format_info_min_pitch(format, 0, width) * height; in gud_xrgb8888_to_r124()
100 static size_t gud_xrgb8888_to_color(u8 *dst, const struct drm_format_info *format, in gud_xrgb8888_to_color() argument
104 unsigned int block_width = drm_format_info_block_width(format, 0); in gud_xrgb8888_to_color()
114 len = drm_format_info_min_pitch(format, 0, width) * drm_rect_height(rect); in gud_xrgb8888_to_color()
133 switch (format->format) { in gud_xrgb8888_to_color()
150 const struct drm_format_info *format, struct drm_rect *rect, in gud_prep_flush() argument
161 pitch = drm_format_info_min_pitch(format, 0, drm_rect_width(rect)); in gud_prep_flush()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dcore.h65 #define mlx5_fpga_dbg(__adev, format, ...) \ argument
66 mlx5_core_dbg((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \
69 #define mlx5_fpga_err(__adev, format, ...) \ argument
70 mlx5_core_err((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \
73 #define mlx5_fpga_warn(__adev, format, ...) \ argument
74 mlx5_core_warn((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \
77 #define mlx5_fpga_warn_ratelimited(__adev, format, ...) \ argument
79 format, __func__, __LINE__, ##__VA_ARGS__)
81 #define mlx5_fpga_notice(__adev, format, ...) \ argument
82 mlx5_core_info((__adev)->mdev, "FPGA: " format, ##__VA_ARGS__)
[all …]

12345678910>>...45