Searched refs:cntr_idx (Results 1 – 11 of 11) sorted by relevance
580 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()
231 config->cntr_idx = 0x0; in reset_store()1508 val = config->cntr_idx; in cntr_idx_show()1530 config->cntr_idx = val; in cntr_idx_store()1534 static DEVICE_ATTR_RW(cntr_idx);1546 idx = config->cntr_idx; in cntrldvr_show()1567 idx = config->cntr_idx; in cntrldvr_store()1584 idx = config->cntr_idx; in cntr_val_show()1605 idx = config->cntr_idx; in cntr_val_store()1622 idx = config->cntr_idx; in cntr_ctrl_show()1641 idx = config->cntr_idx; in cntr_ctrl_store()
189 u8 cntr_idx; member
274 u8 cntr_idx; member
1215 int cntr_idx, escr_idx; in p4_pmu_schedule_events() local1243 cntr_idx = hwc->idx; in p4_pmu_schedule_events()1249 cntr_idx = p4_next_cntr(thread, used_mask, bind); in p4_pmu_schedule_events()1250 if (cntr_idx == -1 || test_bit(escr_idx, escr_mask)) { in p4_pmu_schedule_events()1281 assign[i] = cntr_idx; in p4_pmu_schedule_events()1283 set_bit(cntr_idx, used_mask); in p4_pmu_schedule_events()
61 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/cntr_idx71 Description: (RW) Used in conjunction with cntr_idx, give access to the78 Description: (RW) Used in conjunction with cntr_idx, give access to the85 Description: (RW) Used in conjunction with cntr_idx, give access to the92 Description: (RW) Used in conjunction with cntr_idx, give access to the
208 What: /sys/bus/coresight/devices/etm<N>/cntr_idx
44 static u32 hisi_l3c_pmu_get_counter_offset(int cntr_idx) in hisi_l3c_pmu_get_counter_offset() argument46 return (L3C_CNTR0_LOWER + (cntr_idx * 8)); in hisi_l3c_pmu_get_counter_offset()
45 static u32 hisi_hha_pmu_get_counter_offset(int cntr_idx) in hisi_hha_pmu_get_counter_offset() argument47 return (HHA_CNT0_LOWER + (cntr_idx * 8)); in hisi_hha_pmu_get_counter_offset()
59 static u32 hisi_ddrc_pmu_get_counter_offset(int cntr_idx) in hisi_ddrc_pmu_get_counter_offset() argument61 return ddrc_reg_off[cntr_idx]; in hisi_ddrc_pmu_get_counter_offset()
330 :File: ``cntr_idx`` (rw)336 ``echo idx > cntr_idx``347 :Depends: ``cntr_idx``360 :Depends: ``cntr_idx``