Home
last modified time | relevance | path

Searched refs:_func (Results 1 – 25 of 58) sorted by relevance

123

/linux/include/linux/
H A Dhwmon-sysfs.h24 #define SENSOR_ATTR_RO(_name, _func, _index) \ argument
25 SENSOR_ATTR(_name, 0444, _func##_show, NULL, _index)
27 #define SENSOR_ATTR_RW(_name, _func, _index) \ argument
28 SENSOR_ATTR(_name, 0644, _func##_show, _func##_store, _index)
30 #define SENSOR_ATTR_WO(_name, _func, _index) \ argument
31 SENSOR_ATTR(_name, 0200, NULL, _func##_store, _index)
37 #define SENSOR_DEVICE_ATTR_RO(_name, _func, _index) \ argument
38 SENSOR_DEVICE_ATTR(_name, 0444, _func##_show, NULL, _index)
40 #define SENSOR_DEVICE_ATTR_RW(_name, _func, _index) \ argument
41 SENSOR_DEVICE_ATTR(_name, 0644, _func##_show, _func##_store, _index)
[all …]
H A Dstatic_call.h187 #define DEFINE_STATIC_CALL(name, _func) \ argument
188 DECLARE_STATIC_CALL(name, _func); \
190 .func = _func, \
193 ARCH_DEFINE_STATIC_CALL_TRAMP(name, _func)
195 #define DEFINE_STATIC_CALL_NULL(name, _func) \ argument
196 DECLARE_STATIC_CALL(name, _func); \
203 #define DEFINE_STATIC_CALL_RET0(name, _func) \ argument
204 DECLARE_STATIC_CALL(name, _func); \
234 #define DEFINE_STATIC_CALL(name, _func) \ argument
235 DECLARE_STATIC_CALL(name, _func); \
[all …]
H A Dworkqueue.h283 #define __INIT_WORK_KEY(_work, _func, _onstack, _key) \ argument
289 (_work)->func = (_func); \
292 #define __INIT_WORK_KEY(_work, _func, _onstack, _key) \ argument
297 (_work)->func = (_func); \
301 #define __INIT_WORK(_work, _func, _onstack) \ argument
305 __INIT_WORK_KEY(_work, _func, _onstack, &__key); \
308 #define INIT_WORK(_work, _func) \ argument
309 __INIT_WORK((_work), (_func), 0)
311 #define INIT_WORK_ONSTACK(_work, _func) \ argument
312 __INIT_WORK((_work), (_func), 1)
[all …]
H A Dirq_work.h23 #define __IRQ_WORK_INIT(_func, _flags) (struct irq_work){ \ argument
25 .func = (_func), \
29 #define IRQ_WORK_INIT(_func) __IRQ_WORK_INIT(_func, 0) argument
30 #define IRQ_WORK_INIT_LAZY(_func) __IRQ_WORK_INIT(_func, IRQ_WORK_LAZY) argument
31 #define IRQ_WORK_INIT_HARD(_func) __IRQ_WORK_INIT(_func, IRQ_WORK_HARD_IRQ) argument
H A Dmin_heap.h291 #define min_heap_sift_down_inline(_heap, _pos, _func, _args) \ argument
293 __minheap_obj_size(_heap), _func, _args)
318 #define min_heap_sift_up_inline(_heap, _idx, _func, _args) \ argument
320 __minheap_obj_size(_heap), _idx, _func, _args)
333 #define min_heapify_all_inline(_heap, _func, _args) \ argument
335 __minheap_obj_size(_heap), _func, _args)
355 #define min_heap_pop_inline(_heap, _func, _args) \ argument
357 __minheap_obj_size(_heap), _func, _args)
372 #define min_heap_pop_push_inline(_heap, _element, _func, _args) \ argument
374 __minheap_obj_size(_heap), _func, _args)
[all …]
H A Dsmp.h29 #define CSD_INIT(_func, _info) \ argument
30 (struct __call_single_data){ .func = (_func), .info = (_info), }
36 #define INIT_CSD(_csd, _func, _info) \ argument
38 *(_csd) = CSD_INIT((_func), (_info)); \
H A Dinterrupt.h718 #define DECLARE_TASKLET_OLD(name, _func) \ argument
721 .func = _func, \
724 #define DECLARE_TASKLET_DISABLED_OLD(name, _func) \ argument
727 .func = _func, \
/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtmips.h12 #define GRP(_name, _func, _mask, _shift) \ argument
14 .func = _func, .gpio = _mask, \
15 .func_count = ARRAY_SIZE(_func) }
17 #define GRP_G(_name, _func, _mask, _gpio, _shift) \ argument
19 .func = _func, .gpio = _gpio, \
20 .func_count = ARRAY_SIZE(_func) }
/linux/drivers/pinctrl/mvebu/
H A Dpinctrl-mvebu.h133 #define MPP_FUNC_CTRL(_idl, _idh, _name, _func) \ argument
139 .mpp_get = _func ## _get, \
140 .mpp_set = _func ## _set, \
145 #define MPP_FUNC_GPIO_CTRL(_idl, _idh, _name, _func) \ argument
151 .mpp_get = _func ## _get, \
152 .mpp_set = _func ## _set, \
153 .mpp_gpio_req = _func ## _gpio_req, \
154 .mpp_gpio_dir = _func ## _gpio_dir, \
/linux/arch/powerpc/kernel/
H A Dstatic_call.c12 unsigned long _func = (unsigned long)func; in arch_static_call_transform() local
24 err = patch_branch(site, _func, 0); in arch_static_call_transform()
35 err = patch_branch(site, _func, BRANCH_SET_LINK); in arch_static_call_transform()
42 err = patch_ulong(tramp + PPC_SCT_DATA, _func); in arch_static_call_transform()
52 err = patch_branch(tramp, _func, 0); in arch_static_call_transform()
/linux/drivers/net/wireless/ath/ath12k/
H A Dacpi.h31 #define ATH12K_ACPI_FUNC_BIT_VALID(_acdata, _func) (((_acdata).func_bit) & (_func)) argument
32 #define ATH12K_ACPI_CHEK_BIT_VALID(_acdata, _func) (((_acdata).bit_flag) & (_func)) argument
/linux/net/ieee802154/
H A Dieee802154.h11 #define IEEE802154_OP(_cmd, _func) \ argument
14 .doit = _func, \
19 #define IEEE802154_DUMP(_cmd, _func, _dump) \ argument
22 .doit = _func, \
/linux/arch/x86/include/asm/
H A Dstatic_call.h70 #define static_call_update_early(name, _func) \ argument
72 typeof(&STATIC_CALL_TRAMP(name)) __F = (_func); \
77 WRITE_ONCE(STATIC_CALL_KEY(name).func, _func); \
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.h138 #define __MLXSW_RXL(_func, _trap_id, _en_action, _is_ctrl, _en_trap_group, \ argument
145 .func = _func, \
158 #define MLXSW_RXL(_func, _trap_id, _en_action, _is_ctrl, _trap_group, \ argument
160 __MLXSW_RXL(_func, _trap_id, _en_action, _is_ctrl, _trap_group, \
163 #define MLXSW_RXL_DIS(_func, _trap_id, _en_action, _is_ctrl, _en_trap_group, \ argument
165 __MLXSW_RXL(_func, _trap_id, _en_action, _is_ctrl, _en_trap_group, \
168 #define MLXSW_RXL_MIRROR(_func, _session_id, _trap_group, _mirror_reason) \ argument
169 __MLXSW_RXL(_func, MIRROR_SESSION##_session_id, TRAP_TO_CPU, false, \
173 #define MLXSW_EVENTL(_func, _trap_id, _trap_group) \ argument
178 .func = _func, \
[all …]
/linux/drivers/staging/rtl8723bs/hal/
H A Dodm_interface.h32 #define _cat(_name, _ic_type, _func) _func##_11N(_name) argument
/linux/include/drm/
H A Ddrm_ioctl.h151 #define DRM_IOCTL_DEF_DRV(ioctl, _func, _flags) \ argument
154 .func = _func, \
H A Ddrm_mipi_dsi.h482 #define mipi_dsi_dual(_func, _ctx, _dsi1, _dsi2, ...) \ argument
486 (_func)(_ctxcpy, ##__VA_ARGS__); \
488 (_func)(_ctxcpy, ##__VA_ARGS__); \
/linux/drivers/platform/x86/lenovo/
H A Dwmi-other.c404 #define __LWMI_ATTR_RO(_func, _name) \ argument
407 .show = _func##_##_name##_show, \
416 #define __LWMI_ATTR_RW(_func, _name) \ argument
417 __ATTR(_name, 0644, _func##_##_name##_show, _func##_##_name##_store)
/linux/include/dt-bindings/pinctrl/
H A Drzn1-pinctrl.h9 #define RZN1_PINMUX(_gpio, _func) \ argument
10 (((_func) << 8) | (_gpio))
/linux/drivers/perf/arm_cspmu/
H A Darm_cspmu.h22 #define ARM_CSPMU_EXT_ATTR(_name, _func, _config) \ argument
25 .attr = __ATTR(_name, 0444, _func, NULL), \
/linux/drivers/perf/hisilicon/
H A Dhisi_uncore_pmu.h30 #define HISI_PMU_ATTR(_name, _func, _config) \ argument
32 { __ATTR(_name, 0444, _func, NULL), (void *)_config } \
/linux/include/rdma/
H A Duverbs_ioctl.h366 #define DECLARE_UVERBS_WRITE(_command_num, _func, _cmd_desc, ...) \ argument
371 .func_write = _func, \
377 #define DECLARE_UVERBS_WRITE_EX(_command_num, _func, _cmd_desc, ...) \ argument
382 .func_write = _func, \
418 #define UAPI_DEF_IS_OBJ_SUPPORTED(_func) \ argument
421 .scope = UAPI_SCOPE_OBJECT, .func_is_supported = _func, \
/linux/Documentation/userspace-api/media/v4l/
H A Dfunc-close.rst4 .. _func-close:
H A Dfunc-munmap.rst4 .. _func-munmap:
/linux/drivers/soc/sunxi/
H A Dsunxi_sram.c44 #define SUNXI_SRAM_MAP(_reg_val, _val, _func) \ argument
46 .func = _func, \

123