Home
last modified time | relevance | path

Searched refs:counter_id (Results 1 – 25 of 26) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_profiling.c378 if ((global_mali_profiling_counters[counter_index].counter_id >= FIRST_MEM_COUNTER && in _mali_profiling_sampling_counters()
379 global_mali_profiling_counters[counter_index].counter_id <= LAST_MEM_COUNTER) in _mali_profiling_sampling_counters()
380 || (global_mali_profiling_counters[counter_index].counter_id == COUNTER_VP_ACTIVITY) in _mali_profiling_sampling_counters()
381 || (global_mali_profiling_counters[counter_index].counter_id == COUNTER_FP_ACTIVITY) in _mali_profiling_sampling_counters()
382 || (global_mali_profiling_counters[counter_index].counter_id == COUNTER_FILMSTRIP)) { in _mali_profiling_sampling_counters()
387 if (global_mali_profiling_counters[counter_index].counter_id >= COUNTER_L2_0_C0 && in _mali_profiling_sampling_counters()
388 global_mali_profiling_counters[counter_index].counter_id <= COUNTER_L2_2_C1) { in _mali_profiling_sampling_counters()
400 if (global_mali_profiling_counters[counter_index].counter_id == COUNTER_TOTAL_ALLOC_PAGES) { in _mali_profiling_sampling_counters()
406 if (global_mali_profiling_counters[counter_index].counter_id < FIRST_SPECIAL_COUNTER) in _mali_profiling_sampling_counters()
427 static void _mali_profiling_sampling_core_activity_switch(int counter_id, int core, u32 activity, u… in _mali_profiling_sampling_core_activity_switch() argument
[all …]
H A Dmali_linux_trace.h77 TP_PROTO(unsigned int counter_id, unsigned int value),
79 TP_ARGS(counter_id, value),
82 __field(unsigned int, counter_id)
87 __entry->counter_id = counter_id;
90 TP_printk("event %d = %d", __entry->counter_id, __entry->value)
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/common/
H A Dmali_osk_profiling.h74 #define _mali_osk_profiling_report_hw_counter(counter_id, value) trace_mali_hw_counter(counter_id, … argument
83 void _mali_osk_profiling_record_global_counters(int counter_id, u32 value);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfs_tracepoint.h57 #define __parse_fs_dst(dst, counter_id) \ argument
58 parse_fs_dst(p, (const struct mlx5_flow_destination *)dst, counter_id)
62 u32 counter_id);
281 __field(u32, counter_id)
294 __entry->counter_id =
295 rule->dest_attr.counter_id;
300 __parse_fs_dst(__entry->destination, __entry->counter_id))
H A Dfs_tracepoint.c233 u32 counter_id) in parse_fs_dst() argument
251 trace_seq_printf(p, "counter_id=%u\n", counter_id); in parse_fs_dst()
/OK3568_Linux_fs/kernel/include/rdma/
H A Drdma_counter.h56 u32 qp_num, u32 counter_id);
58 u32 qp_num, u32 *counter_id);
60 u32 qp_num, u32 counter_id);
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Dcounters.c432 u32 counter_id) in rdma_get_counter_by_id() argument
437 res = rdma_restrack_get_byid(dev, RDMA_RESTRACK_COUNTER, counter_id); in rdma_get_counter_by_id()
452 u32 qp_num, u32 counter_id) in rdma_counter_bind_qpn() argument
467 counter = rdma_get_counter_by_id(dev, counter_id); in rdma_counter_bind_qpn()
497 u32 qp_num, u32 *counter_id) in rdma_counter_bind_qpn_alloc() argument
533 if (counter_id) in rdma_counter_bind_qpn_alloc()
534 *counter_id = counter->id; in rdma_counter_bind_qpn_alloc()
552 u32 qp_num, u32 counter_id) in rdma_counter_unbind_qpn() argument
571 if (!qp->counter || qp->counter->id != counter_id || in rdma_counter_unbind_qpn()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/include/linux/mali/
H A Dmali_utgard_profiling_gator_api.h271 u32 counter_id; member
295 int _mali_profiling_set_event(u32 counter_id, s32 event_id);
H A Dmali_utgard_uk_types.h457 u32 counter_id; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/
H A Dice_switch.h213 u16 *counter_id);
216 u16 counter_id);
H A Dice_switch.c2688 u16 *counter_id) in ice_alloc_res_cntr() argument
2709 *counter_id = le16_to_cpu(buf->elem[0].e.sw_resp); in ice_alloc_res_cntr()
2726 u16 counter_id) in ice_free_res_cntr() argument
2741 buf->elem[0].e.sw_resp = cpu_to_le16(counter_id); in ice_free_res_cntr()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/
H A Dfs.c987 dest_arr[dest_num].counter_id = in _create_flow_rule()
1478 u32 counter_id, void *cmd_in, int inlen, int dest_id, int dest_type) in raw_fs_rule_add() argument
1527 dst[dst_num].counter_id = counter_id; in raw_fs_rule_add()
1902 static bool is_flow_counter(void *obj, u32 offset, u32 *counter_id) in is_flow_counter() argument
1912 *counter_id = MLX5_GET(dealloc_flow_counter_in, in is_flow_counter()
1915 *counter_id += offset; in is_flow_counter()
1928 u32 *offset_attr, offset = 0, counter_id = 0; in UVERBS_HANDLER() local
1980 if (!is_flow_counter(devx_obj, offset, &counter_id)) in UVERBS_HANDLER()
2020 counter_id, cmd_in, inlen, dest_id, dest_type); in UVERBS_HANDLER()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Dmlx5dr.h103 mlx5dr_action_create_flow_counter(u32 counter_id);
H A Dfs_dr.c454 id = dst->dest_attr.counter_id; in mlx5_cmd_dr_create_fte()
H A Ddr_action.c1123 mlx5dr_action_create_flow_counter(u32 counter_id) in mlx5dr_action_create_flow_counter() argument
1131 action->ctr.ctr_id = counter_id; in mlx5dr_action_create_flow_counter()
H A Ddr_cmd.c670 fte->dest_arr[i].counter_id); in mlx5dr_cmd_set_fte()
H A Ddr_types.h1110 u32 counter_id; member
/OK3568_Linux_fs/kernel/include/linux/mlx5/
H A Dfs.h128 u32 counter_id; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Degress_lgcy.c133 drop_ctr_dst.counter_id = mlx5_fc_id(drop_counter); in esw_acl_egress_lgcy_setup()
H A Dingress_lgcy.c241 drop_ctr_dst.counter_id = mlx5_fc_id(counter); in esw_acl_ingress_lgcy_setup()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.h634 u8 counter_id; member
H A Dhclge_main.c5099 HCLGE_FD_AD_COUNTER_NUM_S, action->counter_id); in hclge_fd_ad_config()
5102 action->counter_id); in hclge_fd_ad_config()
5349 ad_data.counter_id = 0; in hclge_config_action()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.c545 dst->dest_attr.counter_id); in mlx5_cmd_set_fte()
H A Deswitch_offloads.c384 dest[i].counter_id = mlx5_fc_id(attr->counter); in mlx5_eswitch_add_offloaded_rule()
/OK3568_Linux_fs/kernel/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c1302 dest[1].counter_id = mlx5_fc_id(ndev->rx_counter); in add_fwd_to_tir()

12