Home
last modified time | relevance | path

Searched refs:osc_base (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/comedi/drivers/
H A Dcomedi_8254.c375 div * i8254->osc_base > div && in comedi_8254_cascade_ns_to_timer()
376 div * i8254->osc_base > i8254->osc_base) in comedi_8254_cascade_ns_to_timer()
379 div = *nanosec / i8254->osc_base; in comedi_8254_cascade_ns_to_timer()
387 ns = i8254->osc_base * d1 * d2; in comedi_8254_cascade_ns_to_timer()
424 *nanosec = d1 * d2 * i8254->osc_base; in comedi_8254_cascade_ns_to_timer()
450 divisor = *nanosec / i8254->osc_base; in comedi_8254_ns_to_timer()
458 *nanosec = divisor * i8254->osc_base; in comedi_8254_ns_to_timer()
576 unsigned int osc_base, in __i8254_init() argument
598 i8254->osc_base = osc_base ? osc_base : I8254_OSC_BASE_10MHZ; in __i8254_init()
616 unsigned int osc_base, in comedi_8254_init() argument
[all …]
H A Ddas16.c1020 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 Dpcl818.c984 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 Daddi_apci_3120.c146 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 Dadl_pci9118.c538 *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 Dni_labpc_common.c352 (pacer->osc_base * I8254_MAX_COUNT) + 1; in labpc_adc_timing()
358 base_period = pacer->osc_base * pacer->next_div1; in labpc_adc_timing()
/openbmc/linux/arch/mips/pic32/pic32mzda/
H A Dearly_clk.c43 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()
/openbmc/linux/include/linux/comedi/
H A Dcomedi_8254.h83 unsigned int osc_base; member
126 unsigned int osc_base,
130 unsigned int osc_base,