Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/external/xserver/exa/
H A Dexa_offscreen.c48 assert(pExaScr->info->offScreenAreas->base_offset == in ExaOffscreenValidate()
51 assert(area->offset >= area->base_offset && in ExaOffscreenValidate()
52 area->offset < (area->base_offset + area->size)); in ExaOffscreenValidate()
54 assert(prev->base_offset + prev->size == area->base_offset); in ExaOffscreenValidate()
57 assert(prev->base_offset + prev->size == pExaScr->info->memorySize); in ExaOffscreenValidate()
112 real_size = size + (begin->base_offset + begin->size - size) % align; in exaFindAreaToEvict()
201 real_size = size + (area->base_offset + area->size - size) % align; in exaOffscreenAlloc()
222 real_size = size + (area->base_offset + area->size - size) % align; in exaOffscreenAlloc()
244 new_area->base_offset = area->base_offset; in exaOffscreenAlloc()
246 new_area->offset = new_area->base_offset; in exaOffscreenAlloc()
[all …]
/OK3568_Linux_fs/kernel/drivers/counter/
H A D104-quad-8.c106 const int base_offset = priv->base + 2 * chan->channel; in quad8_read_raw() local
120 flags = inb(base_offset + 1); in quad8_read_raw()
131 base_offset + 1); in quad8_read_raw()
134 *val |= (unsigned int)inb(base_offset) << (8 * i); in quad8_read_raw()
155 const int base_offset = priv->base + 2 * chan->channel; in quad8_write_raw() local
171 outb(QUAD8_CTR_RLD | QUAD8_RLD_RESET_BP, base_offset + 1); in quad8_write_raw()
175 outb(val >> (8 * i), base_offset); in quad8_write_raw()
178 outb(QUAD8_CTR_RLD | QUAD8_RLD_PRESET_CNTR, base_offset + 1); in quad8_write_raw()
181 outb(QUAD8_CTR_RLD | QUAD8_RLD_RESET_BP, base_offset + 1); in quad8_write_raw()
186 outb(val >> (8 * i), base_offset); in quad8_write_raw()
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/common/spl/
H A Dspl_fit.c168 void *fit, ulong base_offset, int node, in spl_load_fit_image() argument
212 offset += base_offset; in spl_load_fit_image()
301 void *fit, int images, ulong base_offset) in spl_fit_append_fdt() argument
318 ret = spl_load_fit_image(info, sector, fit, base_offset, node, in spl_fit_append_fdt()
345 ret = spl_load_fit_image(info, sector, fit, base_offset, node, in spl_fit_append_fdt()
390 int *base_offset) in spl_fit_load_blob() argument
405 *base_offset = FIT_ALIGN(size); in spl_fit_load_blob()
464 int base_offset; in spl_load_kernel_fit() local
497 fit = spl_fit_load_blob(info, sector, fit_header, &base_offset); in spl_load_kernel_fit()
535 ret = spl_load_fit_image(info, sector, fit, base_offset, in spl_load_kernel_fit()
[all …]
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/x86/
H A Dfsgsbase.c473 unsigned long base_offset = USER_REGS_OFFSET(gs_base); in test_ptrace_write_gs_read_base() local
476 base = ptrace(PTRACE_PEEKUSER, child, base_offset, NULL); in test_ptrace_write_gs_read_base()
491 base = ptrace(PTRACE_PEEKUSER, child, base_offset, NULL); in test_ptrace_write_gs_read_base()
533 unsigned long base_offset = USER_REGS_OFFSET(gs_base); in test_ptrace_write_gsbase() local
543 if (ptrace(PTRACE_POKEUSER, child, base_offset, 0xFF) != 0) in test_ptrace_write_gsbase()
547 base = ptrace(PTRACE_PEEKUSER, child, base_offset, NULL); in test_ptrace_write_gsbase()
/OK3568_Linux_fs/kernel/drivers/scsi/aic7xxx/
H A Daic79xx_osm_pci.c279 u_long base_offset; in ahd_linux_pci_reserve_mem_region() local
290 base_offset = start - base_page; in ahd_linux_pci_reserve_mem_region()
296 *maddr = ioremap(base_page, base_offset + 512); in ahd_linux_pci_reserve_mem_region()
301 *maddr += base_offset; in ahd_linux_pci_reserve_mem_region()
/OK3568_Linux_fs/u-boot/include/dt-bindings/pinctrl/
H A Domap.h76 #define OMAP_PADCONF_OFFSET(offset, base_offset) ((offset) - (base_offset)) argument
/OK3568_Linux_fs/kernel/include/dt-bindings/pinctrl/
H A Domap.h74 #define OMAP_PADCONF_OFFSET(offset, base_offset) ((offset) - (base_offset)) argument
/OK3568_Linux_fs/kernel/include/net/netfilter/
H A Dnf_tables_offload.h14 u32 base_offset; member
79 (__reg)->base_offset = \
/OK3568_Linux_fs/kernel/arch/ia64/mm/
H A Ddiscontig.c185 unsigned long base_offset; in setup_per_cpu_areas() local
200 base_offset = (void *)__per_cpu_start - base; in setup_per_cpu_areas()
243 gi->base_offset = __per_cpu_offset[cpu] + base_offset; in setup_per_cpu_areas()
/OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/omap4/
H A Dhw_data.c234 .base_offset = PHOENIX_SMPS_BASE_VOLT_STD_MODE_UV,
245 .base_offset = PHOENIX_SMPS_BASE_VOLT_STD_MODE_WITH_OFFSET_UV,
255 .base_offset = TPS62361_BASE_VOLT_MV,
/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpio-104-idi-48.c69 unsigned base_offset; in idi_48_gpio_get() local
74 base_offset = register_offset[i / 8]; in idi_48_gpio_get()
77 return !!(inb(idi48gpio->base + base_offset) & mask); in idi_48_gpio_get()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/
H A Dintel_dsi_vbt.c65 #define VLV_GPIO_PCONF0(base_offset) (base_offset) argument
66 #define VLV_GPIO_PAD_VAL(base_offset) ((base_offset) + 8) argument
69 u16 base_offset; member
271 pconf0 = VLV_GPIO_PCONF0(map->base_offset); in vlv_exec_gpio()
272 padval = VLV_GPIO_PAD_VAL(map->base_offset); in vlv_exec_gpio()
/OK3568_Linux_fs/kernel/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)
H A Dconf_space.c390 unsigned int base_offset) in xen_pcibk_config_add_field_offset() argument
405 cfg_entry->base_offset = base_offset; in xen_pcibk_config_add_field_offset()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/brocade/bna/
H A Dbnad_ethtool.c944 u32 *base_offset) in bnad_get_flash_partition_by_offset() argument
978 *base_offset = flash_attr->part[i].part_off; in bnad_get_flash_partition_by_offset()
999 u32 flash_part = 0, base_offset = 0; in bnad_get_eeprom() local
1008 eeprom->offset, &base_offset); in bnad_get_eeprom()
1019 eeprom->offset - base_offset, in bnad_get_eeprom()
1039 u32 flash_part = 0, base_offset = 0; in bnad_set_eeprom() local
1050 eeprom->offset, &base_offset); in bnad_set_eeprom()
1061 eeprom->offset - base_offset, in bnad_set_eeprom()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/
H A Dr600_cs.c355 u64 base_offset, base_align; in r600_cs_track_validate_cb() local
379 base_offset = track->cb_color_bo_mc[i] + track->cb_color_bo_offset[i]; in r600_cs_track_validate_cb()
422 if (!IS_ALIGNED(base_offset, base_align)) { in r600_cs_track_validate_cb()
424 base_offset, base_align, array_mode); in r600_cs_track_validate_cb()
523 u64 base_offset, base_align; in r600_cs_track_validate_db() local
573 base_offset = track->db_bo_mc + track->db_offset; in r600_cs_track_validate_db()
612 if (!IS_ALIGNED(base_offset, base_align)) { in r600_cs_track_validate_db()
614 base_offset, base_align, array_mode); in r600_cs_track_validate_db()
1470 u64 base_offset, in r600_check_texture_resource() argument
1489 base_offset <<= 8; in r600_check_texture_resource()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/lib/
H A Dinsn-eval.c1113 int *base_offset, long *eff_addr) in get_eff_addr_sib() argument
1139 *base_offset = get_reg_offset(insn, regs, REG_TYPE_BASE); in get_eff_addr_sib()
1147 if (*base_offset == -EDOM) in get_eff_addr_sib()
1149 else if (*base_offset < 0) in get_eff_addr_sib()
1152 base = regs_get_register(regs, *base_offset); in get_eff_addr_sib()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dgenelf.c159 uint64_t unwinding_size, uint64_t base_offset) in jit_add_eh_frame_info() argument
196 shdr->sh_addr = base_offset; in jit_add_eh_frame_info()
230 shdr->sh_addr = base_offset + unwinding_table_size; in jit_add_eh_frame_info()
/OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/omap5/
H A Dhw_data.c260 .base_offset = PALMAS_SMPS_BASE_VOLT_UV,
275 .base_offset = PALMAS_SMPS_BASE_VOLT_UV,
290 .base_offset = LP873X_BUCK_BASE_VOLT_UV,
/OK3568_Linux_fs/kernel/drivers/net/ethernet/seeq/
H A Dether3.c773 ec->irqaddr = priv(dev)->base + data->base_offset; in ether3_probe()
776 priv(dev)->seeq = priv(dev)->base + data->base_offset; in ether3_probe()
857 .base_offset = 0,
862 .base_offset = 0x800,
/OK3568_Linux_fs/kernel/drivers/pci/hotplug/
H A Dshpchp.h178 volatile u32 base_offset; member
195 BASE_OFFSET = offsetof(struct ctrl_reg, base_offset),

123