/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtv-vbi.h | 17 int ivtv_used_line(struct ivtv *itv, int line, int field);
|
/linux-master/fs/bcachefs/ |
H A D | journal_seq_blacklist.h | 9 ? ((vstruct_end(&bl->field) - (void *) &bl->start[0]) /
|
/linux-master/arch/mips/mm/ |
H A D | fault.c | 45 const int field = sizeof(unsigned long) * 2; local 54 current->comm, current->pid, field, address, write, 55 field, regs->cp0_epc); 123 field, address, write, 124 field, regs->cp0_epc); 134 field, address, write, 135 field, regs->cp0_epc); 205 field, address); 206 pr_info("epc = %0*lx in", field, 210 pr_info("ra = %0*lx in", field, [all...] |
/linux-master/arch/x86/kvm/vmx/ |
H A D | hyperv_evmcs.h | 129 static __always_inline int evmcs_field_offset(unsigned long field, argument 133 unsigned int index = ROL16(field, 6); 142 * 'revision_id' but this field has no encoding and is supposed to 155 unsigned long field, u16 offset) 160 * the exact offset of the required field, use it for convenience 163 return vmcs12_read_any((void *)evmcs, field, offset); 154 evmcs_read_any(struct hv_enlightened_vmcs *evmcs, unsigned long field, u16 offset) argument
|
/linux-master/drivers/scsi/be2iscsi/ |
H A D | be.h | 155 #define AMAP_BIT_OFFSET(_struct, field) \ 156 (((size_t)&(((_struct *)0)->field))%32) 158 /* Returns the bit mask of the field that is NOT shifted into location. */ 172 #define AMAP_SET_BITS(_struct, field, ptr, val) \ 174 offsetof(_struct, field)/32, \ 175 amap_mask(sizeof(((_struct *)0)->field)), \ 176 AMAP_BIT_OFFSET(_struct, field), \ 185 #define AMAP_GET_BITS(_struct, field, ptr) \ 187 offsetof(_struct, field)/32, \ 188 amap_mask(sizeof(((_struct *)0)->field)), \ [all...] |
/linux-master/drivers/hid/ |
H A D | hid-emsff.c | 37 emsff->report->field[0]->value[1] = weak; 38 emsff->report->field[0]->value[2] = strong; 74 if (report->field[0]->report_count < 7) { 75 hid_err(hid, "not enough values in the field\n"); 92 emsff->report->field[0]->value[0] = 0x01; 93 emsff->report->field[0]->value[1] = 0x00; 94 emsff->report->field[0]->value[2] = 0x00; 95 emsff->report->field[0]->value[3] = 0x00; 96 emsff->report->field[0]->value[4] = 0x00; 97 emsff->report->field[ [all...] |
H A D | hid-icade.c | 164 static int icade_event(struct hid_device *hdev, struct hid_field *field, argument 169 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || 182 input_event(field->hidinput->input, usage->type, 189 struct hid_field *field, struct hid_usage *usage, 212 struct hid_field *field, struct hid_usage *usage, 188 icade_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument 211 icade_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
|
H A D | hid-core.c | 86 * Register a new field for this report. 91 struct hid_field *field; local 98 field = kzalloc((sizeof(struct hid_field) + 101 if (!field) 104 field->index = report->maxfield++; 105 report->field[field->index] = field; 106 field->usage = (struct hid_usage *)(field 258 struct hid_field *field; local 1066 hid_apply_multiplier_to_field(struct hid_device *hid, struct hid_field *field, struct hid_collection *multiplier_collection, int effective_multiplier) argument 1101 struct hid_field *field; local 1521 hid_process_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value, int interrupt) argument 1549 hid_array_value_is_valid(struct hid_field *field, __s32 value) argument 1568 hid_input_fetch_field(struct hid_device *hid, struct hid_field *field, __u8 *data) argument 1604 hid_input_var_field(struct hid_device *hid, struct hid_field *field, int interrupt) argument 1627 hid_input_array_field(struct hid_device *hid, struct hid_field *field, int interrupt) argument 1675 struct hid_field *field; local 1726 __hid_insert_field_entry(struct hid_device *hid, struct hid_report *report, struct hid_field_entry *entry, struct hid_field *field, unsigned int usage_index) argument 1759 struct hid_field *field; local 1820 hid_output_field(const struct hid_device *hid, struct hid_field *field, __u8 *data) argument 1889 hid_set_field(struct hid_field *field, unsigned offset, __s32 value) argument [all...] |
H A D | hid-multitouch.c | 480 struct hid_field *field, struct hid_usage *usage) 486 mt_get_feature(hdev, field->report); 488 td->maxcontacts = field->value[0]; 490 field->logical_maximum <= MT_MAX_MAXCONTACT) 491 td->maxcontacts = field->logical_maximum; 498 if (usage->usage_index >= field->report_count) { 503 mt_get_feature(hdev, field->report); 504 if (field->value[usage->usage_index] == MT_BUTTONTYPE_CLICKPAD) 511 mt_get_feature(hdev, field->report); 517 struct hid_field *field, in 479 mt_feature_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) argument 516 set_abs(struct input_dev *input, unsigned int code, struct hid_field *field, int snratio) argument 615 struct hid_field *field; local 715 mt_touch_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max, struct mt_application *app) argument 997 mt_touch_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) argument 1155 mt_process_mt_event(struct hid_device *hid, struct mt_application *app, struct hid_field *field, struct hid_usage *usage, __s32 value, bool first_packet) argument 1200 struct hid_field *field; local 1341 mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument 1414 mt_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument 1431 mt_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) argument 1447 struct hid_field *field = report->field[0]; local 1461 mt_need_to_apply_feature(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, enum latency_mode latency, bool surface_switch, bool button_switch, bool *inputmode_found) argument 1653 mt_fix_const_field(struct hid_field *field, unsigned int usage) argument [all...] |
H A D | hid-lgff.c | 73 report->field[0]->value[0] = 0x51; 74 report->field[0]->value[1] = 0x08; 75 report->field[0]->value[2] = x; 76 report->field[0]->value[3] = y; 88 report->field[0]->value[0] = 0x42; 89 report->field[0]->value[1] = 0x00; 90 report->field[0]->value[2] = left; 91 report->field[0]->value[3] = right; 104 __s32 *value = report->field[0]->value;
|
H A D | hid-input.c | 143 for (j = 0; j < report->field[i]->maxusage; j++) { 144 usage = report->field[i]->usage + j; 233 * @field: the HID report field to calculate resolution for 246 __s32 hidinput_calc_abs_res(const struct hid_field *field, __u16 code) argument 248 __s32 unit_exponent = field->unit_exponent; 249 __s32 logical_extents = field->logical_maximum - 250 field->logical_minimum; 251 __s32 physical_extents = field->physical_maximum - 252 field 523 hidinput_setup_battery(struct hid_device *dev, unsigned report_type, struct hid_field *field, bool is_percentage) argument 658 hidinput_setup_battery(struct hid_device *dev, unsigned report_type, struct hid_field *field, bool is_percentage) argument 679 hidinput_field_in_collection(struct hid_device *device, struct hid_field *field, unsigned int type, unsigned int usage) argument 689 hidinput_configure_usage(struct hid_input *hidinput, struct hid_field *field, struct hid_usage *usage, unsigned int usage_index) argument 1525 hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) argument 1754 hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_field **field) argument 1774 struct hid_field *field; local 1794 struct hid_field *field; local 1817 struct hid_field *field; local 1865 struct hid_field *field; local 2218 struct hid_field *field; local [all...] |
H A D | hid-zpff.c | 45 zpff->report->field[2]->value[0] = left; 46 zpff->report->field[3]->value[0] = right; 87 zpff->report->field[0]->value[0] = 0x00; 88 zpff->report->field[1]->value[0] = 0x02; 89 zpff->report->field[2]->value[0] = 0x00; 90 zpff->report->field[3]->value[0] = 0x00;
|
H A D | hid-vivaldi-common.c | 25 * @field: HID field to parse 32 struct hid_field *field, struct hid_usage *usage) 35 struct hid_report *report = field->report; 41 if (field->logical != HID_USAGE_FN_ROW_PHYSMAP || 74 field->report->id); 91 field->report->id); 96 field->value[usage->usage_index]; 31 vivaldi_feature_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) argument
|
H A D | hid-lg4ff.h | 8 int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, 15 static inline int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, argument
|
H A D | hid-jabra.c | 21 struct hid_field *field, 31 field->application, 19 jabra_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
|
/linux-master/include/rdma/ |
H A D | iba.h | 62 #define IBA_SET(field, ptr, value) _IBA_SET(field, ptr, value) 69 #define IBA_GET_MEM_PTR(field, ptr) _IBA_GET_MEM_PTR(field, ptr) 71 /* FIXME: A set should always set the entire field, meaning we should zero the trailing bytes */ 82 #define IBA_SET_MEM(field, ptr, in, bytes) _IBA_SET_MEM(field, ptr, in, bytes) 91 #define IBA_GET(field, ptr) _IBA_GET(field, ptr) 104 #define IBA_GET_MEM(field, pt [all...] |
/linux-master/drivers/phy/broadcom/ |
H A D | phy-brcm-usb-init.h | 28 #define USB_CTRL_MASK(reg, field) \ 29 USB_CTRL_##reg##_##field##_MASK 30 #define USB_CTRL_SET(base, reg, field) \ 32 USB_CTRL_##reg##_##field##_MASK) 33 #define USB_CTRL_UNSET(base, reg, field) \ 35 USB_CTRL_##reg##_##field##_MASK) 38 #define USB_XHCI_GBL_SET(base, reg, field) \ 40 USB_XHCI_GBL_##reg##_##field##_MASK) 41 #define USB_XHCI_GBL_UNSET(base, reg, field) \ 43 USB_XHCI_GBL_##reg##_##field##_MAS [all...] |
/linux-master/drivers/acpi/acpica/ |
H A D | exserial.c | 23 * PARAMETERS: obj_desc - The named field to read 28 * DESCRIPTION: Read from a named field that references a Generic Serial Bus 29 * field 41 * pin number index. The bit_length is the length of the field, which 46 obj_desc->field.pin_number_index, 47 obj_desc->field.bit_length)); 67 * obj_desc - The named field 72 * DESCRIPTION: Write to a named field that references a General Purpose I/O 73 * field. 88 * For GPIO (general_purpose_io), we will bypass the entire field [all...] |
H A D | psargs.c | 37 * DESCRIPTION: Decode and return a package length field. 90 * the package. Consumes the package length field 451 * DESCRIPTION: Get next field (named_field, reserved_field, or access_field) 459 union acpi_parse_object *field; local 475 /* Determine field type */ 508 /* Allocate a new field op */ 510 field = acpi_ps_alloc_op(opcode, aml); 511 if (!field) { 515 /* Decode the field type */ 524 acpi_ps_set_name(field, nam 709 union acpi_parse_object *field; local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | fw.c | 209 u8 field; local 235 MLX4_GET(field, outbox, QUERY_FUNC_BUS_OFFSET); 236 func->bus = field & 0xf; 237 MLX4_GET(field, outbox, QUERY_FUNC_DEVICE_OFFSET); 238 func->device = field & 0xf1; 239 MLX4_GET(field, outbox, QUERY_FUNC_FUNCTION_OFFSET); 240 func->function = field & 0x7; 241 MLX4_GET(field, outbox, QUERY_FUNC_PHYSICAL_FUNCTION_OFFSET); 242 func->physical_function = field & 0xf; 247 MLX4_GET(field, outbo 332 u8 field, port; local 544 u8 field, op_modifier; local 729 u8 field; local 1190 u8 field; local 1280 u8 field; local 1492 u16 field; local 2302 u16 field; local [all...] |
/linux-master/drivers/mux/ |
H A D | mmio.c | 81 struct reg_field field; local 97 field.reg = reg; 98 field.msb = fls(mask) - 1; 99 field.lsb = ffs(mask) - 1; 101 if (mask != GENMASK(field.msb, field.lsb)) { 107 fields[i] = devm_regmap_field_alloc(dev, regmap, field); 115 bits = 1 + field.msb - field.lsb;
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_cgu_regs.h | 26 } field; member in union:nac_cgu_dword9 42 } field; member in union:nac_cgu_dword19 66 } field; member in union:nac_cgu_dword22 80 } field; member in union:nac_cgu_dword24 95 } field; member in union:tspll_cntr_bist_settings 112 } field; member in union:tspll_ro_bwm_lf
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | soc15.h | 97 #define SOC15_REG_FIELD(reg, field) reg##__##field##_MASK, reg##__##field##__SHIFT 101 #define SOC15_RAS_REG_FIELD_VAL(val, entry, field) SOC15_REG_FIELD_VAL((val), (entry).field##_count_mask, (entry).field##_count_shift)
|
/linux-master/tools/lib/bpf/ |
H A D | bpf_core_read.h | 10 * a field, captured as a first argument. __builtin_preserve_field_info(field, 11 * info_kind) returns __u32 integer and produces BTF field relocation, which 16 BPF_FIELD_BYTE_OFFSET = 0, /* field byte offset */ 18 BPF_FIELD_EXISTS = 2, /* field existence in target kernel */ 43 #define __CORE_RELO(src, field, info) \ 44 __builtin_preserve_field_info((src)->field, BPF_FIELD_##info) 55 * field byte size 65 * Extract bitfield, identified by s->field, and return its value as u64. 72 #define BPF_CORE_READ_BITFIELD_PROBED(s, field) ({ \ [all...] |
/linux-master/drivers/ata/ |
H A D | libata-transport.c | 204 #define ata_port_show_simple(field, name, format_string, cast) \ 211 return scnprintf(buf, 20, format_string, cast ap->field); \ 214 #define ata_port_simple_attr(field, name, format_string, type) \ 215 ata_port_show_simple(field, name, format_string, (type)) \ 369 #define ata_link_show_linkspeed(field, format) \ 371 show_ata_link_##field(struct device *dev, \ 376 return sprintf(buf, "%s\n", sata_spd_string(format(link->field))); \ 379 #define ata_link_linkspeed_attr(field, format) \ 380 ata_link_show_linkspeed(field, format) \ 381 static DEVICE_ATTR(field, S_IRUG [all...] |