Home
last modified time | relevance | path

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

/linux/arch/mips/kernel/
H A Dsync-r4k.c30 static atomic_t stop_count; variable
126 while (atomic_read(&stop_count) != cpus-1) in check_counter_sync_source()
162 atomic_inc(&stop_count); in check_counter_sync_source()
205 atomic_inc(&stop_count); in synchronise_count_slave()
210 while (atomic_read(&stop_count) != cpus) in synchronise_count_slave()
216 atomic_set(&stop_count, 0); in synchronise_count_slave()
/linux/arch/x86/kernel/
H A Dtsc_sync.c246 static atomic_t stop_count; variable
380 while (atomic_read(&stop_count) != cpus-1) in check_tsc_sync_source()
419 atomic_inc(&stop_count); in check_tsc_sync_source()
476 atomic_inc(&stop_count); in check_tsc_sync_target()
481 while (atomic_read(&stop_count) != cpus) in check_tsc_sync_target()
487 atomic_set(&stop_count, 0); in check_tsc_sync_target()
/linux/drivers/comedi/drivers/
H A Dmite.c307 u32 stop_count = cmd->stop_arg * comedi_bytes_per_scan(s); in mite_sync_output_dma() local
311 bool finite_regen = (cmd->stop_src == TRIG_NONE && stop_count != 0); in mite_sync_output_dma()
316 if (cmd->stop_src == TRIG_COUNT && (int)(nbytes_lb - stop_count) > 0) in mite_sync_output_dma()
317 nbytes_lb = stop_count; in mite_sync_output_dma()
319 if (cmd->stop_src == TRIG_COUNT && (int)(nbytes_ub - stop_count) > 0) in mite_sync_output_dma()
320 nbytes_ub = stop_count; in mite_sync_output_dma()
322 if ((!finite_regen || stop_count > old_alloc_count) && in mite_sync_output_dma()
H A Dni_mio_common.c2185 unsigned int stop_count; in ni_ai_cmd() local
2248 stop_count = cmd->stop_arg - 1; in ni_ai_cmd()
2252 stop_count += num_adc_stages_611x; in ni_ai_cmd()
2255 ni_stc_writel(dev, stop_count, NISTC_AI_SC_LOADA_REG); in ni_ai_cmd()
2264 if (stop_count == 0) { in ni_ai_cmd()
/linux/drivers/media/usb/au0828/
H A Dau0828-dvb.c289 dvb->start_count, dvb->stop_count); in au0828_dvb_start_feed()
318 dvb->stop_count++; in au0828_dvb_stop_feed()
320 dvb->start_count, dvb->stop_count); in au0828_dvb_stop_feed()
497 dvb->stop_count = 0; in dvb_register()
H A Dau0828.h96 int stop_count; member
/linux/kernel/trace/
H A Dtrace.c1947 if (tr->stop_count) in update_max_tr()
1995 if (tr->stop_count) in update_max_tr_single()
2408 return global_trace.stop_count; in is_tracing_stopped()
2420 if (--tr->stop_count) { in tracing_start_tr()
2421 if (WARN_ON_ONCE(tr->stop_count < 0)) { in tracing_start_tr()
2423 tr->stop_count = 0; in tracing_start_tr()
2465 if (tr->stop_count++) in tracing_stop_tr()
4776 if (!iter->snapshot && tr->stop_count) in tracing_release()
H A Dtrace.h377 int stop_count; member