Home
last modified time | relevance | path

Searched refs:counter_val (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/fs/xfs/
Dxfs_stats.c10 static int counter_val(struct xfsstats __percpu *stats, int idx) in counter_val() function
66 counter_val(stats, j)); in xfs_stats_format()
118 0, counter_val(xfsstats.xs_stats, XFSSTAT_END_XQMSTAT), in xqm_proc_show()
119 0, counter_val(xfsstats.xs_stats, XFSSTAT_END_XQMSTAT + 1)); in xqm_proc_show()
130 seq_printf(m, " %u", counter_val(xfsstats.xs_stats, j)); in xqmstat_proc_show()
/linux-6.6.21/arch/riscv/kvm/
Dvcpu_pmu.c41 if (!pmc->counter_val) in kvm_pmu_get_sample_period()
44 sample_period = (-pmc->counter_val) & counter_val_mask; in kvm_pmu_get_sample_period()
211 pmc->counter_val = kvpmu->fw_event[fevent_code].value; in pmu_ctr_read()
213 pmc->counter_val += perf_event_read_value(pmc->perf_event, &enabled, &running); in pmu_ctr_read()
217 *out_val = pmc->counter_val; in pmu_ctr_read()
241 pmc->counter_val = 0; in kvm_pmu_create_perf_event()
359 pmc->counter_val = ival; in kvm_riscv_vcpu_pmu_ctr_start()
374 kvpmu->fw_event[fevent_code].value = pmc->counter_val; in kvm_riscv_vcpu_pmu_ctr_start()
437 pmc->counter_val += perf_event_read_value(pmc->perf_event, in kvm_riscv_vcpu_pmu_ctr_stop()
622 pmc->counter_val = 0; in kvm_riscv_vcpu_pmu_deinit()
/linux-6.6.21/drivers/scsi/csiostor/
Dcsio_wr.c1296 for (i = 0; i < ARRAY_SIZE(s->counter_val); i++) { in csio_closest_thresh()
1297 delta = cnt - s->counter_val[i]; in csio_closest_thresh()
1507 sge->counter_val[0] = THRESHOLD_0_G(ingress_rx_threshold); in csio_wr_get_sge()
1508 sge->counter_val[1] = THRESHOLD_1_G(ingress_rx_threshold); in csio_wr_get_sge()
1509 sge->counter_val[2] = THRESHOLD_2_G(ingress_rx_threshold); in csio_wr_get_sge()
1510 sge->counter_val[3] = THRESHOLD_3_G(ingress_rx_threshold); in csio_wr_get_sge()
1577 sge->counter_val[0] = CSIO_SGE_INT_CNT_VAL_0; in csio_wr_set_sge()
1578 sge->counter_val[1] = CSIO_SGE_INT_CNT_VAL_1; in csio_wr_set_sge()
1579 sge->counter_val[2] = CSIO_SGE_INT_CNT_VAL_2; in csio_wr_set_sge()
1580 sge->counter_val[3] = CSIO_SGE_INT_CNT_VAL_3; in csio_wr_set_sge()
[all …]
Dcsio_wr.h434 uint8_t counter_val[CSIO_SGE_NCOUNTERS]; member
/linux-6.6.21/drivers/rtc/
Drtc-sun6i.c525 u32 counter_val, counter_val_hms; in sun6i_rtc_setalarm() local
539 counter_val = div_u64(rtc_tm_to_time64(alrm_tm), SECS_PER_DAY); in sun6i_rtc_setalarm()
560 counter_val = time_set - time_now; in sun6i_rtc_setalarm()
569 writel(counter_val, chip->base + SUN6I_ALRM_COUNTER); in sun6i_rtc_setalarm()
/linux-6.6.21/arch/riscv/include/asm/
Dkvm_vcpu_pmu.h33 u64 counter_val; member
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c1039 for (i = 0; i < ARRAY_SIZE(s->counter_val); i++) { in closest_thres()
1040 delta = thres - s->counter_val[i]; in closest_thres()
1665 ? adapter->sge.counter_val[rspq->pktcnt_idx] in cxgb4vf_get_coalesce()
2086 adapter->sge.counter_val[rxq[qs].rspq.pktcnt_idx]); in sge_qinfo_show()
2106 adapter->sge.counter_val[evtq->pktcnt_idx]); in sge_qinfo_show()
2117 adapter->sge.counter_val[intrq->pktcnt_idx]); in sge_qinfo_show()
2610 s->counter_val[0] = THRESHOLD_0_G(sge_params->sge_ingress_rx_threshold); in adap_init0()
2611 s->counter_val[1] = THRESHOLD_1_G(sge_params->sge_ingress_rx_threshold); in adap_init0()
2612 s->counter_val[2] = THRESHOLD_2_G(sge_params->sge_ingress_rx_threshold); in adap_init0()
2613 s->counter_val[3] = THRESHOLD_3_G(sge_params->sge_ingress_rx_threshold); in adap_init0()
Dadapter.h311 u8 counter_val[SGE_NCOUNTERS]; /* interrupt RX threshold array */ member
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.c2714 S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
2773 S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
2828 S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
2951 S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
2981 S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
3001 S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
3027 S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
3053 S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
3087 S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
3132 s->counter_val[evtq->pktcnt_idx]); in sge_qinfo_show()
Dsge.c5159 s->counter_val[0] = THRESHOLD_0_G(ingress_rx_threshold); in t4_sge_init_soft()
5160 s->counter_val[1] = THRESHOLD_1_G(ingress_rx_threshold); in t4_sge_init_soft()
5161 s->counter_val[2] = THRESHOLD_2_G(ingress_rx_threshold); in t4_sge_init_soft()
5162 s->counter_val[3] = THRESHOLD_3_G(ingress_rx_threshold); in t4_sge_init_soft()
Dcxgb4.h991 u8 counter_val[SGE_NCOUNTERS]; member
Dcxgb4_ethtool.c1182 adap->sge.counter_val[rq->pktcnt_idx] : 0; in get_coalesce()
Dcxgb4_main.c1219 for (i = 0; i < ARRAY_SIZE(s->counter_val); i++) { in closest_thres()
1220 delta = thres - s->counter_val[i]; in closest_thres()