Searched refs:rfreq (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/clk/ |
H A D | clk-si570.c | 83 u64 rfreq; member 99 static int si570_get_divs(struct clk_si570 *data, u64 *rfreq, in si570_get_divs() argument 122 *rfreq = tmp; in si570_get_divs() 144 err = si570_get_divs(data, &data->rfreq, &data->n1, &data->hs_div); in si570_get_defaults() 154 data->fxtal = div64_u64(fdco << 24, data->rfreq >> 4); in si570_get_defaults() 156 data->fxtal = div64_u64(fdco << 28, data->rfreq); in si570_get_defaults() 173 ((data->rfreq >> 32) & RFREQ_37_32_MASK); in si570_update_rfreq() 174 reg[1] = (data->rfreq >> 24) & 0xff; in si570_update_rfreq() 175 reg[2] = (data->rfreq >> 16) & 0xff; in si570_update_rfreq() 176 reg[3] = (data->rfreq >> 8) & 0xff; in si570_update_rfreq() [all …]
|
/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-cpld.c | 232 u64 rfreq; in cobalt_cpld_set_freq() local 260 rfreq = div_u64(dco << 28, f_xtal); in cobalt_cpld_set_freq() 265 regs[1] = ((n1 & 0x3) << 6) | (rfreq >> 32); in cobalt_cpld_set_freq() 266 regs[2] = (rfreq >> 24) & 0xff; in cobalt_cpld_set_freq() 267 regs[3] = (rfreq >> 16) & 0xff; in cobalt_cpld_set_freq() 268 regs[4] = (rfreq >> 8) & 0xff; in cobalt_cpld_set_freq() 269 regs[5] = rfreq & 0xff; in cobalt_cpld_set_freq()
|
/linux/sound/pci/lx6464es/ |
H A D | lx_core.h | 98 int lx_dsp_get_clock_frequency(struct lx6464es *chip, u32 *rfreq);
|
H A D | lx_core.c | 331 int lx_dsp_get_clock_frequency(struct lx6464es *chip, u32 *rfreq) in lx_dsp_get_clock_frequency() argument 358 *rfreq = frequency * chip->freq_ratio; in lx_dsp_get_clock_frequency()
|