Home
last modified time | relevance | path

Searched refs:cntr_idx (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/drivers/perf/hisilicon/
Dhisi_uncore_ddrc_pmu.c71 static u32 hisi_ddrc_pmu_v1_get_counter_offset(int cntr_idx) in hisi_ddrc_pmu_v1_get_counter_offset() argument
73 return ddrc_reg_off[cntr_idx]; in hisi_ddrc_pmu_v1_get_counter_offset()
76 static u32 hisi_ddrc_pmu_v2_get_counter_offset(int cntr_idx) in hisi_ddrc_pmu_v2_get_counter_offset() argument
78 return DDRC_V2_EVENT_CNT + cntr_idx * 8; in hisi_ddrc_pmu_v2_get_counter_offset()
Dhisi_uncore_hha_pmu.c163 static u32 hisi_hha_pmu_get_counter_offset(int cntr_idx) in hisi_hha_pmu_get_counter_offset() argument
165 return (HHA_CNT0_LOWER + (cntr_idx * 8)); in hisi_hha_pmu_get_counter_offset()
Dhisi_uncore_l3c_pmu.c228 static u32 hisi_l3c_pmu_get_counter_offset(int cntr_idx) in hisi_l3c_pmu_get_counter_offset() argument
230 return (L3C_CNTR0_LOWER + (cntr_idx * 8)); in hisi_l3c_pmu_get_counter_offset()
/Linux-v6.1/drivers/hwtracing/coresight/
Dcoresight-etm3x-sysfs.c580 val = config->cntr_idx; in cntr_idx_show()
604 config->cntr_idx = val; in cntr_idx_store()
609 static DEVICE_ATTR_RW(cntr_idx);
619 val = config->cntr_rld_val[config->cntr_idx]; in cntr_rld_val_show()
639 config->cntr_rld_val[config->cntr_idx] = val; in cntr_rld_val_store()
654 val = config->cntr_event[config->cntr_idx]; in cntr_event_show()
674 config->cntr_event[config->cntr_idx] = val & ETM_EVENT_MASK; in cntr_event_store()
689 val = config->cntr_rld_event[config->cntr_idx]; in cntr_rld_event_show()
709 config->cntr_rld_event[config->cntr_idx] = val & ETM_EVENT_MASK; in cntr_rld_event_store()
755 config->cntr_val[config->cntr_idx] = val; in cntr_val_store()
Dcoresight-etm4x-sysfs.c232 config->cntr_idx = 0x0; in reset_store()
1516 val = config->cntr_idx; in cntr_idx_show()
1538 config->cntr_idx = val; in cntr_idx_store()
1542 static DEVICE_ATTR_RW(cntr_idx);
1554 idx = config->cntr_idx; in cntrldvr_show()
1575 idx = config->cntr_idx; in cntrldvr_store()
1592 idx = config->cntr_idx; in cntr_val_show()
1613 idx = config->cntr_idx; in cntr_val_store()
1630 idx = config->cntr_idx; in cntr_ctrl_show()
1649 idx = config->cntr_idx; in cntr_ctrl_store()
Dcoresight-etm.h189 u8 cntr_idx; member
Dcoresight-etm4x.h868 u8 cntr_idx; member
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-bus-coresight-devices-etm3x61 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/cntr_idx
71 Description: (RW) Used in conjunction with cntr_idx, give access to the
78 Description: (RW) Used in conjunction with cntr_idx, give access to the
85 Description: (RW) Used in conjunction with cntr_idx, give access to the
92 Description: (RW) Used in conjunction with cntr_idx, give access to the
Dsysfs-bus-coresight-devices-etm4x208 What: /sys/bus/coresight/devices/etm<N>/cntr_idx
/Linux-v6.1/arch/x86/events/intel/
Dp4.c1248 int cntr_idx, escr_idx; in p4_pmu_schedule_events() local
1276 cntr_idx = hwc->idx; in p4_pmu_schedule_events()
1282 cntr_idx = p4_next_cntr(thread, used_mask, bind); in p4_pmu_schedule_events()
1283 if (cntr_idx == -1 || test_bit(escr_idx, escr_mask)) { in p4_pmu_schedule_events()
1314 assign[i] = cntr_idx; in p4_pmu_schedule_events()
1316 set_bit(cntr_idx, used_mask); in p4_pmu_schedule_events()
/Linux-v6.1/Documentation/trace/coresight/
Dcoresight-etm4x-reference.rst344 :File: ``cntr_idx`` (rw)
350 ``echo idx > cntr_idx``
361 :Depends: ``cntr_idx``
374 :Depends: ``cntr_idx``