Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/counter/
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 …]
/kernel/linux/linux-5.10/sound/firewire/dice/
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()
/kernel/linux/linux-5.10/arch/arm/boot/
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
/kernel/linux/linux-5.10/drivers/scsi/
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()
/kernel/linux/linux-5.10/drivers/acpi/acpica/
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()
/kernel/linux/linux-5.10/tools/testing/selftests/x86/
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()
/kernel/linux/linux-5.10/include/dt-bindings/pinctrl/
Domap.h74 #define OMAP_PADCONF_OFFSET(offset, base_offset) ((offset) - (base_offset)) argument
/kernel/linux/linux-5.10/include/net/netfilter/
Dnf_tables_offload.h14 u32 base_offset; member
79 (__reg)->base_offset = \
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/
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()
/kernel/linux/linux-5.10/drivers/xen/xen-pciback/
Dconf_space.h64 unsigned int base_offset; member
75 #define OFFSET(cfg_entry) ((cfg_entry)->base_offset+(cfg_entry)->field->offset)
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()
/kernel/linux/linux-5.10/drivers/gpio/
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()
/kernel/linux/linux-5.10/arch/ia64/mm/
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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
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()
/kernel/linux/linux-5.10/tools/perf/util/
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()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
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 …]
/kernel/linux/linux-5.10/arch/x86/lib/
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()
/kernel/linux/linux-5.10/include/linux/
Dpercpu.h70 unsigned long base_offset; /* base address offset */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/seeq/
Dether3.h171 unsigned long base_offset; member
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,
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dshpchp.h178 volatile u32 base_offset; member
195 BASE_OFFSET = offsetof(struct ctrl_reg, base_offset),
/kernel/linux/linux-5.10/drivers/bus/fsl-mc/
Dfsl-mc-private.h216 __le64 base_offset; member
392 u32 base_offset; member
Dfsl-mc-bus.c604 region_desc.base_offset; in fsl_mc_device_get_mmio_regions()
607 region_desc.base_offset, in fsl_mc_device_get_mmio_regions()
622 regions[i].start == region_desc.base_offset) in fsl_mc_device_get_mmio_regions()
629 region_desc.base_offset, in fsl_mc_device_get_mmio_regions()
/kernel/linux/linux-5.10/drivers/nubus/
Dnubus.c549 u32 base_offset; in nubus_get_functional_resource() local
551 nubus_get_rsrc_mem(&base_offset, &ent, 4); in nubus_get_functional_resource()
552 pr_debug(" memory offset: 0x%08x\n", base_offset); in nubus_get_functional_resource()

12