Home
last modified time | relevance | path

Searched refs:total_count (Results 1 – 21 of 21) sorted by relevance

/drivers/devfreq/event/
A Dexynos-ppmu.c206 unsigned int total_count, load_count; in exynos_ppmu_get_event() local
225 ret = regmap_read(info->regmap, PPMU_CCNT, &total_count); in exynos_ppmu_get_event()
228 edata->total_count = total_count; in exynos_ppmu_get_event()
266 edata->load_count, edata->total_count); in exynos_ppmu_get_event()
427 unsigned int total_count, count; in exynos_ppmu_v2_get_event() local
441 ret = regmap_read(info->regmap, PPMU_V2_CCNT, &total_count); in exynos_ppmu_v2_get_event()
444 edata->total_count = total_count; in exynos_ppmu_v2_get_event()
481 edata->load_count, edata->total_count); in exynos_ppmu_v2_get_event()
A Drockchip-dfi.c97 struct dmc_count total_count; member
277 edata->total_count = clock_cycles; in rockchip_dfi_get_event()
301 res->c[i].read_access = dfi->total_count.c[i].read_access + in rockchip_ddr_perf_counters_add()
303 res->c[i].write_access = dfi->total_count.c[i].write_access + in rockchip_ddr_perf_counters_add()
305 res->c[i].access = dfi->total_count.c[i].access + in rockchip_ddr_perf_counters_add()
307 res->c[i].clock_cycles = dfi->total_count.c[i].clock_cycles + in rockchip_ddr_perf_counters_add()
508 dfi->total_count = (struct dmc_count){}; in rockchip_ddr_perf_event_add()
546 dfi->total_count = total; in rockchip_dfi_timer()
A Dexynos-nocp.c168 edata->total_count = ((counter[3] << 16) | counter[2]); in exynos_nocp_get_event()
171 edata->load_count, edata->total_count); in exynos_nocp_get_event()
/drivers/devfreq/
A Dexynos-bus.c67 unsigned long load_count = 0, total_count = 0; in exynos_bus_get_event() local
80 total_count = event_data.total_count; in exynos_bus_get_event()
85 edata->total_count = total_count; in exynos_bus_get_event()
136 stat->total_time = edata.total_count; in exynos_bus_get_dev_status()
A Ddevfreq-event.c174 edata->total_count = edata->load_count = 0; in devfreq_event_get_event()
179 edata->total_count = edata->load_count = 0; in devfreq_event_get_event()
A Drk3399_dmc.c232 stat->total_time = edata.total_count; in rk3399_dmcfreq_get_dev_status()
/drivers/misc/
A Dntsync.c878 __u32 total_count; in setup_wait() local
887 total_count = count; in setup_wait()
889 total_count++; in setup_wait()
896 q = kmalloc(struct_size(q, entries, total_count), GFP_KERNEL); in setup_wait()
906 for (i = 0; i < total_count; i++) { in setup_wait()
956 __u32 i, total_count; in ntsync_wait_any() local
969 total_count = args.count; in ntsync_wait_any()
971 total_count++; in ntsync_wait_any()
975 for (i = 0; i < total_count; i++) { in ntsync_wait_any()
992 for (i = 0; i < total_count; i++) { in ntsync_wait_any()
[all …]
/drivers/memory/samsung/
A Dexynos5422-dmc.c728 unsigned long *total_count) in exynos5_counters_get() argument
747 if (total < event.total_count) in exynos5_counters_get()
748 total = event.total_count; in exynos5_counters_get()
751 *total_count = total; in exynos5_counters_get()
/drivers/net/ethernet/intel/igb/
A Digb_xsk.c206 u16 total_count = count; in igb_alloc_rx_buffers_zc() local
247 return total_count == (nb_buffs + nb_buffs_extra); in igb_alloc_rx_buffers_zc()
/drivers/net/ethernet/pasemi/
A Dpasemi_mac.c821 unsigned int total_count; in pasemi_mac_clean_tx() local
828 total_count = 0; in pasemi_mac_clean_tx()
896 total_count += descr_count; in pasemi_mac_clean_tx()
902 return total_count; in pasemi_mac_clean_tx()
/drivers/net/ethernet/intel/ice/
A Dice_xsk.c481 u16 total_count = count; in __ice_alloc_rx_bufs_zc() local
511 return total_count == (nb_buffs_extra + nb_buffs); in __ice_alloc_rx_bufs_zc()
/drivers/md/
A Ddm-thin-metadata.c1704 unsigned int count, total_count = 0; in __remove_range() local
1746 total_count += count; in __remove_range()
1749 td->mapped_blocks -= total_count; in __remove_range()
/drivers/tty/
A Dsynclink_gt.c4722 unsigned int total_count = 0; in tbuf_bytes() local
4742 total_count += count; in tbuf_bytes()
4743 else if (!total_count) in tbuf_bytes()
4754 total_count += active_buf_count; in tbuf_bytes()
4757 total_count += (reg_value >> 8) & 0xff; in tbuf_bytes()
4761 total_count++; in tbuf_bytes()
4763 return total_count; in tbuf_bytes()
/drivers/scsi/cxgbi/
A Dlibcxgbi.h550 u32 total_count; member
A Dlibcxgbi.c1874 tdata->total_count = count; in cxgbi_task_data_sgl_read()
1880 __func__, offset, count, err, tdata->total_count, tdata->total_offset); in cxgbi_task_data_sgl_read()
2178 tdata->total_count = 0; in cxgbi_conn_init_pdu()
2187 tdata->total_count, tdata->total_offset); in cxgbi_conn_init_pdu()
2189 expected_count = tdata->total_count; in cxgbi_conn_init_pdu()
/drivers/infiniband/hw/hfi1/
A Dsdma.c2422 u32 submit_count = 0, flush_count = 0, total_count; in sdma_send_txlist() local
2446 total_count = submit_count + flush_count; in sdma_send_txlist()
2448 iowait_sdma_add(iowait_ioww_to_iow(wait), total_count); in sdma_send_txlist()
2455 *count_out = total_count; in sdma_send_txlist()
/drivers/gpu/drm/amd/display/dc/
A Ddc.h707 unsigned long long total_count; member
722 dc->debug.bw_val_profile.total_count++
/drivers/acpi/arm64/
A Diort.c935 u32 total_count = count + new_count; in iort_rmr_alloc_sids() local
943 for (i = count; i < total_count; i++) in iort_rmr_alloc_sids()
/drivers/net/ethernet/mellanox/mlx4/
A Den_netdev.c98 int total_count; in mlx4_en_alloc_tx_queue_per_tc() local
112 total_count = new_prof.tx_ring_num[TX] + new_prof.tx_ring_num[TX_XDP]; in mlx4_en_alloc_tx_queue_per_tc()
113 if (total_count > MAX_TX_RINGS) { in mlx4_en_alloc_tx_queue_per_tc()
117 total_count, MAX_TX_RINGS); in mlx4_en_alloc_tx_queue_per_tc()
/drivers/infiniband/sw/rdmavt/
A Dqp.c238 atomic_sub(weight, &wss->total_count); in wss_advance_clean_counter()
252 atomic_inc(&wss->total_count); in wss_insert()
262 return atomic_read(&wss->total_count) >= wss->threshold; in wss_exceeds_threshold()
/drivers/regulator/
A Dcore.c3163 int total_count = 0; in regulator_disable_work() local
3181 total_count += count; in regulator_disable_work()
3191 WARN_ON(!total_count); in regulator_disable_work()

Completed in 101 milliseconds