/kernel/linux/linux-5.10/include/rdma/ |
H A D | iba.h | 56 #define _IBA_SET(field_struct, field_offset, field_mask, num_bits, ptr, value) \ 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) \ 67 (type *)((void *)_ptr + (field_offset)); \ 72 #define _IBA_SET_MEM(field_struct, field_offset, type, num_bits, ptr, in, \ 78 memcpy(_IBA_GET_MEM_PTR(field_struct, field_offset, \ 84 #define _IBA_GET(field_struct, field_offset, field_mask, num_bits, ptr) \ 89 (field_offset))); \ 93 #define _IBA_GET_MEM(field_struct, field_offset, type, num_bits, ptr, out, \ 100 _IBA_GET_MEM_PTR(field_struct, field_offset, \ [all...] |
/kernel/linux/linux-6.6/include/rdma/ |
H A D | iba.h | 56 #define _IBA_SET(field_struct, field_offset, field_mask, num_bits, ptr, value) \ 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) \ 67 (type *)((void *)_ptr + (field_offset)); \ 72 #define _IBA_SET_MEM(field_struct, field_offset, type, num_bits, ptr, in, \ 78 memcpy(_IBA_GET_MEM_PTR(field_struct, field_offset, \ 84 #define _IBA_GET(field_struct, field_offset, field_mask, num_bits, ptr) \ 89 (field_offset))); \ 93 #define _IBA_GET_MEM(field_struct, field_offset, type, num_bits, ptr, out, \ 100 _IBA_GET_MEM_PTR(field_struct, field_offset, \ [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | ctx_rewrite.c | 35 int field_offset; member 44 /* Pattern for BPF_LDX_MEM(field_sz, dst, ctx, field_offset) */ 46 /* Pattern for BPF_STX_MEM(field_sz, ctx, src, field_offset) and 47 * BPF_ST_MEM (field_sz, ctx, src, field_offset) 50 /* Pattern for BPF_ST_MEM(field_sz, ctx, src, field_offset), 54 /* Pattern for BPF_STX_MEM (field_sz, ctx, src, field_offset), 63 .field_offset = offsetof(type, field), \ 296 int btf_id, field_offset; in find_field_offset() local 316 field_offset = find_field_offset_aux(btf, btf_id, field_str, 0); in find_field_offset() 317 if (field_offset < in find_field_offset() 534 int field_offset; match_pattern() local 581 int field_offset; match_pattern() local [all...] |
/kernel/linux/linux-5.10/arch/x86/xen/ |
H A D | pmu.c | 30 #define field_offset(ctxt, field) ((void *)((uintptr_t)ctxt + \ macro 221 fix_counters = field_offset(ctxt, fixed_counters); in xen_intel_pmu_emulate() 225 arch_cntr_pair = field_offset(ctxt, arch_counters); in xen_intel_pmu_emulate() 229 arch_cntr_pair = field_offset(ctxt, arch_counters); in xen_intel_pmu_emulate() 271 ctrl_regs = field_offset(ctxt, ctrls); in xen_amd_pmu_emulate() 275 counter_regs = field_offset(ctxt, counters); in xen_amd_pmu_emulate() 353 counter_regs = field_offset(ctxt, counters); in xen_amd_read_pmc() 379 fixed_counters = field_offset(ctxt, fixed_counters); in xen_intel_read_pmc() 383 arch_cntr_pair = field_offset(ctxt, arch_counters); in xen_intel_read_pmc()
|
/kernel/linux/linux-6.6/arch/x86/xen/ |
H 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()
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H 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()
|
/kernel/linux/linux-5.10/drivers/input/mouse/ |
H 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, \
|
H A 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) + \
|
/kernel/linux/linux-6.6/drivers/input/mouse/ |
H 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, \
|
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | dispc.c | 1824 unsigned int field_offset, in calc_vrfb_rotation_offset() 1868 if (field_offset) in calc_vrfb_rotation_offset() 1869 *offset0 = field_offset * screen_width * ps; in calc_vrfb_rotation_offset() 1891 if (field_offset) in calc_vrfb_rotation_offset() 1892 *offset0 = field_offset * screen_width * ps; in calc_vrfb_rotation_offset() 1911 unsigned int field_offset, in calc_dma_rotation_offset() 1951 if (field_offset) in calc_dma_rotation_offset() 1952 *offset0 = *offset1 + field_offset * screen_width * ps; in calc_dma_rotation_offset() 1966 if (field_offset) in calc_dma_rotation_offset() 1967 *offset0 = *offset1 + field_offset * p in calc_dma_rotation_offset() 1820 calc_vrfb_rotation_offset(u8 rotation, bool mirror, u16 screen_width, u16 width, u16 height, enum omap_color_mode color_mode, bool fieldmode, unsigned int field_offset, unsigned *offset0, unsigned *offset1, s32 *row_inc, s32 *pix_inc, int x_predecim, int y_predecim) calc_vrfb_rotation_offset() argument 1907 calc_dma_rotation_offset(u8 rotation, bool mirror, u16 screen_width, u16 width, u16 height, enum omap_color_mode color_mode, bool fieldmode, unsigned int field_offset, unsigned *offset0, unsigned *offset1, s32 *row_inc, s32 *pix_inc, int x_predecim, int y_predecim) calc_dma_rotation_offset() argument 2063 calc_tiler_rotation_offset(u16 screen_width, u16 width, enum omap_color_mode color_mode, bool fieldmode, unsigned int field_offset, unsigned *offset0, unsigned *offset1, s32 *row_inc, s32 *pix_inc, int x_predecim, int y_predecim) calc_tiler_rotation_offset() argument 2570 unsigned int field_offset = 0; dispc_ovl_setup_common() local [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | dispc.c | 1822 unsigned int field_offset, in calc_vrfb_rotation_offset() 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() 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 * p in calc_dma_rotation_offset() 1818 calc_vrfb_rotation_offset(u8 rotation, bool mirror, u16 screen_width, u16 width, u16 height, enum omap_color_mode color_mode, bool fieldmode, unsigned int field_offset, unsigned *offset0, unsigned *offset1, s32 *row_inc, s32 *pix_inc, int x_predecim, int y_predecim) calc_vrfb_rotation_offset() argument 1905 calc_dma_rotation_offset(u8 rotation, bool mirror, u16 screen_width, u16 width, u16 height, enum omap_color_mode color_mode, bool fieldmode, unsigned int field_offset, unsigned *offset0, unsigned *offset1, s32 *row_inc, s32 *pix_inc, int x_predecim, int y_predecim) calc_dma_rotation_offset() argument 2061 calc_tiler_rotation_offset(u16 screen_width, u16 width, enum omap_color_mode color_mode, bool fieldmode, unsigned int field_offset, unsigned *offset0, unsigned *offset1, s32 *row_inc, s32 *pix_inc, int x_predecim, int y_predecim) calc_tiler_rotation_offset() argument 2568 unsigned int field_offset = 0; dispc_ovl_setup_common() local [all...] |
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H 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()
|
H A 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_cm_common.h | 34 type field_offset
|
H A D | dcn30_dpp_cm.c | 180 reg->shifts.field_offset = dpp->tf_shift->CM_GAMCOR_RAMA_OFFSET_B; in dpp3_gamcor_reg_field() 181 reg->masks.field_offset = dpp->tf_mask->CM_GAMCOR_RAMA_OFFSET_B; in dpp3_gamcor_reg_field()
|
H 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_cm_common.h | 34 type field_offset
|
H 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()
|
H 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()
|
/kernel/linux/linux-5.10/drivers/net/phy/ |
H A D | mdio_bus.c | 191 unsigned int field_offset; member 232 val = mdio_bus_get_global_stat(bus, sattr->field_offset); in mdio_bus_stat_field_show() 235 sattr->field_offset); in mdio_bus_stat_field_show() 254 val = mdio_bus_get_stat(&bus->stats[addr], sattr->field_offset); in mdio_bus_device_stat_field_show()
|
/kernel/linux/linux-6.6/drivers/net/phy/ |
H A D | mdio_bus.c | 201 unsigned int field_offset; member 242 val = mdio_bus_get_global_stat(bus, sattr->field_offset); in mdio_bus_stat_field_show() 245 sattr->field_offset); in mdio_bus_stat_field_show() 264 val = mdio_bus_get_stat(&bus->stats[addr], sattr->field_offset); in mdio_bus_device_stat_field_show()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac5.c | 23 unsigned long field_offset, struct stmmac_safety_stats *stats) in dwmac5_log_error() 29 ptr = (unsigned long *)(bptr + field_offset); in dwmac5_log_error() 21 dwmac5_log_error(struct net_device *ndev, u32 value, bool corr, const char *module_name, const struct dwmac5_error_desc *desc, unsigned long field_offset, struct stmmac_safety_stats *stats) dwmac5_log_error() argument
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | edt-ft5x06.c | 353 size_t field_offset; member 367 .field_offset = offsetof(struct edt_ft5x06_ts_data, _field), \ 383 u8 *field = (u8 *)tsdata + attr->field_offset; in edt_ft5x06_setting_show() 450 u8 *field = (u8 *)tsdata + attr->field_offset; in edt_ft5x06_setting_store()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac5.c | 23 unsigned long field_offset, struct stmmac_safety_stats *stats) in dwmac5_log_error() 29 ptr = (unsigned long *)(bptr + field_offset); in dwmac5_log_error() 21 dwmac5_log_error(struct net_device *ndev, u32 value, bool corr, const char *module_name, const struct dwmac5_error_desc *desc, unsigned long field_offset, struct stmmac_safety_stats *stats) dwmac5_log_error() argument
|