Searched refs:base_freq (Results 1 - 12 of 12) sorted by relevance

/linux-4.4.14/arch/cris/arch-v32/kernel/
H A Ddebugport.c127 tr_ctrl.base_freq = rec_ctrl.base_freq = regk_ser_f29_493; start_port()
/linux-4.4.14/drivers/staging/iio/accel/
H A Dsca3000_core.c559 int *base_freq) __sca3000_get_base_freq()
568 *base_freq = info->measurement_mode_freq; __sca3000_get_base_freq()
571 *base_freq = info->option_mode_1_freq; __sca3000_get_base_freq()
574 *base_freq = info->option_mode_2_freq; __sca3000_get_base_freq()
590 int ret, len = 0, base_freq = 0, val; sca3000_read_frequency() local
593 ret = __sca3000_get_base_freq(st, st->info, &base_freq); sca3000_read_frequency()
601 if (base_freq > 0) sca3000_read_frequency()
605 len = sprintf(buf, "%d\n", base_freq); sca3000_read_frequency()
608 len = sprintf(buf, "%d\n", base_freq / 2); sca3000_read_frequency()
611 len = sprintf(buf, "%d\n", base_freq / 4); sca3000_read_frequency()
632 int ret, base_freq = 0; sca3000_set_frequency() local
642 ret = __sca3000_get_base_freq(st, st->info, &base_freq); sca3000_set_frequency()
653 if (val == base_freq / 2) { sca3000_set_frequency()
655 } else if (val == base_freq / 4) { sca3000_set_frequency()
657 } else if (val != base_freq) { sca3000_set_frequency()
557 __sca3000_get_base_freq(struct sca3000_state *st, const struct sca3000_chip_info *info, int *base_freq) __sca3000_get_base_freq() argument
/linux-4.4.14/drivers/media/dvb-frontends/
H A Dstv0297.c39 unsigned long base_freq; member in struct:stv0297_state
610 state->base_freq = p->frequency; stv0297_set_frontend()
627 p->frequency = state->base_freq; stv0297_get_frontend()
677 state->base_freq = 0; stv0297_attach()
/linux-4.4.14/arch/cris/boot/compressed/
H A Dmisc.c265 tr_ctrl.base_freq = regk_ser_f29_493; serial_setup()
266 rec_ctrl.base_freq = regk_ser_f29_493; serial_setup()
/linux-4.4.14/arch/cris/include/arch-v32/arch/hwregs/
H A Dser_defs.h89 unsigned int base_freq : 3; member in struct:__anon832
116 unsigned int base_freq : 3; member in struct:__anon834
H A Dsser_defs.h90 unsigned int base_freq : 3; member in struct:__anon848
/linux-4.4.14/sound/oss/
H A Dsequencer.c1583 unsigned long compute_finetune(unsigned long base_freq, int bend, int range, compute_finetune() argument
1590 return base_freq; compute_finetune()
1592 return base_freq; compute_finetune()
1594 if (!base_freq) compute_finetune()
1595 return base_freq; compute_finetune()
1604 return base_freq; compute_finetune()
1629 return (base_freq * 10000) / amount; /* Bend down */ compute_finetune()
1631 return (base_freq * amount) / 10000; /* Bend up */ compute_finetune()
/linux-4.4.14/drivers/tty/serial/
H A Detraxfs-uart.c669 tx_ctrl.base_freq = regk_ser_f29_493; etraxfs_uart_set_termios()
695 * baud_clock = base_freq / (divisor*8) etraxfs_uart_set_termios()
696 * divisor = base_freq / (baud_clock * 8) etraxfs_uart_set_termios()
697 * base_freq is either: etraxfs_uart_set_termios()
715 rx_ctrl.base_freq = tx_ctrl.base_freq; etraxfs_uart_set_termios()
/linux-4.4.14/sound/soc/codecs/
H A Dadau1977.c781 static bool adau1977_check_sysclk(unsigned int mclk, unsigned int base_freq) adau1977_check_sysclk() argument
785 if (mclk % (base_freq * 128) != 0) adau1977_check_sysclk()
788 mcs = mclk / (128 * base_freq); adau1977_check_sysclk()
/linux-4.4.14/arch/cris/arch-v32/drivers/
H A Dsync_serial.c365 cfg.base_freq = regk_sser_f29_493; initialize_port()
771 gen_cfg.base_freq = regk_sser_f32; sync_serial_ioctl_unlocked()
796 gen_cfg.base_freq = regk_sser_f32_768; sync_serial_ioctl_unlocked()
806 gen_cfg.base_freq = regk_sser_f29_493; sync_serial_ioctl_unlocked()
851 gen_cfg.base_freq = regk_sser_f100; sync_serial_ioctl_unlocked()
/linux-4.4.14/include/uapi/linux/
H A Dsoundcard.h250 * The base_freq and base_note fields are used when computing the
252 * which is heard if the sample is played using the base_freq as the
265 unsigned int base_freq; member in struct:patch_info
/linux-4.4.14/sound/synth/emux/
H A Dsoundfont.c1034 zone->v.rate_offset = calc_rate_offset(patch.base_freq); load_guspatch()
1045 (int)patch.base_freq, zone->v.rate_offset, load_guspatch()

Completed in 392 milliseconds