Searched refs:cntrs (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/infiniband/ulp/opa_vnic/ |
| H A D | opa_vnic_vema_iface.c | 85 struct opa_veswport_summary_counters *cntrs) in opa_vnic_get_summary_counters() argument 96 cntrs->vp_instance = cpu_to_be16(adapter->vport_num); in opa_vnic_get_summary_counters() 97 cntrs->vesw_id = cpu_to_be16(adapter->info.vesw.vesw_id); in opa_vnic_get_summary_counters() 98 cntrs->veswport_num = cpu_to_be32(adapter->port_num); in opa_vnic_get_summary_counters() 100 cntrs->tx_errors = cpu_to_be64(vstats.netstats.tx_errors); in opa_vnic_get_summary_counters() 101 cntrs->rx_errors = cpu_to_be64(vstats.netstats.rx_errors); in opa_vnic_get_summary_counters() 102 cntrs->tx_packets = cpu_to_be64(vstats.netstats.tx_packets); in opa_vnic_get_summary_counters() 103 cntrs->rx_packets = cpu_to_be64(vstats.netstats.rx_packets); in opa_vnic_get_summary_counters() 104 cntrs->tx_bytes = cpu_to_be64(vstats.netstats.tx_bytes); in opa_vnic_get_summary_counters() 105 cntrs->rx_bytes = cpu_to_be64(vstats.netstats.rx_bytes); in opa_vnic_get_summary_counters() [all …]
|
| H A D | opa_vnic_vema.c | 494 struct opa_veswport_summary_counters *cntrs; in vema_get_summary_counters() local 499 cntrs = (struct opa_veswport_summary_counters *)rsp_mad->data; in vema_get_summary_counters() 500 opa_vnic_get_summary_counters(adapter, cntrs); in vema_get_summary_counters() 516 struct opa_veswport_error_counters *cntrs; in vema_get_error_counters() local 521 cntrs = (struct opa_veswport_error_counters *)rsp_mad->data; in vema_get_error_counters() 522 opa_vnic_get_error_counters(adapter, cntrs); in vema_get_error_counters()
|
| H A D | opa_vnic_internal.h | 313 struct opa_veswport_summary_counters *cntrs); 315 struct opa_veswport_error_counters *cntrs);
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_perf.c | 81 uint32_t cntrs[5]; in refill_buf() local 91 ARRAY_SIZE(cntrs), cntrs); in refill_buf() 102 val = cntrs[i] / 10000; in refill_buf()
|
| H A D | msm_gpu.c | 680 static int update_hw_cntrs(struct msm_gpu *gpu, uint32_t ncntrs, uint32_t *cntrs) in update_hw_cntrs() argument 691 cntrs[i] = current_cntrs[i] - gpu->last_cntrs[i]; in update_hw_cntrs() 748 uint32_t *totaltime, uint32_t ncntrs, uint32_t *cntrs) in msm_gpu_perfcntr_sample() argument 765 ret = update_hw_cntrs(gpu, ncntrs, cntrs); in msm_gpu_perfcntr_sample()
|
| H A D | msm_gpu.h | 695 uint32_t *totaltime, uint32_t ncntrs, uint32_t *cntrs);
|
| /linux/drivers/net/fddi/skfp/ |
| H A D | skfddi.c | 783 bp->stats.mac_frame_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.frame_cnt.ls; in skfp_ctl_get_stats() 784 bp->stats.mac_copied_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.copied_cnt.ls; in skfp_ctl_get_stats() 785 bp->stats.mac_transmit_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.transmit_cnt.ls; in skfp_ctl_get_stats() 786 bp->stats.mac_error_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.error_cnt.ls; in skfp_ctl_get_stats() 787 bp->stats.mac_lost_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.lost_cnt.ls; in skfp_ctl_get_stats() 788 bp->stats.port_lct_fail_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[0].ls; in skfp_ctl_get_stats() 789 bp->stats.port_lct_fail_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[1].ls; in skfp_ctl_get_stats() 790 bp->stats.port_lem_reject_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[0].ls; in skfp_ctl_get_stats() 791 bp->stats.port_lem_reject_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[1].ls; in skfp_ctl_get_stats() 792 bp->stats.port_lem_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.link_errors[0].ls; in skfp_ctl_get_stats() [all …]
|
| /linux/drivers/net/fddi/ |
| H A D | defxx.c | 2203 bp->stats.mac_frame_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.frame_cnt.ls; in dfx_ctl_get_stats() 2204 bp->stats.mac_copied_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.copied_cnt.ls; in dfx_ctl_get_stats() 2205 bp->stats.mac_transmit_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.transmit_cnt.ls; in dfx_ctl_get_stats() 2206 bp->stats.mac_error_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.error_cnt.ls; in dfx_ctl_get_stats() 2207 bp->stats.mac_lost_cts = bp->cmd_rsp_virt->cntrs_get.cntrs.lost_cnt.ls; in dfx_ctl_get_stats() 2208 bp->stats.port_lct_fail_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[0].ls; in dfx_ctl_get_stats() 2209 bp->stats.port_lct_fail_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lct_rejects[1].ls; in dfx_ctl_get_stats() 2210 bp->stats.port_lem_reject_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[0].ls; in dfx_ctl_get_stats() 2211 bp->stats.port_lem_reject_cts[1] = bp->cmd_rsp_virt->cntrs_get.cntrs.lem_rejects[1].ls; in dfx_ctl_get_stats() 2212 bp->stats.port_lem_cts[0] = bp->cmd_rsp_virt->cntrs_get.cntrs.link_errors[0].ls; in dfx_ctl_get_stats() [all …]
|
| H A D | defxx.h | 923 PI_CNTR_BLK cntrs; member 931 PI_CNTR_BLK cntrs; member
|
| /linux/fs/resctrl/ |
| H A D | monitor.c | 1570 u32 cntrs, i; in resctrl_available_mbm_cntrs_show() local 1588 cntrs = 0; in resctrl_available_mbm_cntrs_show() 1591 cntrs++; in resctrl_available_mbm_cntrs_show() 1594 seq_printf(s, "%d=%u", dom->hdr.id, cntrs); in resctrl_available_mbm_cntrs_show()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | chip.c | 12200 *cntrp = dd->cntrs; in hfi1_read_cntrs() 12223 dd->cntrs[entry->offset + j] = in hfi1_read_cntrs() 12237 dd->cntrs[entry->offset + j] = in hfi1_read_cntrs() 12244 dd->cntrs[entry->offset] = val; in hfi1_read_cntrs() 12269 *cntrp = ppd->cntrs; in hfi1_read_portcntrs() 12290 ppd->cntrs[entry->offset + j] = val; in hfi1_read_portcntrs() 12297 ppd->cntrs[entry->offset] = val; in hfi1_read_portcntrs() 12315 kfree(ppd->cntrs); in free_cntrs() 12320 ppd->cntrs = NULL; in free_cntrs() 12328 kfree(dd->cntrs); in free_cntrs() [all …]
|