| /linux-6.15/drivers/gpu/drm/i915/gt/ |
| H A D | intel_gt_debugfs.h | 13 #define __GT_DEBUGFS_ATTRIBUTE_FOPS(__name) \ argument 14 static const struct file_operations __name ## _fops = { \ 16 .open = __name ## _open, \ 22 #define DEFINE_INTEL_GT_DEBUGFS_ATTRIBUTE(__name) \ argument 23 static int __name ## _open(struct inode *inode, struct file *file) \ 25 return single_open(file, __name ## _show, inode->i_private); \ 27 __GT_DEBUGFS_ATTRIBUTE_FOPS(__name) 29 #define DEFINE_INTEL_GT_DEBUGFS_ATTRIBUTE_WITH_SIZE(__name, __size_vf) \ argument 30 static int __name ## _open(struct inode *inode, struct file *file) \ 32 return single_open_size(file, __name ## _show, inode->i_private, \ [all …]
|
| /linux-6.15/include/linux/ |
| H A D | seq_file.h | 188 #define DEFINE_SEQ_ATTRIBUTE(__name) \ argument 191 int ret = seq_open(file, &__name ## _sops); \ 201 .open = __name ## _open, \ 207 #define DEFINE_SHOW_ATTRIBUTE(__name) \ argument 215 .open = __name ## _open, \ 221 #define DEFINE_SHOW_STORE_ATTRIBUTE(__name) \ argument 229 .open = __name ## _open, \ 231 .write = __name ## _write, \ 236 #define DEFINE_PROC_SHOW_ATTRIBUTE(__name) \ argument 242 static const struct proc_ops __name ## _proc_ops = { \ [all …]
|
| H A D | kprobes.h | 303 #define DEFINE_INSN_CACHE_OPS(__name) \ argument 304 extern struct kprobe_insn_cache kprobe_##__name##_slots; \ 306 static inline kprobe_opcode_t *get_##__name##_slot(void) \ 308 return __get_insn_slot(&kprobe_##__name##_slots); \ 311 static inline void free_##__name##_slot(kprobe_opcode_t *slot, int dirty)\ 313 __free_insn_slot(&kprobe_##__name##_slots, slot, dirty); \ 316 static inline bool is_kprobe_##__name##_slot(unsigned long addr) \ 318 return __is_insn_slot_addr(&kprobe_##__name##_slots, addr); \ 325 #define DEFINE_INSN_CACHE_OPS(__name) \ argument 326 static inline bool is_kprobe_##__name##_slot(unsigned long addr) \
|
| H A D | init.h | 260 #define ____define_initcall(fn, __stub, __name, __sec) \ argument 263 __stringify(__name) ": \n" \ 268 #define ____define_initcall(fn, __unused, __name, __sec) \ argument 269 static initcall_t __name __used \
|
| /linux-6.15/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2x00debug.c | 429 debug->__name.word_size); \ 432 index *= debug->__name.word_size; \ 471 debug->__name.word_size); \ 474 index *= debug->__name.word_size; \ 616 if (debug->__name.read) \ in rt2x00debug_create_file_chipset() 619 debug->__name.word_base, \ in rt2x00debug_create_file_chipset() 620 debug->__name.word_count, \ in rt2x00debug_create_file_chipset() 621 debug->__name.word_size); \ in rt2x00debug_create_file_chipset() 669 if (debug->__name.read) { \ in rt2x00debug_register() 672 &(__intf)->offset_##__name); \ in rt2x00debug_register() [all …]
|
| H A D | rt2x00debug.h | 28 #define RT2X00DEBUGFS_REGISTER_ENTRY(__name, __type) \ argument 29 struct reg##__name { \ 40 } __name
|
| /linux-6.15/drivers/dma/ |
| H A D | fsl-edma-common.h | 259 #define edma_read_tcdreg_c(chan, _tcd, __name) \ argument 260 _Generic(((_tcd)->__name), \ 266 #define edma_read_tcdreg(chan, __name) \ argument 273 _Generic((_tcd->__name), \ 280 #define edma_write_tcdreg(chan, val, __name) \ argument 299 edma_write_tcdreg_c(chan, tcd64_r, tcd64_m->__name, __name); \ 301 edma_write_tcdreg_c(chan, tcd_r, tcd_m->__name, __name); \ 304 #define edma_readl_chreg(chan, __name) \ argument 307 struct fsl_edma3_ch_reg, tcd)->__name)) 309 #define edma_writel_chreg(chan, val, __name) \ argument [all …]
|
| /linux-6.15/include/linux/netfilter/ |
| H A D | nf_conntrack_sip.h | 33 #define SDP_MEDIA_TYPE(__name, __class) \ argument 35 .name = (__name), \ 36 .len = sizeof(__name) - 1, \ 73 #define __SIP_HDR(__name, __cname, __search, __match) \ argument 75 .name = (__name), \ 76 .len = sizeof(__name) - 1, \ 84 #define SIP_HDR(__name, __cname, __search, __match) \ argument 85 __SIP_HDR(__name, __cname, __search, __match) 87 #define SDP_HDR(__name, __search, __match) \ argument 88 __SIP_HDR(__name, NULL, __search, __match)
|
| /linux-6.15/drivers/gpu/drm/panthor/ |
| H A D | panthor_device.h | 359 #define PANTHOR_IRQ_HANDLER(__name, __reg_prefix, __handler) \ argument 360 static irqreturn_t panthor_ ## __name ## _irq_raw_handler(int irq, void *data) \ 374 static irqreturn_t panthor_ ## __name ## _irq_threaded_handler(int irq, void *data) \ 398 static inline void panthor_ ## __name ## _irq_suspend(struct panthor_irq *pirq) \ 406 static inline void panthor_ ## __name ## _irq_resume(struct panthor_irq *pirq, u32 mask) \ 414 static int panthor_request_ ## __name ## _irq(struct panthor_device *ptdev, \ 420 panthor_ ## __name ## _irq_resume(pirq, mask); \ 423 panthor_ ## __name ## _irq_raw_handler, \ 424 panthor_ ## __name ## _irq_threaded_handler, \ 425 IRQF_SHARED, KBUILD_MODNAME "-" # __name, \
|
| /linux-6.15/include/linux/usb/ |
| H A D | gadget_configfs.h | 7 #define GS_STRINGS_W(__struct, __name) \ argument 8 static ssize_t __struct##_##__name##_store(struct config_item *item, \ 14 ret = usb_string_copy(page, &gs->__name); \ 20 #define GS_STRINGS_R(__struct, __name) \ argument 21 static ssize_t __struct##_##__name##_show(struct config_item *item, char *page) \ 24 return sprintf(page, "%s\n", gs->__name ?: ""); \
|
| /linux-6.15/drivers/net/ipa/ |
| H A D | reg.h | 42 #define REG_FIELDS(__NAME, __name, __offset) \ argument 43 REG_STRIDE_FIELDS(__NAME, __name, __offset, 0) 45 #define REG_STRIDE_FIELDS(__NAME, __name, __offset, __stride) \ argument 46 static const struct reg reg_ ## __name = { \ 50 .fcount = ARRAY_SIZE(reg_ ## __name ## _fmask), \ 51 .fmask = reg_ ## __name ## _fmask, \
|
| /linux-6.15/tools/sched_ext/include/scx/ |
| H A D | user_exit_info.h | 38 #define UEI_DEFINE(__name) \ argument 39 char RESIZABLE_ARRAY(data, __name##_dump); \ 40 const volatile u32 __name##_dump_len; \ 41 struct user_exit_info __name SEC(".data")
|
| /linux-6.15/include/xen/interface/io/ |
| H A D | ring.h | 85 #define DEFINE_RING_TYPES(__name, __req_t, __rsp_t) \ argument 88 union __name##_sring_entry { \ 94 struct __name##_sring { \ 98 union __name##_sring_entry ring[]; \ 102 struct __name##_front_ring { \ 106 struct __name##_sring *sring; \ 110 struct __name##_back_ring { \ 114 struct __name##_sring *sring; \
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/fw/ |
| H A D | regulatory.c | 12 #define GET_BIOS_TABLE(__name, ...) \ argument 16 ret = iwl_uefi_get_ ## __name(__VA_ARGS__); \ 18 ret = iwl_acpi_get_ ## __name(__VA_ARGS__); \ 22 #define IWL_BIOS_TABLE_LOADER(__name) \ argument 23 int iwl_bios_get_ ## __name(struct iwl_fw_runtime *fwrt) \ 24 {GET_BIOS_TABLE(__name, fwrt); } \ 25 IWL_EXPORT_SYMBOL(iwl_bios_get_ ## __name) 27 #define IWL_BIOS_TABLE_LOADER_DATA(__name, data_type) \ argument 28 int iwl_bios_get_ ## __name(struct iwl_fw_runtime *fwrt, \ 30 {GET_BIOS_TABLE(__name, fwrt, data); } \ [all …]
|
| /linux-6.15/drivers/pmdomain/amlogic/ |
| H A D | meson-secure-pwrc.c | 94 #define SEC_PD(__name, __flag) \ argument 95 [PWRC_##__name##_ID] = \ 97 .name = #__name, \ 98 .index = PWRC_##__name##_ID, \ 104 #define TOP_PD(__name, __flag, __parent) \ argument 105 [PWRC_##__name##_ID] = \ 107 .name = #__name, \ 108 .index = PWRC_##__name##_ID, \
|
| H A D | meson-ee-pwrc.c | 248 #define VPU_PD(__name, __top_pd, __mem, __is_pwr_off, __resets, __clks) \ argument 250 .name = __name, \ 259 #define TOP_PD(__name, __top_pd, __mem, __is_pwr_off) \ argument 261 .name = __name, \ 268 #define MEM_PD(__name, __mem) \ argument 269 TOP_PD(__name, NULL, __mem, NULL)
|
| /linux-6.15/arch/sparc/include/asm/ |
| H A D | mdesc.h | 24 #define mdesc_for_each_node_by_name(__hdl, __node, __name) \ argument 25 for (__node = mdesc_node_by_name(__hdl, MDESC_NODE_NULL, __name); \ 27 __node = mdesc_node_by_name(__hdl, __node, __name))
|
| /linux-6.15/drivers/platform/x86/intel/pmc/ |
| H A D | core.h | 523 #define DEFINE_PMC_CORE_ATTR_WRITE(__name) \ argument 524 static int __name ## _open(struct inode *inode, struct file *file) \ 526 return single_open(file, __name ## _show, inode->i_private); \ 529 static const struct file_operations __name ## _fops = { \ 531 .open = __name ## _open, \ 533 .write = __name ## _write, \
|
| /linux-6.15/drivers/pinctrl/vt8500/ |
| H A D | pinctrl-wmt.h | 28 #define WMT_GROUP(__name, __data) \ argument 30 .name = __name, \
|
| /linux-6.15/drivers/soc/atmel/ |
| H A D | soc.h | 23 __name, __family) \ argument 29 .name = (__name), \
|
| /linux-6.15/drivers/usb/storage/ |
| H A D | usb.h | 197 #define module_usb_stor_driver(__driver, __sht, __name) \ argument 200 usb_stor_host_template_init(&(__sht), __name, THIS_MODULE); \
|
| /linux-6.15/include/uapi/linux/netfilter/ |
| H A D | x_tables.h | 57 #define XT_TARGET_INIT(__name, __size) \ argument 61 .name = __name, \
|
| /linux-6.15/drivers/vdpa/pds/ |
| H A D | debugfs.c | 29 #define PRINT_SBIT_NAME(__seq, __f, __name) \ argument 31 if ((__f) & (__name)) \ 32 seq_printf(__seq, " %s", &#__name[16]); \
|
| /linux-6.15/include/linux/mtd/ |
| H A D | rawnand.h | 283 #define NAND_ECC_CAPS_SINGLE(__name, __calc, __step, ...) \ argument 284 static const int __name##_strengths[] = { __VA_ARGS__ }; \ 285 static const struct nand_ecc_step_info __name##_stepinfo = { \ 287 .strengths = __name##_strengths, \ 288 .nstrengths = ARRAY_SIZE(__name##_strengths), \ 290 static const struct nand_ecc_caps __name = { \ 291 .stepinfos = &__name##_stepinfo, \
|
| /linux-6.15/include/net/ |
| H A D | inet_hashtables.h | 343 #define INET_ADDR_COOKIE(__name, __saddr, __daddr) \ argument 344 const __addrpair __name = (__force __addrpair) ( \ 348 #define INET_ADDR_COOKIE(__name, __saddr, __daddr) \ argument 349 const __addrpair __name = (__force __addrpair) ( \
|