Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/thermal/
Dk3_bandgap.c90 u32 stat_offset; member
126 s0 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp()
128 s1 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp()
130 s2 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp()
206 data[id].stat_offset = data[id].ctrl_offset + 0x8; in k3_bandgap_probe()
Dk3_j72xx_bandgap.c188 u32 stat_offset; member
233 s0 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp()
235 s1 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp()
237 s2 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp()
453 data[id].stat_offset = data[id].ctrl_offset + in k3_j72xx_bandgap_probe()
/linux-6.1.9/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()
/linux-6.1.9/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()
2561 p = (char *)priv + s->stat_offset; in bcm_enetsw_get_ethtool_stats()
2578 p = (char *)&netdev->stats + s->stat_offset; in bcm_enetsw_get_ethtool_stats()
2580 p = (char *)priv + s->stat_offset; in bcm_enetsw_get_ethtool_stats()
/linux-6.1.9/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) \
141 ptr = (u64 *)&ring->tx_stats + ena_stats->stat_offset; in ena_queue_stats()
154 ena_stats->stat_offset; in ena_queue_stats()
172 ena_stats->stat_offset; in ena_dev_admin_queue_stats()
189 ptr = (u64 *)&adapter->dev_stats + ena_stats->stat_offset; in ena_get_stats()
200 ena_stats->stat_offset; in ena_get_stats()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/iio/proximity/
Dsx_common.h83 unsigned int stat_offset; member
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c26 int stat_offset; member
33 .stat_offset = offsetof(struct ixgbevf_adapter, _stat) \
40 .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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/intel/igbvf/
Dethtool.c18 int stat_offset; member
391 igbvf_gstrings_stats[i].stat_offset; in igbvf_get_ethtool_stats()
/linux-6.1.9/drivers/net/ethernet/intel/ixgb/
Dixgb_ethtool.c18 int stat_offset; member
588 ixgb_gstrings_stats[i].stat_offset; in ixgb_get_ethtool_stats()
592 ixgb_gstrings_stats[i].stat_offset; in ixgb_get_ethtool_stats()
/linux-6.1.9/drivers/acpi/nfit/
Dnfit.h302 u64 stat_offset; member
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/staging/qlge/
Dqlge_ethtool.c40 int stat_offset; member
375 qlge_gstrings_stats[index].stat_offset; in qlge_get_ethtool_stats()
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c41 int stat_offset; member
595 p = (char *)priv + stmmac_mmc[i].stat_offset; in stmmac_get_ethtool_stats()
614 char *p = (char *)priv + stmmac_gstrings_stats[i].stat_offset; in stmmac_get_ethtool_stats()
/linux-6.1.9/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) \
828 p = (char *)adapter + igc_gstrings_stats[i].stat_offset; in igc_ethtool_get_stats()
833 p = (char *)net_stats + igc_gstrings_net_stats[j].stat_offset; in igc_ethtool_get_stats()
/linux-6.1.9/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) }
2086 e1000_gstrings_stats[i].stat_offset; in e1000_get_ethtool_stats()
2090 e1000_gstrings_stats[i].stat_offset; in e1000_get_ethtool_stats()
/linux-6.1.9/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c21 int stat_offset; member
678 netxen_nic_gstrings_stats[index].stat_offset; in netxen_nic_get_ethtool_stats()

12