/linux-6.6.21/include/linux/ |
D | cleanup.h | 37 #define DEFINE_FREE(_name, _type, _free) \ argument 40 #define __free(_name) __cleanup(__free_##_name) argument 71 #define DEFINE_CLASS(_name, _type, _exit, _init, _init_args...) \ argument 78 #define EXTEND_CLASS(_name, ext, _init, _init_args...) \ argument 85 #define CLASS(_name, var) \ argument 105 #define DEFINE_GUARD(_name, _type, _lock, _unlock) \ argument 108 #define guard(_name) \ argument 111 #define scoped_guard(_name, args...) \ argument 134 #define __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, ...) \ argument 146 #define __DEFINE_LOCK_GUARD_1(_name, _type, _lock) \ argument [all …]
|
D | hwmon-sysfs.h | 20 #define SENSOR_ATTR(_name, _mode, _show, _store, _index) \ argument 24 #define SENSOR_ATTR_RO(_name, _func, _index) \ argument 27 #define SENSOR_ATTR_RW(_name, _func, _index) \ argument 30 #define SENSOR_ATTR_WO(_name, _func, _index) \ argument 33 #define SENSOR_DEVICE_ATTR(_name, _mode, _show, _store, _index) \ argument 37 #define SENSOR_DEVICE_ATTR_RO(_name, _func, _index) \ argument 40 #define SENSOR_DEVICE_ATTR_RW(_name, _func, _index) \ argument 43 #define SENSOR_DEVICE_ATTR_WO(_name, _func, _index) \ argument 54 #define SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index) \ argument 59 #define SENSOR_ATTR_2_RO(_name, _func, _nr, _index) \ argument [all …]
|
D | sysfs.h | 101 #define __ATTR(_name, _mode, _show, _store) { \ argument 108 #define __ATTR_PREALLOC(_name, _mode, _show, _store) { \ argument 115 #define __ATTR_RO(_name) { \ argument 120 #define __ATTR_RO_MODE(_name, _mode) { \ argument 126 #define __ATTR_RW_MODE(_name, _mode) { \ argument 133 #define __ATTR_WO(_name) { \ argument 138 #define __ATTR_RW(_name) __ATTR(_name, 0644, _name##_show, _name##_store) argument 143 #define __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) { \ argument 153 #define __ATTRIBUTE_GROUPS(_name) \ argument 159 #define ATTRIBUTE_GROUPS(_name) \ argument [all …]
|
D | counter.h | 416 #define COUNTER_COMP_DEVICE_U8(_name, _read, _write) \ argument 423 #define COUNTER_COMP_COUNT_U8(_name, _read, _write) \ argument 430 #define COUNTER_COMP_SIGNAL_U8(_name, _read, _write) \ argument 438 #define COUNTER_COMP_DEVICE_U64(_name, _read, _write) \ argument 445 #define COUNTER_COMP_COUNT_U64(_name, _read, _write) \ argument 452 #define COUNTER_COMP_SIGNAL_U64(_name, _read, _write) \ argument 460 #define COUNTER_COMP_DEVICE_BOOL(_name, _read, _write) \ argument 467 #define COUNTER_COMP_COUNT_BOOL(_name, _read, _write) \ argument 474 #define COUNTER_COMP_SIGNAL_BOOL(_name, _read, _write) \ argument 490 #define DEFINE_COUNTER_AVAILABLE(_name, _enums) \ argument [all …]
|
/linux-6.6.21/drivers/staging/rtl8723bs/hal/ |
D | odm_interface.h | 16 #define _reg_all(_name) ODM_##_name argument 17 #define _reg_ic(_name, _ic) ODM_##_name##_ic argument 18 #define _bit_all(_name) BIT_##_name argument 19 #define _bit_ic(_name, _ic) BIT_##_name##_ic argument 29 #define _reg_11N(_name) ODM_REG_##_name##_11N argument 30 #define _bit_11N(_name) ODM_BIT_##_name##_11N argument 32 #define _cat(_name, _ic_type, _func) _func##_11N(_name) argument 37 #define ODM_REG(_name, _pDM_Odm) _cat(_name, _pDM_Odm->SupportICType, _reg) argument 38 #define ODM_BIT(_name, _pDM_Odm) _cat(_name, _pDM_Odm->SupportICType, _bit) argument
|
/linux-6.6.21/include/linux/iio/ |
D | sysfs.h | 54 #define IIO_ATTR(_name, _mode, _show, _store, _addr) \ argument 58 #define IIO_ATTR_RO(_name, _addr) \ argument 62 #define IIO_ATTR_WO(_name, _addr) \ argument 66 #define IIO_ATTR_RW(_name, _addr) \ argument 70 #define IIO_DEVICE_ATTR(_name, _mode, _show, _store, _addr) \ argument 74 #define IIO_DEVICE_ATTR_RO(_name, _addr) \ argument 78 #define IIO_DEVICE_ATTR_WO(_name, _addr) \ argument 82 #define IIO_DEVICE_ATTR_RW(_name, _addr) \ argument 86 #define IIO_DEVICE_ATTR_NAMED(_vname, _name, _mode, _show, _store, _addr) \ argument 90 #define IIO_CONST_ATTR(_name, _string) \ argument [all …]
|
/linux-6.6.21/drivers/clk/mediatek/ |
D | clk-mt8188-infra_ao.c | 45 #define GATE_INFRA_AO0_FLAGS(_id, _name, _parent, _shift, _flag) \ argument 49 #define GATE_INFRA_AO0(_id, _name, _parent, _shift) \ argument 52 #define GATE_INFRA_AO1_FLAGS(_id, _name, _parent, _shift, _flag) \ argument 56 #define GATE_INFRA_AO1(_id, _name, _parent, _shift) \ argument 59 #define GATE_INFRA_AO2(_id, _name, _parent, _shift) \ argument 62 #define GATE_INFRA_AO2_FLAGS(_id, _name, _parent, _shift, _flag) \ argument 66 #define GATE_INFRA_AO3_FLAGS(_id, _name, _parent, _shift, _flag) \ argument 70 #define GATE_INFRA_AO3(_id, _name, _parent, _shift) \ argument 73 #define GATE_INFRA_AO4_FLAGS(_id, _name, _parent, _shift, _flag) \ argument 77 #define GATE_INFRA_AO4(_id, _name, _parent, _shift) \ argument
|
D | clk-mt8195-infra_ao.c | 44 #define GATE_INFRA_AO0_FLAGS(_id, _name, _parent, _shift, _flag) \ argument 48 #define GATE_INFRA_AO0(_id, _name, _parent, _shift) \ argument 51 #define GATE_INFRA_AO1_FLAGS(_id, _name, _parent, _shift, _flag) \ argument 55 #define GATE_INFRA_AO1(_id, _name, _parent, _shift) \ argument 58 #define GATE_INFRA_AO2_FLAGS(_id, _name, _parent, _shift, _flag) \ argument 62 #define GATE_INFRA_AO2(_id, _name, _parent, _shift) \ argument 65 #define GATE_INFRA_AO3_FLAGS(_id, _name, _parent, _shift, _flag) \ argument 69 #define GATE_INFRA_AO3(_id, _name, _parent, _shift) \ argument 72 #define GATE_INFRA_AO4_FLAGS(_id, _name, _parent, _shift, _flag) \ argument 76 #define GATE_INFRA_AO4(_id, _name, _parent, _shift) \ argument
|
D | clk-mt8186-infra_ao.c | 38 #define GATE_INFRA_AO0_FLAGS(_id, _name, _parent, _shift, _flag) \ argument 42 #define GATE_INFRA_AO0(_id, _name, _parent, _shift) \ argument 45 #define GATE_INFRA_AO1_FLAGS(_id, _name, _parent, _shift, _flag) \ argument 49 #define GATE_INFRA_AO1(_id, _name, _parent, _shift) \ argument 52 #define GATE_INFRA_AO2_FLAGS(_id, _name, _parent, _shift, _flag) \ argument 56 #define GATE_INFRA_AO2(_id, _name, _parent, _shift) \ argument 59 #define GATE_INFRA_AO3_FLAGS(_id, _name, _parent, _shift, _flag) \ argument 63 #define GATE_INFRA_AO3(_id, _name, _parent, _shift) \ argument
|
D | clk-mt8188-vdo1.c | 46 #define GATE_VDO1_0(_id, _name, _parent, _shift) \ argument 49 #define GATE_VDO1_1(_id, _name, _parent, _shift) \ argument 52 #define GATE_VDO1_2(_id, _name, _parent, _shift) \ argument 55 #define GATE_VDO1_3(_id, _name, _parent, _shift) \ argument 58 #define GATE_VDO1_3_FLAGS(_id, _name, _parent, _shift, _flags) \ argument 62 #define GATE_VDO1_4(_id, _name, _parent, _shift) \ argument
|
D | clk-mt8195-vdo1.c | 43 #define GATE_VDO1_0(_id, _name, _parent, _shift) \ argument 46 #define GATE_VDO1_1(_id, _name, _parent, _shift) \ argument 49 #define GATE_VDO1_2(_id, _name, _parent, _shift) \ argument 52 #define GATE_VDO1_2_FLAGS(_id, _name, _parent, _shift, _flags) \ argument 56 #define GATE_VDO1_3(_id, _name, _parent, _shift) \ argument 59 #define GATE_VDO1_4(_id, _name, _parent, _shift) \ argument
|
D | clk-mt8192.c | 749 #define GATE_INFRA0(_id, _name, _parent, _shift) \ argument 752 #define GATE_INFRA1_FLAGS(_id, _name, _parent, _shift, _flag) \ argument 756 #define GATE_INFRA1(_id, _name, _parent, _shift) \ argument 759 #define GATE_INFRA2(_id, _name, _parent, _shift) \ argument 762 #define GATE_INFRA3_FLAGS(_id, _name, _parent, _shift, _flag) \ argument 766 #define GATE_INFRA3(_id, _name, _parent, _shift) \ argument 769 #define GATE_INFRA4(_id, _name, _parent, _shift) \ argument 772 #define GATE_INFRA5_FLAGS(_id, _name, _parent, _shift, _flag) \ argument 776 #define GATE_INFRA5(_id, _name, _parent, _shift) \ argument 921 #define GATE_PERI(_id, _name, _parent, _shift) \ argument [all …]
|
D | clk-mt8365.c | 542 #define DIV_ADJ_F(_id, _name, _parent, _reg, _shift, _width, _flags) { \ argument 591 #define GATE_TOP0(_id, _name, _parent, _shift) \ argument 595 #define GATE_TOP1(_id, _name, _parent, _shift) \ argument 599 #define GATE_TOP2(_id, _name, _parent, _shift) \ argument 655 #define GATE_IFRX(_id, _name, _parent, _shift, _regs) \ argument 659 #define GATE_IFR2(_id, _name, _parent, _shift) \ argument 662 #define GATE_IFR3(_id, _name, _parent, _shift) \ argument 665 #define GATE_IFR4(_id, _name, _parent, _shift) \ argument 668 #define GATE_IFR5(_id, _name, _parent, _shift) \ argument 671 #define GATE_IFR6(_id, _name, _parent, _shift) \ argument
|
D | clk-mt8167.c | 658 #define DIV_ADJ(_id, _name, _parent, _reg, _shift, _width) { \ argument 724 #define GATE_TOP0(_id, _name, _parent, _shift) \ argument 727 #define GATE_TOP0_I(_id, _name, _parent, _shift) \ argument 730 #define GATE_TOP1(_id, _name, _parent, _shift) \ argument 733 #define GATE_TOP2(_id, _name, _parent, _shift) \ argument 736 #define GATE_TOP2_I(_id, _name, _parent, _shift) \ argument 739 #define GATE_TOP3(_id, _name, _parent, _shift) \ argument 742 #define GATE_TOP4_I(_id, _name, _parent, _shift) \ argument 745 #define GATE_TOP5(_id, _name, _parent, _shift) \ argument
|
/linux-6.6.21/include/trace/events/ |
D | mmflags.h | 69 #define IF_HAVE_PG_MLOCK(_name) ,{1UL << PG_##_name, __stringify(_name)} argument 71 #define IF_HAVE_PG_MLOCK(_name) argument 75 #define IF_HAVE_PG_UNCACHED(_name) ,{1UL << PG_##_name, __stringify(_name)} argument 77 #define IF_HAVE_PG_UNCACHED(_name) argument 81 #define IF_HAVE_PG_HWPOISON(_name) ,{1UL << PG_##_name, __stringify(_name)} argument 83 #define IF_HAVE_PG_HWPOISON(_name) argument 87 #define IF_HAVE_PG_IDLE(_name) ,{1UL << PG_##_name, __stringify(_name)} argument 89 #define IF_HAVE_PG_IDLE(_name) argument 93 #define IF_HAVE_PG_ARCH_X(_name) ,{1UL << PG_##_name, __stringify(_name)} argument 95 #define IF_HAVE_PG_ARCH_X(_name) argument [all …]
|
/linux-6.6.21/drivers/clk/sprd/ |
D | gate.h | 31 #define SPRD_SC_GATE_CLK_HW_INIT_FN(_struct, _name, _parent, _reg, \ argument 47 #define SPRD_SC_GATE_CLK_OPS_UDELAY(_struct, _name, _parent, _reg, \ argument 54 #define SPRD_SC_GATE_CLK_OPS(_struct, _name, _parent, _reg, _sc_offset, \ argument 60 #define SPRD_SC_GATE_CLK(_struct, _name, _parent, _reg, _sc_offset, \ argument 66 #define SPRD_GATE_CLK(_struct, _name, _parent, _reg, \ argument 72 #define SPRD_PLL_SC_GATE_CLK(_struct, _name, _parent, _reg, _sc_offset, \ argument 81 #define SPRD_SC_GATE_CLK_HW_OPS_UDELAY(_struct, _name, _parent, _reg, \ argument 90 #define SPRD_SC_GATE_CLK_HW_OPS(_struct, _name, _parent, _reg, \ argument 97 #define SPRD_SC_GATE_CLK_HW(_struct, _name, _parent, _reg, \ argument 104 #define SPRD_GATE_CLK_HW(_struct, _name, _parent, _reg, \ argument [all …]
|
/linux-6.6.21/drivers/clk/meson/ |
D | axg-audio.c | 26 #define AUD_GATE(_name, _reg, _bit, _pname, _iflags) { \ argument 40 #define AUD_MUX(_name, _reg, _mask, _shift, _dflags, _pdata, _iflags) { \ argument 56 #define AUD_DIV(_name, _reg, _shift, _width, _dflags, _pname, _iflags) { \ argument 72 #define AUD_PCLK_GATE(_name, _reg, _bit) { \ argument 85 #define AUD_SCLK_DIV(_name, _reg, _div_shift, _div_width, \ argument 108 #define AUD_TRIPHASE(_name, _reg, _width, _shift0, _shift1, _shift2, \ argument 136 #define AUD_PHASE(_name, _reg, _width, _shift, _pname, _iflags) { \ argument 153 #define AUD_SCLK_WS(_name, _reg, _width, _shift_ph, _shift_ws, _pname, \ argument 188 #define AUD_MST_MUX(_name, _reg, _flag) \ argument 191 #define AUD_MST_DIV(_name, _reg, _flag) \ argument [all …]
|
/linux-6.6.21/drivers/clk/starfive/ |
D | clk-starfive-jh71x0.h | 32 #define JH71X0_GATE(_idx, _name, _flags, _parent) \ argument 40 #define JH71X0__DIV(_idx, _name, _max, _parent) \ argument 48 #define JH71X0_GDIV(_idx, _name, _flags, _max, _parent) \ argument 56 #define JH71X0_FDIV(_idx, _name, _parent) \ argument 64 #define JH71X0__MUX(_idx, _name, _nparents, ...) \ argument 72 #define JH71X0_GMUX(_idx, _name, _flags, _nparents, ...) \ argument 81 #define JH71X0_MDIV(_idx, _name, _max, _nparents, ...) \ argument 89 #define JH71X0__GMD(_idx, _name, _flags, _max, _nparents, ...) \ argument 98 #define JH71X0__INV(_idx, _name, _parent) \ argument
|
/linux-6.6.21/drivers/clk/renesas/ |
D | rcar-gen3-cpg.h | 37 #define DEF_GEN3_SDH(_name, _id, _parent, _offset) \ argument 40 #define DEF_GEN3_SD(_name, _id, _parent, _offset) \ argument 43 #define DEF_GEN3_MDSEL(_name, _id, _md, _parent0, _div0, _parent1, _div1) \ argument 48 #define DEF_GEN3_PE(_name, _id, _parent_sscg, _div_sscg, _parent_clean, \ argument 53 #define DEF_GEN3_OSC(_name, _id, _parent, _div) \ argument 56 #define DEF_GEN3_RCKSEL(_name, _id, _parent0, _div0, _parent1, _div1) \ argument 60 #define DEF_GEN3_Z(_name, _id, _type, _parent, _div, _offset) \ argument 63 #define DEF_FIXED_RPCSRC_E3(_name, _id, _parent0, _parent1) \ argument 66 #define DEF_FIXED_RPCSRC_D3(_name, _id, _parent0, _parent1) \ argument
|
/linux-6.6.21/sound/soc/mediatek/mt8188/ |
D | mt8188-audsys-clk.c | 28 #define GATE_AFE_FLAGS(_id, _name, _parent, _reg, _bit, _flags, _cgflags) {\ argument 38 #define GATE_AFE(_id, _name, _parent, _reg, _bit) \ argument 42 #define GATE_AUD0(_id, _name, _parent, _bit) \ argument 45 #define GATE_AUD1(_id, _name, _parent, _bit) \ argument 48 #define GATE_AUD3(_id, _name, _parent, _bit) \ argument 51 #define GATE_AUD4(_id, _name, _parent, _bit) \ argument 54 #define GATE_AUD5(_id, _name, _parent, _bit) \ argument 57 #define GATE_AUD6(_id, _name, _parent, _bit) \ argument
|
/linux-6.6.21/sound/soc/mediatek/mt8195/ |
D | mt8195-audsys-clk.c | 28 #define GATE_AFE_FLAGS(_id, _name, _parent, _reg, _bit, _flags, _cgflags) {\ argument 38 #define GATE_AFE(_id, _name, _parent, _reg, _bit) \ argument 42 #define GATE_AUD0(_id, _name, _parent, _bit) \ argument 45 #define GATE_AUD1(_id, _name, _parent, _bit) \ argument 48 #define GATE_AUD3(_id, _name, _parent, _bit) \ argument 51 #define GATE_AUD4(_id, _name, _parent, _bit) \ argument 54 #define GATE_AUD5(_id, _name, _parent, _bit) \ argument 57 #define GATE_AUD6(_id, _name, _parent, _bit) \ argument
|
/linux-6.6.21/drivers/clk/sunxi-ng/ |
D | ccu_gate.h | 19 #define SUNXI_CCU_GATE(_struct, _name, _parent, _reg, _gate, _flags) \ argument 31 #define SUNXI_CCU_GATE_HW(_struct, _name, _parent, _reg, _gate, _flags) \ argument 43 #define SUNXI_CCU_GATE_FW(_struct, _name, _parent, _reg, _gate, _flags) \ argument 59 #define SUNXI_CCU_GATE_HWS(_struct, _name, _parent, _reg, _gate, _flags) \ argument 71 #define SUNXI_CCU_GATE_HWS_WITH_PREDIV(_struct, _name, _parent, _reg, \ argument 86 #define SUNXI_CCU_GATE_DATA(_struct, _name, _data, _reg, _gate, _flags) \ argument 99 #define SUNXI_CCU_GATE_DATA_WITH_PREDIV(_struct, _name, _parent, _reg, \ argument
|
D | ccu_div.h | 87 #define SUNXI_CCU_DIV_TABLE_WITH_GATE(_struct, _name, _parent, _reg, \ argument 104 #define SUNXI_CCU_DIV_TABLE(_struct, _name, _parent, _reg, \ argument 111 #define SUNXI_CCU_DIV_TABLE_HW(_struct, _name, _parent, _reg, \ argument 127 #define SUNXI_CCU_M_WITH_MUX_TABLE_GATE(_struct, _name, \ argument 146 #define SUNXI_CCU_M_WITH_MUX_TABLE_GATE_CLOSEST(_struct, _name, \ argument 166 #define SUNXI_CCU_M_WITH_MUX_GATE(_struct, _name, _parents, _reg, \ argument 175 #define SUNXI_CCU_M_WITH_MUX_GATE_CLOSEST(_struct, _name, _parents, \ argument 185 #define SUNXI_CCU_M_WITH_MUX(_struct, _name, _parents, _reg, \ argument 195 #define SUNXI_CCU_M_WITH_GATE(_struct, _name, _parent, _reg, \ argument 210 #define SUNXI_CCU_M(_struct, _name, _parent, _reg, _mshift, _mwidth, \ argument [all …]
|
/linux-6.6.21/fs/ext4/ |
D | sysfs.c | 138 #define EXT4_ATTR(_name,_mode,_id) \ argument 144 #define EXT4_ATTR_FUNC(_name,_mode) EXT4_ATTR(_name,_mode,_name) argument 146 #define EXT4_ATTR_FEATURE(_name) EXT4_ATTR(_name, 0444, feature) argument 148 #define EXT4_ATTR_OFFSET(_name,_mode,_id,_struct,_elname) \ argument 158 #define EXT4_ATTR_STRING(_name,_mode,_size,_struct,_elname) \ argument 169 #define EXT4_RO_ATTR_ES_UI(_name,_elname) \ argument 172 #define EXT4_RO_ATTR_ES_U8(_name,_elname) \ argument 175 #define EXT4_RO_ATTR_ES_U64(_name,_elname) \ argument 178 #define EXT4_RO_ATTR_ES_STRING(_name,_elname,_size) \ argument 181 #define EXT4_RW_ATTR_SBI_UI(_name,_elname) \ argument [all …]
|
/linux-6.6.21/include/rdma/ |
D | ib_sysfs.h | 21 #define IB_PORT_ATTR_RW(_name) \ argument 24 #define IB_PORT_ATTR_ADMIN_RW(_name) \ argument 28 #define IB_PORT_ATTR_RO(_name) \ argument 31 #define IB_PORT_ATTR_WO(_name) \ argument
|