Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kernel/
H A Dtsc_sync.c245 static atomic_t start_count; variable
370 while (atomic_read(&start_count) != cpus - 1) in check_tsc_sync_source()
376 atomic_inc(&start_count); in check_tsc_sync_source()
410 atomic_set(&start_count, 0); in check_tsc_sync_source()
462 atomic_inc(&start_count); in check_tsc_sync_target()
463 while (atomic_read(&start_count) != cpus) in check_tsc_sync_target()
/openbmc/linux/lib/
H A Dpercpu-refcount.c68 unsigned long start_count = 0; in percpu_ref_init() local
90 start_count += PERCPU_COUNT_BIAS; in percpu_ref_init()
96 start_count++; in percpu_ref_init()
98 atomic_long_set(&data->count, start_count); in percpu_ref_init()
/openbmc/linux/drivers/s390/char/
H A Dsclp.c156 u16 start_count; in sclp_trace_req() member
164 summary.start_count = (u16)req->start_count; in sclp_trace_req()
413 req->start_count++; in __sclp_start_request()
453 if (req->start_count > 1) { in sclp_process_queue()
503 req->start_count = 0; in sclp_add_request()
597 sclp_read_req.start_count = 0; in __sclp_make_read_req()
950 sclp_init_req.start_count = 0; in __sclp_make_init_req()
H A Dsclp.h252 int start_count; /* number of SVCs done for this req */ member
/openbmc/linux/arch/ia64/kernel/
H A Dmca.c1472 static int start_count = -1; in ia64_mca_cmc_int_caller() local
1478 if (start_count == -1) in ia64_mca_cmc_int_caller()
1479 start_count = IA64_LOG_COUNT(SAL_INFO_TYPE_CMC); in ia64_mca_cmc_int_caller()
1489 if (start_count == IA64_LOG_COUNT(SAL_INFO_TYPE_CMC)) { in ia64_mca_cmc_int_caller()
1500 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()
/openbmc/linux/drivers/ata/
H A Dpata_pdc2027x.c587 long start_count, end_count; in pdc_detect_pll_input_clock() local
598 start_count = pdc_read_counter(host); in pdc_detect_pll_input_clock()
617 pll_clock = ((start_count - end_count) & 0x3fffffff) / 100 * in pdc_detect_pll_input_clock()
621 start_count, end_count, pll_clock); in pdc_detect_pll_input_clock()
/openbmc/linux/drivers/media/usb/au0828/
H A Dau0828-dvb.c287 dvb->start_count++; in au0828_dvb_start_feed()
289 dvb->start_count, dvb->stop_count); in au0828_dvb_start_feed()
320 dvb->start_count, dvb->stop_count); in au0828_dvb_stop_feed()
496 dvb->start_count = 0; in dvb_register()
H A Dau0828.h95 int start_count; member
/openbmc/linux/drivers/net/wwan/
H A Dwwan_core.c76 unsigned int start_count; member
512 if (port->start_count) in wwan_remove_port()
567 if (!port->start_count) in wwan_port_op_start()
571 port->start_count++; in wwan_port_op_start()
582 port->start_count--; in wwan_port_op_stop()
583 if (!port->start_count) { in wwan_port_op_stop()
/openbmc/linux/drivers/tty/serial/
H A Dmux.c210 __u32 start_count = port->icount.rx; in mux_read() local
235 if (start_count != port->icount.rx) in mux_read()
/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dq6apm.h87 int start_count; member
H A Dq6apm.c676 if (ar_graph->start_count == 0) in q6apm_graph_start()
679 ar_graph->start_count++; in q6apm_graph_start()
689 if (--ar_graph->start_count > 0) in q6apm_graph_stop()
/openbmc/linux/drivers/media/mc/
H A Dmc-entity.c779 if (pipe->start_count) { in __media_pipeline_start()
780 pipe->start_count++; in __media_pipeline_start()
881 pipe->start_count++; in __media_pipeline_start()
929 if (--pipe->start_count) in __media_pipeline_stop()
/openbmc/linux/sound/pci/ymfpci/
H A Dymfpci.h349 int start_count; member
H A Dymfpci_main.c165 if (chip->start_count++ > 0) in snd_ymfpci_hw_start()
180 if (--chip->start_count > 0) in snd_ymfpci_hw_stop()
2275 if (chip->start_count > 0) { in snd_ymfpci_resume()
/openbmc/linux/drivers/clocksource/
H A Darm_arch_timer.c1104 u64 start_count; in arch_counter_register() local
1143 start_count = arch_timer_read_counter(); in arch_counter_register()
1148 &cyclecounter, start_count); in arch_counter_register()
/openbmc/linux/arch/mips/kvm/
H A Dvz.c390 u32 start_count, after_count; in _kvm_vz_restore_htimer() local
398 kvm_mips_freeze_hrtimer(vcpu, &start_count); in _kvm_vz_restore_htimer()
399 write_c0_gtoffset(start_count - read_c0_count()); in _kvm_vz_restore_htimer()
413 if (after_count - start_count > compare - start_count - 1) in _kvm_vz_restore_htimer()
/openbmc/linux/drivers/perf/hisilicon/
H A Dhisi_pcie_pmu.c581 goto start_count; in hisi_pcie_pmu_add()
593 start_count: in hisi_pcie_pmu_add()
H A Dhns3_pmu.c1357 goto start_count; in hns3_pmu_add()
1367 start_count: in hns3_pmu_add()
/openbmc/linux/include/media/
H A Dmedia-entity.h112 int start_count; member
/openbmc/linux/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-capture.c954 if (rkisp1->pipe.start_count < 2) in rkisp1_pipeline_stream_disable()
984 if (rkisp1->pipe.start_count > 1) in rkisp1_pipeline_stream_enable()
/openbmc/linux/fs/f2fs/
H A Dsuper.c1804 block_t total_count, user_block_count, start_count; in f2fs_statfs() local
1809 start_count = le32_to_cpu(sbi->raw_super->segment0_blkaddr); in f2fs_statfs()
1813 buf->f_blocks = total_count - start_count; in f2fs_statfs()