/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 | 415 #define COUNTER_COMP_DEVICE_U8(_name, _read, _write) \ argument 422 #define COUNTER_COMP_COUNT_U8(_name, _read, _write) \ argument 429 #define COUNTER_COMP_SIGNAL_U8(_name, _read, _write) \ argument 437 #define COUNTER_COMP_DEVICE_U64(_name, _read, _write) \ argument 444 #define COUNTER_COMP_COUNT_U64(_name, _read, _write) \ argument 451 #define COUNTER_COMP_SIGNAL_U64(_name, _read, _write) \ argument 459 #define COUNTER_COMP_DEVICE_BOOL(_name, _read, _write) \ argument 466 #define COUNTER_COMP_COUNT_BOOL(_name, _read, _write) \ argument 473 #define COUNTER_COMP_SIGNAL_BOOL(_name, _read, _write) \ argument 489 #define DEFINE_COUNTER_AVAILABLE(_name, _enums) \ argument [all …]
|
D | configfs.h | 123 #define CONFIGFS_ATTR(_pfx, _name) \ argument 132 #define CONFIGFS_ATTR_RO(_pfx, _name) \ argument 140 #define CONFIGFS_ATTR_WO(_pfx, _name) \ argument 159 #define CONFIGFS_BIN_ATTR(_pfx, _name, _priv, _maxsz) \ argument 172 #define CONFIGFS_BIN_ATTR_RO(_pfx, _name, _priv, _maxsz) \ argument 184 #define CONFIGFS_BIN_ATTR_WO(_pfx, _name, _priv, _maxsz) \ argument
|
D | async.h | 26 #define ASYNC_DOMAIN(_name) \ argument 34 #define ASYNC_DOMAIN_EXCLUSIVE(_name) \ argument
|
D | klist.h | 25 #define KLIST_INIT(_name, _get, _put) \ argument 31 #define DEFINE_KLIST(_name, _get, _put) \ argument
|
D | ioport.h | 163 #define DEFINE_RES_NAMED(_start, _size, _name, _flags) \ argument 172 #define DEFINE_RES_IO_NAMED(_start, _size, _name) \ argument 177 #define DEFINE_RES_MEM_NAMED(_start, _size, _name) \ argument 182 #define DEFINE_RES_REG_NAMED(_start, _size, _name) \ argument 187 #define DEFINE_RES_IRQ_NAMED(_irq, _name) \ argument 192 #define DEFINE_RES_DMA_NAMED(_dma, _name) \ argument
|
D | device.h | 157 #define DEVICE_ATTR(_name, _mode, _show, _store) \ argument 169 #define DEVICE_ATTR_PREALLOC(_name, _mode, _show, _store) \ argument 180 #define DEVICE_ATTR_RW(_name) \ argument 189 #define DEVICE_ATTR_ADMIN_RW(_name) \ argument 198 #define DEVICE_ATTR_RO(_name) \ argument 207 #define DEVICE_ATTR_ADMIN_RO(_name) \ argument 216 #define DEVICE_ATTR_WO(_name) \ argument 228 #define DEVICE_ULONG_ATTR(_name, _mode, _var) \ argument 240 #define DEVICE_INT_ATTR(_name, _mode, _var) \ argument 252 #define DEVICE_BOOL_ATTR(_name, _mode, _var) \ argument [all …]
|
D | semaphore.h | 34 #define DEFINE_SEMAPHORE(_name, _n) \ argument
|
D | clk-provider.h | 1421 #define CLK_HW_INIT(_name, _parent, _ops, _flags) \ argument 1430 #define CLK_HW_INIT_HW(_name, _parent, _ops, _flags) \ argument 1444 #define CLK_HW_INIT_HWS(_name, _parent, _ops, _flags) \ argument 1453 #define CLK_HW_INIT_FW_NAME(_name, _parent, _ops, _flags) \ argument 1464 #define CLK_HW_INIT_PARENTS(_name, _parents, _ops, _flags) \ argument 1473 #define CLK_HW_INIT_PARENTS_HW(_name, _parents, _ops, _flags) \ argument 1482 #define CLK_HW_INIT_PARENTS_DATA(_name, _parents, _ops, _flags) \ argument 1491 #define CLK_HW_INIT_NO_PARENT(_name, _ops, _flags) \ argument 1500 #define CLK_FIXED_FACTOR(_struct, _name, _parent, \ argument 1511 #define CLK_FIXED_FACTOR_HW(_struct, _name, _parent, \ argument [all …]
|
/include/trace/events/ |
D | mmflags.h | 70 #define IF_HAVE_PG_MLOCK(_name) ,{1UL << PG_##_name, __stringify(_name)} argument 72 #define IF_HAVE_PG_MLOCK(_name) argument 76 #define IF_HAVE_PG_UNCACHED(_name) ,{1UL << PG_##_name, __stringify(_name)} argument 78 #define IF_HAVE_PG_UNCACHED(_name) argument 82 #define IF_HAVE_PG_HWPOISON(_name) ,{1UL << PG_##_name, __stringify(_name)} argument 84 #define IF_HAVE_PG_HWPOISON(_name) argument 88 #define IF_HAVE_PG_IDLE(_name) ,{1UL << PG_##_name, __stringify(_name)} argument 90 #define IF_HAVE_PG_IDLE(_name) argument 94 #define IF_HAVE_PG_ARCH_X(_name) ,{1UL << PG_##_name, __stringify(_name)} argument 96 #define IF_HAVE_PG_ARCH_X(_name) argument [all …]
|
/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 …]
|
/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
|
D | uverbs_named_ioctl.h | 75 #define ADD_UVERBS_METHODS(_name, _object_id, ...) \ argument 87 #define ADD_UVERBS_ATTRIBUTES_SIMPLE(_name, _object_id, _method_id, ...) \ argument
|
/include/linux/mfd/ |
D | core.h | 17 #define MFD_CELL_ALL(_name, _res, _pdata, _pdsize, _id, _compat, _of_reg, _use_of_reg, _match) \ argument 31 #define MFD_CELL_OF_REG(_name, _res, _pdata, _pdsize, _id, _compat, _of_reg) \ argument 34 #define MFD_CELL_OF(_name, _res, _pdata, _pdsize, _id, _compat) \ argument 37 #define MFD_CELL_ACPI(_name, _res, _pdata, _pdsize, _id, _match) \ argument 40 #define MFD_CELL_BASIC(_name, _res, _pdata, _pdsize, _id) \ argument 43 #define MFD_CELL_RES(_name, _res) \ argument 46 #define MFD_CELL_NAME(_name) \ argument
|
D | lm3533.h | 13 #define LM3533_ATTR_RO(_name) \ argument 15 #define LM3533_ATTR_RW(_name) \ argument
|
/include/linux/device/ |
D | class.h | 185 #define CLASS_ATTR_RW(_name) \ argument 187 #define CLASS_ATTR_RO(_name) \ argument 189 #define CLASS_ATTR_WO(_name) \ argument 216 #define _CLASS_ATTR_STRING(_name, _mode, _str) \ argument 218 #define CLASS_ATTR_STRING(_name, _mode, _str) \ argument
|
D | driver.h | 148 #define DRIVER_ATTR_RW(_name) \ argument 150 #define DRIVER_ATTR_RO(_name) \ argument 152 #define DRIVER_ATTR_WO(_name) \ argument
|
D | bus.h | 130 #define BUS_ATTR_RW(_name) \ argument 132 #define BUS_ATTR_RO(_name) \ argument 134 #define BUS_ATTR_WO(_name) \ argument
|
/include/linux/platform_data/ |
D | keyboard-spear.h | 18 #define DECLARE_9x9_KEYMAP(_name) \ argument 103 #define DECLARE_6x6_KEYMAP(_name) \ argument
|
/include/uapi/linux/ |
D | map_to_7segment.h | 75 #define SEG7_CONVERSION_MAP(_name, _map) \ argument 175 #define SEG7_DEFAULT_MAP(_name) \ argument
|
D | map_to_14segment.h | 93 #define SEG14_CONVERSION_MAP(_name, _map) \ argument 238 #define SEG14_DEFAULT_MAP(_name) \ argument
|
/include/linux/usb/ |
D | gadget_configfs.h | 30 #define GS_STRINGS_RW(struct_name, _name) \ argument
|
/include/linux/pinctrl/ |
D | pinctrl.h | 42 #define PINCTRL_PINGROUP(_name, _pins, _npins) \ argument 222 #define PINCTRL_PINFUNCTION(_name, _groups, _ngroups) \ argument
|