Searched refs:thread_nr (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/mailbox/ |
D | mtk-cmdq-mailbox.c | 76 u32 thread_nr; member 87 u32 thread_nr; member 283 for_each_clear_bit(bit, &irq_status, cmdq->thread_nr) { in cmdq_irq_handler() 303 for (i = 0; i < cmdq->thread_nr; i++) { in cmdq_suspend() 543 cmdq->thread_nr = plat_data->thread_nr; in cmdq_probe() 547 cmdq->irq_mask = GENMASK(cmdq->thread_nr - 1, 0); in cmdq_probe() 583 cmdq->mbox.chans = devm_kcalloc(dev, cmdq->thread_nr, in cmdq_probe() 588 cmdq->mbox.num_chans = cmdq->thread_nr; in cmdq_probe() 596 cmdq->thread = devm_kcalloc(dev, cmdq->thread_nr, in cmdq_probe() 601 for (i = 0; i < cmdq->thread_nr; i++) { in cmdq_probe() [all …]
|
/linux-6.1.9/tools/perf/bench/ |
D | numa.c | 62 int thread_nr; member 1158 int thread_nr = td->thread_nr; in worker_thread() local 1177 set_taskname("thread %d/%d", process_nr, thread_nr); in worker_thread() 1186 if (process_nr == g->p.nr_proc-1 && thread_nr == g->p.nr_threads-1) in worker_thread() 1190 if (process_nr == 0 && thread_nr == 0) in worker_thread() 1195 process_nr, thread_nr, global_data, process_data, thread_data); in worker_thread() 1229 val += do_work(process_data, g->p.bytes_process, thread_nr, g->p.nr_threads, l, val); in worker_thread() 1242 val += do_work(process_data, g->p.bytes_process_locked, thread_nr, g->p.nr_threads, l, val); in worker_thread() 1311 process_nr, thread_nr, runtime_ns_max / bytes_done, val); in worker_thread() 1387 td->thread_nr = t; in worker_process()
|
/linux-6.1.9/tools/perf/util/ |
D | synthetic-events.c | 1012 int thread_nr; in perf_event__synthesize_threads() local 1026 thread_nr = sysconf(_SC_NPROCESSORS_ONLN); in perf_event__synthesize_threads() 1028 thread_nr = nr_threads_synthesize; in perf_event__synthesize_threads() 1030 if (thread_nr <= 1) { in perf_event__synthesize_threads() 1037 if (thread_nr > n) in perf_event__synthesize_threads() 1038 thread_nr = n; in perf_event__synthesize_threads() 1040 synthesize_threads = calloc(sizeof(pthread_t), thread_nr); in perf_event__synthesize_threads() 1044 args = calloc(sizeof(*args), thread_nr); in perf_event__synthesize_threads() 1048 num_per_thread = n / thread_nr; in perf_event__synthesize_threads() 1049 m = n % thread_nr; in perf_event__synthesize_threads() [all …]
|
/linux-6.1.9/arch/powerpc/platforms/powernv/ |
D | idle.c | 229 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()
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | cadence-nand-controller.c | 1266 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()
|