Home
last modified time | relevance | path

Searched refs:stat_idx (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_msg.c716 static inline char *mksstat_init_record_time(mksstat_kern_stats_t stat_idx, in mksstat_init_record_time() argument
719 char *const pstrd = pstrs + strlen(mksstat_kern_name_desc[stat_idx][0]) + 1; in mksstat_init_record_time()
720 strcpy(pstrs, mksstat_kern_name_desc[stat_idx][0]); in mksstat_init_record_time()
721 strcpy(pstrd, mksstat_kern_name_desc[stat_idx][1]); in mksstat_init_record_time()
723 pinfo[stat_idx].name.s = pstrs; in mksstat_init_record_time()
724 pinfo[stat_idx].description.s = pstrd; in mksstat_init_record_time()
725 pinfo[stat_idx].flags = MKS_GUEST_STAT_FLAG_TIME; in mksstat_init_record_time()
726 pinfo[stat_idx].stat.counterTime = &pstat[stat_idx]; in mksstat_init_record_time()
728 return pstrd + strlen(mksstat_kern_name_desc[stat_idx][1]) + 1; in mksstat_init_record_time()
/openbmc/linux/net/devlink/
H A Ddev.c81 int i, j, stat_idx; in devlink_reload_stats_put() local
118 stat_idx = j * __DEVLINK_RELOAD_ACTION_MAX + i; in devlink_reload_stats_put()
120 value = devlink->stats.reload_stats[stat_idx]; in devlink_reload_stats_put()
122 value = devlink->stats.remote_reload_stats[stat_idx]; in devlink_reload_stats_put()
279 int stat_idx; in __devlink_reload_stats_update() local
283 stat_idx = limit * __DEVLINK_RELOAD_ACTION_MAX + action; in __devlink_reload_stats_update()
284 reload_stats[stat_idx]++; in __devlink_reload_stats_update()
/openbmc/linux/drivers/scsi/csiostor/
H A Dcsio_hw_chip.h114 short stat_idx; /* stat counter to increment or -1 */ member
/openbmc/linux/drivers/mmc/host/
H A Drtsx_usb_sdmmc.c295 int stat_idx = 0; in sd_send_cmd_get_rsp() local
366 stat_idx = 16; in sd_send_cmd_get_rsp()
371 stat_idx = 5; in sd_send_cmd_get_rsp()
373 len += stat_idx; in sd_send_cmd_get_rsp()
419 if (ptr[stat_idx] & SD_CRC7_ERR) { in sd_send_cmd_get_rsp()
H A Drtsx_pci_sdmmc.c220 int stat_idx; in sd_send_cmd_get_rsp() local
230 stat_idx = sd_status_index(rsp_type); in sd_send_cmd_get_rsp()
293 if (ptr[stat_idx] & SD_CRC7_ERR) { in sd_send_cmd_get_rsp()
/openbmc/linux/drivers/staging/rts5208/
H A Dsd.c120 int stat_idx = 0; local
154 stat_idx = 16;
160 stat_idx = 5;
205 if (ptr[stat_idx] & SD_CRC7_ERR) {
3583 int stat_idx = 0; local
3614 stat_idx = 17;
3620 stat_idx = 6;
3653 if (ptr[stat_idx] & SD_CRC7_ERR) {
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c699 int stat_idx, bool offset_loaded, in i40e_stats_update_rx_discards() argument
705 i40e_stat_update32(hw, I40E_GLV_RDPC(stat_idx), offset_loaded, in i40e_stats_update_rx_discards()
722 int stat_idx = le16_to_cpu(vsi->info.stat_counter_idx); in i40e_update_eth_stats() local
732 i40e_stat_update32(hw, I40E_GLV_TEPC(stat_idx), in i40e_update_eth_stats()
735 i40e_stat_update32(hw, I40E_GLV_RDPC(stat_idx), in i40e_update_eth_stats()
738 i40e_stat_update32(hw, I40E_GLV_RUPP(stat_idx), in i40e_update_eth_stats()
742 i40e_stat_update48(hw, I40E_GLV_GORCH(stat_idx), in i40e_update_eth_stats()
743 I40E_GLV_GORCL(stat_idx), in i40e_update_eth_stats()
746 i40e_stat_update48(hw, I40E_GLV_UPRCH(stat_idx), in i40e_update_eth_stats()
747 I40E_GLV_UPRCL(stat_idx), in i40e_update_eth_stats()
[all …]
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_hw.c1348 short stat_idx; /* stat counter to increment or -1 */ member
1386 if (acts->stat_idx >= 0) in t3_handle_intr_status()
1387 stats[acts->stat_idx]++; in t3_handle_intr_status()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c4268 short stat_idx; /* stat counter to increment or -1 */ member