/linux/drivers/scsi/aic7xxx/ |
A D | queue.h | 146 #define SLIST_NEXT(elm, field) ((elm)->field.sle_next) argument 157 SLIST_NEXT(SLIST_NEXT(curelm, field), field); \ 282 LIST_NEXT((listelm), field)->field.le_prev = \ 289 (elm)->field.le_prev = (listelm)->field.le_prev; \ 302 #define LIST_NEXT(elm, field) ((elm)->field.le_next) argument 306 LIST_NEXT((elm), field)->field.le_prev = \ 308 *(elm)->field.le_prev = LIST_NEXT((elm), field); \ 353 TAILQ_NEXT((elm), field)->field.tqe_prev = \ 395 TAILQ_NEXT((elm), field)->field.tqe_prev = \ 492 CIRCLEQ_PREV(CIRCLEQ_NEXT((elm), field), field) = \ [all …]
|
A D | aic79xx.reg | 134 field { 665 field RDY 0x01 1143 field DPE 0x80 1144 field SSE 0x40 1145 field RMA 0x20 1146 field RTA 0x10 1150 field DPR 0x01 1161 field DPE 0x80 1162 field SSE 0x40 1163 field RMA 0x20 [all …]
|
A D | aic7xxx.reg | 88 field DFON 0x80 121 field CDI 0x80 122 field IOI 0x40 123 field MSGI 0x20 124 field ATNI 0x10 125 field SELI 0x08 126 field BSYI 0x04 127 field REQI 0x02 128 field ACKI 0x01 152 field CDO 0x80 [all …]
|
/linux/arch/x86/kvm/vmx/ |
A D | vmx_ops.h | 24 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000, in vmcs_check16() 36 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0, in vmcs_check32() 48 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0, in vmcs_check64() 60 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0, in vmcs_checkl() 130 return __vmcs_readl(field) | ((u64)__vmcs_readl(field+1) << 32); in vmcs_read64() 136 vmcs_checkl(field); in vmcs_readl() 178 vmx_asm2(vmwrite, "r"(field), "rm"(value), field, value); in __vmcs_writel() 225 return evmcs_write32(field, evmcs_read32(field) & ~mask); in vmcs_clear_bits() 227 __vmcs_writel(field, __vmcs_readl(field) & ~mask); in vmcs_clear_bits() 235 return evmcs_write32(field, evmcs_read32(field) | mask); in vmcs_set_bits() [all …]
|
A D | evmcs.h | 79 unsigned int index = ROL16(field, 6); in get_evmcs_offset() 84 field); in get_evmcs_offset() 99 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write64() 112 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write32() 124 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write16() 133 static inline u64 evmcs_read64(unsigned long field) in evmcs_read64() argument 135 int offset = get_evmcs_offset(field, NULL); in evmcs_read64() 143 static inline u32 evmcs_read32(unsigned long field) in evmcs_read32() argument 145 int offset = get_evmcs_offset(field, NULL); in evmcs_read32() 153 static inline u16 evmcs_read16(unsigned long field) in evmcs_read16() argument [all …]
|
/linux/include/linux/ |
A D | part_stat.h | 31 #define part_stat_get(part, field) \ argument 34 #define part_stat_read(part, field) \ argument 36 typeof((part)->bd_stats->field) res = 0; \ 66 #define part_stat_dec(part, field) \ argument 67 part_stat_add(part, field, -1) 68 #define part_stat_inc(part, field) \ argument 69 part_stat_add(part, field, 1) 71 part_stat_add(part, field, -subnd) 74 local_dec(&(part_stat_get(part, field))) 76 local_inc(&(part_stat_get(part, field))) [all …]
|
A D | bitfield.h | 118 if ((field | (field - 1)) & ((field | (field - 1)) + 1)) in field_multiplier() 120 return field & -field; in field_multiplier() 122 static __always_inline u64 field_mask(u64 field) in field_mask() argument 124 return field / field_multiplier(field); in field_mask() 126 #define field_max(field) ((typeof(field))field_mask(field)) argument 132 return to((v & field_mask(field)) * field_multiplier(field)); \ 135 base val, base field) \ 137 return (old & ~to(field)) | type##_encode_bits(val, field); \ 140 base val, base field) \ 142 *p = (*p & ~to(field)) | type##_encode_bits(val, field); \ [all …]
|
/linux/kernel/trace/ |
A D | trace_output.c | 47 trace_seq_bprintf(s, field->fmt, field->buf); in trace_print_bprintk_msg_only() 864 print_fn_trace(s, field->ip, field->parent_ip, flags); in trace_fn_trace() 878 field->ip, in trace_fn_raw() 1182 field->timestamp.tv_nsec, field->count); in trace_hwlat_print() 1246 net_runtime = field->runtime - field->noise; in trace_osnoise_print() 1253 field->noise, in trace_osnoise_print() 1279 field->noise, in trace_osnoise_raw() 1403 trace_seq_bprintf(s, field->fmt, field->buf); in trace_bprint_print() 1419 trace_seq_bprintf(s, field->fmt, field->buf); in trace_bprint_raw() 1510 field->ip, in trace_func_repeats_raw() [all …]
|
A D | trace_events_inject.c | 39 struct ftrace_event_field *field; in parse_field() local 62 if (!field) in parse_field() 65 *pf = field; in parse_field() 79 if (is_string_field(field)) in parse_field() 94 if (field->is_signed) in parse_field() 108 if (!is_string_field(field)) in parse_field() 146 if (field->size + field->offset > size) in trace_get_entry_size() 147 size = field->size + field->offset; in trace_get_entry_size() 167 if (!is_string_field(field)) in trace_alloc_entry() 216 strlcpy(entry + field->offset, addr, field->size); in parse_entry() [all …]
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | cong.c | 171 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val() 176 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val() 181 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val() 186 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val() 191 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val() 196 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val() 201 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val() 206 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val() 211 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val() 275 void *field; in mlx5_ib_get_cc_params() local [all …]
|
/linux/include/net/ |
A D | snmp.h | 128 __this_cpu_inc(mib->mibs[field]) 134 this_cpu_inc(mib->mibs[field]) 137 this_cpu_dec(mib->mibs[field]) 164 ptr->mibs[field] += addend; \ 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 193 #define __SNMP_INC_STATS64(mib, field) __SNMP_INC_STATS(mib, field) argument 194 #define SNMP_INC_STATS64(mib, field) SNMP_INC_STATS(mib, field) argument 195 #define SNMP_DEC_STATS64(mib, field) SNMP_DEC_STATS(mib, field) argument 196 #define __SNMP_ADD_STATS64(mib, field, addend) __SNMP_ADD_STATS(mib, field, addend) argument [all …]
|
/linux/drivers/xen/xen-pciback/ |
A D | conf_space.c | 47 const struct config_field *field = entry->field; in DEFINE_PCI_CONFIG() local 53 if (field->u.b.read) in DEFINE_PCI_CONFIG() 58 if (field->u.w.read) in DEFINE_PCI_CONFIG() 75 const struct config_field *field = entry->field; in conf_space_write() local 180 field = cfg_entry->field; in xen_pcibk_config_read() 220 field = cfg_entry->field; in xen_pcibk_config_write() 334 field = cfg_entry->field; in xen_pcibk_config_free_dyn_fields() 337 field->clean((struct config_field *)field); in xen_pcibk_config_free_dyn_fields() 359 field = cfg_entry->field; in xen_pcibk_config_reset_dev() 379 field = cfg_entry->field; in xen_pcibk_config_free_dev() [all …]
|
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
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 142 (PHM_FIELD_MASK(reg, field) & ((fieldval) << PHM_FIELD_SHIFT(reg, field)))) 156 reg, field) 160 reg, field) 169 reg, field, fieldval)) 174 reg, field, fieldval)) 185 << PHM_FIELD_SHIFT(reg, field), PHM_FIELD_MASK(reg, field)) 211 PHM_FIELD_MASK(reg, field)) 225 PHM_FIELD_MASK(reg, field)) [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | exp_rcv.h | 18 #define EXP_TID_GET(tid, field) \ argument 19 (((tid) >> EXP_TID_TID##field##_SHIFT) & EXP_TID_TID##field##_MASK) 21 #define EXP_TID_SET(field, value) \ argument 23 EXP_TID_TID##field##_SHIFT) 26 EXP_TID_TID##field##_SHIFT); \ 29 EXP_TID_CLEAR(tid, field); \ 58 #define KDETH_GET(val, field) \ argument 59 (((le32_to_cpu((val))) >> KDETH_##field##_SHIFT) & KDETH_##field##_MASK) 62 dwval &= ~(KDETH_##field##_MASK << KDETH_##field##_SHIFT); \ 64 KDETH_##field##_SHIFT); \ [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | fw.c | 209 u8 field; in mlx4_QUERY_FUNC() local 443 field = 0; in mlx4_QUERY_FUNC_CAP_wrapper() 464 field = min( in mlx4_QUERY_FUNC_CAP_wrapper() 729 u8 field; in mlx4_QUERY_DEV_CAP() local 879 if (!field) in mlx4_QUERY_DEV_CAP() 890 if (field) { in mlx4_QUERY_DEV_CAP() 950 field = 3; in mlx4_QUERY_DEV_CAP() 1190 u8 field; in mlx4_QUERY_PORT() local 1280 u8 field; in mlx4_QUERY_DEV_CAP_wrapper() local 1492 u16 field; in mlx4_get_slave_pkey_gid_tbl_len() local [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
A D | field-order.rst | 27 When the driver provides or accepts images field by field rather than 41 Counter to intuition the top field is not necessarily the older field. 49 captured first (is the older field), the top field is also transmitted 54 this end applications initialize the ``field`` field of struct 76 - Applications request this field order when any field format 104 field is the older field. In all other standards the top field 105 is the older field. 122 parity (whether the current field is a top or bottom field) the 132 bottom field. 136 first. The top field is the older field. [all …]
|
/linux/drivers/md/ |
A D | dm-init.c | 112 char *field[4]; in dm_parse_table_entry() local 115 field[0] = str; in dm_parse_table_entry() 118 field[i + 1] = str_field_delimit(&field[i], ' '); in dm_parse_table_entry() 119 if (!field[i + 1]) in dm_parse_table_entry() 190 char *field[5]; in dm_parse_device_entry() local 194 field[0] = str; in dm_parse_device_entry() 197 field[i+1] = str_field_delimit(&field[i], ','); in dm_parse_device_entry() 198 if (!field[i+1]) in dm_parse_device_entry() 209 if (strlen(field[2])) { in dm_parse_device_entry() 215 if (!strcmp(field[3], "ro")) in dm_parse_device_entry() [all …]
|
/linux/tools/lib/traceevent/Documentation/ |
A D | libtraceevent-field_find.txt | 7 Search for a field in an event. 22 These functions search for a field with given name in an event. The field 37 functions return a pointer to the found field, or NULL in case there is no field 48 struct tep_format_field *field; 57 if (field == NULL) { 62 field->size); 66 if (field == NULL) { 71 field->size); 74 field = tep_find_any_field(event, "mode"); 75 if (field == NULL) { [all …]
|
/linux/drivers/clk/st/ |
A D | clkgen.h | 22 struct clkgen_field *field) in clkgen_read() argument 24 return (readl(base + field->offset) >> field->shift) & field->mask; in clkgen_read() 28 static inline void clkgen_write(void __iomem *base, struct clkgen_field *field, in clkgen_write() argument 31 writel((readl(base + field->offset) & in clkgen_write() 32 ~(field->mask << field->shift)) | (val << field->shift), in clkgen_write() 33 base + field->offset); in clkgen_write() 44 #define CLKGEN_READ(pll, field) clkgen_read(pll->regs_base, \ argument 45 &pll->data->field) 47 #define CLKGEN_WRITE(pll, field, val) clkgen_write(pll->regs_base, \ argument 48 &pll->data->field, val)
|
/linux/tools/lib/traceevent/ |
A D | event-parse.c | 3995 field = arg->field.field; in print_str_arg() 4002 arg->field.field = field; in print_str_arg() 4095 field = arg->hex.field->field.field; in print_str_arg() 4101 arg->hex.field->field.field = field; in print_str_arg() 4126 field = arg->int_array.field->field.field; in print_str_arg() 4132 arg->int_array.field->field.field = field; in print_str_arg() 4579 arg->field.field = in print_mac_arg() 4775 arg->field.field = in print_ipv4_arg() 6398 for (field = list; field; field = field->next) { in get_event_fields() 6817 for (field = event->format.fields; field; field = field->next) { in parse_format() [all …]
|
/linux/drivers/acpi/acpica/ |
A D | exfield.c | 137 (obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field() 192 (obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field() 208 obj_desc->field.bit_length)); in acpi_ex_read_data_from_field() 211 obj_desc->field.region_obj->field.internal_pcc_buffer + in acpi_ex_read_data_from_field() 212 obj_desc->field.base_byte_offset, in acpi_ex_read_data_from_field() 329 memcpy(obj_desc->field.region_obj->field.internal_pcc_buffer + in acpi_ex_write_data_to_field() 330 obj_desc->field.base_byte_offset, in acpi_ex_write_data_to_field() 335 && MASTER_SUBSPACE_COMMAND(obj_desc->field. in acpi_ex_write_data_to_field() 337 || GENERIC_SUBSPACE_COMMAND(obj_desc->field. in acpi_ex_write_data_to_field() 347 (u64 *)obj_desc->field. in acpi_ex_write_data_to_field() [all …]
|
/linux/drivers/hid/ |
A D | hid-input.c | 733 if (field->dpad) { in hidinput_configure_usage() 734 map_abs(field->dpad); in hidinput_configure_usage() 1331 if (!field->hidinput) in hidinput_hid_event() 1413 (field->logical_minimum < field->logical_maximum)) { in hidinput_hid_event() 1475 *field = report->field[i]; in hidinput_find_field() 1477 if ((*field)->usage[j].type == type && (*field)->usage[j].code == code) in hidinput_find_field() 1495 field = report->field[i]; in hidinput_get_led_field() 1498 return field; in hidinput_get_led_field() 1516 field = report->field[i]; in hidinput_count_leds() 1519 field->value[j]) in hidinput_count_leds() [all …]
|
A D | hid-dr.c | 53 drff->report->field[0]->value[0] = 0x51; in drff_play() 54 drff->report->field[0]->value[1] = 0x00; in drff_play() 55 drff->report->field[0]->value[2] = weak; in drff_play() 59 drff->report->field[0]->value[0] = 0xfa; in drff_play() 60 drff->report->field[0]->value[1] = 0xfe; in drff_play() 62 drff->report->field[0]->value[0] = 0xf3; in drff_play() 63 drff->report->field[0]->value[1] = 0x00; in drff_play() 66 drff->report->field[0]->value[2] = 0x00; in drff_play() 67 drff->report->field[0]->value[4] = 0x00; in drff_play() 120 drff->report->field[0]->value[0] = 0xf3; in drff_init() [all …]
|
A D | hid-gaff.c | 44 gaff->report->field[0]->value[0] = 0x51; in hid_gaff_play() 45 gaff->report->field[0]->value[1] = 0x0; in hid_gaff_play() 46 gaff->report->field[0]->value[2] = right; in hid_gaff_play() 47 gaff->report->field[0]->value[3] = 0; in hid_gaff_play() 48 gaff->report->field[0]->value[4] = left; in hid_gaff_play() 49 gaff->report->field[0]->value[5] = 0; in hid_gaff_play() 53 gaff->report->field[0]->value[0] = 0xfa; in hid_gaff_play() 54 gaff->report->field[0]->value[1] = 0xfe; in hid_gaff_play() 55 gaff->report->field[0]->value[2] = 0x0; in hid_gaff_play() 56 gaff->report->field[0]->value[4] = 0x0; in hid_gaff_play() [all …]
|
/linux/drivers/gpu/drm/amd/include/ |
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 124 (((orig_val) & ~CGS_REG_FIELD_MASK(reg, field)) | \ 125 (CGS_REG_FIELD_MASK(reg, field) & ((field_val) << CGS_REG_FIELD_SHIFT(reg, field)))) 127 #define CGS_REG_GET_FIELD(value, reg, field) \ argument 128 (((value) & CGS_REG_FIELD_MASK(reg, field)) >> CGS_REG_FIELD_SHIFT(reg, field)) 130 #define CGS_WREG32_FIELD(device, reg, field, val) \ argument 131 …egister(device, mm##reg) & ~CGS_REG_FIELD_MASK(reg, field)) | (val) << CGS_REG_FIELD_SHIFT(reg, fi… 133 #define CGS_WREG32_FIELD_IND(device, space, reg, field, val) \ argument [all …]
|