Home
last modified time | relevance | path

Searched refs:thread_nr (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/mailbox/
Dmtk-cmdq-mailbox.c73 u32 thread_nr; member
82 u32 thread_nr; member
276 for_each_clear_bit(bit, &irq_status, cmdq->thread_nr) { in cmdq_irq_handler()
296 for (i = 0; i < cmdq->thread_nr; i++) { in cmdq_suspend()
538 cmdq->thread_nr = plat_data->thread_nr; in cmdq_probe()
540 cmdq->irq_mask = GENMASK(cmdq->thread_nr - 1, 0); in cmdq_probe()
558 cmdq->mbox.chans = devm_kcalloc(dev, cmdq->thread_nr, in cmdq_probe()
563 cmdq->mbox.num_chans = cmdq->thread_nr; in cmdq_probe()
571 cmdq->thread = devm_kcalloc(dev, cmdq->thread_nr, in cmdq_probe()
576 for (i = 0; i < cmdq->thread_nr; i++) { in cmdq_probe()
[all …]
/kernel/linux/linux-5.10/tools/perf/bench/
Dnuma.c61 int thread_nr; member
1109 int thread_nr = td->thread_nr; in worker_thread() local
1128 set_taskname("thread %d/%d", process_nr, thread_nr); in worker_thread()
1137 if (process_nr == g->p.nr_proc-1 && thread_nr == g->p.nr_threads-1) in worker_thread()
1141 if (process_nr == 0 && thread_nr == 0) in worker_thread()
1146 process_nr, thread_nr, global_data, process_data, thread_data); in worker_thread()
1180 val += do_work(process_data, g->p.bytes_process, thread_nr, g->p.nr_threads, l, val); in worker_thread()
1193 val += do_work(process_data, g->p.bytes_process_locked, thread_nr, g->p.nr_threads, l, val); in worker_thread()
1261 process_nr, thread_nr, runtime_ns_max / bytes_done, val); in worker_thread()
1337 td->thread_nr = t; in worker_process()
/kernel/linux/linux-5.10/tools/perf/util/
Dsynthetic-events.c909 int thread_nr; in perf_event__synthesize_threads() local
923 thread_nr = sysconf(_SC_NPROCESSORS_ONLN); in perf_event__synthesize_threads()
925 thread_nr = nr_threads_synthesize; in perf_event__synthesize_threads()
927 if (thread_nr <= 1) { in perf_event__synthesize_threads()
933 if (thread_nr > n) in perf_event__synthesize_threads()
934 thread_nr = n; in perf_event__synthesize_threads()
936 synthesize_threads = calloc(sizeof(pthread_t), thread_nr); in perf_event__synthesize_threads()
940 args = calloc(sizeof(*args), thread_nr); in perf_event__synthesize_threads()
944 num_per_thread = n / thread_nr; in perf_event__synthesize_threads()
945 m = n % thread_nr; in perf_event__synthesize_threads()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Didle.c229 int thread_nr = cpu_thread_in_core(cpu); in atomic_start_thread_idle() local
232 clear_bit(thread_nr, state); in atomic_start_thread_idle()
239 int thread_nr = cpu_thread_in_core(cpu); in atomic_stop_thread_idle() local
242 set_bit(thread_nr, state); in atomic_stop_thread_idle()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dcadence-nand-controller.c1266 u8 thread_nr = chip_nr; in cadence_nand_cdma_transfer() local
1297 status = cadence_nand_cdma_send_and_wait(cdns_ctrl, thread_nr); in cadence_nand_cdma_transfer()
1370 u8 thread_nr = cdns_chip->cs[chip->cur_cs]; in cadence_nand_erase() local
1376 status = cadence_nand_cdma_send_and_wait(cdns_ctrl, thread_nr); in cadence_nand_erase()
1875 u8 thread_nr = 0; in cadence_nand_read_buf() local
1880 status = cadence_nand_wait_on_sdma(cdns_ctrl, &thread_nr, &sdma_size); in cadence_nand_read_buf()
1929 u8 thread_nr = 0; in cadence_nand_write_buf() local
1934 status = cadence_nand_wait_on_sdma(cdns_ctrl, &thread_nr, &sdma_size); in cadence_nand_write_buf()