Home
last modified time | relevance | path

Searched refs:field_offset (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/arch/x86/xen/
Dpmu.c28 #define field_offset(ctxt, field) ((void *)((uintptr_t)ctxt + \ macro
213 fix_counters = field_offset(ctxt, fixed_counters); in xen_intel_pmu_emulate()
217 arch_cntr_pair = field_offset(ctxt, arch_counters); in xen_intel_pmu_emulate()
221 arch_cntr_pair = field_offset(ctxt, arch_counters); in xen_intel_pmu_emulate()
263 ctrl_regs = field_offset(ctxt, ctrls); in xen_amd_pmu_emulate()
267 counter_regs = field_offset(ctxt, counters); in xen_amd_pmu_emulate()
345 counter_regs = field_offset(ctxt, counters); in xen_amd_read_pmc()
371 fixed_counters = field_offset(ctxt, fixed_counters); in xen_intel_read_pmc()
375 arch_cntr_pair = field_offset(ctxt, arch_counters); in xen_intel_read_pmc()
/linux-4.4.14/drivers/acpi/acpica/
Dexfldio.c685 u32 field_offset = 0; in acpi_ex_extract_from_field() local
752 acpi_ex_field_datum_io(obj_desc, field_offset, &raw_datum, in acpi_ex_extract_from_field()
766 field_offset += obj_desc->common_field.access_byte_width; in acpi_ex_extract_from_field()
767 status = acpi_ex_field_datum_io(obj_desc, field_offset, in acpi_ex_extract_from_field()
845 u32 field_offset = 0; in acpi_ex_insert_into_field() local
937 field_offset); in acpi_ex_insert_into_field()
942 field_offset += obj_desc->common_field.access_byte_width; in acpi_ex_insert_into_field()
995 field_offset); in acpi_ex_insert_into_field()
/linux-4.4.14/drivers/input/mouse/
Dtrackpoint.c107 size_t field_offset; member
118 unsigned char value = *(unsigned char *)((char *)tp + attr->field_offset); in trackpoint_show_int_attr()
131 unsigned char *field = (unsigned char *)((char *)tp + attr->field_offset); in trackpoint_set_int_attr()
147 .field_offset = offsetof(struct trackpoint_data, _name), \
160 unsigned char *field = (unsigned char *)((char *)tp + attr->field_offset); in trackpoint_set_bit_attr()
185 .field_offset = offsetof(struct trackpoint_data, \
Delantech.c1280 size_t field_offset; member
1292 unsigned char *reg = (unsigned char *) etd + attr->field_offset; in elantech_show_int_attr()
1309 unsigned char *reg = (unsigned char *) etd + attr->field_offset; in elantech_set_int_attr()
1335 .field_offset = offsetof(struct elantech_data, _name), \
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddispc.c1824 unsigned int field_offset, in calc_vrfb_rotation_offset() argument
1867 if (field_offset) in calc_vrfb_rotation_offset()
1868 *offset0 = field_offset * screen_width * ps; in calc_vrfb_rotation_offset()
1889 if (field_offset) in calc_vrfb_rotation_offset()
1890 *offset0 = field_offset * screen_width * ps; in calc_vrfb_rotation_offset()
1909 unsigned int field_offset, in calc_dma_rotation_offset() argument
1949 if (field_offset) in calc_dma_rotation_offset()
1950 *offset0 = *offset1 + field_offset * screen_width * ps; in calc_dma_rotation_offset()
1964 if (field_offset) in calc_dma_rotation_offset()
1965 *offset0 = *offset1 + field_offset * ps; in calc_dma_rotation_offset()
[all …]
/linux-4.4.14/drivers/input/touchscreen/
Dedt-ft5x06.c328 size_t field_offset; member
341 .field_offset = offsetof(struct edt_ft5x06_ts_data, _field), \
356 u8 *field = (u8 *)tsdata + attr->field_offset; in edt_ft5x06_setting_show()
417 u8 *field = (u8 *)tsdata + attr->field_offset; in edt_ft5x06_setting_store()
Delants_i2c.c999 size_t field_offset; member
1012 .field_offset = offsetof(struct elants_data, _field), \
1024 u8 *field = (u8 *)((char *)ts + attr->field_offset); in elants_version_attribute_show()
/linux-4.4.14/fs/xfs/
Dxfs_log.c3808 ptrdiff_t field_offset; in xlog_verify_iclog() local
3845 field_offset = p - base_ptr; in xlog_verify_iclog()
3846 if (!syncing || (field_offset & 0x1ff)) { in xlog_verify_iclog()
3864 (unsigned long)field_offset); in xlog_verify_iclog()
3868 field_offset = p - base_ptr; in xlog_verify_iclog()
3869 if (!syncing || (field_offset & 0x1ff)) { in xlog_verify_iclog()
/linux-4.4.14/drivers/input/misc/
Dims-pcu.c1053 size_t field_offset; member
1065 char *field = (char *)pcu + attr->field_offset; in ims_pcu_attribute_show()
1079 char *field = (char *)pcu + attr->field_offset; in ims_pcu_attribute_store()
1115 .field_offset = offsetof(struct ims_pcu, _field), \