/kernel/linux/linux-6.6/sound/drivers/ |
H A D | aloop.c | 55 MODULE_PARM_DESC(pcm_notify, "Break capture when PCM format/rate/channels changes."); 120 snd_pcm_format_t format; member 336 check = runtime->format != cruntime->format || in loopback_check_format() 351 if (setup->format != runtime->format) { in loopback_check_format() 354 setup->format = runtime->format; in loopback_check_format() 440 cable->hw.formats = pcm_format_to_bits(runtime->format); in params_change() 467 salign = (snd_pcm_format_physical_width(runtime->format) * in loopback_prepare() [all...] |
/kernel/linux/linux-6.6/sound/pci/echoaudio/ |
H A D | echoaudio.c | 128 /* Mono is ok with any format */ in hw_rule_capture_format_by_channels() 695 struct audioformat format; in pcm_prepare() local 698 dev_dbg(chip->card->dev, "Prepare rate=%d format=%d channels=%d\n", in pcm_prepare() 699 runtime->rate, runtime->format, runtime->channels); in pcm_prepare() 700 format.interleave = runtime->channels; in pcm_prepare() 701 format.data_are_bigendian = 0; in pcm_prepare() 702 format.mono_to_stereo = 0; in pcm_prepare() 703 switch (runtime->format) { in pcm_prepare() 705 format.bits_per_sample = 8; in pcm_prepare() 708 format in pcm_prepare() [all...] |
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8192/ |
H A D | mt8192-dai-i2s.c | 55 static unsigned int get_i2s_wlen(snd_pcm_format_t format) in get_i2s_wlen() argument 57 return snd_pcm_format_physical_width(format) <= 16 ? in get_i2s_wlen() 1672 snd_pcm_format_t format = params_format(params); in mtk_dai_i2s_config() local 1676 dev_dbg(afe->dev, "%s(), id %d, rate %d, format %d\n", in mtk_dai_i2s_config() 1677 __func__, i2s_id, rate, format); in mtk_dai_i2s_config() 1689 i2s_con |= get_i2s_wlen(format) << I2S_WLEN_SFT; in mtk_dai_i2s_config() 1697 i2s_con |= get_i2s_wlen(format) << I2S2_WLEN_SFT; in mtk_dai_i2s_config() 1705 i2s_con |= get_i2s_wlen(format) << I2S3_WLEN_SFT; in mtk_dai_i2s_config() 1712 i2s_con |= get_i2s_wlen(format) << I2S4_WLEN_SFT; in mtk_dai_i2s_config() 1719 i2s_con |= get_i2s_wlen(format) << I2S5_WLEN_SF in mtk_dai_i2s_config() [all...] |
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8195/ |
H A D | mt8195-dai-etdm.c | 109 unsigned int format; member 1992 __func__, etdm_data->format, etdm_data->data_mode, in mtk_dai_etdm_configure() 2014 val |= ETDM_CON0_FORMAT(etdm_data->format); in mtk_dai_etdm_configure() 2242 etdm_data->format = MTK_DAI_ETDM_FORMAT_I2S; in mtk_dai_etdm_set_fmt() 2245 etdm_data->format = MTK_DAI_ETDM_FORMAT_LJ; in mtk_dai_etdm_set_fmt() 2248 etdm_data->format = MTK_DAI_ETDM_FORMAT_RJ; in mtk_dai_etdm_set_fmt() 2251 etdm_data->format = MTK_DAI_ETDM_FORMAT_DSPA; in mtk_dai_etdm_set_fmt() 2254 etdm_data->format = MTK_DAI_ETDM_FORMAT_DSPB; in mtk_dai_etdm_set_fmt() 2345 static unsigned int mtk_dai_get_dptx_wlen(snd_pcm_format_t format) in mtk_dai_get_dptx_wlen() argument 2347 return snd_pcm_format_physical_width(format) < in mtk_dai_get_dptx_wlen() 2360 snd_pcm_format_t format = params_format(params); mtk_dai_hdmitx_dptx_hw_params() local [all...] |
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8188/ |
H A D | mt8188-dai-etdm.c | 100 unsigned int format; member 2128 __func__, etdm_data->format, etdm_data->data_mode, in mtk_dai_etdm_configure() 2150 val |= FIELD_PREP(ETDM_CON0_FORMAT_MASK, etdm_data->format); in mtk_dai_etdm_configure() 2333 etdm_data->format = MTK_DAI_ETDM_FORMAT_I2S; in mtk_dai_etdm_set_fmt() 2336 etdm_data->format = MTK_DAI_ETDM_FORMAT_LJ; in mtk_dai_etdm_set_fmt() 2339 etdm_data->format = MTK_DAI_ETDM_FORMAT_RJ; in mtk_dai_etdm_set_fmt() 2342 etdm_data->format = MTK_DAI_ETDM_FORMAT_DSPA; in mtk_dai_etdm_set_fmt() 2345 etdm_data->format = MTK_DAI_ETDM_FORMAT_DSPB; in mtk_dai_etdm_set_fmt() 2408 static unsigned int mtk_dai_get_dptx_wlen(snd_pcm_format_t format) in mtk_dai_get_dptx_wlen() argument 2410 return snd_pcm_format_physical_width(format) < in mtk_dai_get_dptx_wlen() 2423 snd_pcm_format_t format = params_format(params); mtk_dai_hdmitx_dptx_hw_params() local [all...] |
/kernel/linux/linux-5.10/tools/power/x86/turbostat/ |
H A D | turbostat.c | 256 enum counter_format format; member 783 if (mp->format == FORMAT_RAW) { in print_header() 820 if (mp->format == FORMAT_RAW) { in print_header() 901 if (mp->format == FORMAT_RAW) { in print_header() 1126 if (mp->format == FORMAT_RAW) { in format_counters() 1131 } else if (mp->format == FORMAT_DELTA) { in format_counters() 1136 } else if (mp->format == FORMAT_PERCENT) { in format_counters() 1168 if (mp->format == FORMAT_RAW) { in format_counters() 1173 } else if (mp->format == FORMAT_DELTA) { in format_counters() 1178 } else if (mp->format in format_counters() 5729 add_counter(unsigned int msr_num, char *path, char *name, unsigned int width, enum counter_scope scope, enum counter_type type, enum counter_format format, int flags) add_counter() argument 5798 enum counter_format format = FORMAT_DELTA; parse_add_command() local [all...] |
/kernel/linux/linux-6.6/tools/power/x86/turbostat/ |
H A D | turbostat.c | 66 enum counter_format format; member 876 if (mp->format == FORMAT_RAW) { in print_header() 916 if (mp->format == FORMAT_RAW) { in print_header() 1000 if (mp->format == FORMAT_RAW) { in print_header() 1221 if (mp->format == FORMAT_RAW) { in format_counters() 1227 } else if (mp->format == FORMAT_DELTA) { in format_counters() 1232 } else if (mp->format == FORMAT_PERCENT) { in format_counters() 1269 if (mp->format == FORMAT_RAW) { in format_counters() 1275 } else if (mp->format == FORMAT_DELTA) { in format_counters() 1280 } else if (mp->format in format_counters() 6255 add_counter(unsigned int msr_num, char *path, char *name, unsigned int width, enum counter_scope scope, enum counter_type type, enum counter_format format, int flags) add_counter() argument 6321 enum counter_format format = FORMAT_DELTA; parse_add_command() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_perf.c | 62 * will include a set of counter values packed in a compact HW specific format. 132 * OA unit report format used to capture all counters in a set, or specify a 349 * @oa_format: An OA unit HW report format 459 ((__s)->oa_buffer.format->header == HDR_64_BIT) 544 int report_size = stream->oa_buffer.format->size; in oa_buffer_check_unlocked() 672 int report_size = stream->oa_buffer.format->size; in append_oa_sample() 736 int report_size = stream->oa_buffer.format->size; in gen8_append_oa_reports() 1054 int report_size = stream->oa_buffer.format->size; in gen7_append_oa_reports() 2644 u32 format = stream->oa_buffer.format in gen12_configure_oar_context() local 4031 oa_format_valid(struct i915_perf *perf, enum drm_i915_oa_format format) oa_format_valid() argument 4037 oa_format_add(struct i915_perf *perf, enum drm_i915_oa_format format) oa_format_add() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | ipp.h | 85 /* setup ipp to expand/convert input to pixel processor internal format */ 88 enum surface_pixel_format format,
|
H A D | mcif_wb.h | 67 enum dwb_scaler_mode format; member
|
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
H A D | ispccp2.h | 47 u32 format; member
|
/kernel/linux/linux-5.10/tools/perf/python/ |
H A D | twatch.py | 38 print("cpu: {0}, pid: {1}, tid: {2} {3}".format(event.sample_cpu,
|
/kernel/linux/linux-5.10/sound/soc/sprd/ |
H A D | sprd-pcm-dma.h | 30 u32 format; member
|
/kernel/linux/linux-5.10/include/sound/sof/ |
H A D | dai.h | 65 uint16_t format; /**< SOF_DAI_FMT_ */ member
|
/kernel/linux/linux-5.10/include/sound/ |
H A D | pcm_oss.h | 25 unsigned params: 1, /* format/parameter change */ 30 int format; /* requested OSS format */ member
|
H A D | seq_oss.h | 42 int (*load_patch)(struct snd_seq_oss_arg *p, int format, const char __user *buf, int offs, int count);
|
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/ |
H A D | ispccp2.h | 47 u32 format; member
|
/kernel/linux/linux-6.6/drivers/staging/media/sunxi/sun6i-isp/ |
H A D | sun6i_isp_capture.h | 47 struct v4l2_format format; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | mcif_wb.h | 65 enum dwb_scaler_mode format; member
|
H A D | ipp.h | 85 /* setup ipp to expand/convert input to pixel processor internal format */ 88 enum surface_pixel_format format,
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | pcm_oss.h | 25 unsigned params: 1, /* format/parameter change */ 30 int format; /* requested OSS format */ member
|
H A D | seq_oss.h | 42 int (*load_patch)(struct snd_seq_oss_arg *p, int format, const char __user *buf, int offs, int count);
|
/kernel/linux/linux-6.6/tools/perf/python/ |
H A D | twatch.py | 38 print("cpu: {0}, pid: {1}, tid: {2} {3}".format(event.sample_cpu,
|
/kernel/linux/linux-6.6/tools/thermal/lib/ |
H A D | log.h | 16 extern void logit(int level, const char *format, ...);
|
/kernel/liteos_a/fs/include/fs/ |
H A D | fs_operation.h | 102 * the value will be used to set the label of SD card in format().
108 * <li>The function must be called before format().</li>
115 * @see format
130 * There are four kind of format option: FMT_FAT16, FMT_FAT32, FMT_ANY, FMT_ERASE. If users input anything else,
131 * the default format option is FMT_ANY. Format option is decided by the number of clusters. Choosing the wrong
132 * option will cause error of format. The detailed information of (FAT16,FAT32) is ff.h.
136 * @param dev [IN] Type #const char* path of the block device to format, which must be a really
139 * @param option [IN] Type #int option of format.
150 extern int format(const char *dev, int sectors, int option);
|