_struct 37 drivers/clk/actions/owl-composite.h #define OWL_COMP_DIV(_struct, _name, _parent, \ _struct 39 drivers/clk/actions/owl-composite.h struct owl_composite _struct = { \ _struct 52 drivers/clk/actions/owl-composite.h #define OWL_COMP_DIV_FIXED(_struct, _name, _parent, \ _struct 54 drivers/clk/actions/owl-composite.h struct owl_composite _struct = { \ _struct 66 drivers/clk/actions/owl-composite.h #define OWL_COMP_FACTOR(_struct, _name, _parent, \ _struct 68 drivers/clk/actions/owl-composite.h struct owl_composite _struct = { \ _struct 81 drivers/clk/actions/owl-composite.h #define OWL_COMP_FIXED_FACTOR(_struct, _name, _parent, \ _struct 83 drivers/clk/actions/owl-composite.h struct owl_composite _struct = { \ _struct 97 drivers/clk/actions/owl-composite.h #define OWL_COMP_PASS(_struct, _name, _parent, \ _struct 99 drivers/clk/actions/owl-composite.h struct owl_composite _struct = { \ _struct 38 drivers/clk/actions/owl-divider.h #define OWL_DIVIDER(_struct, _name, _parent, _reg, \ _struct 40 drivers/clk/actions/owl-divider.h struct owl_divider _struct = { \ _struct 44 drivers/clk/actions/owl-factor.h #define OWL_FACTOR(_struct, _name, _parent, _reg, \ _struct 46 drivers/clk/actions/owl-factor.h struct owl_factor _struct = { \ _struct 16 drivers/clk/actions/owl-fixed-factor.h #define OWL_FIX_FACT(_struct, _name, _parent, _mul, _div, _flags) \ _struct 17 drivers/clk/actions/owl-fixed-factor.h struct clk_fixed_factor _struct = { \ _struct 34 drivers/clk/actions/owl-gate.h #define OWL_GATE(_struct, _name, _parent, _reg, \ _struct 36 drivers/clk/actions/owl-gate.h struct owl_gate _struct = { \ _struct 47 drivers/clk/actions/owl-gate.h #define OWL_GATE_NO_PARENT(_struct, _name, _reg, \ _struct 49 drivers/clk/actions/owl-gate.h struct owl_gate _struct = { \ _struct 34 drivers/clk/actions/owl-mux.h #define OWL_MUX(_struct, _name, _parents, _reg, \ _struct 36 drivers/clk/actions/owl-mux.h struct owl_mux _struct = { \ _struct 55 drivers/clk/actions/owl-pll.h #define OWL_PLL(_struct, _name, _parent, _reg, _bfreq, _bit_idx, \ _struct 57 drivers/clk/actions/owl-pll.h struct owl_pll _struct = { \ _struct 70 drivers/clk/actions/owl-pll.h #define OWL_PLL_NO_PARENT(_struct, _name, _reg, _bfreq, _bit_idx, \ _struct 72 drivers/clk/actions/owl-pll.h struct owl_pll _struct = { \ _struct 84 drivers/clk/actions/owl-pll.h #define OWL_PLL_NO_PARENT_DELAY(_struct, _name, _reg, _bfreq, _bit_idx, \ _struct 87 drivers/clk/actions/owl-pll.h struct owl_pll _struct = { \ _struct 21 drivers/clk/sprd/composite.h #define SPRD_COMP_CLK_TABLE(_struct, _name, _parent, _reg, _table, \ _struct 23 drivers/clk/sprd/composite.h struct sprd_comp _struct = { \ _struct 36 drivers/clk/sprd/composite.h #define SPRD_COMP_CLK(_struct, _name, _parent, _reg, _mshift, \ _struct 38 drivers/clk/sprd/composite.h SPRD_COMP_CLK_TABLE(_struct, _name, _parent, _reg, \ _struct 38 drivers/clk/sprd/div.h #define SPRD_DIV_CLK(_struct, _name, _parent, _reg, \ _struct 40 drivers/clk/sprd/div.h struct sprd_div _struct = { \ _struct 21 drivers/clk/sprd/gate.h #define SPRD_SC_GATE_CLK_OPS(_struct, _name, _parent, _reg, _sc_offset, \ _struct 23 drivers/clk/sprd/gate.h struct sprd_gate _struct = { \ _struct 37 drivers/clk/sprd/gate.h #define SPRD_GATE_CLK(_struct, _name, _parent, _reg, \ _struct 39 drivers/clk/sprd/gate.h SPRD_SC_GATE_CLK_OPS(_struct, _name, _parent, _reg, 0, \ _struct 43 drivers/clk/sprd/gate.h #define SPRD_SC_GATE_CLK(_struct, _name, _parent, _reg, _sc_offset, \ _struct 45 drivers/clk/sprd/gate.h SPRD_SC_GATE_CLK_OPS(_struct, _name, _parent, _reg, _sc_offset, \ _struct 39 drivers/clk/sprd/mux.h #define SPRD_MUX_CLK_TABLE(_struct, _name, _parents, _table, \ _struct 42 drivers/clk/sprd/mux.h struct sprd_mux _struct = { \ _struct 54 drivers/clk/sprd/mux.h #define SPRD_MUX_CLK(_struct, _name, _parents, _reg, \ _struct 56 drivers/clk/sprd/mux.h SPRD_MUX_CLK_TABLE(_struct, _name, _parents, NULL, \ _struct 64 drivers/clk/sprd/pll.h #define SPRD_PLL_WITH_ITABLE_K_FVCO(_struct, _name, _parent, _reg, \ _struct 67 drivers/clk/sprd/pll.h struct sprd_pll _struct = { \ _struct 86 drivers/clk/sprd/pll.h #define SPRD_PLL_WITH_ITABLE_K(_struct, _name, _parent, _reg, \ _struct 89 drivers/clk/sprd/pll.h SPRD_PLL_WITH_ITABLE_K_FVCO(_struct, _name, _parent, _reg, \ _struct 93 drivers/clk/sprd/pll.h #define SPRD_PLL_WITH_ITABLE_1K(_struct, _name, _parent, _reg, \ _struct 95 drivers/clk/sprd/pll.h SPRD_PLL_WITH_ITABLE_K_FVCO(_struct, _name, _parent, _reg, \ _struct 87 drivers/clk/sunxi-ng/ccu_div.h #define SUNXI_CCU_DIV_TABLE_WITH_GATE(_struct, _name, _parent, _reg, \ _struct 90 drivers/clk/sunxi-ng/ccu_div.h struct ccu_div _struct = { \ _struct 104 drivers/clk/sunxi-ng/ccu_div.h #define SUNXI_CCU_DIV_TABLE(_struct, _name, _parent, _reg, \ _struct 107 drivers/clk/sunxi-ng/ccu_div.h SUNXI_CCU_DIV_TABLE_WITH_GATE(_struct, _name, _parent, _reg, \ _struct 111 drivers/clk/sunxi-ng/ccu_div.h #define SUNXI_CCU_M_WITH_MUX_TABLE_GATE(_struct, _name, \ _struct 117 drivers/clk/sunxi-ng/ccu_div.h struct ccu_div _struct = { \ _struct 130 drivers/clk/sunxi-ng/ccu_div.h #define SUNXI_CCU_M_WITH_MUX_GATE(_struct, _name, _parents, _reg, \ _struct 133 drivers/clk/sunxi-ng/ccu_div.h SUNXI_CCU_M_WITH_MUX_TABLE_GATE(_struct, _name, \ _struct 139 drivers/clk/sunxi-ng/ccu_div.h #define SUNXI_CCU_M_WITH_MUX(_struct, _name, _parents, _reg, \ _struct 142 drivers/clk/sunxi-ng/ccu_div.h SUNXI_CCU_M_WITH_MUX_TABLE_GATE(_struct, _name, \ _struct 149 drivers/clk/sunxi-ng/ccu_div.h #define SUNXI_CCU_M_WITH_GATE(_struct, _name, _parent, _reg, \ _struct 152 drivers/clk/sunxi-ng/ccu_div.h struct ccu_div _struct = { \ _struct 164 drivers/clk/sunxi-ng/ccu_div.h #define SUNXI_CCU_M(_struct, _name, _parent, _reg, _mshift, _mwidth, \ _struct 166 drivers/clk/sunxi-ng/ccu_div.h SUNXI_CCU_M_WITH_GATE(_struct, _name, _parent, _reg, \ _struct 19 drivers/clk/sunxi-ng/ccu_gate.h #define SUNXI_CCU_GATE(_struct, _name, _parent, _reg, _gate, _flags) \ _struct 20 drivers/clk/sunxi-ng/ccu_gate.h struct ccu_gate _struct = { \ _struct 31 drivers/clk/sunxi-ng/ccu_gate.h #define SUNXI_CCU_GATE_HW(_struct, _name, _parent, _reg, _gate, _flags) \ _struct 32 drivers/clk/sunxi-ng/ccu_gate.h struct ccu_gate _struct = { \ _struct 43 drivers/clk/sunxi-ng/ccu_gate.h #define SUNXI_CCU_GATE_FW(_struct, _name, _parent, _reg, _gate, _flags) \ _struct 44 drivers/clk/sunxi-ng/ccu_gate.h struct ccu_gate _struct = { \ _struct 59 drivers/clk/sunxi-ng/ccu_gate.h #define SUNXI_CCU_GATE_HWS(_struct, _name, _parent, _reg, _gate, _flags) \ _struct 60 drivers/clk/sunxi-ng/ccu_gate.h struct ccu_gate _struct = { \ _struct 71 drivers/clk/sunxi-ng/ccu_gate.h #define SUNXI_CCU_GATE_DATA(_struct, _name, _data, _reg, _gate, _flags) \ _struct 72 drivers/clk/sunxi-ng/ccu_gate.h struct ccu_gate _struct = { \ _struct 34 drivers/clk/sunxi-ng/ccu_mp.h #define SUNXI_CCU_MP_WITH_MUX_GATE_POSTDIV(_struct, _name, _parents, _reg, \ _struct 39 drivers/clk/sunxi-ng/ccu_mp.h struct ccu_mp _struct = { \ _struct 55 drivers/clk/sunxi-ng/ccu_mp.h #define SUNXI_CCU_MP_WITH_MUX_GATE(_struct, _name, _parents, _reg, \ _struct 60 drivers/clk/sunxi-ng/ccu_mp.h struct ccu_mp _struct = { \ _struct 74 drivers/clk/sunxi-ng/ccu_mp.h #define SUNXI_CCU_MP_WITH_MUX(_struct, _name, _parents, _reg, \ _struct 79 drivers/clk/sunxi-ng/ccu_mp.h SUNXI_CCU_MP_WITH_MUX_GATE(_struct, _name, _parents, _reg, \ _struct 103 drivers/clk/sunxi-ng/ccu_mp.h #define SUNXI_CCU_MP_MMC_WITH_MUX_GATE(_struct, _name, _parents, _reg, \ _struct 105 drivers/clk/sunxi-ng/ccu_mp.h struct ccu_mp _struct = { \ _struct 45 drivers/clk/sunxi-ng/ccu_mult.h #define SUNXI_CCU_N_WITH_GATE_LOCK(_struct, _name, _parent, _reg, \ _struct 48 drivers/clk/sunxi-ng/ccu_mult.h struct ccu_mult _struct = { \ _struct 50 drivers/clk/sunxi-ng/ccu_mux.h #define SUNXI_CCU_MUX_TABLE_WITH_GATE(_struct, _name, _parents, _table, \ _struct 53 drivers/clk/sunxi-ng/ccu_mux.h struct ccu_mux _struct = { \ _struct 65 drivers/clk/sunxi-ng/ccu_mux.h #define SUNXI_CCU_MUX_WITH_GATE(_struct, _name, _parents, _reg, \ _struct 67 drivers/clk/sunxi-ng/ccu_mux.h SUNXI_CCU_MUX_TABLE_WITH_GATE(_struct, _name, _parents, NULL, \ _struct 71 drivers/clk/sunxi-ng/ccu_mux.h #define SUNXI_CCU_MUX(_struct, _name, _parents, _reg, _shift, _width, \ _struct 73 drivers/clk/sunxi-ng/ccu_mux.h SUNXI_CCU_MUX_TABLE_WITH_GATE(_struct, _name, _parents, NULL, \ _struct 33 drivers/clk/sunxi-ng/ccu_nk.h #define SUNXI_CCU_NK_WITH_GATE_LOCK_POSTDIV(_struct, _name, _parent, _reg, \ _struct 38 drivers/clk/sunxi-ng/ccu_nk.h struct ccu_nk _struct = { \ _struct 34 drivers/clk/sunxi-ng/ccu_nkm.h #define SUNXI_CCU_NKM_WITH_MUX_GATE_LOCK(_struct, _name, _parents, _reg, \ _struct 40 drivers/clk/sunxi-ng/ccu_nkm.h struct ccu_nkm _struct = { \ _struct 56 drivers/clk/sunxi-ng/ccu_nkm.h #define SUNXI_CCU_NKM_WITH_GATE_LOCK(_struct, _name, _parent, _reg, \ _struct 61 drivers/clk/sunxi-ng/ccu_nkm.h struct ccu_nkm _struct = { \ _struct 35 drivers/clk/sunxi-ng/ccu_nkmp.h #define SUNXI_CCU_NKMP_WITH_GATE_LOCK(_struct, _name, _parent, _reg, \ _struct 41 drivers/clk/sunxi-ng/ccu_nkmp.h struct ccu_nkmp _struct = { \ _struct 38 drivers/clk/sunxi-ng/ccu_nm.h #define SUNXI_CCU_NM_WITH_SDM_GATE_LOCK(_struct, _name, _parent, _reg, \ _struct 44 drivers/clk/sunxi-ng/ccu_nm.h struct ccu_nm _struct = { \ _struct 61 drivers/clk/sunxi-ng/ccu_nm.h #define SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(_struct, _name, _parent, _reg, \ _struct 67 drivers/clk/sunxi-ng/ccu_nm.h struct ccu_nm _struct = { \ _struct 85 drivers/clk/sunxi-ng/ccu_nm.h #define SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK_MIN(_struct, _name, _parent, \ _struct 92 drivers/clk/sunxi-ng/ccu_nm.h struct ccu_nm _struct = { \ _struct 111 drivers/clk/sunxi-ng/ccu_nm.h #define SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK_MIN_MAX(_struct, _name, \ _struct 120 drivers/clk/sunxi-ng/ccu_nm.h struct ccu_nm _struct = { \ _struct 140 drivers/clk/sunxi-ng/ccu_nm.h #define SUNXI_CCU_NM_WITH_GATE_LOCK(_struct, _name, _parent, _reg, \ _struct 144 drivers/clk/sunxi-ng/ccu_nm.h struct ccu_nm _struct = { \ _struct 20 drivers/clk/sunxi-ng/ccu_phase.h #define SUNXI_CCU_PHASE(_struct, _name, _parent, _reg, _shift, _width, _flags) \ _struct 21 drivers/clk/sunxi-ng/ccu_phase.h struct ccu_phase _struct = { \ _struct 832 drivers/net/ethernet/emulex/benet/be.h #define AMAP_BIT_OFFSET(_struct, field) \ _struct 833 drivers/net/ethernet/emulex/benet/be.h (((size_t)&(((_struct *)0)->field))%32) _struct 849 drivers/net/ethernet/emulex/benet/be.h #define AMAP_SET_BITS(_struct, field, ptr, val) \ _struct 851 drivers/net/ethernet/emulex/benet/be.h offsetof(_struct, field)/32, \ _struct 852 drivers/net/ethernet/emulex/benet/be.h amap_mask(sizeof(((_struct *)0)->field)), \ _struct 853 drivers/net/ethernet/emulex/benet/be.h AMAP_BIT_OFFSET(_struct, field), \ _struct 862 drivers/net/ethernet/emulex/benet/be.h #define AMAP_GET_BITS(_struct, field, ptr) \ _struct 864 drivers/net/ethernet/emulex/benet/be.h offsetof(_struct, field)/32, \ _struct 865 drivers/net/ethernet/emulex/benet/be.h amap_mask(sizeof(((_struct *)0)->field)), \ _struct 866 drivers/net/ethernet/emulex/benet/be.h AMAP_BIT_OFFSET(_struct, field)) _struct 26 drivers/net/ethernet/emulex/benet/be_ethtool.c #define FIELDINFO(_struct, field) FIELD_SIZEOF(_struct, field), \ _struct 27 drivers/net/ethernet/emulex/benet/be_ethtool.c offsetof(_struct, field) _struct 660 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c #define I40E_HMC_STORE(_struct, _ele) \ _struct 661 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c offsetof(struct _struct, _ele), \ _struct 662 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c FIELD_SIZEOF(struct _struct, _ele) _struct 303 drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h #define ICE_CTX_STORE(_struct, _ele, _width, _lsb) { \ _struct 304 drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h .offset = offsetof(struct _struct, _ele), \ _struct 305 drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h .size_of = FIELD_SIZEOF(struct _struct, _ele), \ _struct 726 drivers/net/wireless/ath/ath5k/debug.c #define CC_PRINT(_struct, _field) \ _struct 727 drivers/net/wireless/ath/ath5k/debug.c _struct._field, \ _struct 728 drivers/net/wireless/ath/ath5k/debug.c _struct.cycles > 0 ? \ _struct 729 drivers/net/wireless/ath/ath5k/debug.c _struct._field * 100 / _struct.cycles : 0 _struct 764 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c #define PRINT_STATS_LE32(_struct, _memb) \ _struct 767 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c le32_to_cpu(_struct->_memb)) _struct 155 drivers/scsi/be2iscsi/be.h #define AMAP_BIT_OFFSET(_struct, field) \ _struct 156 drivers/scsi/be2iscsi/be.h (((size_t)&(((_struct *)0)->field))%32) _struct 172 drivers/scsi/be2iscsi/be.h #define AMAP_SET_BITS(_struct, field, ptr, val) \ _struct 174 drivers/scsi/be2iscsi/be.h offsetof(_struct, field)/32, \ _struct 175 drivers/scsi/be2iscsi/be.h amap_mask(sizeof(((_struct *)0)->field)), \ _struct 176 drivers/scsi/be2iscsi/be.h AMAP_BIT_OFFSET(_struct, field), \ _struct 185 drivers/scsi/be2iscsi/be.h #define AMAP_GET_BITS(_struct, field, ptr) \ _struct 187 drivers/scsi/be2iscsi/be.h offsetof(_struct, field)/32, \ _struct 188 drivers/scsi/be2iscsi/be.h amap_mask(sizeof(((_struct *)0)->field)), \ _struct 189 drivers/scsi/be2iscsi/be.h AMAP_BIT_OFFSET(_struct, field)) _struct 147 fs/ext4/sysfs.c #define EXT4_ATTR_OFFSET(_name,_mode,_id,_struct,_elname) \ _struct 151 fs/ext4/sysfs.c .attr_ptr = ptr_##_struct##_offset, \ _struct 153 fs/ext4/sysfs.c .offset = offsetof(struct _struct, _elname),\ _struct 980 include/linux/clk-provider.h #define CLK_FIXED_FACTOR(_struct, _name, _parent, \ _struct 982 include/linux/clk-provider.h struct clk_fixed_factor _struct = { \ _struct 991 include/linux/clk-provider.h #define CLK_FIXED_FACTOR_HW(_struct, _name, _parent, \ _struct 993 include/linux/clk-provider.h struct clk_fixed_factor _struct = { \ _struct 1006 include/linux/clk-provider.h #define CLK_FIXED_FACTOR_HWS(_struct, _name, _parent, \ _struct 1008 include/linux/clk-provider.h struct clk_fixed_factor _struct = { \ _struct 1017 include/linux/clk-provider.h #define CLK_FIXED_FACTOR_FW_NAME(_struct, _name, _parent, \ _struct 1019 include/linux/clk-provider.h struct clk_fixed_factor _struct = { \ _struct 391 include/uapi/linux/genwqe/genwqe_card.h #define ATS_SET_FLAGS(_struct, _field, _flags) \ _struct 392 include/uapi/linux/genwqe/genwqe_card.h (((_flags) & 0xf) << (44 - (4 * (offsetof(_struct, _field) / 8))))