Home
last modified time | relevance | path

Searched refs:_prefix (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/amd/xgbe/
Dxgbe-common.h1475 #define XGMAC_GET_BITS(_var, _prefix, _field) \ argument
1477 _prefix##_##_field##_INDEX, \
1478 _prefix##_##_field##_WIDTH)
1480 #define XGMAC_SET_BITS(_var, _prefix, _field, _val) \ argument
1482 _prefix##_##_field##_INDEX, \
1483 _prefix##_##_field##_WIDTH, (_val))
1485 #define XGMAC_GET_BITS_LE(_var, _prefix, _field) \ argument
1487 _prefix##_##_field##_INDEX, \
1488 _prefix##_##_field##_WIDTH)
1490 #define XGMAC_SET_BITS_LE(_var, _prefix, _field, _val) \ argument
[all …]
/linux-6.12.1/arch/s390/kernel/
Dipl.c207 #define IPL_ATTR_SHOW_FN(_prefix, _name, _format, args...) \ argument
208 static ssize_t sys_##_prefix##_##_name##_show(struct kobject *kobj, \
215 #define IPL_ATTR_CCW_STORE_FN(_prefix, _name, _ipl_blk) \ argument
216 static ssize_t sys_##_prefix##_##_name##_store(struct kobject *kobj, \
233 #define DEFINE_IPL_CCW_ATTR_RW(_prefix, _name, _ipl_blk) \ argument
234 IPL_ATTR_SHOW_FN(_prefix, _name, "0.%x.%04x\n", \
236 IPL_ATTR_CCW_STORE_FN(_prefix, _name, _ipl_blk); \
237 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
239 sys_##_prefix##_##_name##_show, \
240 sys_##_prefix##_##_name##_store) \
[all …]
/linux-6.12.1/block/
Dblk-sysfs.c404 #define QUEUE_RO_ENTRY(_prefix, _name) \ argument
405 static struct queue_sysfs_entry _prefix##_entry = { \
407 .show = _prefix##_show, \
410 #define QUEUE_RW_ENTRY(_prefix, _name) \ argument
411 static struct queue_sysfs_entry _prefix##_entry = { \
413 .show = _prefix##_show, \
414 .store = _prefix##_store, \
417 #define QUEUE_RW_LOAD_MODULE_ENTRY(_prefix, _name) \ argument
418 static struct queue_sysfs_entry _prefix##_entry = { \
420 .show = _prefix##_show, \
[all …]
/linux-6.12.1/drivers/clk/qcom/
Dclk-smd-rpm.c20 #define __DEFINE_CLK_SMD_RPM_PREFIX(_prefix, _name, _active, \ argument
22 static struct clk_smd_rpm clk_smd_rpm_##_prefix##_active; \
23 static struct clk_smd_rpm clk_smd_rpm_##_prefix##_name = { \
27 .peer = &clk_smd_rpm_##_prefix##_active, \
39 static struct clk_smd_rpm clk_smd_rpm_##_prefix##_active = { \
44 .peer = &clk_smd_rpm_##_prefix##_name, \
63 #define __DEFINE_CLK_SMD_RPM_BRANCH_PREFIX(_prefix, _name, _active,\ argument
65 static struct clk_smd_rpm clk_smd_rpm_##_prefix##_active; \
66 static struct clk_smd_rpm clk_smd_rpm_##_prefix##_name = { \
71 .peer = &clk_smd_rpm_##_prefix##_active, \
[all …]
/linux-6.12.1/arch/powerpc/platforms/cell/
Dcbe_thermal.c49 #define DEVICE_PREFIX_ATTR(_prefix,_name,_mode) \ argument
50 struct device_attribute attr_ ## _prefix ## _ ## _name = { \
52 .show = _prefix ## _show_ ## _name, \
53 .store = _prefix ## _store_ ## _name, \
/linux-6.12.1/tools/perf/trace/beauty/
Dbeauty.h17 #define DEFINE_STRARRAY(array, _prefix) struct strarray strarray__##array = { \ argument
20 .prefix = _prefix, \
23 #define DEFINE_STRARRAY_OFFSET(array, _prefix, off) struct strarray strarray__##array = { \ argument
27 .prefix = _prefix, \
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dbtf_dump.c307 #define TEST_BTF_DUMP_DATA(_b, _d, _prefix, _str, _type, _flags, \ argument
315 (void) btf_dump_data(_b, _d, _ptrtype, _prefix, _flags, \
321 #define TEST_BTF_DUMP_DATA_C(_b, _d, _prefix, _str, _type, _flags, \ argument
323 TEST_BTF_DUMP_DATA(_b, _d, _prefix, _str, _type, _flags, \
327 #define TEST_BTF_DUMP_DATA_OVER(_b, _d, _prefix, _str, _type, _type_sz, \ argument
335 (void) btf_dump_data(_b, _d, _ptrtype, _prefix, 0, \
339 #define TEST_BTF_DUMP_VAR(_b, _d, _prefix, _str, _var, _type, _flags, \ argument
345 (void) btf_dump_data(_b, _d, _var, _prefix, _flags, \
/linux-6.12.1/drivers/memory/
Dbt1-l2-ctl.c73 #define L2_CTL_ATTR_RW(_name, _prefix, _id) \ argument
75 { __ATTR(_name, 0644, _prefix##_show, _prefix##_store), _id }
/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_wed_debugfs.c31 #define DUMP_RING(_prefix, _base, ...) \ argument
32 { _prefix " BASE", _base, __VA_ARGS__ }, \
33 { _prefix " CNT", _base + 0x4, __VA_ARGS__ }, \
34 { _prefix " CIDX", _base + 0x8, __VA_ARGS__ }, \
35 { _prefix " DIDX", _base + 0xc, __VA_ARGS__ }
/linux-6.12.1/drivers/clk/bcm/
Dclk-kona.h483 #define KONA_CCU_COMMON(_prefix, _name, _ccuname) \ argument
486 .clk_num = _prefix ## _ ## _ccuname ## _CCU_CLOCK_COUNT
/linux-6.12.1/fs/btrfs/
Dsysfs.c68 #define BTRFS_ATTR_W(_prefix, _name, _store) \ argument
69 static struct kobj_attribute btrfs_attr_##_prefix##_##_name = \
72 #define BTRFS_ATTR_RW(_prefix, _name, _show, _store) \ argument
73 static struct kobj_attribute btrfs_attr_##_prefix##_##_name = \
76 #define BTRFS_ATTR(_prefix, _name, _show) \ argument
77 static struct kobj_attribute btrfs_attr_##_prefix##_##_name = \
80 #define BTRFS_ATTR_PTR(_prefix, _name) \ argument
81 (&btrfs_attr_##_prefix##_##_name.attr)
/linux-6.12.1/drivers/ata/
Dlibata-transport.c86 #define ATA_DEVICE_ATTR(_prefix,_name,_mode,_show,_store) \ argument
87 struct device_attribute device_attr_##_prefix##_##_name = \
/linux-6.12.1/drivers/scsi/fcoe/
Dfcoe_sysfs.c129 #define FCOE_DEVICE_ATTR(_prefix, _name, _mode, _show, _store) \ argument
130 struct device_attribute device_attr_fcoe_##_prefix##_##_name = \
/linux-6.12.1/Documentation/kbuild/
Dreproducible-builds.rst135 .. _prefix-map options: https://reproducible-builds.org/docs/build-path/
/linux-6.12.1/drivers/firmware/broadcom/
Dbcm47xx_sprom.c175 #define ENTRY(_revmask, _type, _prefix, _name, _val, _allset, _fallback) \ argument
177 nvram_read_ ## _type(_prefix, NULL, _name, &sprom->_val, \
/linux-6.12.1/drivers/scsi/
Dscsi_transport_iscsi.c167 #define ISCSI_ATTR(_prefix,_name,_mode,_show,_store) \ argument
168 struct device_attribute dev_attr_##_prefix##_##_name = \
314 #define ISCSI_IFACE_ATTR(_prefix, _name, _mode, _show, _store) \ argument
315 struct device_attribute dev_attr_##_prefix##_##_name = \
802 #define ISCSI_FLASHNODE_ATTR(_prefix, _name, _mode, _show, _store) \ argument
803 struct device_attribute dev_attr_##_prefix##_##_name = \
4128 #define ISCSI_CLASS_ATTR(_prefix,_name,_mode,_show,_store) \ argument
4129 struct device_attribute dev_attr_##_prefix##_##_name = \
Dscsi_transport_sas.c57 #define SAS_DEVICE_ATTR(_prefix,_name,_mode,_show,_store) \ argument
58 struct device_attribute dev_attr_##_prefix##_##_name = \
Dscsi_transport_fc.c66 #define FC_DEVICE_ATTR(_prefix,_name,_mode,_show,_store) \ argument
67 struct device_attribute device_attr_##_prefix##_##_name = \
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Drtw8852c.c1982 #define __DECL_DFIR_VAR(_prefix, _name, _val...) \ in rtw8852c_bb_set_tx_shape_dfir() argument
1983 static const u32 _prefix ## _ ## _name[] = {_val}; \ in rtw8852c_bb_set_tx_shape_dfir()
1984 static_assert(ARRAY_SIZE(_prefix ## _ ## _name) == __DFIR_CFG_NR) in rtw8852c_bb_set_tx_shape_dfir()