/drivers/counter/ |
D | 104-quad-8.c | 102 const int base_offset = priv->base + 2 * chan->channel; in quad8_read_raw() local 119 base_offset + 1); in quad8_read_raw() 122 *val |= (unsigned int)inb(base_offset) << (8 * i); in quad8_read_raw() 143 const int base_offset = priv->base + 2 * chan->channel; in quad8_write_raw() local 159 outb(QUAD8_CTR_RLD | QUAD8_RLD_RESET_BP, base_offset + 1); in quad8_write_raw() 163 outb(val >> (8 * i), base_offset); in quad8_write_raw() 166 outb(QUAD8_CTR_RLD | QUAD8_RLD_PRESET_CNTR, base_offset + 1); in quad8_write_raw() 169 outb(QUAD8_CTR_RLD | QUAD8_RLD_RESET_BP, base_offset + 1); in quad8_write_raw() 174 outb(val >> (8 * i), base_offset); in quad8_write_raw() 177 outb(QUAD8_CTR_RLD | QUAD8_RLD_RESET_FLAGS, base_offset + 1); in quad8_write_raw() [all …]
|
/drivers/acpi/acpica/ |
D | utbuffer.c | 34 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()
|
D | acutils.h | 339 u32 count, u32 display, u32 base_offset);
|
/drivers/scsi/ |
D | fdomain_isa.c | 64 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()
|
/drivers/scsi/aic7xxx/ |
D | aic79xx_osm_pci.c | 279 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()
|
/drivers/gpio/ |
D | gpio-104-idi-48.c | 69 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()
|
/drivers/xen/xen-pciback/ |
D | conf_space.h | 64 unsigned int base_offset; member 75 #define OFFSET(cfg_entry) ((cfg_entry)->base_offset+(cfg_entry)->field->offset)
|
D | conf_space.c | 397 unsigned int base_offset) in xen_pcibk_config_add_field_offset() argument 412 cfg_entry->base_offset = base_offset; in xen_pcibk_config_add_field_offset()
|
D | pci_stub.c | 1354 cfg_entry->base_offset + in quirks_show()
|
/drivers/gpu/drm/i915/display/ |
D | intel_dsi_vbt.c | 65 #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()
|
/drivers/net/ethernet/brocade/bna/ |
D | bnad_ethtool.c | 944 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()
|
/drivers/gpu/drm/radeon/ |
D | r600_cs.c | 355 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 …]
|
/drivers/net/ethernet/seeq/ |
D | ether3.c | 773 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,
|
D | ether3.h | 171 unsigned long base_offset; member
|
/drivers/pci/hotplug/ |
D | shpchp.h | 178 volatile u32 base_offset; member 195 BASE_OFFSET = offsetof(struct ctrl_reg, base_offset),
|
/drivers/bus/fsl-mc/ |
D | fsl-mc-bus.c | 604 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()
|
D | fsl-mc-private.h | 216 __le64 base_offset; member 392 u32 base_offset; member
|
D | dprc.c | 577 region_desc->base_offset = le64_to_cpu(rsp_params->base_offset); in dprc_get_obj_region()
|
/drivers/nubus/ |
D | nubus.c | 549 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()
|
/drivers/net/dsa/ |
D | bcm_sf2_cfp.c | 31 u32 base_offset; member 60 .base_offset = CORE_UDF_0_A_0_8_PORT_0 + UDF_SLICE_OFFSET, 90 .base_offset = CORE_UDF_0_B_0_8_PORT_0, 114 .base_offset = CORE_UDF_0_D_0_11_PORT_0, 161 u32 offset = layout->udfs[slice_num].base_offset; in bcm_sf2_cfp_udf_set()
|
/drivers/acpi/nfit/ |
D | nfit.h | 299 u64 base_offset; member
|
D | core.c | 2452 return mmio->base_offset + line_offset + table_offset + sub_line_offset; in to_interleave_offset() 2502 u64 base_offset; in acpi_nfit_blk_single_io() local 2505 base_offset = nfit_blk->bdw_offset + dpa % L1_CACHE_BYTES in acpi_nfit_blk_single_io() 2515 offset = to_interleave_offset(base_offset + copied, in acpi_nfit_blk_single_io() 2520 offset = base_offset + nfit_blk->bdw_offset; in acpi_nfit_blk_single_io() 2646 mmio->base_offset = nfit_mem->memdev_bdw->region_offset; in acpi_nfit_blk_region_enable() 2669 mmio->base_offset = nfit_mem->memdev_dcr->region_offset; in acpi_nfit_blk_region_enable()
|
/drivers/thunderbolt/ |
D | tb_regs.h | 117 u32 base_offset:8; /* member
|
/drivers/net/ethernet/intel/ice/ |
D | ice_flex_type.h | 211 __le16 base_offset; member
|
/drivers/dma/qcom/ |
D | bam_dma.c | 110 u32 base_offset; member 412 return bdev->regs + r.base_offset + in bam_addr()
|