Home
last modified time | relevance | path

Searched refs:stat_offset (Results 1 – 25 of 37) sorted by relevance

12

/drivers/thermal/
Dk3_bandgap.c88 u32 stat_offset; member
124 s0 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp()
126 s1 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp()
128 s2 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp()
204 data[id].stat_offset = data[id].ctrl_offset + 0x8; in k3_bandgap_probe()
/drivers/net/ethernet/broadcom/
Dbcmsysport.h591 .stat_offset = offsetof(struct net_device_stats, m), \
598 .stat_offset = offsetof(struct bcm_sysport_stats64, m), \
605 .stat_offset = offsetof(struct bcm_sysport_priv, m), \
617 .stat_offset = offsetof(struct bcm_sysport_priv, m), \
625 .stat_offset = offsetof(struct bcm_sysport_priv, m), \
636 int stat_offset; member
Dbcm63xx_enet.c1245 int stat_offset; member
1369 p = (char *)priv + s->stat_offset; in update_mib_counters()
1418 p += s->stat_offset; in bcm_enet_get_ethtool_stats()
2556 p = (char *)priv + s->stat_offset; in bcm_enetsw_get_ethtool_stats()
2573 p = (char *)&netdev->stats + s->stat_offset; in bcm_enetsw_get_ethtool_stats()
2575 p = (char *)priv + s->stat_offset; in bcm_enetsw_get_ethtool_stats()
/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c41 int stat_offset; member
46 .stat_offset = offsetof(struct rtnl_link_stats64, m) }
125 data[i] = *(u64 *)(p + ipoib_gstrings_stats[i].stat_offset); in ipoib_get_ethtool_stats()
/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c13 int stat_offset; member
18 .stat_offset = offsetof(struct ena_com_stats_admin, stat) / sizeof(u64) \
23 .stat_offset = offsetof(struct ena_stats_##stat_type, stat) / sizeof(u64) \
28 .stat_offset = offsetof(struct ena_admin_##stat_type, stat) / sizeof(u64) \
142 ptr = (u64 *)&ring->tx_stats + ena_stats->stat_offset; in ena_queue_stats()
155 ena_stats->stat_offset; in ena_queue_stats()
173 ena_stats->stat_offset; in ena_dev_admin_queue_stats()
190 ptr = (u64 *)&adapter->dev_stats + ena_stats->stat_offset; in ena_get_stats()
201 ena_stats->stat_offset; in ena_get_stats()
/drivers/irqchip/
Dirq-bcm7120-l2.c46 int stat_offset[MAX_WORDS]; member
72 pending = irq_reg_readl(gc, b->stat_offset[idx]) & in bcm7120_l2_intc_irq_handle()
163 data->stat_offset[0] = IRQSTAT; in bcm7120_l2_intc_iomap_7120()
203 data->stat_offset[gc_idx] = stat - base; in bcm7120_l2_intc_iomap_3380()
/drivers/reset/
Dreset-lpc18xx.c70 u32 stat_offset = LPC18XX_RGU_ACTIVE_STATUS0; in lpc18xx_rgu_setclear_reset() local
75 stat_offset += (id / LPC18XX_RGU_RESETS_PER_REG) * sizeof(u32); in lpc18xx_rgu_setclear_reset()
80 stat = ~readl(rc->base + stat_offset); in lpc18xx_rgu_setclear_reset()
/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_ethtool.c62 int stat_offset; member
151 char *p = (char *)&vstats + vnic_gstrings_stats[i].stat_offset; in vnic_get_ethtool_stats()
/drivers/net/fjes/
Dfjes_ethtool.c19 int stat_offset; member
25 .stat_offset = offsetof(struct fjes_adapter, stat) \
53 p = (char *)adapter + fjes_gstrings_stats[i].stat_offset; in fjes_get_ethtool_stats()
/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-ethtool.c27 int stat_offset; member
245 stat = (u8 *)pdata + xlgmac_gstring_stats[i].stat_offset; in xlgmac_ethtool_get_ethtool_stats()
/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c28 int stat_offset; member
35 .stat_offset = offsetof(struct ixgbevf_adapter, _stat) \
42 .stat_offset = offsetof(struct net_device_stats, _net_stat) \
436 ixgbevf_gstrings_stats[i].stat_offset; in ixgbevf_get_ethtool_stats()
440 ixgbevf_gstrings_stats[i].stat_offset; in ixgbevf_get_ethtool_stats()
/drivers/net/ethernet/ti/
Dcpsw_ethtool.c66 int stat_offset; member
286 cpsw_gstrings_stats[l].stat_offset); in cpsw_get_ethtool_stats()
292 cpsw_gstrings_ch_stats[i].stat_offset; in cpsw_get_ethtool_stats()
301 cpsw_gstrings_ch_stats[i].stat_offset; in cpsw_get_ethtool_stats()
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_ethtool.c27 int stat_offset; member
241 p = (char *)priv + sxgbe_gstrings_stats[i].stat_offset; in sxgbe_get_ethtool_stats()
/drivers/net/ethernet/intel/igbvf/
Dethtool.c18 int stat_offset; member
387 igbvf_gstrings_stats[i].stat_offset; in igbvf_get_ethtool_stats()
/drivers/net/ethernet/intel/ixgb/
Dixgb_ethtool.c18 int stat_offset; member
584 ixgb_gstrings_stats[i].stat_offset; in ixgb_get_ethtool_stats()
588 ixgb_gstrings_stats[i].stat_offset; in ixgb_get_ethtool_stats()
/drivers/acpi/nfit/
Dnfit.h308 u64 stat_offset; member
/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c17 int stat_offset; member
23 .stat_offset = offsetof(_type, _stat) \
235 char *p = (char *)pointer + stats[i].stat_offset; in __fm10k_add_ethtool_stats()
/drivers/net/ethernet/intel/igc/
Digc_ethtool.c16 int stat_offset; member
22 .stat_offset = offsetof(struct igc_adapter, _stat) \
75 .stat_offset = offsetof(struct rtnl_link_stats64, _net_stat) \
822 p = (char *)adapter + igc_gstrings_stats[i].stat_offset; in igc_ethtool_get_stats()
827 p = (char *)net_stats + igc_gstrings_net_stats[j].stat_offset; in igc_ethtool_get_stats()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c41 int stat_offset; member
592 p = (char *)priv + stmmac_mmc[i].stat_offset; in stmmac_get_ethtool_stats()
611 char *p = (char *)priv + stmmac_gstrings_stats[i].stat_offset; in stmmac_get_ethtool_stats()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c127 int stat_offset; member
228 stat = (u8 *)pdata + xgbe_gstring_stats[i].stat_offset; in xgbe_get_ethtool_stats()
/drivers/staging/qlge/
Dqlge_ethtool.c40 int stat_offset; member
375 qlge_gstrings_stats[index].stat_offset; in qlge_get_ethtool_stats()
/drivers/net/ethernet/intel/e1000e/
Dethtool.c23 int stat_offset; member
37 .stat_offset = offsetof(struct e1000_adapter, m) }
42 .stat_offset = offsetof(struct rtnl_link_stats64, m) }
2082 e1000_gstrings_stats[i].stat_offset; in e1000_get_ethtool_stats()
2086 e1000_gstrings_stats[i].stat_offset; in e1000_get_ethtool_stats()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c21 int stat_offset; member
674 netxen_nic_gstrings_stats[index].stat_offset; in netxen_nic_get_ethtool_stats()
/drivers/net/ethernet/calxeda/
Dxgmac.c1557 int stat_offset; member
1600 xgmac_gstrings_stats[i].stat_offset); in xgmac_get_ethtool_stats()
1603 xgmac_gstrings_stats[i].stat_offset); in xgmac_get_ethtool_stats()
/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c36 int stat_offset; member
46 .stat_offset = offsetof(_type, _stat) \
83 p = (char *)pointer + stat->stat_offset; in iavf_add_one_ethtool_stat()

12