Home
last modified time | relevance | path

Searched refs:start_count (Results 1 – 14 of 14) sorted by relevance

/linux-4.1.27/arch/x86/kernel/
Dtsc_sync.c27 static atomic_t start_count; variable
149 while (atomic_read(&start_count) != cpus-1) in check_tsc_sync_source()
154 atomic_inc(&start_count); in check_tsc_sync_source()
175 atomic_set(&start_count, 0); in check_tsc_sync_source()
200 atomic_inc(&start_count); in check_tsc_sync_target()
201 while (atomic_read(&start_count) != cpus) in check_tsc_sync_target()
/linux-4.1.27/lib/
Dpercpu-refcount.c63 unsigned long start_count = 0; in percpu_ref_init() local
75 start_count += PERCPU_COUNT_BIAS; in percpu_ref_init()
80 start_count++; in percpu_ref_init()
82 atomic_long_set(&ref->count, start_count); in percpu_ref_init()
/linux-4.1.27/drivers/ide/
Dpdc202xx_new.c247 long start_count, end_count; in detect_pll_input_clock() local
251 start_count = read_counter(dma_base); in detect_pll_input_clock()
278 pll_input = ((start_count - end_count) & 0x3fffffff) / 10 * in detect_pll_input_clock()
281 DBG("start[%ld] end[%ld]\n", start_count, end_count); in detect_pll_input_clock()
/linux-4.1.27/arch/ia64/kernel/
Dmca.c1470 static int start_count = -1; in ia64_mca_cmc_int_caller() local
1476 if (start_count == -1) in ia64_mca_cmc_int_caller()
1477 start_count = IA64_LOG_COUNT(SAL_INFO_TYPE_CMC); in ia64_mca_cmc_int_caller()
1487 if (start_count == IA64_LOG_COUNT(SAL_INFO_TYPE_CMC)) { in ia64_mca_cmc_int_caller()
1498 start_count = -1; in ia64_mca_cmc_int_caller()
1539 static int start_count = -1; in ia64_mca_cpe_int_caller() local
1546 if (start_count == -1) in ia64_mca_cpe_int_caller()
1547 start_count = IA64_LOG_COUNT(SAL_INFO_TYPE_CPE); in ia64_mca_cpe_int_caller()
1560 if (start_count != IA64_LOG_COUNT(SAL_INFO_TYPE_CPE)) { in ia64_mca_cpe_int_caller()
1574 start_count = -1; in ia64_mca_cpe_int_caller()
/linux-4.1.27/drivers/ata/
Dpata_pdc2027x.c608 long start_count, end_count; in pdc_detect_pll_input_clock() local
619 start_count = pdc_read_counter(host); in pdc_detect_pll_input_clock()
638 pll_clock = ((start_count - end_count) & 0x3fffffff) / 100 * in pdc_detect_pll_input_clock()
641 PDPRINTK("start[%ld] end[%ld] \n", start_count, end_count); in pdc_detect_pll_input_clock()
/linux-4.1.27/drivers/media/usb/au0828/
Dau0828-dvb.c277 dvb->start_count++; in au0828_dvb_start_feed()
279 dvb->start_count, dvb->stop_count); in au0828_dvb_start_feed()
310 dvb->start_count, dvb->stop_count); in au0828_dvb_stop_feed()
481 dvb->start_count = 0; in dvb_register()
Dau0828.h109 int start_count; member
/linux-4.1.27/drivers/s390/char/
Dsclp.c303 req->start_count++; in __sclp_start_request()
345 if (req->start_count > 1) { in sclp_process_queue()
390 req->start_count = 0; in sclp_add_request()
485 sclp_read_req.start_count = 0; in __sclp_make_read_req()
784 sclp_init_req.start_count = 0; in __sclp_make_init_req()
Dsclp.h134 int start_count; /* number of SVCs done for this req */ member
/linux-4.1.27/drivers/tty/serial/
Dmux.c237 __u32 start_count = port->icount.rx; in mux_read() local
262 if (start_count != port->icount.rx) in mux_read()
/linux-4.1.27/drivers/clocksource/
Darm_arch_timer.c467 u64 start_count; in arch_counter_register() local
486 start_count = arch_timer_read_counter(); in arch_counter_register()
490 timecounter_init(&timecounter, &cyclecounter, start_count); in arch_counter_register()
/linux-4.1.27/sound/pci/ymfpci/
Dymfpci.h324 int start_count; member
Dymfpci_main.c184 if (chip->start_count++ > 0) in snd_ymfpci_hw_start()
199 if (--chip->start_count > 0) in snd_ymfpci_hw_stop()
2348 if (chip->start_count > 0) { in snd_ymfpci_resume()
/linux-4.1.27/fs/f2fs/
Dsuper.c549 block_t total_count, user_block_count, start_count, ovp_count; in f2fs_statfs() local
553 start_count = le32_to_cpu(sbi->raw_super->segment0_blkaddr); in f2fs_statfs()
558 buf->f_blocks = total_count - start_count; in f2fs_statfs()