Searched refs:counter_val (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/fs/xfs/ |
D | xfs_stats.c | 10 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.1.9/drivers/scsi/csiostor/ |
D | csio_wr.c | 1297 for (i = 0; i < ARRAY_SIZE(s->counter_val); i++) { in csio_closest_thresh() 1298 delta = cnt - s->counter_val[i]; in csio_closest_thresh() 1508 sge->counter_val[0] = THRESHOLD_0_G(ingress_rx_threshold); in csio_wr_get_sge() 1509 sge->counter_val[1] = THRESHOLD_1_G(ingress_rx_threshold); in csio_wr_get_sge() 1510 sge->counter_val[2] = THRESHOLD_2_G(ingress_rx_threshold); in csio_wr_get_sge() 1511 sge->counter_val[3] = THRESHOLD_3_G(ingress_rx_threshold); in csio_wr_get_sge() 1578 sge->counter_val[0] = CSIO_SGE_INT_CNT_VAL_0; in csio_wr_set_sge() 1579 sge->counter_val[1] = CSIO_SGE_INT_CNT_VAL_1; in csio_wr_set_sge() 1580 sge->counter_val[2] = CSIO_SGE_INT_CNT_VAL_2; in csio_wr_set_sge() 1581 sge->counter_val[3] = CSIO_SGE_INT_CNT_VAL_3; in csio_wr_set_sge() [all …]
|
D | csio_wr.h | 434 uint8_t counter_val[CSIO_SGE_NCOUNTERS]; member
|
/linux-6.1.9/drivers/rtc/ |
D | rtc-sun6i.c | 533 u32 counter_val, counter_val_hms; in sun6i_rtc_setalarm() local 547 counter_val = div_u64(rtc_tm_to_time64(alrm_tm), SECS_PER_DAY); in sun6i_rtc_setalarm() 568 counter_val = time_set - time_now; in sun6i_rtc_setalarm() 577 writel(counter_val, chip->base + SUN6I_ALRM_COUNTER); in sun6i_rtc_setalarm()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | cxgb4vf_main.c | 1039 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()
|
D | adapter.h | 311 u8 counter_val[SGE_NCOUNTERS]; /* interrupt RX threshold array */ member
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_debugfs.c | 2714 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()
|
D | sge.c | 5159 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()
|
D | cxgb4.h | 991 u8 counter_val[SGE_NCOUNTERS]; member
|
D | cxgb4_ethtool.c | 1182 adap->sge.counter_val[rq->pktcnt_idx] : 0; in get_coalesce()
|
D | cxgb4_main.c | 1220 for (i = 0; i < ARRAY_SIZE(s->counter_val); i++) { in closest_thres() 1221 delta = thres - s->counter_val[i]; in closest_thres()
|