Searched refs:osc_base (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/comedi/drivers/ |
H A D | comedi_8254.c | 415 if (div * i8254->osc_base == *nanosec && in comedi_8254_cascade_ns_to_timer() 420 div * i8254->osc_base > div && in comedi_8254_cascade_ns_to_timer() 421 div * i8254->osc_base > i8254->osc_base) in comedi_8254_cascade_ns_to_timer() 424 div = *nanosec / i8254->osc_base; in comedi_8254_cascade_ns_to_timer() 432 ns = i8254->osc_base * d1 * d2; in comedi_8254_cascade_ns_to_timer() 449 ns_high = d1_lub * d2_lub * i8254->osc_base; in comedi_8254_cascade_ns_to_timer() 450 ns_low = d1_glb * d2_glb * i8254->osc_base; in comedi_8254_cascade_ns_to_timer() 469 *nanosec = d1 * d2 * i8254->osc_base; in comedi_8254_cascade_ns_to_timer() 489 divisor = DIV_ROUND_CLOSEST(*nanosec, i8254->osc_base); in comedi_8254_ns_to_timer() 492 divisor = DIV_ROUND_UP(*nanosec, i8254->osc_base); in comedi_8254_ns_to_timer() [all …]
|
H A D | das16.c | 1020 unsigned int osc_base; in das16_attach() local 1060 osc_base = I8254_OSC_BASE_1MHZ; in das16_attach() 1064 osc_base = I8254_OSC_BASE_10MHZ; in das16_attach() 1067 osc_base = I8254_OSC_BASE_1MHZ / it->options[3]; in das16_attach() 1071 osc_base, I8254_IO8, 0); in das16_attach()
|
H A D | pcl818.c | 984 unsigned int osc_base; in pcl818_attach() local 1014 osc_base = I8254_OSC_BASE_10MHZ; in pcl818_attach() 1016 osc_base = I8254_OSC_BASE_1MHZ; in pcl818_attach() 1019 osc_base, I8254_IO8, 0); in pcl818_attach()
|
H A D | addi_apci_3120.c | 146 unsigned int osc_base; member 275 unsigned int timer_base = devpriv->osc_base * prescale; in apci3120_ns_to_timer() 1009 devpriv->osc_base = APCI3120_REVB_OSC_BASE; in apci3120_auto_attach() 1011 devpriv->osc_base = APCI3120_REVA_OSC_BASE; in apci3120_auto_attach()
|
H A D | adl_pci9118.c | 538 *div1 = *tim2 / pacer->osc_base; /* convert timer (burst) */ in pci9118_calc_divisors() 539 *div2 = *tim1 / pacer->osc_base; /* scan timer */ in pci9118_calc_divisors() 544 *tim2 = *div1 * pacer->osc_base; /* real convert timer */ in pci9118_calc_divisors() 552 *tim1 = *div1 * *div2 * pacer->osc_base; in pci9118_calc_divisors()
|
H A D | ni_labpc_common.c | 357 (pacer->osc_base * I8254_MAX_COUNT) + 1; in labpc_adc_timing() 363 base_period = pacer->osc_base * pacer->next_div1; in labpc_adc_timing()
|
/linux/arch/mips/pic32/pic32mzda/ |
H A D | early_clk.c | 43 void __iomem *osc_base = ioremap(PIC32_BASE_OSC, 0x200); in pic32_get_sysclk() local 45 osccon = __raw_readl(osc_base + OSCCON); in pic32_get_sysclk() 46 spllcon = __raw_readl(osc_base + SPLLCON); in pic32_get_sysclk() 81 iounmap(osc_base); in pic32_get_sysclk() 89 void __iomem *osc_base = ioremap(PIC32_BASE_OSC, 0x200); in pic32_get_pbclk() local 91 u32 pbdiv = (__raw_readl(osc_base + pbxdiv) & PB_MASK) + 1; in pic32_get_pbclk() 93 iounmap(osc_base); in pic32_get_pbclk()
|
/linux/include/linux/comedi/ |
H A D | comedi_8254.h | 99 unsigned int osc_base; member 143 unsigned int osc_base, 148 unsigned int osc_base, in comedi_8254_io_alloc() argument 157 unsigned int osc_base,
|