/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 …]
|
/linux/include/net/ |
H A D | snmp.h | 127 #define __SNMP_INC_STATS(mib, field) \ argument 130 #define SNMP_INC_STATS_ATOMIC_LONG(mib, field) \ argument 133 #define SNMP_INC_STATS(mib, field) \ argument 136 #define SNMP_DEC_STATS(mib, field) \ argument 139 #define __SNMP_ADD_STATS(mib, field, addend) \ argument 142 #define SNMP_ADD_STATS(mib, field, addend) \ argument 160 #define __SNMP_ADD_STATS64(mib, field, addend) \ argument 168 #define SNMP_ADD_STATS64(mib, field, addend) \ argument 175 #define __SNMP_INC_STATS64(mib, field) SNMP_ADD_STATS64(mib, field, 1) argument 176 #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/kernel/trace/ |
H A D | trace_output.c | 29 struct bputs_entry *field; in trace_print_bputs_msg_only() local 42 struct bprint_entry *field; in trace_print_bprintk_msg_only() local 55 struct print_entry *field; in trace_print_printk_msg_only() local 830 struct ftrace_event_field *field) in print_array() 859 struct ftrace_event_field *field; in print_fields() local 1025 struct ftrace_entry *field; in trace_fn_trace() local 1039 struct ftrace_entry *field; in trace_fn_raw() local 1053 struct ftrace_entry *field; in trace_fn_hex() local 1067 struct ftrace_entry *field; in trace_fn_bin() local 1094 struct ctx_switch_entry *field; in trace_ctxwake_print() local [all …]
|
/linux/drivers/scsi/ |
H A D | scsi_transport_fc.c | 981 #define fc_rport_show_function(field, format_string, sz, cast) \ argument 997 #define fc_rport_store_function(field) \ argument 1019 #define fc_rport_rd_attr(field, format_string, sz) \ argument 1024 #define fc_rport_rd_attr_cast(field, format_string, sz, cast) \ argument 1029 #define fc_rport_rw_attr(field, format_string, sz) \ argument 1037 #define fc_private_rport_show_function(field, format_string, sz, cast) \ argument 1046 #define fc_private_rport_rd_attr(field, format_string, sz) \ argument 1051 #define fc_private_rport_rd_attr_cast(field, format_string, sz, cast) \ argument 1073 #define SETUP_RPORT_ATTRIBUTE_RD(field) \ argument 1081 #define SETUP_PRIVATE_RPORT_ATTRIBUTE_RD(field) \ argument [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/trace/stages/ |
H A D | stage6_event_callback.h | 58 __get_bitmask(field) global() argument 68 __get_cpumask(field) global() argument 75 __sockaddr(field,len) global() argument 78 __get_sockaddr(field) global() argument 108 __get_rel_bitmask(field) global() argument 118 __get_rel_cpumask(field) global() argument 125 __rel_sockaddr(field,len) global() argument 128 __get_rel_sockaddr(field) global() argument [all...] |
/linux/drivers/cdx/controller/ |
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()
|
H A D | hid-icade.c | 164 static int icade_event(struct hid_device *hdev, struct hid_field *field, in icade_event() 189 struct hid_field *field, struct hid_usage *usage, in icade_input_mapping() 212 struct hid_field *field, struct hid_usage *usage, in icade_input_mapped()
|
H A D | hid-input.c | 246 __s32 hidinput_calc_abs_res(const struct hid_field *field, __u16 code) in hidinput_calc_abs_res() 501 struct hid_field *field, bool is_percentage) in hidinput_setup_battery() 636 struct hid_field *field, bool is_percentage) in hidinput_setup_battery() 656 static bool hidinput_field_in_collection(struct hid_device *device, struct hid_field *field, in hidinput_field_in_collection() 666 static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_field *field, in hidinput_configure_usage() 1511 void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, _… in hidinput_hid_event() 1741 unsigned int code, struct hid_field **field) in hidinput_find_field() 1760 struct hid_field *field; in hidinput_get_led_field() local 1780 struct hid_field *field; in hidinput_count_leds() local 1803 struct hid_field *field; in hidinput_led_worker() local [all …]
|
/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/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/lib/ |
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/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/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/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()
|
/linux/drivers/gpu/drm/amd/include/ |
H A D | cgs_common.h | 120 #define CGS_REG_FIELD_SHIFT(reg, field) reg##__##field##__SHIFT argument 121 #define CGS_REG_FIELD_MASK(reg, field) reg##__##field##_MASK argument 123 #define CGS_REG_SET_FIELD(orig_val, reg, field, field_val) \ argument 127 #define CGS_REG_GET_FIELD(value, reg, field) \ argument 130 #define CGS_WREG32_FIELD(device, reg, field, val) \ argument 133 #define CGS_WREG32_FIELD_IND(device, space, reg, field, val) \ argument
|
/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | bitfield.h | 45 #define EF4_VAL(field, attribute) field ## _ ## attribute argument 47 #define EF4_LOW_BIT(field) EF4_VAL(field, LBN) argument 49 #define EF4_WIDTH(field) EF4_VAL(field, WIDTH) argument 51 #define EF4_HIGH_BIT(field) (EF4_LOW_BIT(field) + EF4_WIDTH(field) - 1) argument 168 #define EF4_OWORD_FIELD64(oword, field) \ argument 172 #define EF4_QWORD_FIELD64(qword, field) \ argument 176 #define EF4_OWORD_FIELD32(oword, field) \ argument 180 #define EF4_QWORD_FIELD32(qword, field) \ argument 184 #define EF4_DWORD_FIELD(dword, field) \ argument 265 #define EF4_INSERT_FIELD_NATIVE(min, max, field, value) \ argument [all …]
|
/linux/drivers/hwspinlock/ |
H A D | qcom_hwspinlock.c | 30 struct regmap_field *field = lock->priv; in qcom_hwspinlock_trylock() local 47 struct regmap_field *field = lock->priv; in qcom_hwspinlock_unlock() local 69 struct regmap_field *field = lock->priv; in qcom_hwspinlock_bust() local 205 struct reg_field field; in qcom_hwspinlock_probe() local
|
/linux/drivers/net/ethernet/apm/xgene-v2/ |
H A D | mac.h | 75 #define SET_REG_BITS(var, field, val) \ argument 78 #define SET_REG_BIT(var, field, val) \ argument 81 #define GET_REG_BITS(var, field) \ argument 84 #define GET_REG_BIT(var, field) ((var) & (field)) argument
|
/linux/tools/perf/scripts/python/ |
H A D | intel-pt-events.py | 50 def get_optional_null(perf_dict, field): argument 55 def get_optional_zero(perf_dict, field): argument 60 def get_optional_bytes(perf_dict, field): argument 65 def get_optional(perf_dict, field): argument 70 def get_offset(perf_dict, field): argument
|