Home
last modified time | relevance | path

Searched refs:_stat (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/include/net/
H A Dkcm.h172 #define SAVE_PSOCK_STATS(_stat) (agg_stats->_stat += stats->_stat) in aggregate_psock_stats() argument
186 #define SAVE_MUX_STATS(_stat) (agg_stats->_stat += stats->_stat) in aggregate_mux_stats() argument
H A Dstrparser.h123 #define SAVE_PSOCK_STATS(_stat) (agg_stats->_stat += \ in save_strp_stats() argument
124 strp->stats._stat) in save_strp_stats()
145 #define SAVE_PSOCK_STATS(_stat) (agg_stats->_stat += stats->_stat) in aggregate_strp_stats() argument
/openbmc/linux/drivers/media/common/siano/
H A Dsmscoreapi.h913 #define CORRECT_STAT_RSSI(_stat) ((_stat).RSSI *= -1) argument
914 #define CORRECT_STAT_BANDWIDTH(_stat) (_stat.bandwidth = 8 - _stat.bandwidth) argument
915 #define CORRECT_STAT_TRANSMISSON_MODE(_stat) \ argument
916 if (_stat.transmission_mode == 0) \
917 _stat.transmission_mode = 2; \
918 else if (_stat.transmission_mode == 1) \
919 _stat.transmission_mode = 8; \
921 _stat.transmission_mode = 4;
/openbmc/linux/drivers/reset/sti/
H A Dreset-stih407.c22 #define STIH407_PDN_ETH(_bit, _stat) \ argument
23 _SYSCFG_RST_CH(stih407_sbc_reg, SYSCFG_4032, _bit, SYSSTAT_4520, _stat)
/openbmc/linux/drivers/s390/net/
H A Dqeth_core.h435 #define QETH_CARD_STAT_ADD(_c, _stat, _val) ((_c)->stats._stat += (_val)) argument
436 #define QETH_CARD_STAT_INC(_c, _stat) QETH_CARD_STAT_ADD(_c, _stat, 1) argument
438 #define QETH_TXQ_STAT_ADD(_q, _stat, _val) ((_q)->stats._stat += (_val)) argument
439 #define QETH_TXQ_STAT_INC(_q, _stat) QETH_TXQ_STAT_ADD(_q, _stat, 1) argument
H A Dqeth_ethtool.c13 #define QETH_TXQ_STAT(_name, _stat) { \ argument
15 .offset = offsetof(struct qeth_out_q_stats, _stat) \
18 #define QETH_CARD_STAT(_name, _stat) { \ argument
20 .offset = offsetof(struct qeth_card_stats, _stat) \
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_ethtool.c20 #define FM10K_STAT_FIELDS(_type, _name, _stat) { \ argument
22 .sizeof_stat = sizeof_field(_type, _stat), \
23 .stat_offset = offsetof(_type, _stat) \
49 #define FM10K_STAT(_name, _stat) \ argument
50 FM10K_STAT_FIELDS(struct fm10k_intfc, _name, _stat)
88 #define FM10K_MBX_STAT(_name, _stat) \ argument
89 FM10K_STAT_FIELDS(struct fm10k_mbx_info, _name, _stat)
104 #define FM10K_QUEUE_STAT(_name, _stat) \ argument
105 FM10K_STAT_FIELDS(struct fm10k_ring, _name, _stat)
/openbmc/u-boot/drivers/reset/
H A Dsti-reset.c92 #define STIH407_PDN_ETH(_bit, _stat) \ argument
93 _SYSCFG_RST_CH(stih407_sbc_reg, SYSCFG_4032, _bit, SYSSTAT_4520, _stat)
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c44 #define IAVF_STAT(_type, _name, _stat) { \ argument
46 .sizeof_stat = sizeof_field(_type, _stat), \
47 .stat_offset = offsetof(_type, _stat) \
51 #define IAVF_QUEUE_STAT(_name, _stat) \ argument
52 IAVF_STAT(struct iavf_ring, _name, _stat)
221 #define VF_STAT(_name, _stat) \ argument
222 IAVF_STAT(struct iavf_adapter, _name, _stat)
/openbmc/linux/fs/ocfs2/dlmfs/
H A Duserdlm.c91 #define user_log_dlm_error(_func, _stat, _lockres) do { \ argument
93 "resource %.*s\n", _stat, _func, \
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c45 #define I40E_STAT(_type, _name, _stat) { \ argument
48 .stat_offset = offsetof(_type, _stat) \
58 #define I40E_QUEUE_STAT(_name, _stat) \ argument
59 I40E_STAT(struct i40e_ring, _name, _stat)
230 #define I40E_PF_STAT(_name, _stat) \ argument
231 I40E_STAT(struct i40e_pf, _name, _stat)
232 #define I40E_VSI_STAT(_name, _stat) \ argument
233 I40E_STAT(struct i40e_vsi, _name, _stat)
234 #define I40E_VEB_STAT(_name, _stat) \ argument
236 #define I40E_VEB_TC_STAT(_name, _stat) \ argument
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dethtool.c29 #define IXGBEVF_STAT(_name, _stat) { \ argument
32 .sizeof_stat = sizeof_field(struct ixgbevf_adapter, _stat), \
33 .stat_offset = offsetof(struct ixgbevf_adapter, _stat) \
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c20 #define ICE_STAT(_type, _name, _stat) { \ argument
22 .sizeof_stat = sizeof_field(_type, _stat), \
23 .stat_offset = offsetof(_type, _stat) \
26 #define ICE_VSI_STAT(_name, _stat) \ argument
27 ICE_STAT(struct ice_vsi, _name, _stat)
28 #define ICE_PF_STAT(_name, _stat) \ argument
29 ICE_STAT(struct ice_pf, _name, _stat)
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c19 #define IGC_STAT(_name, _stat) { \ argument
21 .sizeof_stat = sizeof_field(struct igc_adapter, _stat), \
22 .stat_offset = offsetof(struct igc_adapter, _stat) \
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c27 #define IGB_STAT(_name, _stat) { \ argument
29 .sizeof_stat = sizeof_field(struct igb_adapter, _stat), \
30 .stat_offset = offsetof(struct igb_adapter, _stat) \