/kernel/linux/linux-5.10/sound/soc/ |
D | soc-utils.c | 17 int snd_soc_calc_frame_size(int sample_size, int channels, int tdm_slots) in snd_soc_calc_frame_size() argument 19 return sample_size * channels * tdm_slots; in snd_soc_calc_frame_size() 25 int sample_size; in snd_soc_params_to_frame_size() local 27 sample_size = snd_pcm_format_width(params_format(params)); in snd_soc_params_to_frame_size() 28 if (sample_size < 0) in snd_soc_params_to_frame_size() 29 return sample_size; in snd_soc_params_to_frame_size() 31 return snd_soc_calc_frame_size(sample_size, params_channels(params), in snd_soc_params_to_frame_size() 36 int snd_soc_calc_bclk(int fs, int sample_size, int channels, int tdm_slots) in snd_soc_calc_bclk() argument 38 return fs * snd_soc_calc_frame_size(sample_size, channels, tdm_slots); in snd_soc_calc_bclk()
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
D | ni_labpc_isadma.c | 30 unsigned int sample_size = comedi_bytes_per_sample(s); in labpc_suggest_transfer_size() local 41 size = (freq / 3) * sample_size; in labpc_suggest_transfer_size() 46 else if (size < sample_size) in labpc_suggest_transfer_size() 47 size = sample_size; in labpc_suggest_transfer_size() 57 unsigned int sample_size = comedi_bytes_per_sample(s); in labpc_setup_dma() local 62 devpriv->count * sample_size < desc->size) in labpc_setup_dma() 63 desc->size = devpriv->count * sample_size; in labpc_setup_dma()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | xdp_sample_pkts_kern.c | 39 u16 sample_size; in xdp_sample_prog() local 44 sample_size = min(metadata.pkt_len, SAMPLE_SIZE); in xdp_sample_prog() 45 flags |= (u64)sample_size << 32; in xdp_sample_prog()
|
/kernel/linux/linux-5.10/sound/soc/tegra/ |
D | tegra20_i2s.c | 122 int ret, sample_size, srate, i2sclock, bitcnt; in tegra20_i2s_hw_params() local 128 sample_size = 16; in tegra20_i2s_hw_params() 132 sample_size = 24; in tegra20_i2s_hw_params() 136 sample_size = 32; in tegra20_i2s_hw_params() 150 i2sclock = srate * params_channels(params) * sample_size * 2; in tegra20_i2s_hw_params()
|
D | tegra210_i2s.c | 539 unsigned int sample_size, in tegra210_i2s_set_timing_params() argument 544 unsigned int val, bit_count, bclk_rate, num_bclk = sample_size; in tegra210_i2s_set_timing_params() 551 tegra210_i2s_set_data_offset(i2s, num_bclk - sample_size); in tegra210_i2s_set_timing_params() 604 unsigned int sample_size, channels, srate, val, reg, path; in tegra210_i2s_hw_params() local 622 sample_size = 8; in tegra210_i2s_hw_params() 628 sample_size = 16; in tegra210_i2s_hw_params() 634 sample_size = 32; in tegra210_i2s_hw_params() 676 return tegra210_i2s_set_timing_params(dev, sample_size, srate, in tegra210_i2s_hw_params()
|
D | tegra30_i2s.c | 130 int ret, sample_size, srate, i2sclock, bitcnt; in tegra30_i2s_hw_params() local 140 sample_size = 16; in tegra30_i2s_hw_params() 151 i2sclock = srate * params_channels(params) * sample_size * 2; in tegra30_i2s_hw_params()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | cx2072x.c | 48 int sample_size; member 683 int sample_size = cx2072x->sample_size; in cx2072x_config_i2spcm() local 704 if (sample_size <= 0) { in cx2072x_config_i2spcm() 705 dev_err(dev, "Incorrect sample size %d\n", sample_size); in cx2072x_config_i2spcm() 795 reg1.r.rx_sa_size = (sample_size / BITS_PER_SLOT) - 1; in cx2072x_config_i2spcm() 921 int sample_size, frame_size; in cx2072x_hw_params() local 924 sample_size = params_width(params); in cx2072x_hw_params() 926 if (sample_size < 0) in cx2072x_hw_params() 927 return sample_size; in cx2072x_hw_params() 956 sample_size, frame_size, sample_rate); in cx2072x_hw_params() [all …]
|
D | cs35l33.c | 484 int sample_size = params_width(params); in cs35l33_pcm_hw_params() local 496 sample_size = (sample_size / 8) - 1; in cs35l33_pcm_hw_params() 497 if (sample_size > 2) in cs35l33_pcm_hw_params() 498 sample_size = 2; in cs35l33_pcm_hw_params() 501 sample_size << CS35L33_AUDIN_RX_DEPTH_SHIFT); in cs35l33_pcm_hw_params()
|
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/ |
D | mxl111sf-phy.c | 189 int mxl111sf_init_i2s_port(struct mxl111sf_state *state, u8 sample_size) in mxl111sf_init_i2s_port() argument 207 mxl_debug("(0x%02x)", sample_size); in mxl111sf_init_i2s_port() 213 ret = mxl111sf_write_reg(state, V6_I2S_NUM_SAMPLES_REG, sample_size); in mxl111sf_init_i2s_port()
|
D | mxl111sf-phy.h | 27 int mxl111sf_init_i2s_port(struct mxl111sf_state *state, u8 sample_size);
|
/kernel/linux/linux-5.10/sound/soc/jz4740/ |
D | jz4740-i2s.c | 284 unsigned int sample_size; in jz4740_i2s_hw_params() local 295 sample_size = 0; in jz4740_i2s_hw_params() 298 sample_size = 1; in jz4740_i2s_hw_params() 306 ctrl |= sample_size << JZ_AIC_CTRL_OUTPUT_SAMPLE_SIZE_OFFSET; in jz4740_i2s_hw_params() 316 ctrl |= sample_size << JZ_AIC_CTRL_INPUT_SAMPLE_SIZE_OFFSET; in jz4740_i2s_hw_params()
|
/kernel/linux/linux-5.10/sound/soc/xtensa/ |
D | xtfpga-i2s.c | 287 unsigned sample_size = snd_pcm_format_width(params_format(params)); in xtfpga_i2s_hw_params() local 293 sample_size << XTFPGA_I2S_CONFIG_RES_BASE); in xtfpga_i2s_hw_params() 306 ratio = (freq - (srate * sample_size * 8)) / in xtfpga_i2s_hw_params() 307 (srate * sample_size * 4); in xtfpga_i2s_hw_params() 330 __func__, srate, channels, sample_size, period_size); in xtfpga_i2s_hw_params()
|
/kernel/linux/linux-5.10/arch/x86/oprofile/ |
D | op_model_amd.c | 63 unsigned long sample_size; member 165 ibs_state.sample_size); in op_amd_handle_ibs() 242 ibs_state.sample_size = IBS_OP_SIZE; in op_amd_start_ibs() 245 ibs_state.sample_size++; in op_amd_start_ibs()
|
/kernel/linux/linux-5.10/sound/mips/ |
D | hal2.c | 357 unsigned int fifobeg, fifoend, highwater, sample_size; in hal2_setup_dac() local 365 sample_size = 2 * hal2->dac.voices; in hal2_setup_dac() 368 highwater = (sample_size * 2) >> 1; /* halfwords */ in hal2_setup_dac() 370 fifoend = (sample_size * 4) >> 3; /* doublewords */ in hal2_setup_dac() 390 unsigned int fifobeg, fifoend, highwater, sample_size; in hal2_setup_adc() local 393 sample_size = 2 * hal2->adc.voices; in hal2_setup_adc() 394 highwater = (sample_size * 2) >> 1; /* halfwords */ in hal2_setup_adc() 396 fifoend = (4 * 4 + sample_size * 4) >> 3; /* doublewords */ in hal2_setup_adc()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | strobemeta.h | 540 uint64_t sample_size = sample_end - (void *)sample; in on_event() local 542 if (sample_size < sizeof(struct strobelight_bpf_sample)) in on_event() 543 bpf_perf_event_output(ctx, &samples, 0, sample, 1 + sample_size); in on_event()
|
/kernel/linux/linux-5.10/sound/pci/mixart/ |
D | mixart.c | 526 stream_param.sample_size = 8; in mixart_set_format() 530 stream_param.sample_size = 16; in mixart_set_format() 534 stream_param.sample_size = 16; in mixart_set_format() 538 stream_param.sample_size = 24; in mixart_set_format() 542 stream_param.sample_size = 24; in mixart_set_format() 546 stream_param.sample_size = 32; in mixart_set_format() 550 stream_param.sample_size = 32; in mixart_set_format() 560 … stream_param.sample_type, stream_param.sample_size, stream_param.sampling_freq, stream->channels); in mixart_set_format()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | compression.c | 825 u32 sample_size; member 1368 sz_base = ilog2_w(ws->sample_size); in shannon_entropy() 1375 entropy_sum /= ws->sample_size; in shannon_entropy() 1501 const u32 core_set_threshold = ws->sample_size * 90 / 100; in byte_core_set_size() 1563 const u32 half_of_sample = ws->sample_size / 2; in sample_repeated_patterns() 1618 ws->sample_size = curr_sample_pos; in heuristic_collect_sample() 1655 for (i = 0; i < ws->sample_size; i++) { in btrfs_compress_heuristic()
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | at91-sama5d2_adc.c | 1093 int sample_index = 0, sample_count, sample_size; in at91_adc_trigger_handler_dma() local 1101 sample_size = div_s64(st->dma_st.rx_buf_sz, st->dma_st.watermark); in at91_adc_trigger_handler_dma() 1103 sample_count = div_s64(transferred_len, sample_size); in at91_adc_trigger_handler_dma() 1111 while (transferred_len >= sample_size) { in at91_adc_trigger_handler_dma() 1118 sample_size); in at91_adc_trigger_handler_dma() 1124 transferred_len -= sample_size; in at91_adc_trigger_handler_dma() 1126 st->dma_st.buf_idx += sample_size; in at91_adc_trigger_handler_dma()
|
/kernel/linux/linux-5.10/drivers/video/ |
D | hdmi.c | 434 (frame->sample_size & 0x3); in hdmi_audio_infoframe_pack_only() 1321 hdmi_audio_sample_size_get_name(enum hdmi_audio_sample_size sample_size) in hdmi_audio_sample_size_get_name() argument 1323 switch (sample_size) { in hdmi_audio_sample_size_get_name() 1405 hdmi_audio_sample_size_get_name(frame->sample_size)); in hdmi_audio_infoframe_log() 1680 frame->sample_size = ptr[1] & 0x3; in hdmi_audio_infoframe_unpack()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_perf_types.h | 160 int sample_size; member
|
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/ |
D | q6asm.h | 47 u16 sample_size; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/ |
D | dc_types.h | 195 uint8_t sample_size; /* for LPCM*/ member 616 uint8_t sample_size; member
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | evsel.c | 191 evsel->sample_size += sizeof(u64); in __evsel__set_sample_bit() 201 evsel->sample_size -= sizeof(u64); in __evsel__reset_sample_bit() 251 evsel->sample_size = __evsel__sample_size(attr->sample_type); in evsel__init() 2077 perf_event__check_size(union perf_event *event, unsigned int sample_size) in perf_event__check_size() argument 2084 if (sample_size + sizeof(event->header) > event->header.size) in perf_event__check_size() 2123 if (perf_event__check_size(event, evsel->sample_size)) in evsel__parse_sample() 2418 if (perf_event__check_size(event, evsel->sample_size)) in evsel__parse_sample_timestamp()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/sound/ |
D | compress_params.h | 172 __u16 sample_size; member
|
/kernel/linux/linux-5.10/include/uapi/sound/ |
D | compress_params.h | 326 __u16 sample_size; member
|