| /sound/soc/codecs/ |
| A D | ntpfw.c | 16 u8 step; member 52 if (chunk->step != 2 && chunk->step != 5) { in ntpfw_verify_chunk() 53 dev_err(dev, "Failed to load firmware: invalid chunk step: %d\n", chunk->step); in ntpfw_verify_chunk() 63 if (chunk_size % chunk->step) { in ntpfw_verify_chunk() 77 for (i = 0; i < length; i += chunk->step) { in ntpfw_send_chunk() 78 ret = i2c_master_send(i2c, &chunk->data[i], chunk->step); in ntpfw_send_chunk() 79 if (ret != chunk->step) { in ntpfw_send_chunk()
|
| A D | wm2000.c | 437 .step = { 444 .step = { 453 .step = { 462 .step = { 470 .step = { 478 .step = { 486 .step = { 494 .step = { 502 .step = { 511 .step = { [all …]
|
| A D | da732x.c | 1267 u8 step = DA732X_DAC_OFFSET_STEP; in da732x_dac_offset_adjust() local 1295 offset[DA732X_HPL_DAC] |= step; in da732x_dac_offset_adjust() 1296 offset[DA732X_HPR_DAC] |= step; in da732x_dac_offset_adjust() 1306 offset[DA732X_HPL_DAC] &= ~step; in da732x_dac_offset_adjust() 1309 offset[DA732X_HPR_DAC] &= ~step; in da732x_dac_offset_adjust() 1311 step >>= 1; in da732x_dac_offset_adjust() 1312 } while (step); in da732x_dac_offset_adjust() 1362 offset[DA732X_HPL_AMP] |= step; in da732x_output_offset_adjust() 1363 offset[DA732X_HPR_AMP] |= step; in da732x_output_offset_adjust() 1378 step >>= 1; in da732x_output_offset_adjust() [all …]
|
| A D | peb2466.c | 302 const char *name, int min_val, int step) in peb2466_add_lkup_ctrl() argument 304 DECLARE_TLV_DB_SCALE(tlv_array, min_val, step, 0); in peb2466_add_lkup_ctrl() 1195 s32 step; in peb2466_fw_parse_axtable() local 1224 step = get_unaligned_be32(data + 5); in peb2466_fw_parse_axtable() 1234 *data, min_val, step, table_size / 4, init_index, in peb2466_fw_parse_axtable() 1275 min_val, step); in peb2466_fw_parse_axtable() 1299 s32 step; in peb2466_fw_parse_artable() local 1328 step = get_unaligned_be32(data + 5); in peb2466_fw_parse_artable() 1338 *data, min_val, step, table_size / 4, init_index, in peb2466_fw_parse_artable() 1379 min_val, step); in peb2466_fw_parse_artable()
|
| /sound/core/oss/ |
| A D | pcm_plugin.c | 89 c->area.step = format->channels * width; in snd_pcm_plugin_alloc() 101 c->area.step = width; in snd_pcm_plugin_alloc() 592 v->area.step = nchannels * width; in snd_pcm_plug_client_channels_buf() 686 if (dst_area->step == (unsigned int) width && width >= 8) in snd_pcm_area_silence() 691 dst_step = dst_area->step / 8; in snd_pcm_area_silence() 695 int dstbit_step = dst_area->step % 8; in snd_pcm_area_silence() 735 if (src_area->step == (unsigned int) width && in snd_pcm_area_copy() 741 src_step = src_area->step / 8; in snd_pcm_area_copy() 742 dst_step = dst_area->step / 8; in snd_pcm_area_copy() 746 int srcbit_step = src_area->step % 8; in snd_pcm_area_copy() [all …]
|
| A D | mulaw.c | 190 src_step = src_channels[channel].area.step / 8; in mulaw_decode() 191 dst_step = dst_channels[channel].area.step / 8; in mulaw_decode() 236 src_step = src_channels[channel].area.step / 8; in mulaw_encode() 237 dst_step = dst_channels[channel].area.step / 8; in mulaw_encode() 264 src_channels[channel].area.step % 8)) in mulaw_transfer() 267 dst_channels[channel].area.step % 8)) in mulaw_transfer()
|
| A D | linear.c | 77 src_step = src_channels[channel].area.step / 8; in convert() 78 dst_step = dst_channels[channel].area.step / 8; in convert() 102 src_channels[channel].area.step % 8)) in linear_transfer() 105 dst_channels[channel].area.step % 8)) in linear_transfer()
|
| A D | rate.c | 94 src_step = src_channels[channel].area.step / 8 / 2; in resample_expand() 95 dst_step = dst_channels[channel].area.step / 8 / 2; in resample_expand() 153 src_step = src_channels[channel].area.step / 8 / 2; in resample_shrink() 154 dst_step = dst_channels[channel].area.step / 8 / 2; in resample_shrink() 266 src_channels[channel].area.step % 8)) in rate_transfer() 269 dst_channels[channel].area.step % 8)) in rate_transfer()
|
| A D | copy.c | 42 src_channels->area.step % 8)) in copy_transfer() 45 dst_channels->area.step % 8)) in copy_transfer()
|
| A D | pcm_plugin.h | 22 unsigned int step; /* samples distance in bits */ member
|
| /sound/core/ |
| A D | control_compat.c | 60 s32 step; member 65 u64 step; member 118 put_user(data->value.integer.step, &data32->value.integer.step)) in snd_ctl_elem_info_compat() 398 get_user(data->value.integer.step, &data32->value.integer.step)) in snd_ctl_elem_add_compat()
|
| A D | pcm_compat.c | 125 u32 step; member 137 get_user(info.step, &src->step)) in snd_pcm_ioctl_channel_info_compat() 145 put_user(info.step, &src->step)) in snd_pcm_ioctl_channel_info_compat()
|
| A D | pcm_lib.c | 1129 static int snd_interval_step(struct snd_interval *i, unsigned int step) in snd_interval_step() argument 1133 n = i->min % step; in snd_interval_step() 1135 i->min += step - n; in snd_interval_step() 1139 n = i->max % step; in snd_interval_step() 1476 unsigned long step = (unsigned long) rule->private; in snd_pcm_hw_rule_step() local 1477 return snd_interval_step(hw_param_interval(params, rule->var), step); in snd_pcm_hw_rule_step() 1492 unsigned long step) in snd_pcm_hw_constraint_step() argument 1495 snd_pcm_hw_rule_step, (void *) step, in snd_pcm_hw_constraint_step() 1797 info->step = runtime->channels * width; in snd_pcm_lib_ioctl_channel_info() 1804 info->step = width; in snd_pcm_lib_ioctl_channel_info()
|
| /sound/usb/ |
| A D | mixer_us16x08.h | 23 #define SND_US16X08_KCSET(bias, step, min, max) \ argument 24 (((bias) << 24) | ((step) << 16) | ((min) << 8) | (max))
|
| /sound/virtio/ |
| A D | virtio_kctl.c | 65 uinfo->value.integer.step = in virtsnd_kctl_info() 66 le32_to_cpu(kinfo->value.integer.step); in virtsnd_kctl_info() 74 uinfo->value.integer64.step = in virtsnd_kctl_info() 75 le64_to_cpu(kinfo->value.integer64.step); in virtsnd_kctl_info()
|
| /sound/pci/ |
| A D | intel8x0m.c | 421 int civ, i, step; in snd_intel8x0m_update() local 426 step = 1; in snd_intel8x0m_update() 430 step = civ - ichdev->civ; in snd_intel8x0m_update() 431 if (step < 0) in snd_intel8x0m_update() 432 step += ICH_REG_LVI_MASK + 1; in snd_intel8x0m_update() 436 ichdev->position += step * ichdev->fragsize1; in snd_intel8x0m_update() 438 ichdev->lvi += step; in snd_intel8x0m_update() 441 for (i = 0; i < step; i++) { in snd_intel8x0m_update()
|
| A D | intel8x0.c | 694 int status, civ, i, step; in snd_intel8x0_update() local 704 step = 0; in snd_intel8x0_update() 706 step = 1; in snd_intel8x0_update() 710 step = civ - ichdev->civ; in snd_intel8x0_update() 711 if (step < 0) in snd_intel8x0_update() 712 step += ICH_REG_LVI_MASK + 1; in snd_intel8x0_update() 716 ichdev->position += step * ichdev->fragsize1; in snd_intel8x0_update() 719 ichdev->lvi += step; in snd_intel8x0_update() 722 for (i = 0; i < step; i++) { in snd_intel8x0_update()
|
| /sound/soc/renesas/rcar/ |
| A D | adg.c | 152 int step = 2; in __rsnd_adg_get_timesel_ratio() local 158 for (div = 2; div <= 98304; div += step) { in __rsnd_adg_get_timesel_ratio() 171 step *= 2; in __rsnd_adg_get_timesel_ratio() 173 div += step; in __rsnd_adg_get_timesel_ratio() 174 step *= 2; in __rsnd_adg_get_timesel_ratio()
|
| /sound/hda/common/ |
| A D | codec.c | 1617 int nums, step; in snd_hda_set_vmaster_tlv() local 1622 step = (step + 1) * 25; in snd_hda_set_vmaster_tlv() 1868 int step; member 1879 int step; in init_follower_0dB() local 1898 step &= ~TLV_DB_SCALE_MUTE; in init_follower_0dB() 1899 if (!step) in init_follower_0dB() 1901 if (arg->step && arg->step != step) { in init_follower_0dB() 1904 arg->step, step); in init_follower_0dB() 1908 arg->step = step; in init_follower_0dB() 1909 val = -tlv[SNDRV_CTL_TLVO_DB_SCALE_MIN] / step; in init_follower_0dB() [all …]
|
| /sound/pci/echoaudio/ |
| A D | echoaudio.c | 814 u32 counter, step; in pcm_pointer() local 823 step = counter - pipe->last_counter; /* handles wrapping */ in pcm_pointer() 830 pipe->position += step; in pcm_pointer() 1814 u32 counter, step; in period_has_elapsed() local 1824 step = counter - pipe->last_period; /* handles wrapping */ in period_has_elapsed() 1825 step -= step % period_bytes; /* acknowledge whole periods only */ in period_has_elapsed() 1827 if (step == 0) in period_has_elapsed() 1830 pipe->last_period += step; /* used exclusively by us */ in period_has_elapsed()
|
| /sound/soc/sdw_utils/ |
| A D | soc_sdw_utils.c | 907 int step; in asoc_sdw_hw_params() local 916 step = 0; in asoc_sdw_hw_params() 927 step = hweight_long(ch_mask); in asoc_sdw_hw_params() 936 ch_maps->ch_mask = ch_mask << (i * step); in asoc_sdw_hw_params()
|
| /sound/firewire/ |
| A D | amdtp-stream.c | 167 unsigned int step = 0; in apply_constraint_to_size() local 172 step = max(step, amdtp_syt_intervals[i]); in apply_constraint_to_size() 175 if (step == 0) in apply_constraint_to_size() 178 t.min = roundup(s->min, step); in apply_constraint_to_size() 179 t.max = rounddown(s->max, step); in apply_constraint_to_size()
|
| /sound/pci/asihpi/ |
| A D | asihpi.c | 1437 uinfo->value.integer.step = step_gain_mB / VOL_STEP_mB; in snd_asihpi_volume_info() 1555 uinfo->value.integer.step = step_gain_mB / HPI_UNITS_PER_dB; in snd_asihpi_level_info() 1689 uinfo->value.integer.step = 1; in snd_asihpi_aesebu_rxstatus_info() 1784 uinfo->value.integer.step = ((int) gain_range[2]) / HPI_UNITS_PER_dB; in snd_asihpi_tuner_gain_info() 1947 uinfo->value.integer.step = ((int)freq_range[2]); in snd_asihpi_tuner_freq_info() 2379 uinfo->value.integer.step = 100; in snd_asihpi_clklocal_info() 2421 uinfo->value.integer.step = 100; in snd_asihpi_clkrate_info()
|
| /sound/soc/sdca/ |
| A D | sdca_asoc.c | 796 int min, max, step; in control_limit_kctl() local 812 step = sdca_range(range, SDCA_VOLUME_LINEAR_STEP, 0); in control_limit_kctl() 821 if (hweight32(step) != 1) { in control_limit_kctl() 832 shift = max(ffs(step) - 1, 6); in control_limit_kctl()
|
| /sound/isa/gus/ |
| A D | gus_pcm.c | 169 unsigned int end, step; in snd_gf1_pcm_interrupt_wave() local 207 step = pcmp->dma_size / runtime->channels; in snd_gf1_pcm_interrupt_wave() 213 for (idx = 0; idx < pcmp->voices; idx++, end += step) { in snd_gf1_pcm_interrupt_wave()
|