Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/iio/counter/
D104-quad-8.c99 const int base_offset = priv->base + 2 * chan->channel; in quad8_read_raw() local
113 flags = inb(base_offset + 1); in quad8_read_raw()
122 base_offset + 1); in quad8_read_raw()
125 *val |= (unsigned int)inb(base_offset) << (8 * i); in quad8_read_raw()
144 const int base_offset = priv->base + 2 * chan->channel; in quad8_write_raw() local
158 outb(QUAD8_CTR_RLD | QUAD8_RLD_RESET_BP, base_offset + 1); in quad8_write_raw()
162 outb(val >> (8 * i), base_offset); in quad8_write_raw()
165 outb(QUAD8_CTR_RLD | QUAD8_RLD_PRESET_CNTR, base_offset + 1); in quad8_write_raw()
168 outb(QUAD8_CTR_RLD | QUAD8_RLD_RESET_BP, base_offset + 1); in quad8_write_raw()
173 outb(val >> (8 * i), base_offset); in quad8_write_raw()
[all …]
/Linux-v4.19/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()
/Linux-v4.19/arch/arm/boot/
Ddeflate_xip_data.sh41 base_offset=$(sym_val _xiprom)
44 data_start=$(($__data_loc - $base_offset))
45 data_end=$(($_edata_loc - $base_offset))
51 $(($file_end + $base_offset)) $_edata_loc 1>&2
/Linux-v4.19/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
56 acpi_os_printf("%8.4X: ", (base_offset + i)); in acpi_ut_dump_buffer()
200 u8 *buffer, u32 count, u32 display, u32 base_offset) in acpi_ut_dump_buffer_to_file() argument
222 fprintf(file, "%8.4X: ", (base_offset + i)); in acpi_ut_dump_buffer_to_file()
/Linux-v4.19/include/dt-bindings/pinctrl/
Domap.h73 #define OMAP_PADCONF_OFFSET(offset, base_offset) ((offset) - (base_offset)) argument
/Linux-v4.19/drivers/gpu/drm/i915/
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
234 pconf0 = VLV_GPIO_PCONF0(map->base_offset); in vlv_exec_gpio()
235 padval = VLV_GPIO_PAD_VAL(map->base_offset); in vlv_exec_gpio()
/Linux-v4.19/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_nocache(base_page, base_offset + 512); in ahd_linux_pci_reserve_mem_region()
301 *maddr += base_offset; in ahd_linux_pci_reserve_mem_region()
/Linux-v4.19/drivers/xen/xen-pciback/
Dconf_space.h64 unsigned int base_offset; member
70 #define OFFSET(cfg_entry) ((cfg_entry)->base_offset+(cfg_entry)->field->offset)
Dconf_space.c357 unsigned int base_offset) in xen_pcibk_config_add_field_offset() argument
372 cfg_entry->base_offset = base_offset; in xen_pcibk_config_add_field_offset()
/Linux-v4.19/drivers/gpio/
Dgpio-104-idi-48.c77 unsigned base_offset; in idi_48_gpio_get() local
82 base_offset = register_offset[i / 8]; in idi_48_gpio_get()
85 return !!(inb(idi48gpio->base + base_offset) & mask); in idi_48_gpio_get()
/Linux-v4.19/arch/ia64/mm/
Ddiscontig.c187 unsigned long base_offset; in setup_per_cpu_areas() local
202 base_offset = (void *)__per_cpu_start - base; in setup_per_cpu_areas()
245 gi->base_offset = __per_cpu_offset[cpu] + base_offset; in setup_per_cpu_areas()
/Linux-v4.19/arch/x86/lib/
Dinsn-eval.c1060 int *base_offset, long *eff_addr) in get_eff_addr_sib() argument
1081 *base_offset = get_reg_offset(insn, regs, REG_TYPE_BASE); in get_eff_addr_sib()
1089 if (*base_offset == -EDOM) in get_eff_addr_sib()
1091 else if (*base_offset < 0) in get_eff_addr_sib()
1094 base = regs_get_register(regs, *base_offset); in get_eff_addr_sib()
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c953 u32 *base_offset) in bnad_get_flash_partition_by_offset() argument
987 *base_offset = flash_attr->part[i].part_off; in bnad_get_flash_partition_by_offset()
1008 u32 flash_part = 0, base_offset = 0; in bnad_get_eeprom() local
1017 eeprom->offset, &base_offset); in bnad_get_eeprom()
1028 eeprom->offset - base_offset, in bnad_get_eeprom()
1048 u32 flash_part = 0, base_offset = 0; in bnad_set_eeprom() local
1059 eeprom->offset, &base_offset); in bnad_set_eeprom()
1070 eeprom->offset - base_offset, in bnad_set_eeprom()
/Linux-v4.19/drivers/gpu/drm/radeon/
Dr600_cs.c355 u64 base_offset, base_align; in r600_cs_track_validate_cb() local
380 base_offset = track->cb_color_bo_mc[i] + track->cb_color_bo_offset[i]; in r600_cs_track_validate_cb()
423 if (!IS_ALIGNED(base_offset, base_align)) { in r600_cs_track_validate_cb()
425 base_offset, base_align, array_mode); in r600_cs_track_validate_cb()
524 u64 base_offset, base_align; in r600_cs_track_validate_db() local
575 base_offset = track->db_bo_mc + track->db_offset; in r600_cs_track_validate_db()
614 if (!IS_ALIGNED(base_offset, base_align)) { in r600_cs_track_validate_db()
616 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 …]
/Linux-v4.19/tools/perf/util/
Dgenelf.c160 uint64_t unwinding_size, uint64_t base_offset) in jit_add_eh_frame_info() argument
197 shdr->sh_addr = base_offset; in jit_add_eh_frame_info()
231 shdr->sh_addr = base_offset + unwinding_table_size; in jit_add_eh_frame_info()
/Linux-v4.19/include/linux/
Dpercpu.h76 unsigned long base_offset; /* base address offset */ member
/Linux-v4.19/drivers/net/ethernet/seeq/
Dether3.h174 unsigned long base_offset; member
Dether3.c779 ec->irqaddr = priv(dev)->base + data->base_offset; in ether3_probe()
782 priv(dev)->seeq = priv(dev)->base + data->base_offset; in ether3_probe()
863 .base_offset = 0,
868 .base_offset = 0x800,
/Linux-v4.19/drivers/pci/hotplug/
Dshpchp.h176 volatile u32 base_offset; member
193 BASE_OFFSET = offsetof(struct ctrl_reg, base_offset),
/Linux-v4.19/drivers/net/dsa/
Dbcm_sf2_cfp.c26 u32 base_offset; member
55 .base_offset = CORE_UDF_0_A_0_8_PORT_0 + UDF_SLICE_OFFSET,
85 .base_offset = CORE_UDF_0_B_0_8_PORT_0,
109 .base_offset = CORE_UDF_0_D_0_11_PORT_0,
156 u32 offset = layout->udfs[slice_num].base_offset; in bcm_sf2_cfp_udf_set()
/Linux-v4.19/drivers/thunderbolt/
Dtb_regs.h99 u32 base_offset:8; /* member
/Linux-v4.19/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()
/Linux-v4.19/drivers/acpi/nfit/
Dnfit.h239 u64 base_offset; member
/Linux-v4.19/drivers/bus/fsl-mc/
Dfsl-mc-bus.c476 region_desc.base_offset, in fsl_mc_device_get_mmio_regions()
481 region_desc.base_offset, in fsl_mc_device_get_mmio_regions()
Dfsl-mc-private.h359 u32 base_offset; member

12