Home
last modified time | relevance | path

Searched refs:base_offset (Results 1 – 25 of 63) sorted by relevance

123

/openbmc/linux/sound/firewire/dice/
H A Ddice-extension.c60 u32 base_offset, unsigned int stream_count, in read_stream_entries() argument
71 entry_offset = base_offset + i * EXT_APP_STREAM_ENTRY_SIZE; in read_stream_entries()
86 u32 base_offset; in detect_stream_formats() local
110 base_offset = 0x2000 * mode + 0x1000; in detect_stream_formats()
113 base_offset + EXT_APP_STREAM_TX_NUMBER, in detect_stream_formats()
118 base_offset += EXT_APP_STREAM_ENTRIES; in detect_stream_formats()
120 err = read_stream_entries(dice, section_addr, base_offset, in detect_stream_formats()
127 base_offset += stream_count * EXT_APP_STREAM_ENTRY_SIZE; in detect_stream_formats()
129 err = read_stream_entries(dice, section_addr, base_offset, in detect_stream_formats()
/openbmc/linux/arch/arm/boot/
H A Ddeflate_xip_data.sh39 base_offset=$(sym_val _xiprom)
42 data_start=$(($__data_loc - $base_offset))
43 data_end=$(($_edata_loc - $base_offset))
49 $(($file_end + $base_offset)) $_edata_loc 1>&2
/openbmc/u-boot/common/spl/
H A Dspl_fit.c171 void *fit, ulong base_offset, int node, in spl_load_fit_image() argument
208 offset += base_offset; in spl_load_fit_image()
278 void *fit, int images, ulong base_offset) in spl_fit_append_fdt() argument
295 ret = spl_load_fit_image(info, sector, fit, base_offset, node, in spl_fit_append_fdt()
362 int base_offset, hsize, align_len = ARCH_DMA_MINALIGN - 1; in spl_load_simple_fit() local
374 base_offset = (size + 3) & ~3; in spl_load_simple_fit()
418 ret = spl_load_fit_image(info, sector, fit, base_offset, node, in spl_load_simple_fit()
470 ret = spl_load_fit_image(info, sector, fit, base_offset, node, in spl_load_simple_fit()
492 images, base_offset); in spl_load_simple_fit()
511 ret = spl_load_fit_image(info, sector, fit, base_offset, node, in spl_load_simple_fit()
[all …]
/openbmc/linux/drivers/scsi/
H A Dfdomain_isa.c64 int base_offset; member
110 if (sig->base_offset) in fdomain_isa_match()
111 base = readb(p + sig->base_offset) + in fdomain_isa_match()
112 (readb(p + sig->base_offset + 1) << 8); in fdomain_isa_match()
/openbmc/linux/drivers/acpi/acpica/
H A Dutbuffer.c34 void acpi_ut_dump_buffer(u8 *buffer, u32 count, u32 display, u32 base_offset) in acpi_ut_dump_buffer() argument
59 acpi_os_printf("%8.4X: ", (base_offset + i)); in acpi_ut_dump_buffer()
206 u8 *buffer, u32 count, u32 display, u32 base_offset) in acpi_ut_dump_buffer_to_file() argument
228 fprintf(file, "%8.4X: ", (base_offset + i)); in acpi_ut_dump_buffer_to_file()
/openbmc/linux/tools/testing/selftests/x86/
H A Dfsgsbase.c481 unsigned long base_offset = USER_REGS_OFFSET(gs_base); in test_ptrace_write_gs_read_base() local
484 base = ptrace(PTRACE_PEEKUSER, child, base_offset, NULL); in test_ptrace_write_gs_read_base()
499 base = ptrace(PTRACE_PEEKUSER, child, base_offset, NULL); in test_ptrace_write_gs_read_base()
541 unsigned long base_offset = USER_REGS_OFFSET(gs_base); in test_ptrace_write_gsbase() local
551 if (ptrace(PTRACE_POKEUSER, child, base_offset, 0xFF) != 0) in test_ptrace_write_gsbase()
555 base = ptrace(PTRACE_PEEKUSER, child, base_offset, NULL); in test_ptrace_write_gsbase()
/openbmc/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_layer.c269 u32 base_offset = layer->config.base_offset * layer_stride; in logicvc_layer_buffer_find_setup() local
292 if (fb_offset < base_offset) { in logicvc_layer_buffer_find_setup()
298 gap = fb_offset - base_offset; in logicvc_layer_buffer_find_setup()
330 layer->index, fb_offset - base_offset); in logicvc_layer_buffer_find_setup()
335 layer->index, fb_offset - base_offset); in logicvc_layer_buffer_find_setup()
419 &config->base_offset); in logicvc_layer_config_parse()
/openbmc/linux/drivers/scsi/aic7xxx/
H A Daic79xx_osm_pci.c260 u_long base_offset; in ahd_linux_pci_reserve_mem_region() local
271 base_offset = start - base_page; in ahd_linux_pci_reserve_mem_region()
277 *maddr = ioremap(base_page, base_offset + 512); in ahd_linux_pci_reserve_mem_region()
282 *maddr += base_offset; in ahd_linux_pci_reserve_mem_region()
/openbmc/u-boot/include/dt-bindings/pinctrl/
H A Domap.h75 #define OMAP_PADCONF_OFFSET(offset, base_offset) ((offset) - (base_offset)) argument
/openbmc/linux/include/dt-bindings/pinctrl/
H A Domap.h74 #define OMAP_PADCONF_OFFSET(offset, base_offset) ((offset) - (base_offset)) argument
/openbmc/qemu/hw/xen/
H A Dxen_pt_config_init.c70 if ((entry->base_offset <= address) in xen_pt_find_reg_grp()
71 && ((entry->base_offset + entry->size) > address)) { in xen_pt_find_reg_grp()
90 real_offset = reg_grp->base_offset + reg->offset; in xen_pt_find_reg()
1579 uint32_t base_offset, uint8_t *size) in xen_pt_reg_grp_size_init() argument
1587 uint32_t base_offset, uint8_t *size) in xen_pt_vendor_size_init() argument
1589 return xen_host_pci_get_byte(&s->real_device, base_offset + 0x02, size); in xen_pt_vendor_size_init()
1594 uint32_t base_offset, uint8_t *size) in xen_pt_pcie_size_init() argument
1597 uint8_t version = get_capability_version(s, base_offset); in xen_pt_pcie_size_init()
1598 uint8_t type = get_device_type(s, base_offset); in xen_pt_pcie_size_init()
1666 uint32_t base_offset, uint8_t *size) in xen_pt_msi_size_init() argument
[all …]
/openbmc/linux/drivers/platform/x86/intel/pmt/
H A Dclass.c176 bir = GET_BIR(header->base_offset); in intel_pmt_populate_entry()
191 entry->base_addr = disc_res->end + 1 + header->base_offset; in intel_pmt_populate_entry()
209 header->base_offset; in intel_pmt_populate_entry()
224 GET_ADDRESS(header->base_offset); in intel_pmt_populate_entry()
H A Dclass.h33 u32 base_offset; member
/openbmc/linux/include/net/netfilter/
H A Dnf_tables_offload.h14 u32 base_offset; member
80 (__reg)->base_offset = \
/openbmc/linux/drivers/xen/xen-pciback/
H A Dconf_space.h64 unsigned int base_offset; member
75 #define OFFSET(cfg_entry) ((cfg_entry)->base_offset+(cfg_entry)->field->offset)
/openbmc/linux/sound/soc/sof/intel/
H A Dhda-mlink.c103 u32 base_offset; in hdaml_lnk_enum() local
139 base_offset = FIELD_GET(AZX_REG_ML_LEPTR_PTR, h2link->leptr); in hdaml_lnk_enum()
140 h2link->base_ptr = remap_addr + base_offset; in hdaml_lnk_enum()
149 link_idx, base_offset); in hdaml_lnk_enum()
156 link_idx, base_offset); in hdaml_lnk_enum()
164 link_idx, base_offset); in hdaml_lnk_enum()
171 link_idx, base_offset); in hdaml_lnk_enum()
/openbmc/hiomapd/vpnor/
H A Dbackend.cpp494 uint32_t base_offset = base & (window_size - 1); in vpnor_align_offset() local
497 *offset = ((*offset - base_offset) & ~(window_size - 1)) + base_offset; in vpnor_align_offset()
500 *offset, base, base_offset); in vpnor_align_offset()
/openbmc/linux/arch/ia64/mm/
H A Ddiscontig.c186 unsigned long base_offset; in setup_per_cpu_areas() local
201 base_offset = (void *)__per_cpu_start - base; in setup_per_cpu_areas()
244 gi->base_offset = __per_cpu_offset[cpu] + base_offset; in setup_per_cpu_areas()
/openbmc/u-boot/arch/arm/mach-omap2/omap4/
H A Dhw_data.c233 .base_offset = PHOENIX_SMPS_BASE_VOLT_STD_MODE_UV,
244 .base_offset = PHOENIX_SMPS_BASE_VOLT_STD_MODE_WITH_OFFSET_UV,
254 .base_offset = TPS62361_BASE_VOLT_MV,
/openbmc/u-boot/arch/arm/mach-omap2/omap5/
H A Dhw_data.c280 .base_offset = PALMAS_SMPS_BASE_VOLT_UV,
295 .base_offset = PALMAS_SMPS_BASE_VOLT_UV,
310 .base_offset = LP873X_BUCK_BASE_VOLT_UV,
326 .base_offset = LP873X_BUCK_BASE_VOLT_UV,
/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbnad_ethtool.c896 u32 *base_offset) in bnad_get_flash_partition_by_offset() argument
930 *base_offset = flash_attr->part[i].part_off; in bnad_get_flash_partition_by_offset()
951 u32 flash_part = 0, base_offset = 0; in bnad_get_eeprom() local
960 eeprom->offset, &base_offset); in bnad_get_eeprom()
971 eeprom->offset - base_offset, in bnad_get_eeprom()
991 u32 flash_part = 0, base_offset = 0; in bnad_set_eeprom() local
1002 eeprom->offset, &base_offset); in bnad_set_eeprom()
1013 eeprom->offset - base_offset, in bnad_set_eeprom()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_dsi_vbt.c72 #define VLV_GPIO_PCONF0(base_offset) (base_offset) argument
73 #define VLV_GPIO_PAD_VAL(base_offset) ((base_offset) + 8) argument
76 u16 base_offset; member
279 pconf0 = VLV_GPIO_PCONF0(map->base_offset); in vlv_exec_gpio()
280 padval = VLV_GPIO_PAD_VAL(map->base_offset); in vlv_exec_gpio()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dr600_cs.c354 u64 base_offset, base_align; in r600_cs_track_validate_cb() local
378 base_offset = track->cb_color_bo_mc[i] + track->cb_color_bo_offset[i]; in r600_cs_track_validate_cb()
421 if (!IS_ALIGNED(base_offset, base_align)) { in r600_cs_track_validate_cb()
423 base_offset, base_align, array_mode); in r600_cs_track_validate_cb()
522 u64 base_offset, base_align; in r600_cs_track_validate_db() local
572 base_offset = track->db_bo_mc + track->db_offset; in r600_cs_track_validate_db()
611 if (!IS_ALIGNED(base_offset, base_align)) { in r600_cs_track_validate_db()
613 base_offset, base_align, array_mode); in r600_cs_track_validate_db()
1472 u64 base_offset, in r600_check_texture_resource() argument
1491 base_offset <<= 8; in r600_check_texture_resource()
[all …]
/openbmc/linux/drivers/crypto/hisilicon/
H A Ddebugfs.c815 u32 j, base_offset; in dfx_regs_init() local
834 base_offset = diff_regs[i].reg_offset + in dfx_regs_init()
836 diff_regs[i].regs[j] = readl(qm->io_base + base_offset); in dfx_regs_init()
972 u32 j, val, base_offset; in hisi_qm_acc_diff_regs_dump() local
988 base_offset = dregs[i].reg_offset + j * QM_DFX_REGS_LEN; in hisi_qm_acc_diff_regs_dump()
989 val = readl(qm->io_base + base_offset); in hisi_qm_acc_diff_regs_dump()
992 base_offset, dregs[i].regs[j], val); in hisi_qm_acc_diff_regs_dump()
/openbmc/linux/tools/perf/util/
H A Dgenelf.c161 uint64_t unwinding_size, uint64_t base_offset) in jit_add_eh_frame_info() argument
198 shdr->sh_addr = base_offset; in jit_add_eh_frame_info()
232 shdr->sh_addr = base_offset + unwinding_table_size; in jit_add_eh_frame_info()

123