Home
last modified time | relevance | path

Searched refs:format (Results 301 - 325 of 3546) sorted by relevance

1...<<11121314151617181920>>...142

/kernel/linux/linux-6.6/drivers/hwmon/pmbus/
H A Dpm6764tr.c33 .format[PSC_VOLTAGE_IN] = linear,
34 .format[PSC_VOLTAGE_OUT] = vid,
35 .format[PSC_TEMPERATURE] = linear,
36 .format[PSC_CURRENT_OUT] = linear,
37 .format[PSC_POWER] = linear,
H A Dir38064.c31 .format[PSC_VOLTAGE_IN] = linear,
32 .format[PSC_VOLTAGE_OUT] = direct,
33 .format[PSC_CURRENT_OUT] = linear,
34 .format[PSC_POWER] = linear,
35 .format[PSC_TEMPERATURE] = linear,
/kernel/liteos_a/kernel/extended/blackbox/
H A Dlos_blackbox_common.h47 #define BBOX_PRINT_ERR(format, ...) PRINTK("bbox: func: %s, line: %d, Err: " \
48 format, __func__, __LINE__, ##__VA_ARGS__)
49 #define BBOX_PRINT_INFO(format, ...) PRINTK("bbox: Info: " format, ##__VA_ARGS__)
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dsimplefb.c96 struct simplefb_format *format; member
104 const char *format; in simplefb_parse_dt() local
125 ret = of_property_read_string(np, "format", &format); in simplefb_parse_dt()
127 dev_err(&pdev->dev, "Can't parse format property\n"); in simplefb_parse_dt()
130 params->format = NULL; in simplefb_parse_dt()
132 if (strcmp(format, simplefb_formats[i].name)) in simplefb_parse_dt()
134 params->format = &simplefb_formats[i]; in simplefb_parse_dt()
137 if (!params->format) { in simplefb_parse_dt()
138 dev_err(&pdev->dev, "Invalid format valu in simplefb_parse_dt()
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Dsimplefb.c123 struct simplefb_format *format; member
131 const char *format; in simplefb_parse_dt() local
152 ret = of_property_read_string(np, "format", &format); in simplefb_parse_dt()
154 dev_err(&pdev->dev, "Can't parse format property\n"); in simplefb_parse_dt()
157 params->format = NULL; in simplefb_parse_dt()
159 if (strcmp(format, simplefb_formats[i].name)) in simplefb_parse_dt()
161 params->format = &simplefb_formats[i]; in simplefb_parse_dt()
164 if (!params->format) { in simplefb_parse_dt()
165 dev_err(&pdev->dev, "Invalid format valu in simplefb_parse_dt()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/qcom/camss/
H A Dcamss-vfe.c127 * vfe_get_bpp - map media bus format to bits per pixel
130 * @code: media bus format code
143 WARN(1, "Unknown format\n"); in vfe_get_bpp()
760 * __vfe_get_format - Get pointer to format structure
763 * @pad: pad from which format is requested
764 * @which: TRY or ACTIVE format
766 * Return pointer to TRY or ACTIVE format structure
785 * @which: TRY or ACTIVE format
805 * @which: TRY or ACTIVE format
822 * vfe_try_format - Handle try format b
1011 struct v4l2_mbus_framefmt format; vfe_enum_frame_size() local
1049 struct v4l2_mbus_framefmt *format; vfe_get_format() local
1077 struct v4l2_mbus_framefmt *format; vfe_set_format() local
1260 struct v4l2_subdev_format format = { vfe_init_formats() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/renesas/rzg2l-cru/
H A Drzg2l-csi2.c238 const struct rzg2l_csi2_format *format; in rzg2l_csi2_calc_mbps() local
254 format = rzg2l_csi2_code_to_fmt(fmt->code); in rzg2l_csi2_calc_mbps()
261 mbps = v4l2_ctrl_g_ctrl_int64(ctrl) * format->bpp; in rzg2l_csi2_calc_mbps()
505 fmt->format = *src_format; in rzg2l_csi2_set_format()
511 if (!rzg2l_csi2_code_to_fmt(fmt->format.code)) in rzg2l_csi2_set_format()
514 sink_format->code = fmt->format.code; in rzg2l_csi2_set_format()
517 sink_format->colorspace = fmt->format.colorspace; in rzg2l_csi2_set_format()
518 sink_format->xfer_func = fmt->format.xfer_func; in rzg2l_csi2_set_format()
519 sink_format->ycbcr_enc = fmt->format.ycbcr_enc; in rzg2l_csi2_set_format()
520 sink_format->quantization = fmt->format in rzg2l_csi2_set_format()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/
H A Dmalidp_mw.c28 u8 format; member
153 mw_state->format = in malidp_mw_encoder_atomic_check()
155 fb->format->format, !!fb->modifier); in malidp_mw_encoder_atomic_check()
156 if (mw_state->format == MALIDP_INVALID_FORMAT_ID) { in malidp_mw_encoder_atomic_check()
159 DRM_DEBUG_KMS("Invalid pixel format %s\n", in malidp_mw_encoder_atomic_check()
160 drm_get_format_name(fb->format->format, in malidp_mw_encoder_atomic_check()
165 n_planes = fb->format->num_planes; in malidp_mw_encoder_atomic_check()
181 if (fb->format in malidp_mw_encoder_atomic_check()
[all...]
H A Dhdlcd_crtc.c88 struct simplefb_format *format = NULL; in hdlcd_set_pxl_fmt() local
91 pixel_format = fb->format->format; in hdlcd_set_pxl_fmt()
95 format = &supported_formats[i]; in hdlcd_set_pxl_fmt()
98 if (WARN_ON(!format)) in hdlcd_set_pxl_fmt()
102 btpp = (format->bits_per_pixel + 7) / 8; in hdlcd_set_pxl_fmt()
106 * The format of the HDLCD_REG_<color>_SELECT register is: in hdlcd_set_pxl_fmt()
115 hdlcd_write(hdlcd, HDLCD_REG_RED_SELECT, format->red.offset | in hdlcd_set_pxl_fmt()
119 ((format->red.length & 0xf) << 8)); in hdlcd_set_pxl_fmt()
120 hdlcd_write(hdlcd, HDLCD_REG_GREEN_SELECT, format in hdlcd_set_pxl_fmt()
[all...]
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Ds5k6a3.c52 * @format: media bus format at the sensor's source pad
64 struct v4l2_mbus_framefmt format; member
132 return &sensor->format; in __s5k6a3_get_format()
142 s5k6a3_try_format(&fmt->format); in s5k6a3_set_fmt()
147 *mf = fmt->format; in s5k6a3_set_fmt()
163 fmt->format = *mf; in s5k6a3_get_fmt()
176 struct v4l2_mbus_framefmt *format = v4l2_subdev_get_try_format(sd, fh->pad, 0); in s5k6a3_open() local
178 *format = s5k6a3_formats[0]; in s5k6a3_open()
179 format in s5k6a3_open()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_print.c195 * @f: format string
239 const char *format, ...) in drm_dev_printk()
244 va_start(args, format); in drm_dev_printk()
245 vaf.fmt = format; in drm_dev_printk()
260 const char *format, ...) in drm_dev_dbg()
268 va_start(args, format); in drm_dev_dbg()
269 vaf.fmt = format; in drm_dev_dbg()
283 void __drm_dbg(enum drm_debug_category category, const char *format, ...) in __drm_dbg() argument
291 va_start(args, format); in __drm_dbg()
292 vaf.fmt = format; in __drm_dbg()
238 drm_dev_printk(const struct device *dev, const char *level, const char *format, ...) drm_dev_printk() argument
259 drm_dev_dbg(const struct device *dev, enum drm_debug_category category, const char *format, ...) drm_dev_dbg() argument
302 __drm_err(const char *format, ...) __drm_err() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Ds5k6a3.c52 * @format: media bus format at the sensor's source pad
64 struct v4l2_mbus_framefmt format; member
133 return &sensor->format; in __s5k6a3_get_format()
143 s5k6a3_try_format(&fmt->format); in s5k6a3_set_fmt()
148 *mf = fmt->format; in s5k6a3_set_fmt()
164 fmt->format = *mf; in s5k6a3_get_fmt()
177 struct v4l2_mbus_framefmt *format = v4l2_subdev_get_try_format(sd, in s5k6a3_open() local
181 *format = s5k6a3_formats[0]; in s5k6a3_open()
182 format in s5k6a3_open()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/
H A Dmalidp_mw.c30 u8 format; member
152 mw_state->format = in malidp_mw_encoder_atomic_check()
154 fb->format->format, !!fb->modifier); in malidp_mw_encoder_atomic_check()
155 if (mw_state->format == MALIDP_INVALID_FORMAT_ID) { in malidp_mw_encoder_atomic_check()
156 DRM_DEBUG_KMS("Invalid pixel format %p4cc\n", in malidp_mw_encoder_atomic_check()
157 &fb->format->format); in malidp_mw_encoder_atomic_check()
161 n_planes = fb->format->num_planes; in malidp_mw_encoder_atomic_check()
177 if (fb->format in malidp_mw_encoder_atomic_check()
[all...]
H A Dhdlcd_crtc.c87 struct simplefb_format *format = NULL; in hdlcd_set_pxl_fmt() local
90 pixel_format = fb->format->format; in hdlcd_set_pxl_fmt()
94 format = &supported_formats[i]; in hdlcd_set_pxl_fmt()
97 if (WARN_ON(!format)) in hdlcd_set_pxl_fmt()
101 btpp = (format->bits_per_pixel + 7) / 8; in hdlcd_set_pxl_fmt()
105 * The format of the HDLCD_REG_<color>_SELECT register is: in hdlcd_set_pxl_fmt()
114 hdlcd_write(hdlcd, HDLCD_REG_RED_SELECT, format->red.offset | in hdlcd_set_pxl_fmt()
118 ((format->red.length & 0xf) << 8)); in hdlcd_set_pxl_fmt()
119 hdlcd_write(hdlcd, HDLCD_REG_GREEN_SELECT, format in hdlcd_set_pxl_fmt()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_print.c218 * @f: format string
262 const char *format, ...) in drm_dev_printk()
267 va_start(args, format); in drm_dev_printk()
268 vaf.fmt = format; in drm_dev_printk()
283 enum drm_debug_category category, const char *format, ...) in __drm_dev_dbg()
292 va_start(args, format); in __drm_dev_dbg()
293 vaf.fmt = format; in __drm_dev_dbg()
307 void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const char *format, ...) in ___drm_dbg() argument
315 va_start(args, format); in ___drm_dbg()
316 vaf.fmt = format; in ___drm_dbg()
261 drm_dev_printk(const struct device *dev, const char *level, const char *format, ...) drm_dev_printk() argument
282 __drm_dev_dbg(struct _ddebug *desc, const struct device *dev, enum drm_debug_category category, const char *format, ...) __drm_dev_dbg() argument
326 __drm_err(const char *format, ...) __drm_err() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dv4l2-subdev.c198 struct v4l2_subdev_format *format) in check_format()
200 if (!format) in check_format()
203 return check_which(format->which) ? : check_pad(sd, format->pad) ? : in check_format()
204 check_state(sd, state, format->which, format->pad, format->stream); in check_format()
209 struct v4l2_subdev_format *format) in call_get_fmt()
211 return check_format(sd, state, format) ? : in call_get_fmt()
212 sd->ops->pad->get_fmt(sd, state, format); in call_get_fmt()
196 check_format(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) check_format() argument
207 call_get_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) call_get_fmt() argument
215 call_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) call_set_fmt() argument
632 struct v4l2_subdev_format *format = arg; subdev_do_ioctl() local
643 struct v4l2_subdev_format *format = arg; subdev_do_ioctl() local
1530 v4l2_subdev_get_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) v4l2_subdev_get_fmt() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/renesas/rcar-vin/
H A Drcar-dma.c175 return !(vin->crop.width == vin->format.width && in rvin_scaler_needed()
176 vin->compose.width == vin->format.width && in rvin_scaler_needed()
177 vin->crop.height == vin->format.height && in rvin_scaler_needed()
178 vin->compose.height == vin->format.height); in rvin_scaler_needed()
560 if (V4L2_FIELD_HAS_BOTH(vin->format.field)) in rvin_scaler_gen2()
587 rvin_write(vin, vin->format.width - 1, VNEPPOC_REG); in rvin_scaler_gen2()
589 if (V4L2_FIELD_HAS_BOTH(vin->format.field)) in rvin_scaler_gen2()
590 rvin_write(vin, vin->format.height / 2 - 1, VNELPOC_REG); in rvin_scaler_gen2()
592 rvin_write(vin, vin->format.height - 1, VNELPOC_REG); in rvin_scaler_gen2()
597 vin->crop.top, ys, xs, vin->format in rvin_scaler_gen2()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-pipe.c400 const struct v4l2_mbus_framefmt *format; in mxc_isi_pipe_enum_mbus_code() local
402 format = mxc_isi_pipe_get_pad_format(pipe, state, in mxc_isi_pipe_enum_mbus_code()
404 info = mxc_isi_bus_format_by_code(format->code, in mxc_isi_pipe_enum_mbus_code()
418 * For RGB or YUV formats, the ISI supports format in mxc_isi_pipe_enum_mbus_code()
455 struct v4l2_mbus_framefmt *mf = &fmt->format; in mxc_isi_pipe_set_fmt()
457 struct v4l2_mbus_framefmt *format; in mxc_isi_pipe_set_fmt() local
485 /* Propagate the format to the source pad. */ in mxc_isi_pipe_set_fmt()
498 format = mxc_isi_pipe_get_pad_format(pipe, state, in mxc_isi_pipe_set_fmt()
500 format->code = info->output; in mxc_isi_pipe_set_fmt()
501 format in mxc_isi_pipe_set_fmt()
550 const struct v4l2_mbus_framefmt *format; mxc_isi_pipe_get_selection() local
609 struct v4l2_mbus_framefmt *format; mxc_isi_pipe_set_selection() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/
H A Drcar_du_writeback.c22 * @format: format of the writeback framebuffer
26 const struct rcar_du_format_info *format; member
156 * Verify that the framebuffer format is supported and that its size in rcar_du_wb_enc_atomic_check()
165 wb_state->format = rcar_du_format_info(fb->format->format); in rcar_du_wb_enc_atomic_check()
166 if (wb_state->format == NULL) { in rcar_du_wb_enc_atomic_check()
167 dev_dbg(dev->dev, "%s: unsupported format %08x\n", __func__, in rcar_du_wb_enc_atomic_check()
168 fb->format in rcar_du_wb_enc_atomic_check()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_writeback.c24 * @format: format of the writeback framebuffer
28 const struct rcar_du_format_info *format; member
158 * Verify that the framebuffer format is supported and that its size in rcar_du_wb_enc_atomic_check()
167 wb_state->format = rcar_du_format_info(fb->format->format); in rcar_du_wb_enc_atomic_check()
168 if (wb_state->format == NULL) { in rcar_du_wb_enc_atomic_check()
169 dev_dbg(dev->dev, "%s: unsupported format %p4cc\n", __func__, in rcar_du_wb_enc_atomic_check()
170 &fb->format in rcar_du_wb_enc_atomic_check()
[all...]
/kernel/linux/linux-6.6/scripts/gdb/linux/
H A Dsymbols.py45 "'{0}'\n".format(module_name))
77 gdb.write("scanning for modules in {0}\n".format(path))
85 module_pattern = ".*/{0}\.ko(?:.debug)?$".format(
109 args.append(" -s {name} {addr}".format(
111 return "{textaddr} {sections}".format(
130 gdb.write("loading @{addr}: {filename}\n".format(
132 cmdline = "add-symbol-file {filename} {sections}".format(
139 gdb.write("no module object found for '{0}'\n".format(module_name))
158 gdb.execute("symbol-file {0}".format(orig_vmlinux))
/kernel/linux/linux-5.10/sound/firewire/oxfw/
H A Doxfw-stream.c74 /* Seek stream format for requirements. */ in set_stream_format()
90 /* Calculate format length. */ in set_stream_format()
97 /* Some requests just after changing format causes freezing. */ in set_stream_format()
295 "fail to set stream format: %d\n", err); in snd_oxfw_stream_reserve_duplex()
474 u8 *format; in snd_oxfw_stream_get_current_formation() local
479 format = kmalloc(len, GFP_KERNEL); in snd_oxfw_stream_get_current_formation()
480 if (format == NULL) in snd_oxfw_stream_get_current_formation()
483 err = avc_stream_get_format_single(oxfw->unit, dir, 0, format, &len); in snd_oxfw_stream_get_current_formation()
491 err = snd_oxfw_stream_parse_format(format, formation); in snd_oxfw_stream_get_current_formation()
493 kfree(format); in snd_oxfw_stream_get_current_formation()
503 snd_oxfw_stream_parse_format(u8 *format, struct snd_oxfw_stream_formation *formation) snd_oxfw_stream_parse_format() argument
719 u8 *format; snd_oxfw_stream_discover() local
[all...]
/kernel/linux/linux-6.6/sound/firewire/oxfw/
H A Doxfw-stream.c74 /* Seek stream format for requirements. */ in set_stream_format()
90 /* Calculate format length. */ in set_stream_format()
97 /* Some requests just after changing format causes freezing. */ in set_stream_format()
301 "fail to set stream format: %d\n", err); in snd_oxfw_stream_reserve_duplex()
489 u8 *format; in snd_oxfw_stream_get_current_formation() local
494 format = kmalloc(len, GFP_KERNEL); in snd_oxfw_stream_get_current_formation()
495 if (format == NULL) in snd_oxfw_stream_get_current_formation()
498 err = avc_stream_get_format_single(oxfw->unit, dir, 0, format, &len); in snd_oxfw_stream_get_current_formation()
506 err = snd_oxfw_stream_parse_format(format, formation); in snd_oxfw_stream_get_current_formation()
508 kfree(format); in snd_oxfw_stream_get_current_formation()
518 snd_oxfw_stream_parse_format(u8 *format, struct snd_oxfw_stream_formation *formation) snd_oxfw_stream_parse_format() argument
734 u8 *format; snd_oxfw_stream_discover() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-isp.c28 * format, output size, format), but also a virtual route device.
32 * There are many variables named with format/frame in below code,
43 * | | sink pad format | |
49 * | | | | source pad crop and format | | | |
125 * configure ISP blocks with input format, size......
500 struct v4l2_mbus_framefmt *format, in rkisp1_isp_set_src_fmt()
524 src_fmt->code = format->code; in rkisp1_isp_set_src_fmt()
560 * set and the source format is YUV. If the sink format i in rkisp1_isp_set_src_fmt()
498 rkisp1_isp_set_src_fmt(struct rkisp1_isp *isp, struct v4l2_subdev_state *sd_state, struct v4l2_mbus_framefmt *format, unsigned int which) rkisp1_isp_set_src_fmt() argument
661 rkisp1_isp_set_sink_fmt(struct rkisp1_isp *isp, struct v4l2_subdev_state *sd_state, struct v4l2_mbus_framefmt *format, unsigned int which) rkisp1_isp_set_sink_fmt() argument
[all...]
/kernel/linux/linux-5.10/tools/include/asm/
H A Dbug.h10 #define WARN(condition, format...) ({ \
13 __WARN_printf(format); \
36 #define WARN_ONCE(condition, format...) ({ \
41 if (WARN(!__warned, format)) \

Completed in 17 milliseconds

1...<<11121314151617181920>>...142