Home
last modified time | relevance | path

Searched refs:format (Results 1026 - 1050 of 5254) sorted by relevance

1...<<41424344454647484950>>...211

/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dov5647.c84 struct v4l2_mbus_framefmt format; member
509 struct v4l2_mbus_framefmt *format = in ov5647_open() local
519 format->code = MEDIA_BUS_FMT_SBGGR8_1X8; in ov5647_open()
521 format->width = OV5647_WINDOW_WIDTH_DEF; in ov5647_open()
522 format->height = OV5647_WINDOW_HEIGHT_DEF; in ov5647_open()
523 format->field = V4L2_FIELD_NONE; in ov5647_open()
524 format->colorspace = V4L2_COLORSPACE_SRGB; in ov5647_open()
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_client.c249 drm_client_buffer_create(struct drm_client_dev *client, u32 width, u32 height, u32 format) in drm_client_buffer_create() argument
251 const struct drm_format_info *info = drm_format_info(format); in drm_client_buffer_create()
361 u32 width, u32 height, u32 format) in drm_client_buffer_addfb()
368 info = drm_format_info(format); in drm_client_buffer_addfb()
397 * @format: Buffer format
407 drm_client_framebuffer_create(struct drm_client_dev *client, u32 width, u32 height, u32 format) in drm_client_framebuffer_create() argument
412 buffer = drm_client_buffer_create(client, width, height, format); in drm_client_framebuffer_create()
416 ret = drm_client_buffer_addfb(buffer, width, height, format); in drm_client_framebuffer_create()
360 drm_client_buffer_addfb(struct drm_client_buffer *buffer, u32 width, u32 height, u32 format) drm_client_buffer_addfb() argument
H A Ddrm_format_helper.c39 unsigned int cpp = fb->format->cpp[0]; in drm_fb_memcpy()
66 unsigned int cpp = fb->format->cpp[0]; in drm_fb_memcpy_dstclip()
98 u8 cpp = fb->format->cpp[0]; in drm_fb_swab()
300 * Such drivers can announce the commonly supported XR24 format to userspace
301 * and use this function to convert to the native format.
316 if (WARN_ON(fb->format->format != DRM_FORMAT_XRGB8888)) in drm_fb_xrgb8888_to_gray8()
/kernel/linux/linux-5.10/drivers/media/platform/cadence/
H A Dcdns-csi2tx.c188 const struct v4l2_mbus_framefmt *format; in csi2tx_get_pad_format() local
194 format = __csi2tx_get_pad_format(subdev, cfg, fmt); in csi2tx_get_pad_format()
195 if (!format) in csi2tx_get_pad_format()
198 fmt->format = *format; in csi2tx_get_pad_format()
207 const struct v4l2_mbus_framefmt *src_format = &fmt->format; in csi2tx_set_pad_format()
214 if (!csi2tx_get_fmt_from_mbus(fmt->format.code)) in csi2tx_set_pad_format()
604 * Only the input pads are considered to have a format at the in csi2tx_probe()
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dpcm186x.c268 snd_pcm_format_t format = params_format(params); in pcm186x_hw_params() local
276 dev_dbg(component->dev, "%s() rate=%u format=0x%x width=%u channels=%u\n", in pcm186x_hw_params()
277 __func__, rate, format, width, channels); in pcm186x_hw_params()
358 static int pcm186x_set_fmt(struct snd_soc_dai *dai, unsigned int format) in pcm186x_set_fmt() argument
365 dev_dbg(component->dev, "%s() format=0x%x\n", __func__, format); in pcm186x_set_fmt()
368 switch (format & SND_SOC_DAIFMT_MASTER_MASK) { in pcm186x_set_fmt()
386 switch (format & SND_SOC_DAIFMT_INV_MASK) { in pcm186x_set_fmt()
394 /* set interface format */ in pcm186x_set_fmt()
395 switch (format in pcm186x_set_fmt()
[all...]
H A Dak5558.c160 u8 format; in ak5558_set_dai_fmt() local
177 format = AK5558_DIF_I2S_MODE; in ak5558_set_dai_fmt()
180 format = AK5558_DIF_MSB_MODE; in ak5558_set_dai_fmt()
183 format = AK5558_DIF_MSB_MODE; in ak5558_set_dai_fmt()
189 snd_soc_component_update_bits(component, AK5558_02_CONTROL1, AK5558_DIF, format); in ak5558_set_dai_fmt()
H A Dcs4341.c46 static int cs4341_set_fmt(struct snd_soc_dai *dai, unsigned int format) in cs4341_set_fmt() argument
51 switch (format & SND_SOC_DAIFMT_MASTER_MASK) { in cs4341_set_fmt()
58 switch (format & SND_SOC_DAIFMT_INV_MASK) { in cs4341_set_fmt()
65 switch (format & SND_SOC_DAIFMT_FORMAT_MASK) { in cs4341_set_fmt()
69 cs4341->fmt = format & SND_SOC_DAIFMT_FORMAT_MASK; in cs4341_set_fmt()
94 dev_err(component->dev, "Unsupported PCM format 0x%08x.\n", in cs4341_hw_params()
110 dev_err(component->dev, "Unsupported DAI format 0x%08x.\n", in cs4341_hw_params()
/kernel/linux/linux-5.10/net/dccp/
H A Ddccp.h40 #define dccp_pr_debug(format, a...) DCCP_PR_DEBUG(dccp_debug, format, ##a)
41 #define dccp_pr_debug_cat(format, a...) DCCP_PRINTK(dccp_debug, format, ##a)
44 #define dccp_pr_debug(format, a...) do {} while (0)
45 #define dccp_pr_debug_cat(format, a...) do {} while (0)
46 #define dccp_debug(format, a...) do {} while (0)
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_util.c206 const struct dpu_format *format) in dpu_hw_setup_scaler3()
217 if (format && DPU_FORMAT_IS_YUV(format)) { in dpu_hw_setup_scaler3()
288 if (format && !DPU_FORMAT_IS_DX(format)) in dpu_hw_setup_scaler3()
291 if (format && format->alpha_enable) { in dpu_hw_setup_scaler3()
203 dpu_hw_setup_scaler3(struct dpu_hw_blk_reg_map *c, struct dpu_hw_scaler3_cfg *scaler3_cfg, u32 scaler_offset, u32 scaler_version, const struct dpu_format *format) dpu_hw_setup_scaler3() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/mxsfb/
H A Dmxsfb_kms.c53 const u32 format = mxsfb->crtc.primary->state->fb->format->format; in mxsfb_set_formats() local
69 switch (format) { in mxsfb_set_formats()
94 dev_err(drm->dev, "Unknown media bus format %d\n", bus_format); in mxsfb_set_formats()
501 switch (state->fb->format->format) { in mxsfb_plane_overlay_atomic_update()
529 uint32_t format, in mxsfb_format_mod_supported()
528 mxsfb_format_mod_supported(struct drm_plane *plane, uint32_t format, uint64_t modifier) mxsfb_format_mod_supported() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
H A Dbase507c.c82 if (asyw->image.format == NV507C_SURFACE_SET_PARAMS_FORMAT_RF16_GF16_BF16_AF16) { in base507c_image_set()
111 NVVAL(NV507C, SURFACE_SET_PARAMS, FORMAT, asyw->image.format) | in base507c_image_set()
248 if ((asyh->base.cpp != 1) ^ (fb->format->cpp[0] != 1)) in base507c_acquire()
252 asyh->base.depth = fb->format->depth; in base507c_acquire()
253 asyh->base.cpp = fb->format->cpp[0]; in base507c_acquire()
305 base507c_new_(const struct nv50_wndw_func *func, const u32 *format, in base507c_new_() argument
318 "base", head, format, BIT(head), in base507c_new_()
/kernel/linux/linux-6.6/drivers/media/platform/cadence/
H A Dcdns-csi2tx.c189 const struct v4l2_mbus_framefmt *format; in csi2tx_get_pad_format() local
195 format = __csi2tx_get_pad_format(subdev, sd_state, fmt); in csi2tx_get_pad_format()
196 if (!format) in csi2tx_get_pad_format()
199 fmt->format = *format; in csi2tx_get_pad_format()
208 const struct v4l2_mbus_framefmt *src_format = &fmt->format; in csi2tx_set_pad_format()
215 if (!csi2tx_get_fmt_from_mbus(fmt->format.code)) in csi2tx_set_pad_format()
609 * Only the input pads are considered to have a format at the in csi2tx_probe()
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_gem_framebuffer_helper.c101 for (i = 0; i < fb->format->num_planes; i++) in drm_gem_fb_destroy()
164 drm_dbg_kms(dev, "Failed to get FB format info\n"); in drm_gem_fb_init_with_funcs()
171 drm_dbg_kms(dev, "Unsupported pixel format %p4cc / modifier 0x%llx\n", in drm_gem_fb_init_with_funcs()
345 * fb->format->num_planes elements.
359 for (i = 0; i < fb->format->num_planes; ++i) { in drm_gem_fb_vmap()
371 for (i = 0; i < fb->format->num_planes; ++i) { in drm_gem_fb_vmap()
404 unsigned int i = fb->format->num_planes; in drm_gem_fb_vunmap()
462 for (i = 0; i < fb->format->num_planes; ++i) { in drm_gem_fb_begin_cpu_access()
497 __drm_gem_fb_end_cpu_access(fb, dir, fb->format->num_planes); in drm_gem_fb_end_cpu_access()
510 switch (info->format) { in drm_gem_afbc_get_bpp()
[all...]
H A Ddrm_client.c277 u32 format, u32 *handle) in drm_client_buffer_create()
279 const struct drm_format_info *info = drm_format_info(format); in drm_client_buffer_create()
394 u32 width, u32 height, u32 format, in drm_client_buffer_addfb()
402 info = drm_format_info(format); in drm_client_buffer_addfb()
431 * @format: Buffer format
441 drm_client_framebuffer_create(struct drm_client_dev *client, u32 width, u32 height, u32 format) in drm_client_framebuffer_create() argument
447 buffer = drm_client_buffer_create(client, width, height, format, in drm_client_framebuffer_create()
452 ret = drm_client_buffer_addfb(buffer, width, height, format, handle); in drm_client_framebuffer_create()
276 drm_client_buffer_create(struct drm_client_dev *client, u32 width, u32 height, u32 format, u32 *handle) drm_client_buffer_create() argument
393 drm_client_buffer_addfb(struct drm_client_buffer *buffer, u32 width, u32 height, u32 format, u32 handle) drm_client_buffer_addfb() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/
H A Dbase507c.c80 if (asyw->image.format == NV507C_SURFACE_SET_PARAMS_FORMAT_RF16_GF16_BF16_AF16) { in base507c_image_set()
109 NVVAL(NV507C, SURFACE_SET_PARAMS, FORMAT, asyw->image.format) | in base507c_image_set()
246 if ((asyh->base.cpp != 1) ^ (fb->format->cpp[0] != 1)) in base507c_acquire()
250 asyh->base.depth = fb->format->depth; in base507c_acquire()
251 asyh->base.cpp = fb->format->cpp[0]; in base507c_acquire()
303 base507c_new_(const struct nv50_wndw_func *func, const u32 *format, in base507c_new_() argument
316 "base", head, format, BIT(head), in base507c_new_()
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dpcm186x.c267 snd_pcm_format_t format = params_format(params); in pcm186x_hw_params() local
275 dev_dbg(component->dev, "%s() rate=%u format=0x%x width=%u channels=%u\n", in pcm186x_hw_params()
276 __func__, rate, format, width, channels); in pcm186x_hw_params()
357 static int pcm186x_set_fmt(struct snd_soc_dai *dai, unsigned int format) in pcm186x_set_fmt() argument
364 dev_dbg(component->dev, "%s() format=0x%x\n", __func__, format); in pcm186x_set_fmt()
366 switch (format & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { in pcm186x_set_fmt()
384 switch (format & SND_SOC_DAIFMT_INV_MASK) { in pcm186x_set_fmt()
392 /* set interface format */ in pcm186x_set_fmt()
393 switch (format in pcm186x_set_fmt()
[all...]
H A Drt9120.c206 unsigned int format; in rt9120_set_fmt() local
210 format = RT9120_CFG_FMT_I2S; in rt9120_set_fmt()
213 format = RT9120_CFG_FMT_LEFTJ; in rt9120_set_fmt()
216 format = RT9120_CFG_FMT_RIGHTJ; in rt9120_set_fmt()
219 format = RT9120_CFG_FMT_DSPA; in rt9120_set_fmt()
222 format = RT9120_CFG_FMT_DSPB; in rt9120_set_fmt()
225 dev_err(dai->dev, "Unknown dai format\n"); in rt9120_set_fmt()
231 format << RT9120_I2SFMT_SHIFT); in rt9120_set_fmt()
/kernel/linux/linux-6.6/net/dccp/
H A Ddccp.h40 #define dccp_pr_debug(format, a...) DCCP_PR_DEBUG(dccp_debug, format, ##a)
41 #define dccp_pr_debug_cat(format, a...) DCCP_PRINTK(dccp_debug, format, ##a)
44 #define dccp_pr_debug(format, a...) do {} while (0)
45 #define dccp_pr_debug_cat(format, a...) do {} while (0)
46 #define dccp_debug(format, a...) do {} while (0)
/test/testfwk/xdevice/src/xdevice/_core/report/
H A Dsuite_reporter.py334 format(len(cls.suite_report_result)))
339 LOG.debug("Set suite list, length is {}".format(len(suite_list)))
346 format(len(cls.suite_list)))
353 format(len(cls.failed_case_list)))
361 format(len(suite_reports)))
377 format(name))
388 format(len(cls.history_report_result)))
/test/testfwk/xdevice/plugins/ohos/src/ohos/parser/
H A Dcpp_parser.py107 "Found {} without {} before, wrong GTest log format".
108 format(line, _START_TEST_MARKER))
116 "Found {} without {} before, wrong GTest log format".
117 format(line, _START_TEST_MARKER))
143 LOG.info("Test run failed: {}".format(error_msg))
195 "Expected class: {} but got:{} ".format(test_result.test_class,
200 "Expected test: {} but got: {}".format(test_result.test_name,
335 self.result_data = "{}{}\n".format(self.result_data, line)
363 LOG.debug("[{}.{}] has already collect it, skip it.".format(
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/
H A Dcpp_driver.py117 err_msg = ErrorMessage.Common.Code_0301002.format(config_file)
271 bin_path = "{}/{}".format(self.config.target_test_path,
275 format(bin_path, bin_path, bin_path, self.get_args_command())
287 bin_path = "{}/{}".format(self.config.target_test_path,
291 format(bin_path, bin_path, bin_path, self.get_args_command())
308 bin_path = "{}/{}".format(self.config.target_test_path,
310 command = "ohsh toybox chmod a+x {}; ohsh {} {}".format(
/test/xts/acts/graphic/imageNdk/entry/src/main/cpp/
H A DImageNdk.cpp54 static void OHLog(const char *module, const char *format, ...) in OHLog() argument
59 va_start(args, format); in OHLog()
60 vsnprintf(buffer, sizeof(buffer), format, args); in OHLog()
66 #define OH_LOG_ERROR(module, format, ...) \
68 OHLog(module, format, ##__VA_ARGS__); \
72 #define OH_LOG_INFO(module, format, ...) \
74 OHLog(module, format, ##__VA_ARGS__); \
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/
H A Dimage_receiver_mdk_test.cpp86 napi_get_value_int32(env, argValue[NUM_2], &(receiverInfo.format)) != napi_ok || in JsCreateImageReceiver()
268 int32_t format; in JsGetFormat() local
269 int32_t res = OH_Image_Receiver_GetFormat(native, &format); in JsGetFormat()
273 napi_create_int32(env, format, &result); in JsGetFormat()
365 int32_t format; in JsImageFormat() local
366 int32_t res = OH_Image_Format(native, &format); in JsImageFormat()
370 napi_create_uint32(env, format, &result); in JsImageFormat()
/kernel/linux/linux-5.10/sound/pci/lola/
H A Dlola_clock.c160 int format = LOLA_CLOCK_FORMAT_NONE; in lola_init_clock_widget() local
175 /* video clock has a format (0:NTSC, 1:PAL)*/ in lola_init_clock_widget()
177 format = LOLA_CLOCK_FORMAT_NTSC; in lola_init_clock_widget()
179 format = LOLA_CLOCK_FORMAT_PAL; in lola_init_clock_widget()
185 sc->format = format; in lola_init_clock_widget()
/kernel/linux/linux-5.10/sound/soc/stm/
H A Dstm32_adfsdm.c176 snd_pcm_format_t format = priv->substream->runtime->format; in stm32_afsdm_pcm_cb() local
178 if (format == SNDRV_PCM_FORMAT_S16_LE) in stm32_afsdm_pcm_cb()
186 if (format == SNDRV_PCM_FORMAT_S16_LE) in stm32_afsdm_pcm_cb()
196 if (format == SNDRV_PCM_FORMAT_S16_LE) in stm32_afsdm_pcm_cb()

Completed in 19 milliseconds

1...<<41424344454647484950>>...211