/linux-6.12.1/drivers/clk/sprd/ |
D | gate.h | 31 #define SPRD_SC_GATE_CLK_HW_INIT_FN(_struct, _name, _parent, _reg, \ argument 34 struct sprd_gate _struct = { \ 47 #define SPRD_SC_GATE_CLK_OPS_UDELAY(_struct, _name, _parent, _reg, \ argument 50 SPRD_SC_GATE_CLK_HW_INIT_FN(_struct, _name, _parent, _reg, \ 54 #define SPRD_SC_GATE_CLK_OPS(_struct, _name, _parent, _reg, _sc_offset, \ argument 56 SPRD_SC_GATE_CLK_OPS_UDELAY(_struct, _name, _parent, _reg, \ 60 #define SPRD_SC_GATE_CLK(_struct, _name, _parent, _reg, _sc_offset, \ argument 62 SPRD_SC_GATE_CLK_OPS(_struct, _name, _parent, _reg, _sc_offset, \ 66 #define SPRD_GATE_CLK(_struct, _name, _parent, _reg, \ argument 68 SPRD_SC_GATE_CLK_OPS(_struct, _name, _parent, _reg, 0, \ [all …]
|
D | composite.h | 21 #define SPRD_COMP_CLK_HW_INIT_FN(_struct, _name, _parent, _reg, _table, \ argument 24 struct sprd_comp _struct = { \ 35 #define SPRD_COMP_CLK_TABLE(_struct, _name, _parent, _reg, _table, \ argument 37 SPRD_COMP_CLK_HW_INIT_FN(_struct, _name, _parent, _reg, _table, \ 41 #define SPRD_COMP_CLK(_struct, _name, _parent, _reg, _mshift, \ argument 43 SPRD_COMP_CLK_TABLE(_struct, _name, _parent, _reg, NULL, \ 46 #define SPRD_COMP_CLK_DATA_TABLE(_struct, _name, _parent, _reg, _table, \ argument 49 SPRD_COMP_CLK_HW_INIT_FN(_struct, _name, _parent, _reg, _table, \ 54 #define SPRD_COMP_CLK_DATA(_struct, _name, _parent, _reg, _mshift, \ argument 56 SPRD_COMP_CLK_DATA_TABLE(_struct, _name, _parent, _reg, NULL, \ [all …]
|
D | pll.h | 64 #define SPRD_PLL_HW_INIT_FN(_struct, _name, _parent, _reg, \ argument 68 struct sprd_pll _struct = { \ 85 #define SPRD_PLL_WITH_ITABLE_K_FVCO(_struct, _name, _parent, _reg, \ argument 88 SPRD_PLL_HW_INIT_FN(_struct, _name, _parent, _reg, _regs_num, \ 92 #define SPRD_PLL_WITH_ITABLE_K(_struct, _name, _parent, _reg, \ argument 95 SPRD_PLL_WITH_ITABLE_K_FVCO(_struct, _name, _parent, _reg, \ 99 #define SPRD_PLL_WITH_ITABLE_1K(_struct, _name, _parent, _reg, \ argument 101 SPRD_PLL_WITH_ITABLE_K_FVCO(_struct, _name, _parent, _reg, \ 105 #define SPRD_PLL_FW_NAME(_struct, _name, _parent, _reg, _regs_num, \ argument 108 SPRD_PLL_HW_INIT_FN(_struct, _name, _parent, _reg, _regs_num, \ [all …]
|
D | mux.h | 39 #define SPRD_MUX_CLK_HW_INIT_FN(_struct, _name, _parents, _table, \ argument 41 struct sprd_mux _struct = { \ 51 #define SPRD_MUX_CLK_TABLE(_struct, _name, _parents, _table, \ argument 53 SPRD_MUX_CLK_HW_INIT_FN(_struct, _name, _parents, _table, \ 57 #define SPRD_MUX_CLK(_struct, _name, _parents, _reg, \ argument 59 SPRD_MUX_CLK_TABLE(_struct, _name, _parents, NULL, \ 62 #define SPRD_MUX_CLK_DATA_TABLE(_struct, _name, _parents, _table, \ argument 64 SPRD_MUX_CLK_HW_INIT_FN(_struct, _name, _parents, _table, \ 68 #define SPRD_MUX_CLK_DATA(_struct, _name, _parents, _reg, \ argument 70 SPRD_MUX_CLK_DATA_TABLE(_struct, _name, _parents, NULL, \
|
D | div.h | 40 #define SPRD_DIV_CLK_HW_INIT_FN(_struct, _name, _parent, _reg, _offset, \ argument 42 struct sprd_div _struct = { \ 52 #define SPRD_DIV_CLK(_struct, _name, _parent, _reg, \ argument 54 SPRD_DIV_CLK_HW_INIT_FN(_struct, _name, _parent, _reg, 0x0, \ 57 #define SPRD_DIV_CLK_FW_NAME(_struct, _name, _parent, _reg, \ argument 59 SPRD_DIV_CLK_HW_INIT_FN(_struct, _name, _parent, _reg, 0x0, \ 62 #define SPRD_DIV_CLK_HW(_struct, _name, _parent, _reg, \ argument 64 SPRD_DIV_CLK_HW_INIT_FN(_struct, _name, _parent, _reg, 0x0, \
|
/linux-6.12.1/drivers/clk/sunxi-ng/ |
D | ccu_div.h | 87 #define SUNXI_CCU_DIV_TABLE_WITH_GATE(_struct, _name, _parent, _reg, \ argument 90 struct ccu_div _struct = { \ 104 #define SUNXI_CCU_DIV_TABLE(_struct, _name, _parent, _reg, \ argument 107 SUNXI_CCU_DIV_TABLE_WITH_GATE(_struct, _name, _parent, _reg, \ 111 #define SUNXI_CCU_DIV_TABLE_HW(_struct, _name, _parent, _reg, \ argument 114 struct ccu_div _struct = { \ 127 #define SUNXI_CCU_M_WITH_MUX_TABLE_GATE(_struct, _name, \ argument 133 struct ccu_div _struct = { \ 146 #define SUNXI_CCU_M_WITH_MUX_TABLE_GATE_CLOSEST(_struct, _name, \ argument 152 struct ccu_div _struct = { \ [all …]
|
D | ccu_gate.h | 19 #define SUNXI_CCU_GATE(_struct, _name, _parent, _reg, _gate, _flags) \ argument 20 struct ccu_gate _struct = { \ 31 #define SUNXI_CCU_GATE_HW(_struct, _name, _parent, _reg, _gate, _flags) \ argument 32 struct ccu_gate _struct = { \ 43 #define SUNXI_CCU_GATE_FW(_struct, _name, _parent, _reg, _gate, _flags) \ argument 44 struct ccu_gate _struct = { \ 59 #define SUNXI_CCU_GATE_HWS(_struct, _name, _parent, _reg, _gate, _flags) \ argument 60 struct ccu_gate _struct = { \ 71 #define SUNXI_CCU_GATE_HWS_WITH_PREDIV(_struct, _name, _parent, _reg, \ argument 73 struct ccu_gate _struct = { \ [all …]
|
D | ccu_mux.h | 49 #define SUNXI_CCU_MUX_TABLE_WITH_GATE_FEAT(_struct, _name, _parents, _table, \ argument 52 struct ccu_mux _struct = { \ 65 #define SUNXI_CCU_MUX_TABLE_WITH_GATE_CLOSEST(_struct, _name, _parents, \ argument 68 SUNXI_CCU_MUX_TABLE_WITH_GATE_FEAT(_struct, _name, _parents, \ 73 #define SUNXI_CCU_MUX_TABLE_WITH_GATE(_struct, _name, _parents, _table, \ argument 76 SUNXI_CCU_MUX_TABLE_WITH_GATE_FEAT(_struct, _name, _parents, \ 80 #define SUNXI_CCU_MUX_WITH_GATE(_struct, _name, _parents, _reg, \ argument 82 SUNXI_CCU_MUX_TABLE_WITH_GATE(_struct, _name, _parents, NULL, \ 86 #define SUNXI_CCU_MUX(_struct, _name, _parents, _reg, _shift, _width, \ argument 88 SUNXI_CCU_MUX_TABLE_WITH_GATE(_struct, _name, _parents, NULL, \ [all …]
|
D | ccu_mp.h | 34 #define SUNXI_CCU_MP_WITH_MUX_GATE_POSTDIV(_struct, _name, _parents, _reg, \ argument 39 struct ccu_mp _struct = { \ 55 #define SUNXI_CCU_MP_WITH_MUX_GATE(_struct, _name, _parents, _reg, \ argument 60 struct ccu_mp _struct = { \ 74 #define SUNXI_CCU_MP_WITH_MUX(_struct, _name, _parents, _reg, \ argument 79 SUNXI_CCU_MP_WITH_MUX_GATE(_struct, _name, _parents, _reg, \ 85 #define SUNXI_CCU_MP_DATA_WITH_MUX_GATE(_struct, _name, _parents, _reg, \ argument 90 struct ccu_mp _struct = { \ 104 #define SUNXI_CCU_MP_DATA_WITH_MUX(_struct, _name, _parents, _reg, \ argument 109 SUNXI_CCU_MP_DATA_WITH_MUX_GATE(_struct, _name, _parents, _reg, \ [all …]
|
D | ccu_nm.h | 38 #define SUNXI_CCU_NM_WITH_SDM_GATE_LOCK(_struct, _name, _parent, _reg, \ argument 44 struct ccu_nm _struct = { \ 61 #define SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(_struct, _name, _parent, _reg, \ argument 67 struct ccu_nm _struct = { \ 85 #define SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK_MIN(_struct, _name, _parent, \ argument 92 struct ccu_nm _struct = { \ 111 #define SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK_MIN_MAX_FEAT(_struct, _name, \ argument 121 struct ccu_nm _struct = { \ 141 #define SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK_MIN_MAX(_struct, _name, \ argument 150 SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK_MIN_MAX_FEAT(_struct, _name, \ [all …]
|
D | ccu_nkm.h | 36 #define SUNXI_CCU_NKM_WITH_MUX_GATE_LOCK(_struct, _name, _parents, _reg, \ argument 42 struct ccu_nkm _struct = { \ 58 #define SUNXI_CCU_NKM_WITH_GATE_LOCK(_struct, _name, _parent, _reg, \ argument 63 struct ccu_nkm _struct = { \
|
D | ccu_phase.h | 20 #define SUNXI_CCU_PHASE(_struct, _name, _parent, _reg, _shift, _width, _flags) \ argument 21 struct ccu_phase _struct = { \
|
D | ccu_nk.h | 33 #define SUNXI_CCU_NK_WITH_GATE_LOCK_POSTDIV(_struct, _name, _parent, _reg, \ argument 38 struct ccu_nk _struct = { \
|
D | ccu_nkmp.h | 35 #define SUNXI_CCU_NKMP_WITH_GATE_LOCK(_struct, _name, _parent, _reg, \ argument 41 struct ccu_nkmp _struct = { \
|
D | ccu_mult.h | 45 #define SUNXI_CCU_N_WITH_GATE_LOCK(_struct, _name, _parent, _reg, \ argument 48 struct ccu_mult _struct = { \
|
/linux-6.12.1/drivers/clk/actions/ |
D | owl-composite.h | 37 #define OWL_COMP_DIV(_struct, _name, _parent, \ argument 39 struct owl_composite _struct = { \ 52 #define OWL_COMP_DIV_FIXED(_struct, _name, _parent, \ argument 54 struct owl_composite _struct = { \ 66 #define OWL_COMP_FACTOR(_struct, _name, _parent, \ argument 68 struct owl_composite _struct = { \ 81 #define OWL_COMP_FIXED_FACTOR(_struct, _name, _parent, \ argument 83 struct owl_composite _struct = { \ 97 #define OWL_COMP_PASS(_struct, _name, _parent, \ argument 99 struct owl_composite _struct = { \
|
D | owl-pll.h | 55 #define OWL_PLL(_struct, _name, _parent, _reg, _bfreq, _bit_idx, \ argument 57 struct owl_pll _struct = { \ 70 #define OWL_PLL_NO_PARENT(_struct, _name, _reg, _bfreq, _bit_idx, \ argument 72 struct owl_pll _struct = { \ 84 #define OWL_PLL_NO_PARENT_DELAY(_struct, _name, _reg, _bfreq, _bit_idx, \ argument 87 struct owl_pll _struct = { \
|
D | owl-gate.h | 34 #define OWL_GATE(_struct, _name, _parent, _reg, \ argument 36 struct owl_gate _struct = { \ 47 #define OWL_GATE_NO_PARENT(_struct, _name, _reg, \ argument 49 struct owl_gate _struct = { \
|
D | owl-fixed-factor.h | 16 #define OWL_FIX_FACT(_struct, _name, _parent, _mul, _div, _flags) \ argument 17 struct clk_fixed_factor _struct = { \
|
D | owl-mux.h | 34 #define OWL_MUX(_struct, _name, _parents, _reg, \ argument 36 struct owl_mux _struct = { \
|
D | owl-divider.h | 38 #define OWL_DIVIDER(_struct, _name, _parent, _reg, \ argument 40 struct owl_divider _struct = { \
|
D | owl-factor.h | 44 #define OWL_FACTOR(_struct, _name, _parent, _reg, \ argument 46 struct owl_factor _struct = { \
|
/linux-6.12.1/drivers/scsi/be2iscsi/ |
D | be.h | 155 #define AMAP_BIT_OFFSET(_struct, field) \ argument 156 (((size_t)&(((_struct *)0)->field))%32) 172 #define AMAP_SET_BITS(_struct, field, ptr, val) \ argument 174 offsetof(_struct, field)/32, \ 175 amap_mask(sizeof(((_struct *)0)->field)), \ 176 AMAP_BIT_OFFSET(_struct, field), \ 185 #define AMAP_GET_BITS(_struct, field, ptr) \ argument 187 offsetof(_struct, field)/32, \ 188 amap_mask(sizeof(((_struct *)0)->field)), \ 189 AMAP_BIT_OFFSET(_struct, field))
|
/linux-6.12.1/fs/erofs/ |
D | sysfs.c | 36 #define EROFS_ATTR_OFFSET(_name, _mode, _id, _struct) \ argument 40 .struct_type = struct_##_struct, \ 41 .offset = offsetof(struct _struct, _name),\ 44 #define EROFS_ATTR_RW(_name, _id, _struct) \ argument 45 EROFS_ATTR_OFFSET(_name, 0644, _id, _struct) 47 #define EROFS_RO_ATTR(_name, _id, _struct) \ argument 48 EROFS_ATTR_OFFSET(_name, 0444, _id, _struct) 50 #define EROFS_ATTR_RW_UI(_name, _struct) \ argument 51 EROFS_ATTR_RW(_name, pointer_ui, _struct) 53 #define EROFS_ATTR_RW_BOOL(_name, _struct) \ argument [all …]
|
/linux-6.12.1/drivers/net/ethernet/emulex/benet/ |
D | be.h | 825 #define AMAP_BIT_OFFSET(_struct, field) \ argument 826 (((size_t)&(((_struct *)0)->field))%32) 842 #define AMAP_SET_BITS(_struct, field, ptr, val) \ argument 844 offsetof(_struct, field)/32, \ 845 amap_mask(sizeof(((_struct *)0)->field)), \ 846 AMAP_BIT_OFFSET(_struct, field), \ 855 #define AMAP_GET_BITS(_struct, field, ptr) \ argument 857 offsetof(_struct, field)/32, \ 858 amap_mask(sizeof(((_struct *)0)->field)), \ 859 AMAP_BIT_OFFSET(_struct, field))
|