/linux-6.3-rc2/include/rdma/ |
A D | iba.h | 56 #define _IBA_SET(field_struct, field_offset, field_mask, num_bits, ptr, value) \ argument 59 _iba_set##num_bits((void *)_ptr + (field_offset), field_mask, \ 64 #define _IBA_GET_MEM_PTR(field_struct, field_offset, type, num_bits, ptr) \ argument 67 (type *)((void *)_ptr + (field_offset)); \ 72 #define _IBA_SET_MEM(field_struct, field_offset, type, num_bits, ptr, in, \ argument 78 memcpy(_IBA_GET_MEM_PTR(field_struct, field_offset, \ 84 #define _IBA_GET(field_struct, field_offset, field_mask, num_bits, ptr) \ argument 89 (field_offset))); \ 93 #define _IBA_GET_MEM(field_struct, field_offset, type, num_bits, ptr, out, \ argument 100 _IBA_GET_MEM_PTR(field_struct, field_offset, \
|
/linux-6.3-rc2/arch/x86/xen/ |
A D | pmu.c | 30 #define field_offset(ctxt, field) ((void *)((uintptr_t)ctxt + \ macro 230 fix_counters = field_offset(ctxt, fixed_counters); in xen_intel_pmu_emulate() 234 arch_cntr_pair = field_offset(ctxt, arch_counters); in xen_intel_pmu_emulate() 238 arch_cntr_pair = field_offset(ctxt, arch_counters); in xen_intel_pmu_emulate() 280 ctrl_regs = field_offset(ctxt, ctrls); in xen_amd_pmu_emulate() 284 counter_regs = field_offset(ctxt, counters); in xen_amd_pmu_emulate() 366 counter_regs = field_offset(ctxt, counters); in xen_amd_read_pmc() 392 fixed_counters = field_offset(ctxt, fixed_counters); in xen_intel_read_pmc() 396 arch_cntr_pair = field_offset(ctxt, arch_counters); in xen_intel_read_pmc()
|
/linux-6.3-rc2/drivers/acpi/acpica/ |
A D | exfldio.c | 654 u32 field_offset = 0; in acpi_ex_extract_from_field() local 721 acpi_ex_field_datum_io(obj_desc, field_offset, &raw_datum, in acpi_ex_extract_from_field() 735 field_offset += obj_desc->common_field.access_byte_width; in acpi_ex_extract_from_field() 737 acpi_ex_field_datum_io(obj_desc, field_offset, &raw_datum, in acpi_ex_extract_from_field() 815 u32 field_offset = 0; in acpi_ex_insert_into_field() local 900 field_offset); in acpi_ex_insert_into_field() 905 field_offset += obj_desc->common_field.access_byte_width; in acpi_ex_insert_into_field() 958 field_offset); in acpi_ex_insert_into_field()
|
/linux-6.3-rc2/drivers/input/mouse/ |
A D | trackpoint.c | 97 size_t field_offset; member 109 u8 value = *(u8 *)((void *)tp + attr->field_offset); in trackpoint_show_int_attr() 122 u8 *field = (void *)tp + attr->field_offset; in trackpoint_set_int_attr() 138 .field_offset = offsetof(struct trackpoint_data, _name), \ 151 bool *field = (void *)tp + attr->field_offset; in trackpoint_set_bit_attr() 174 .field_offset = offsetof(struct trackpoint_data, \
|
A D | elantech.c | 1263 size_t field_offset; member 1275 unsigned char *reg = (unsigned char *) etd + attr->field_offset; in elantech_show_int_attr() 1292 unsigned char *reg = (unsigned char *) etd + attr->field_offset; in elantech_set_int_attr() 1318 .field_offset = offsetof(struct elantech_data, _name), \ 1328 .field_offset = offsetof(struct elantech_data, info) + \
|
/linux-6.3-rc2/drivers/video/fbdev/omap2/omapfb/dss/ |
A D | dispc.c | 1866 if (field_offset) in calc_vrfb_rotation_offset() 1889 if (field_offset) in calc_vrfb_rotation_offset() 1949 if (field_offset) in calc_dma_rotation_offset() 1964 if (field_offset) in calc_dma_rotation_offset() 1974 if (field_offset) in calc_dma_rotation_offset() 1989 if (field_offset) in calc_dma_rotation_offset() 2001 if (field_offset) in calc_dma_rotation_offset() 2017 if (field_offset) in calc_dma_rotation_offset() 2029 if (field_offset) in calc_dma_rotation_offset() 2045 if (field_offset) in calc_dma_rotation_offset() [all …]
|
/linux-6.3-rc2/drivers/input/touchscreen/ |
A D | hycon-hy46xx.c | 148 size_t field_offset; member 159 .field_offset = offsetof(struct hycon_hy46xx_data, _field), \ 170 .field_offset = offsetof(struct hycon_hy46xx_data, _field), \ 183 u8 *field = (u8 *)tsdata + attr->field_offset; in hycon_hy46xx_setting_show() 220 u8 *field = (u8 *)tsdata + attr->field_offset; in hycon_hy46xx_setting_store()
|
A D | edt-ft5x06.c | 365 size_t field_offset; member 379 .field_offset = offsetof(struct edt_ft5x06_ts_data, _field), \ 395 u8 *field = (u8 *)tsdata + attr->field_offset; in edt_ft5x06_setting_show() 462 u8 *field = (u8 *)tsdata + attr->field_offset; in edt_ft5x06_setting_store()
|
A D | elants_i2c.c | 1255 size_t field_offset; member 1268 .field_offset = offsetof(struct elants_data, _field), \ 1280 u8 *field = (u8 *)((char *)ts + attr->field_offset); in elants_version_attribute_show()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/ |
A D | dcn30_cm_common.h | 34 type field_offset
|
A D | dcn30_dwb_cm.c | 54 reg->shifts.field_offset = dwbc30->dwbc_shift->DWB_OGAM_RAMA_OFFSET_B; in dwb3_get_reg_field_ogam() 55 reg->masks.field_offset = dwbc30->dwbc_mask->DWB_OGAM_RAMA_OFFSET_B; in dwb3_get_reg_field_ogam()
|
A D | dcn30_dpp_cm.c | 178 reg->shifts.field_offset = dpp->tf_shift->CM_GAMCOR_RAMA_OFFSET_B; in dpp3_gamcor_reg_field() 179 reg->masks.field_offset = dpp->tf_mask->CM_GAMCOR_RAMA_OFFSET_B; in dpp3_gamcor_reg_field()
|
A D | dcn30_mpc.c | 181 reg->shifts.field_offset = mpc30->mpc_shift->MPCC_OGAM_RAMA_OFFSET_B; in mpc3_ogam_get_reg_field() 182 reg->masks.field_offset = mpc30->mpc_mask->MPCC_OGAM_RAMA_OFFSET_B; in mpc3_ogam_get_reg_field()
|
/linux-6.3-rc2/drivers/net/phy/ |
A D | mdio_bus.c | 196 unsigned int field_offset; member 237 val = mdio_bus_get_global_stat(bus, sattr->field_offset); in mdio_bus_stat_field_show() 240 sattr->field_offset); in mdio_bus_stat_field_show() 259 val = mdio_bus_get_stat(&bus->stats[addr], sattr->field_offset); in mdio_bus_device_stat_field_show()
|
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/ |
A D | dwmac5.c | 23 unsigned long field_offset, struct stmmac_safety_stats *stats) in dwmac5_log_error() argument 29 ptr = (unsigned long *)(bptr + field_offset); in dwmac5_log_error()
|
A D | dwxgmac2_core.c | 641 unsigned long field_offset, in dwxgmac3_log_error() argument 648 ptr = (unsigned long *)(bptr + field_offset); in dwxgmac3_log_error()
|
/linux-6.3-rc2/fs/xfs/ |
A D | xfs_log.c | 3657 ptrdiff_t field_offset; in xlog_verify_iclog() local 3694 field_offset = p - base_ptr; in xlog_verify_iclog() 3695 if (field_offset & 0x1ff) { in xlog_verify_iclog() 3713 (unsigned long)field_offset); in xlog_verify_iclog() 3718 field_offset = p - base_ptr; in xlog_verify_iclog() 3719 if (field_offset & 0x1ff) { in xlog_verify_iclog()
|
/linux-6.3-rc2/drivers/input/misc/ |
A D | ims-pcu.c | 1039 size_t field_offset; member 1051 char *field = (char *)pcu + attr->field_offset; in ims_pcu_attribute_show() 1065 char *field = (char *)pcu + attr->field_offset; in ims_pcu_attribute_store() 1101 .field_offset = offsetof(struct ims_pcu, _field), \
|
/linux-6.3-rc2/sound/soc/codecs/ |
A D | wm_adsp.c | 1388 unsigned int field_offset, u32 *data) in wm_adsp_buffer_read() argument 1391 buf->host_buf_ptr + field_offset, data); in wm_adsp_buffer_read() 1395 unsigned int field_offset, u32 data) in wm_adsp_buffer_write() argument 1398 buf->host_buf_ptr + field_offset, in wm_adsp_buffer_write()
|
/linux-6.3-rc2/drivers/gpu/drm/omapdrm/dss/ |
A D | dispc.c | 2095 u32 fourcc, bool fieldmode, unsigned int field_offset, in calc_offset() argument 2124 *offset0 = field_offset * screen_width * ps; in calc_offset() 2632 unsigned int field_offset = 0; in dispc_ovl_setup_common() local 2710 field_offset = 0; in dispc_ovl_setup_common() 2712 field_offset = in_height / out_height / 2; in dispc_ovl_setup_common() 2717 field_offset = 1; in dispc_ovl_setup_common() 2730 fourcc, fieldmode, field_offset, in dispc_ovl_setup_common()
|