| /linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/inc/ |
| H A D | dml2_debug.h | 14 #define _BOOL_FORMAT(field) "%s", field ? "true" : "false" argument 15 #define _UINT_FORMAT(field) "%u", field argument 16 #define _INT_FORMAT(field) "%d", field argument 17 #define _DOUBLE_FORMAT(field) "%lf", field argument 27 #define _LOG_SCALAR(field, format) do { \ argument 31 #define _LOG_ARRAY(field, size, format) do { \ argument 40 #define _LOG_2D_ARRAY(field, size0, size1, format) do { \ argument 57 #define _LOG_3D_ARRAY(field, size0, size1, size2, format) do { \ argument 143 #define DML_LOG_DEBUG_BOOL(field) _LOG_SCALAR(field, _BOOL_FORMAT) argument 144 #define DML_LOG_DEBUG_UINT(field) _LOG_SCALAR(field, _UINT_FORMAT) argument [all …]
|
| /linux/drivers/scsi/aic7xxx/ |
| H A D | queue.h | 127 #define SLIST_FOREACH(var, head, field) \ argument 136 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ argument 141 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument 146 #define SLIST_NEXT(elm, field) ((elm)->field.sle_next) argument 148 #define SLIST_REMOVE(head, elm, type, field) do { \ argument 161 #define SLIST_REMOVE_HEAD(head, field) do { \ argument 189 #define STAILQ_FOREACH(var, head, field) \ argument 199 #define STAILQ_INSERT_AFTER(head, tqelm, elm, field) do { \ argument 205 #define STAILQ_INSERT_HEAD(head, elm, field) do { \ argument 211 #define STAILQ_INSERT_TAIL(head, elm, field) do { \ argument [all …]
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | vmx_onhyperv.h | 26 static __always_inline int get_evmcs_offset(unsigned long field, in get_evmcs_offset() 35 static __always_inline void evmcs_write64(unsigned long field, u64 value) in evmcs_write64() 48 static __always_inline void evmcs_write32(unsigned long field, u32 value) in evmcs_write32() 60 static __always_inline void evmcs_write16(unsigned long field, u16 value) in evmcs_write16() 72 static __always_inline u64 evmcs_read64(unsigned long field) in evmcs_read64() 82 static __always_inline u32 evmcs_read32(unsigned long field) in evmcs_read32() 92 static __always_inline u16 evmcs_read16(unsigned long field) in evmcs_read16() 124 static __always_inline void evmcs_write64(unsigned long field, u64 value) {} in evmcs_write64() 125 static __always_inline void evmcs_write32(unsigned long field, u32 value) {} in evmcs_write32() 126 static __always_inline void evmcs_write16(unsigned long field, u16 value) {} in evmcs_write16() [all …]
|
| H A D | vmx_ops.h | 43 static __always_inline void vmcs_check16(unsigned long field) in vmcs_check16() 55 static __always_inline void vmcs_check32(unsigned long field) in vmcs_check32() 67 static __always_inline void vmcs_check64(unsigned long field) in vmcs_check64() 79 static __always_inline void vmcs_checkl(unsigned long field) in vmcs_checkl() 91 static __always_inline unsigned long __vmcs_readl(unsigned long field) in __vmcs_readl() 155 static __always_inline u16 vmcs_read16(unsigned long field) in vmcs_read16() 163 static __always_inline u32 vmcs_read32(unsigned long field) in vmcs_read32() 171 static __always_inline u64 vmcs_read64(unsigned long field) in vmcs_read64() 183 static __always_inline unsigned long vmcs_readl(unsigned long field) in vmcs_readl() 225 static __always_inline void __vmcs_writel(unsigned long field, unsigned long value) in __vmcs_writel() [all …]
|
| H A D | tdx_arch.h | 14 #define __BUILD_TDX_FIELD(non_arch, class, field) \ argument 19 #define BUILD_TDX_FIELD(class, field) \ argument 22 #define BUILD_TDX_FIELD_NON_ARCH(class, field) \ argument 52 #define TDCS_EXEC(field) BUILD_TDX_FIELD(TD_CLASS_EXECUTION_CONTROLS, (field)) argument 55 #define TDVPS_VMCS(field) BUILD_TDX_FIELD(TDVPS_CLASS_VMCS, (field)) argument 58 #define TDVPS_STATE(field) BUILD_TDX_FIELD(TDVPS_CLASS_OTHER_GUEST, (field)) argument 59 #define TDVPS_STATE_NON_ARCH(field) BUILD_TDX_FIELD_NON_ARCH(TDVPS_CLASS_OTHER_GUEST, (field)) argument 67 #define TDVPS_MANAGEMENT(field) BUILD_TDX_FIELD(TDVPS_CLASS_MANAGEMENT, (field)) argument
|
| H A D | tdx.h | 80 static __always_inline u64 td_tdcs_exec_read64(struct kvm_tdx *kvm_tdx, u32 field) in td_tdcs_exec_read64() 92 static __always_inline void tdvps_vmcs_check(u32 field, u8 bits) in tdvps_vmcs_check() 97 #define VMCS_ENC_ACCESS_TYPE(field) ((field) & VMCS_ENC_ACCESS_TYPE_MASK) in tdvps_vmcs_check() argument 111 #define VMCS_ENC_WIDTH(field) ((field) & VMCS_ENC_WIDTH_MASK) in tdvps_vmcs_check() argument 126 static __always_inline void tdvps_management_check(u64 field, u8 bits) {} in tdvps_management_check() 127 static __always_inline void tdvps_state_non_arch_check(u64 field, u8 bits) {} in tdvps_state_non_arch_check()
|
| /linux/include/linux/ |
| H A D | part_stat.h | 28 #define part_stat_get_cpu(part, field, cpu) \ argument 31 #define part_stat_get(part, field) \ argument 34 #define part_stat_read(part, field) \ argument 52 #define part_stat_read_accum(part, field) \ argument 57 #define __part_stat_add(part, field, addnd) \ argument 60 #define part_stat_add(part, field, addnd) do { \ argument 66 #define part_stat_dec(part, field) \ argument 68 #define part_stat_inc(part, field) \ argument 70 #define part_stat_sub(part, field, subnd) \ argument 73 #define part_stat_local_dec(part, field) \ argument [all …]
|
| /linux/include/trace/stages/ |
| H A D | stage3_trace_output.h | 12 #define __get_dynamic_array(field) \ argument 16 #define __get_dynamic_array_len(field) \ argument 20 #define __get_str(field) ((char *)__get_dynamic_array(field)) argument 23 #define __get_rel_dynamic_array(field) \ argument 30 #define __get_rel_dynamic_array_len(field) \ argument 34 #define __get_rel_str(field) ((char *)__get_rel_dynamic_array(field)) argument 37 #define __get_bitmask(field) \ argument 46 #define __get_cpumask(field) __get_bitmask(field) argument 49 #define __get_rel_bitmask(field) \ argument 58 #define __get_rel_cpumask(field) __get_rel_bitmask(field) argument [all …]
|
| H A D | stage6_event_callback.h | 56 #define __get_bitmask(field) (char *)__get_dynamic_array(field) argument 66 #define __get_cpumask(field) (char *)__get_dynamic_array(field) argument 73 #define __sockaddr(field, len) __dynamic_array(u8, field, len) argument 76 #define __get_sockaddr(field) ((struct sockaddr *)__get_dynamic_array(field)) argument 106 #define __get_rel_bitmask(field) (char *)__get_rel_dynamic_array(field) argument 116 #define __get_rel_cpumask(field) (char *)__get_rel_dynamic_array(field) argument 123 #define __rel_sockaddr(field, len) __rel_dynamic_array(u8, field, len) argument 126 #define __get_rel_sockaddr(field) ((struct sockaddr *)__get_rel_dynamic_array(field)) argument
|
| /linux/include/net/ |
| H A D | snmp.h | 122 #define __SNMP_INC_STATS(mib, field) \ argument 125 #define SNMP_INC_STATS_ATOMIC_LONG(mib, field) \ argument 128 #define SNMP_INC_STATS(mib, field) \ argument 131 #define SNMP_DEC_STATS(mib, field) \ argument 134 #define __SNMP_ADD_STATS(mib, field, addend) \ argument 137 #define SNMP_ADD_STATS(mib, field, addend) \ argument 155 #define __SNMP_ADD_STATS64(mib, field, addend) \ argument 163 #define SNMP_ADD_STATS64(mib, field, addend) \ argument 170 #define __SNMP_INC_STATS64(mib, field) SNMP_ADD_STATS64(mib, field, 1) argument 171 #define SNMP_INC_STATS64(mib, field) SNMP_ADD_STATS64(mib, field, 1) argument [all …]
|
| H A D | icmp.h | 29 #define ICMP_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.icmp_statistics, field) argument 30 #define __ICMP_INC_STATS(net, field) __SNMP_INC_STATS((net)->mib.icmp_statistics, field) argument 31 #define ICMPMSGOUT_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, … argument 32 #define ICMPMSGIN_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, … argument
|
| /linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| H A D | smu_helper.h | 137 #define PHM_FIELD_SHIFT(reg, field) reg##__##field##__SHIFT argument 138 #define PHM_FIELD_MASK(reg, field) reg##__##field##_MASK argument 140 #define PHM_SET_FIELD(origval, reg, field, fieldval) \ argument 144 #define PHM_GET_FIELD(value, reg, field) \ argument 151 #define PHM_READ_FIELD(device, reg, field) \ argument 154 #define PHM_READ_INDIRECT_FIELD(device, port, reg, field) \ argument 158 #define PHM_READ_VFPF_INDIRECT_FIELD(device, port, reg, field) \ argument 162 #define PHM_WRITE_FIELD(device, reg, field, fieldval) \ argument 166 #define PHM_WRITE_INDIRECT_FIELD(device, port, reg, field, fieldval) \ argument 171 #define PHM_WRITE_VFPF_INDIRECT_FIELD(device, port, reg, field, fieldval) \ argument [all …]
|
| /linux/drivers/scsi/ |
| H A D | scsi_transport_sas.c | 448 #define sas_phy_show_simple(field, name, format_string, cast) \ argument 458 #define sas_phy_simple_attr(field, name, format_string, type) \ argument 462 #define sas_phy_show_protocol(field, name) \ argument 474 #define sas_phy_protocol_attr(field, name) \ argument 478 #define sas_phy_show_linkspeed(field) \ argument 489 #define sas_phy_store_linkspeed(field) \ argument 511 #define sas_phy_linkspeed_rw_attr(field) \ argument 517 #define sas_phy_linkspeed_attr(field) \ argument 522 #define sas_phy_show_linkerror(field) \ argument 538 #define sas_phy_linkerror_attr(field) \ argument [all …]
|
| H A D | scsi_transport_fc.c | 974 #define fc_rport_show_function(field, format_string, sz, cast) \ argument 990 #define fc_rport_store_function(field) \ argument 1012 #define fc_rport_rd_attr(field, format_string, sz) \ argument 1017 #define fc_rport_rd_attr_cast(field, format_string, sz, cast) \ argument 1022 #define fc_rport_rw_attr(field, format_string, sz) \ argument 1030 #define fc_private_rport_show_function(field, format_string, sz, cast) \ argument 1039 #define fc_private_rport_rd_attr(field, format_string, sz) \ argument 1044 #define fc_private_rport_rd_attr_cast(field, format_string, sz, cast) \ argument 1066 #define SETUP_RPORT_ATTRIBUTE_RD(field) \ argument 1074 #define SETUP_PRIVATE_RPORT_ATTRIBUTE_RD(field) \ argument [all …]
|
| /linux/kernel/trace/ |
| H A D | trace_output.c | 34 struct bputs_entry *field; in trace_print_bputs_msg_only() local 47 struct bprint_entry *field; in trace_print_bprintk_msg_only() local 60 struct print_entry *field; in trace_print_printk_msg_only() local 917 struct ftrace_event_field *field) in print_array() 946 struct ftrace_event_field *field; in print_fields() local 1140 struct ftrace_entry *field; in trace_fn_trace() local 1162 struct ftrace_entry *field; in trace_fn_raw() local 1176 struct ftrace_entry *field; in trace_fn_hex() local 1190 struct ftrace_entry *field; in trace_fn_bin() local 1217 struct ctx_switch_entry *field; in trace_ctxwake_print() local [all …]
|
| /linux/drivers/xen/xen-pciback/ |
| H A D | conf_space.c | 47 const struct config_field *field = entry->field; in DEFINE_PCI_CONFIG() local 75 const struct config_field *field = entry->field; in conf_space_write() local 153 const struct config_field *field; in xen_pcibk_config_read() local 209 const struct config_field *field; in xen_pcibk_config_write() local 333 const struct config_field *field; in xen_pcibk_config_free_dyn_fields() local 359 const struct config_field *field; in xen_pcibk_config_reset_dev() local 377 const struct config_field *field; in xen_pcibk_config_free_dev() local 396 const struct config_field *field, in xen_pcibk_config_add_field_offset()
|
| /linux/include/linux/cdx/ |
| H A D | bitfield.h | 18 #define CDX_VAL(field, attribute) field ## _ ## attribute argument 20 #define CDX_LOW_BIT(field) CDX_VAL(field, LBN) argument 22 #define CDX_WIDTH(field) CDX_VAL(field, WIDTH) argument 24 #define CDX_HIGH_BIT(field) (CDX_LOW_BIT(field) + CDX_WIDTH(field) - 1) argument 39 #define CDX_DWORD_FIELD(dword, field) \ argument 47 #define CDX_INSERT_FIELD(field, value) \ argument
|
| /linux/drivers/hid/ |
| H A D | hid-samsung.c | 88 struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, in samsung_kbd_mouse_input_mapping() 143 struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, in samsung_kbd_input_mapping() 236 struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, in samsung_gamepad_input_mapping() 327 struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, in samsung_actionmouse_input_mapping() 350 struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, in samsung_universal_kbd_input_mapping() 481 struct hid_field *field, struct hid_usage *usage, in samsung_input_mapping()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | exp_rcv.h | 18 #define EXP_TID_GET(tid, field) \ argument 21 #define EXP_TID_SET(field, value) \ argument 24 #define EXP_TID_CLEAR(tid, field) ({ \ argument 28 #define EXP_TID_RESET(tid, field, value) do { \ argument 58 #define KDETH_GET(val, field) \ argument 60 #define KDETH_SET(dw, field, val) do { \ argument 68 #define KDETH_RESET(dw, field, val) ({ dw = 0; KDETH_SET(dw, field, val); }) argument
|
| /linux/drivers/clk/st/ |
| H A D | clkgen.h | 22 struct clkgen_field *field) in clkgen_read() 28 static inline void clkgen_write(void __iomem *base, struct clkgen_field *field, in clkgen_write() 44 #define CLKGEN_READ(pll, field) clkgen_read(pll->regs_base, \ argument 47 #define CLKGEN_WRITE(pll, field, val) clkgen_write(pll->regs_base, \ argument
|
| /linux/lib/tests/ |
| H A D | bitfield_kunit.c | 11 #define CHECK_ENC_GET_U(tp, v, field, res) do { \ argument 24 #define CHECK_ENC_GET_LE(tp, v, field, res) do { \ argument 39 #define CHECK_ENC_GET_BE(tp, v, field, res) do { \ argument 54 #define CHECK_ENC_GET(tp, v, field, res) do { \ argument
|
| /linux/drivers/ata/ |
| H A D | libata-transport.c | 198 #define ata_port_show_simple(field, name, format_string, cast) \ argument 208 #define ata_port_simple_attr(field, name, format_string, type) \ argument 365 #define ata_dev_show_class(title, field) \ argument 375 #define ata_dev_attr(title, field) \ argument 385 #define ata_dev_show_simple(field, format_string, cast) \ argument 395 #define ata_dev_simple_attr(field, format_string, type) \ argument 610 #define ata_link_show_linkspeed(field, format) \ argument 621 #define ata_link_linkspeed_attr(field, format) \ argument 737 #define SETUP_TEMPLATE(attrb, field, perm, test) \ argument 744 #define SETUP_LINK_ATTRIBUTE(field) \ argument [all …]
|
| /linux/drivers/usb/isp1760/ |
| H A D | isp1760-core.h | 59 static inline u32 isp1760_field_read(struct regmap_field **fields, u32 field) in isp1760_field_read() 68 static inline void isp1760_field_write(struct regmap_field **fields, u32 field, in isp1760_field_write() 74 static inline void isp1760_field_set(struct regmap_field **fields, u32 field) in isp1760_field_set() 79 static inline void isp1760_field_clear(struct regmap_field **fields, u32 field) in isp1760_field_clear()
|
| /linux/drivers/gpu/drm/amd/display/dmub/src/ |
| H A D | dmub_reg.h | 39 #define FD_SHIFT(reg_name, field) reg_name##__##field##__SHIFT argument 41 #define FD_MASK(reg_name, field) reg_name##__##field##_MASK argument 47 #define FN(reg_name, field) FD(reg_name##__##field) argument 61 #define REG_SET(reg_name, initial_val, field, val) \ argument 88 #define REG_UPDATE(reg_name, field, val) \ argument 111 #define REG_GET(reg_name, field, val) \ argument
|
| /linux/drivers/clk/sophgo/ |
| H A D | clk-cv18xx-common.c | 14 struct cv1800_clk_regbit *field) in cv1800_clk_setbit() 31 struct cv1800_clk_regbit *field) in cv1800_clk_clearbit() 48 struct cv1800_clk_regbit *field) in cv1800_clk_checkbit()
|