Home
last modified time | relevance | path

Searched refs:stat_idx (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_msg.c709 * @stat_idx: Index of the MKSGuestStatCounterTime-based mksGuestStat record.
716 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()
[all...]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
H A Dcsio_hw_chip.h114 short stat_idx; /* stat counter to increment or -1 */ member
/kernel/linux/linux-6.6/drivers/scsi/csiostor/
H A Dcsio_hw_chip.h114 short stat_idx; /* stat counter to increment or -1 */ member
/kernel/linux/linux-5.10/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.c217 int stat_idx; in sd_send_cmd_get_rsp() local
227 stat_idx = sd_status_index(rsp_type); in sd_send_cmd_get_rsp()
290 if (ptr[stat_idx] & SD_CRC7_ERR) { in sd_send_cmd_get_rsp()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c675 * @stat_idx: VSI's stat_counter_idx.
682 int stat_idx, bool offset_loaded, in i40e_stats_update_rx_discards()
688 i40e_stat_update32(hw, I40E_GLV_RDPC(stat_idx), offset_loaded, in i40e_stats_update_rx_discards()
705 int stat_idx = le16_to_cpu(vsi->info.stat_counter_idx); in i40e_update_eth_stats() local
715 i40e_stat_update32(hw, I40E_GLV_TEPC(stat_idx), in i40e_update_eth_stats()
718 i40e_stat_update32(hw, I40E_GLV_RDPC(stat_idx), in i40e_update_eth_stats()
721 i40e_stat_update32(hw, I40E_GLV_RUPP(stat_idx), in i40e_update_eth_stats()
725 i40e_stat_update48(hw, I40E_GLV_GORCH(stat_idx), in i40e_update_eth_stats()
726 I40E_GLV_GORCL(stat_idx), in i40e_update_eth_stats()
729 i40e_stat_update48(hw, I40E_GLV_UPRCH(stat_idx), in i40e_update_eth_stats()
681 i40e_stats_update_rx_discards(struct i40e_vsi *vsi, struct i40e_hw *hw, int stat_idx, bool offset_loaded, struct i40e_eth_stats *stat_offset, struct i40e_eth_stats *stat) i40e_stats_update_rx_discards() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c678 * @stat_idx: VSI's stat_counter_idx.
685 int stat_idx, bool offset_loaded, in i40e_stats_update_rx_discards()
691 i40e_stat_update32(hw, I40E_GLV_RDPC(stat_idx), offset_loaded, in i40e_stats_update_rx_discards()
708 int stat_idx = le16_to_cpu(vsi->info.stat_counter_idx); in i40e_update_eth_stats() local
718 i40e_stat_update32(hw, I40E_GLV_TEPC(stat_idx), in i40e_update_eth_stats()
721 i40e_stat_update32(hw, I40E_GLV_RDPC(stat_idx), in i40e_update_eth_stats()
724 i40e_stat_update32(hw, I40E_GLV_RUPP(stat_idx), in i40e_update_eth_stats()
728 i40e_stat_update48(hw, I40E_GLV_GORCH(stat_idx), in i40e_update_eth_stats()
729 I40E_GLV_GORCL(stat_idx), in i40e_update_eth_stats()
732 i40e_stat_update48(hw, I40E_GLV_UPRCH(stat_idx), in i40e_update_eth_stats()
684 i40e_stats_update_rx_discards(struct i40e_vsi *vsi, struct i40e_hw *hw, int stat_idx, bool offset_loaded, struct i40e_eth_stats *stat_offset, struct i40e_eth_stats *stat) i40e_stats_update_rx_discards() argument
[all...]
/kernel/linux/linux-5.10/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) {
/kernel/linux/linux-6.6/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) {
/kernel/linux/linux-5.10/net/core/
H A Ddevlink.c543 int i, j, stat_idx; in devlink_reload_stats_put() local
580 stat_idx = j * __DEVLINK_RELOAD_ACTION_MAX + i; in devlink_reload_stats_put()
582 value = devlink->stats.reload_stats[stat_idx]; in devlink_reload_stats_put()
584 value = devlink->stats.remote_reload_stats[stat_idx]; in devlink_reload_stats_put()
3134 int stat_idx; in __devlink_reload_stats_update() local
3138 stat_idx = limit * __DEVLINK_RELOAD_ACTION_MAX + action; in __devlink_reload_stats_update()
3139 reload_stats[stat_idx]++; in __devlink_reload_stats_update()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_hw.c1413 short stat_idx; /* stat counter to increment or -1 */ member
1451 if (acts->stat_idx >= 0) in t3_handle_intr_status()
1452 stats[acts->stat_idx]++; in t3_handle_intr_status()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c4298 short stat_idx; /* stat counter to increment or -1 */ member
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c4268 short stat_idx; /* stat counter to increment or -1 */ member

Completed in 77 milliseconds