/linux-6.12.1/include/rdma/ |
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.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | ctx_rewrite.c | 36 int field_offset; member 64 .field_offset = offsetof(type, field), \ 299 int btf_id, field_offset; in find_field_offset() local 319 field_offset = find_field_offset_aux(btf, btf_id, field_str, 0); in find_field_offset() 320 if (field_offset < 0) { in find_field_offset() 325 return field_offset; in find_field_offset() 537 int field_offset; in match_pattern() local 561 field_offset = find_field_offset(btf, pattern, matches); in match_pattern() 562 if (field_offset < 0) in match_pattern() 566 acc_offset += field_offset; in match_pattern() [all …]
|
/linux-6.12.1/arch/x86/xen/ |
D | pmu.c | 29 #define field_offset(ctxt, field) ((void *)((uintptr_t)ctxt + \ macro 229 fix_counters = field_offset(ctxt, fixed_counters); in xen_intel_pmu_emulate() 233 arch_cntr_pair = field_offset(ctxt, arch_counters); in xen_intel_pmu_emulate() 237 arch_cntr_pair = field_offset(ctxt, arch_counters); in xen_intel_pmu_emulate() 279 ctrl_regs = field_offset(ctxt, ctrls); in xen_amd_pmu_emulate() 283 counter_regs = field_offset(ctxt, counters); in xen_amd_pmu_emulate() 365 counter_regs = field_offset(ctxt, counters); in xen_amd_read_pmc() 391 fixed_counters = field_offset(ctxt, fixed_counters); in xen_intel_read_pmc() 395 arch_cntr_pair = field_offset(ctxt, arch_counters); in xen_intel_read_pmc()
|
/linux-6.12.1/fs/bcachefs/ |
D | bkey.c | 160 u64 v = 0, offset = le64_to_cpu(state->format->field_offset[field]); in get_inc_field() 205 u64 offset = le64_to_cpu(state->format->field_offset[field]); in set_inc_field() 386 u64 offset = le64_to_cpu(state->format->field_offset[field]); in set_inc_field_lossy() 449 u64 field_offset = le64_to_cpu(f->field_offset[i]); in bkey_format_has_too_big_fields() local 451 if (packed_max + field_offset < packed_max || in bkey_format_has_too_big_fields() 452 packed_max + field_offset > unpacked_max) in bkey_format_has_too_big_fields() 490 le64_to_cpu(f->field_offset[BKEY_FIELD_SNAPSHOT]))) { in bch2_bkey_pack_pos_lossy() 499 le64_to_cpu(f->field_offset[BKEY_FIELD_OFFSET]))) { in bch2_bkey_pack_pos_lossy() 508 le64_to_cpu(f->field_offset[BKEY_FIELD_INODE]))) in bch2_bkey_pack_pos_lossy() 585 f->field_offset[i] = cpu_to_le64(offset); in set_format_field() [all …]
|
D | bkey.h | 493 ? (le64_to_cpu(f->field_offset[nr]) + in bkey_field_max() 591 u64 field_offset = le64_to_cpu(f->field_offset[i]); in bch2_bkey_format_field_overflows() local 596 if ((f_bits == unpacked_bits) && field_offset) in bch2_bkey_format_field_overflows() 603 if (((field_offset + f_mask) & unpacked_mask) < field_offset) in bch2_bkey_format_field_overflows()
|
D | btree_io.h | 165 swap(f->field_offset[BKEY_FIELD_INODE], in compat_bformat() 166 f->field_offset[BKEY_FIELD_OFFSET]); in compat_bformat() 174 f->field_offset[BKEY_FIELD_SNAPSHOT] = write in compat_bformat()
|
D | bkey_methods.c | 423 swap(tmp.field_offset[BKEY_FIELD_INODE], in __bch2_bkey_compat() 424 tmp.field_offset[BKEY_FIELD_OFFSET]); in __bch2_bkey_compat() 444 u64 min_packed = le64_to_cpu(f->field_offset[BKEY_FIELD_SNAPSHOT]); in __bch2_bkey_compat()
|
/linux-6.12.1/drivers/acpi/acpica/ |
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.12.1/drivers/input/mouse/ |
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, \
|
D | elantech.c | 1264 size_t field_offset; member 1276 unsigned char *reg = (unsigned char *) etd + attr->field_offset; in elantech_show_int_attr() 1293 unsigned char *reg = (unsigned char *) etd + attr->field_offset; in elantech_set_int_attr() 1319 .field_offset = offsetof(struct elantech_data, _name), \ 1329 .field_offset = offsetof(struct elantech_data, info) + \
|
/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dispc.c | 1822 unsigned int field_offset, in calc_vrfb_rotation_offset() argument 1866 if (field_offset) in calc_vrfb_rotation_offset() 1867 *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-6.12.1/drivers/input/touchscreen/ |
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()
|
D | edt-ft5x06.c | 352 size_t field_offset; member 366 .field_offset = offsetof(struct edt_ft5x06_ts_data, _field), \ 382 u8 *field = (u8 *)tsdata + attr->field_offset; in edt_ft5x06_setting_show() 448 u8 *field = (u8 *)tsdata + attr->field_offset; in edt_ft5x06_setting_store()
|
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.12.1/drivers/gpu/drm/amd/display/dc/dwb/dcn30/ |
D | dcn30_cm_common.h | 34 type field_offset
|
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()
|
/linux-6.12.1/drivers/net/phy/ |
D | mdio_bus.c | 203 unsigned int field_offset; member 244 val = mdio_bus_get_global_stat(bus, sattr->field_offset); in mdio_bus_stat_field_show() 247 sattr->field_offset); in mdio_bus_stat_field_show() 266 val = mdio_bus_get_stat(&bus->stats[addr], sattr->field_offset); in mdio_bus_device_stat_field_show()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn30/ |
D | dcn30_dpp_cm.c | 175 reg->shifts.field_offset = dpp->tf_shift->CM_GAMCOR_RAMA_OFFSET_B; in dpp3_gamcor_reg_field() 176 reg->masks.field_offset = dpp->tf_mask->CM_GAMCOR_RAMA_OFFSET_B; in dpp3_gamcor_reg_field()
|
/linux-6.12.1/drivers/net/ethernet/stmicro/stmmac/ |
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()
|
D | dwxgmac2_core.c | 698 unsigned long field_offset, in dwxgmac3_log_error() argument 705 ptr = (unsigned long *)(bptr + field_offset); in dwxgmac3_log_error()
|
/linux-6.12.1/fs/xfs/ |
D | xfs_log.c | 3350 ptrdiff_t field_offset; in xlog_verify_iclog() local 3387 field_offset = p - base_ptr; in xlog_verify_iclog() 3388 if (field_offset & 0x1ff) { in xlog_verify_iclog() 3406 (unsigned long)field_offset); in xlog_verify_iclog() 3411 field_offset = p - base_ptr; in xlog_verify_iclog() 3412 if (field_offset & 0x1ff) { in xlog_verify_iclog()
|
/linux-6.12.1/drivers/input/misc/ |
D | ims-pcu.c | 1033 size_t field_offset; member 1045 char *field = (char *)pcu + attr->field_offset; in ims_pcu_attribute_show() 1059 char *field = (char *)pcu + attr->field_offset; in ims_pcu_attribute_store() 1094 .field_offset = offsetof(struct ims_pcu, _field), \
|
/linux-6.12.1/sound/soc/codecs/ |
D | wm_adsp.c | 1412 unsigned int field_offset, u32 *data) in wm_adsp_buffer_read() argument 1415 buf->host_buf_ptr + field_offset, data); in wm_adsp_buffer_read() 1419 unsigned int field_offset, u32 data) in wm_adsp_buffer_write() argument 1422 buf->host_buf_ptr + field_offset, in wm_adsp_buffer_write()
|
/linux-6.12.1/drivers/gpu/drm/omapdrm/dss/ |
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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/mpc/dcn30/ |
D | dcn30_mpc.c | 192 reg->shifts.field_offset = mpc30->mpc_shift->MPCC_OGAM_RAMA_OFFSET_B; in mpc3_ogam_get_reg_field() 193 reg->masks.field_offset = mpc30->mpc_mask->MPCC_OGAM_RAMA_OFFSET_B; in mpc3_ogam_get_reg_field()
|