Searched refs:offset (Results 226 - 250 of 2575) sorted by relevance

1234567891011>>

/freebsd-10.2-release/sys/dev/ata/chipsets/
H A Data-ahci.c291 int offset = ch->unit << 7; local
297 ch->r_io[ATA_SSTATUS].offset = ATA_AHCI_P_SSTS + offset;
299 ch->r_io[ATA_SERROR].offset = ATA_AHCI_P_SERR + offset;
301 ch->r_io[ATA_SCONTROL].offset = ATA_AHCI_P_SCTL + offset;
303 ch->r_io[ATA_SACTIVE].offset = ATA_AHCI_P_SACT + offset;
337 int offset local
363 int offset = ch->unit << 7; local
394 int offset = ch->unit << 7; local
453 int offset = ch->unit << 7; local
541 int offset = ch->unit << 7; local
595 int offset = ch->unit << 7; local
686 int offset = ch->unit << 7; local
733 int offset = ch->unit << 7; local
759 int offset = ch->unit << 7; local
785 int offset = ch->unit << 7; local
807 int offset = ch->unit << 7; local
831 int offset = ch->unit << 7; local
843 int offset = ch->unit << 7; local
865 int offset = ch->unit << 7; local
937 int offset = ch->unit << 7; local
[all...]
/freebsd-10.2-release/contrib/gdb/gdb/
H A Dbfd-target.c75 const void *writebuf, ULONGEST offset, LONGEST len)
81 struct section_table *s = target_section_by_addr (ops, offset);
87 if ((offset - s->addr + len) > (s->endaddr - s->addr))
88 len = (s->endaddr - s->addr) - (offset - s->addr);
91 readbuf, offset - s->addr, len))
101 writebuf, offset - s->addr, len))
72 target_bfd_xfer_partial(struct target_ops *ops, enum target_object object, const char *annex, void *readbuf, const void *writebuf, ULONGEST offset, LONGEST len) argument
H A Di386bsd-nat.c68 /* At reg_offset[REGNO] you'll find the offset to the gregset_t
392 int offset;
422 /* Override the default value for the offset of the program counter
424 offset = offsetof (struct sigcontext, sc_pc);
426 if (SC_PC_OFFSET != offset)
431 offset, SC_PC_OFFSET);
434 SC_PC_OFFSET = offset;
437 offset = offsetof (struct sigcontext, sc_sp);
439 if (SC_SP_OFFSET != offset)
444 offset, SC_SP_OFFSE
387 int offset; local
[all...]
/freebsd-10.2-release/lib/libz/
H A Dgzlib.c365 z_off64_t ZEXPORT gzseek64(file, offset, whence)
367 z_off64_t offset;
389 /* normalize offset to a SEEK_CUR specification */
391 offset -= state->x.pos;
393 offset += state->skip;
398 state->x.pos + offset >= 0) {
399 ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR);
408 state->x.pos += offset;
413 if (offset < 0) {
416 offset
484 z_off64_t offset; local
[all...]
/freebsd-10.2-release/sbin/clri/
H A Dclri.c81 off_t offset; local
120 offset = ino_to_fsba(sbp, inonum); /* inode to fs blk */
121 offset = fsbtodb(sbp, offset); /* fs blk disk blk */
122 offset *= DEV_BSIZE; /* disk blk to bytes */
125 if (lseek(fd, offset, SEEK_SET) < 0)
/freebsd-10.2-release/sys/dev/hptmv/
H A DmvOs.h98 extern void HPTLIBAPI MV_REG_WRITE_BYTE(MV_BUS_ADDR_T base, MV_U32 offset, MV_U8 val);
99 extern void HPTLIBAPI MV_REG_WRITE_WORD(MV_BUS_ADDR_T base, MV_U32 offset, MV_U16 val);
100 extern void HPTLIBAPI MV_REG_WRITE_DWORD(MV_BUS_ADDR_T base, MV_U32 offset, MV_U32 val);
101 extern MV_U8 HPTLIBAPI MV_REG_READ_BYTE(MV_BUS_ADDR_T base, MV_U32 offset);
102 extern MV_U16 HPTLIBAPI MV_REG_READ_WORD(MV_BUS_ADDR_T base, MV_U32 offset);
103 extern MV_U32 HPTLIBAPI MV_REG_READ_DWORD(MV_BUS_ADDR_T base, MV_U32 offset);
/freebsd-10.2-release/sys/dev/virtio/
H A Dvirtio.h87 void virtio_read_device_config(device_t dev, bus_size_t offset,
89 void virtio_write_device_config(device_t dev, bus_size_t offset,
96 bus_size_t offset) \
99 virtio_read_device_config(dev, offset, &val, sizeof(type)); \
105 bus_size_t offset, type val) \
107 virtio_write_device_config(dev, offset, &val, sizeof(type)); \
/freebsd-10.2-release/sys/netinet/
H A Daccf_dns.c46 unsigned long offset; /* Which offset we are working at. */ member in struct:packet
90 if (p->offset < p->moff) \
92 while (p->offset >= p->moff + p->m->m_len) { \
102 val = *(mtod(p->m, unsigned char *) + (p->offset - p->moff)); \
103 p->offset++; \
124 q.offset = 0;
/freebsd-10.2-release/tools/regression/geom/ConfCmp/
H A Da2.conf100 <offset>69632</offset>
140 <offset>235929600</offset>
152 <offset>183500800</offset>
164 <offset>0</offset>
176 <offset>78643200</offset>
[all...]
H A Da2a.conf100 <offset>69632</offset>
140 <offset>235929600</offset>
152 <offset>183500800</offset>
164 <offset>0</offset>
176 <offset>78643200</offset>
[all...]
H A Da2b.conf100 <offset>69632</offset>
140 <offset>235929600</offset>
152 <offset>183500800</offset>
164 <offset>0</offset>
176 <offset>78643200</offset>
[all...]
H A Da2c.conf99 <offset>69632</offset>
139 <offset>235929600</offset>
151 <offset>183500800</offset>
163 <offset>0</offset>
175 <offset>78643200</offset>
[all...]
H A Da2d.conf104 <offset>69632</offset>
144 <offset>235929600</offset>
156 <offset>183500800</offset>
168 <offset>0</offset>
180 <offset>78643200</offset>
[all...]
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DHashedNameToDIE.h32 dw_offset_t offset; // The DIE offset member in struct:DWARFMappedHash::DIEInfo
38 offset (DW_INVALID_OFFSET),
46 offset(o),
56 offset = DW_INVALID_OFFSET;
73 die_offsets.push_back (die_info_array[i].offset);
99 die_offsets.push_back (die_info_array[i].offset);
129 die_offsets.push_back (die_info_array[i].offset);
137 eAtomTypeDIEOffset = 1u, // DIE offset, check form for encoding
138 eAtomTypeCUOffset = 2u, // DIE offset o
350 Read(const lldb_private::DataExtractor &data, lldb::offset_t offset) argument
424 Read(lldb_private::DataExtractor &data, lldb::offset_t offset) argument
614 lldb::offset_t offset = hash_data_offset; local
[all...]
/freebsd-10.2-release/sys/contrib/octeon-sdk/
H A Dcvmx-usbcx-defs.h116 static inline uint64_t CVMX_USBCX_DIEPCTLX(unsigned long offset, unsigned long block_id) argument
119 (OCTEON_IS_MODEL(OCTEON_CN30XX) && (((offset <= 4)) && ((block_id == 0)))) ||
120 (OCTEON_IS_MODEL(OCTEON_CN31XX) && (((offset <= 4)) && ((block_id == 0)))) ||
121 (OCTEON_IS_MODEL(OCTEON_CN50XX) && (((offset <= 4)) && ((block_id == 0)))) ||
122 (OCTEON_IS_MODEL(OCTEON_CN52XX) && (((offset <= 4)) && ((block_id <= 1)))) ||
123 (OCTEON_IS_MODEL(OCTEON_CN56XX) && (((offset <= 4)) && ((block_id == 0))))))
124 cvmx_warn("CVMX_USBCX_DIEPCTLX(%lu,%lu) is invalid on this chip\n", offset, block_id);
125 return CVMX_ADD_IO_SEG(0x00016F0010000900ull) + (((offset) & 7) + ((block_id) & 1) * 0x8000000000ull) * 32;
128 #define CVMX_USBCX_DIEPCTLX(offset, block_id) (CVMX_ADD_IO_SEG(0x00016F0010000900ull) + (((offset)
131 CVMX_USBCX_DIEPINTX(unsigned long offset, unsigned long block_id) argument
161 CVMX_USBCX_DIEPTSIZX(unsigned long offset, unsigned long block_id) argument
176 CVMX_USBCX_DOEPCTLX(unsigned long offset, unsigned long block_id) argument
191 CVMX_USBCX_DOEPINTX(unsigned long offset, unsigned long block_id) argument
221 CVMX_USBCX_DOEPTSIZX(unsigned long offset, unsigned long block_id) argument
236 CVMX_USBCX_DPTXFSIZX(unsigned long offset, unsigned long block_id) argument
641 CVMX_USBCX_HCCHARX(unsigned long offset, unsigned long block_id) argument
671 CVMX_USBCX_HCINTMSKX(unsigned long offset, unsigned long block_id) argument
686 CVMX_USBCX_HCINTX(unsigned long offset, unsigned long block_id) argument
701 CVMX_USBCX_HCSPLTX(unsigned long offset, unsigned long block_id) argument
716 CVMX_USBCX_HCTSIZX(unsigned long offset, unsigned long block_id) argument
806 CVMX_USBCX_NPTXDFIFOX(unsigned long offset, unsigned long block_id) argument
[all...]
/freebsd-10.2-release/sys/dev/drm/
H A Dsis_mm.c100 if (req.offset) {
102 fb->offset = req.offset;
103 fb->free = req.offset;
106 sis_free(req.offset);
110 fb->offset = 0;
115 DRM_DEBUG("alloc fb, size = %d, offset = %ld\n", fb->size, req.offset);
132 DRM_DEBUG("free fb, offset = 0x%lx\n", fb->free);
141 * framebuffer offset (MaxXFBMe
[all...]
/freebsd-10.2-release/sys/geom/
H A Dgeom_redboot.c52 uint32_t offset; /* offset in flash */ member in struct:fis_image_desc
55 uint32_t entry; /* offset in image for entry point */
83 fd->offset, fd->size);
171 parse_fis_directory(u_char *buf, size_t bufsize, off_t offset, uint32_t offmask) argument
191 offset + fd - (struct fis_image_desc *) buf);
208 * strip it so we have only a flash offset.
210 fd->offset &= offmask;
220 (long) offset);
224 fisdir->offset
248 off_t offset; local
[all...]
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Core/
H A DDataBufferMemoryMap.cpp106 // Memory map "length" bytes from "file" starting "offset"
111 // offset.
115 lldb::offset_t offset,
124 log->Printf("DataBufferMemoryMap::MemoryMapFromFileSpec(file=\"%s\", offset=0x%" PRIx64 ", length=0x%" PRIx64 ", writeable=%i",
126 offset,
142 return MemoryMapFromFileDescriptor (file.GetDescriptor(), offset, length, writeable, fd_is_file);
172 // Number of bytes mapped starting from the requested offset.
176 lldb::offset_t offset,
188 log->Printf("DataBufferMemoryMap::MemoryMapFromFileSpec(fd=%p, offset=0x%" PRIx64 ", length=0x%" PRIx64 ", writeable=%i, fd_is_file=%i)",
190 log->Printf("DataBufferMemoryMap::MemoryMapFromFileSpec(fd=%i, offset
114 MemoryMapFromFileSpec(const FileSpec* filespec, lldb::offset_t offset, lldb::offset_t length, bool writeable) argument
175 MemoryMapFromFileDescriptor(int fd, lldb::offset_t offset, lldb::offset_t length, bool writeable, bool fd_is_file) argument
[all...]
/freebsd-10.2-release/sys/dev/terasic/mtl/
H A Dterasic_mtl_reg.c72 u_long offset, size; local
86 offset = uio->uio_offset;
87 if (offset + sizeof(v) > size)
89 v = bus_read_4(sc->mtl_reg_res, offset);
101 u_long offset, size; local
112 offset = uio->uio_offset;
113 if (offset + sizeof(v) > size)
118 bus_write_4(sc->mtl_reg_res, offset, v);
124 terasic_mtl_reg_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, argument
132 if (trunc_page(offset)
[all...]
/freebsd-10.2-release/sys/dev/vxge/vxgehal/
H A Dvxgehal-mgmt.c1026 * offset.
1028 * @offset: Offset in the 256 byte PCI configuration space.
1032 * Read PCI configuration, given device and offset in the PCI space.
1036 * VXGE_HAL_ERR_INVALID_OFFSET - Register offset in the BAR space is not
1043 vxge_hal_mgmt_pcireg_read(vxge_hal_device_h devh, unsigned int offset, argument
1054 "devh = 0x"VXGE_OS_STXFMT", offset = %d, value_bits = %d, "
1055 "value = 0x"VXGE_OS_STXFMT, (ptr_t) devh, offset,
1065 if (offset > sizeof(vxge_hal_pci_config_t) - value_bits / 8) {
1074 offset,
1090 * @offset
1103 vxge_hal_mgmt_reg_read(vxge_hal_device_h devh, vxge_hal_mgmt_reg_type_e type, u32 vp_id, u32 offset, u64 *value) argument
1282 vxge_hal_mgmt_reg_write(vxge_hal_device_h devh, vxge_hal_mgmt_reg_type_e type, u32 vp_id, u32 offset, u64 value) argument
1462 vxge_hal_mgmt_bar0_read(vxge_hal_device_h devh, u32 offset, u64 *value) argument
1515 vxge_hal_mgmt_bar1_read(vxge_hal_device_h devh, u32 offset, u64 *value) argument
1561 vxge_hal_mgmt_bar0_write(vxge_hal_device_h devh, u32 offset, u64 value) argument
1626 u32 offset; local
[all...]
/freebsd-10.2-release/sys/arm/allwinner/
H A Da10_gpio.c116 uint32_t bank, func, offset; local
121 offset = ((pin & 0x07) << 2);
124 func = (A10_GPIO_READ(sc, A10_GPIO_GP_CFG(bank, func)) >> offset) & 7;
146 uint32_t bank, func, data, offset; local
154 offset = ((pin & 0x07) << 2);
157 data &= ~(7 << offset);
158 data |= (f << offset);
165 uint32_t bank, offset, pull, val; local
173 offset = ((pin & 0x0f) << 1);
176 val &= ~(0x03 << offset);
314 uint32_t bank, offset, data; local
345 uint32_t bank, offset, reg_data; local
372 uint32_t bank, data, offset; local
[all...]
/freebsd-10.2-release/sys/dev/e1000/
H A De1000_phy.c38 static s32 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset,
41 static s32 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset,
119 u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG *data)
151 u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG data)
160 * @byte_offset: byte offset to write
177 * @byte_offset: byte offset to write
278 * @offset: register offset to be read
281 * Reads the MDI control register in the PHY at offset and stores the
284 s32 e1000_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u1 argument
118 e1000_null_read_reg(struct e1000_hw E1000_UNUSEDARG *hw, u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG *data) argument
150 e1000_null_write_reg(struct e1000_hw E1000_UNUSEDARG *hw, u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG data) argument
349 e1000_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) argument
415 e1000_read_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 *data) argument
462 e1000_write_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 data) argument
523 e1000_read_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 *data) argument
578 e1000_write_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 data) argument
648 e1000_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data) argument
678 e1000_write_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 data) argument
730 __e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data, bool locked) argument
770 e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data) argument
784 e1000_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data) argument
799 __e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data, bool locked) argument
838 e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data) argument
852 e1000_write_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 data) argument
868 __e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data, bool locked) argument
912 e1000_read_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 *data) argument
927 e1000_read_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 *data) argument
943 __e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data, bool locked) argument
983 e1000_write_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 data) argument
997 e1000_write_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 data) argument
2164 u16 phy_data, offset, mask; local
2236 u16 data, offset, mask; local
2279 u16 phy_data, offset, mask; local
3111 e1000_write_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 data) argument
3171 e1000_read_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 *data) argument
3230 e1000_read_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 *data) argument
3275 e1000_write_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 data) argument
3428 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset, u16 *data, bool read, bool page_set) argument
3532 __e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data, bool locked, bool page_set) argument
3599 e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data) argument
3613 e1000_read_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 *data) argument
3627 e1000_read_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 *data) argument
3642 __e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data, bool locked, bool page_set) argument
3725 e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data) argument
3739 e1000_write_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 data) argument
3753 e1000_write_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 data) argument
3784 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset, u16 *data, bool read) argument
4047 e1000_write_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 data) argument
4079 e1000_read_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 *data) argument
[all...]
/freebsd-10.2-release/contrib/llvm/tools/lldb/include/lldb/Core/
H A DDataBufferMemoryMap.h89 /// Memory map \a length bytes from \a file starting \a offset
96 /// @param[in] offset
97 /// The offset in bytes from the beginning of the file where
101 /// The size in bytes that should be mapped starting \a offset
106 /// The number of bytes mapped starting from the \a offset.
110 lldb::offset_t offset = 0,
118 /// starting \a offset bytes into the file. If \a length is set to
125 /// @param[in] offset
126 /// The offset in bytes from the beginning of the file where
130 /// The size in bytes that should be mapped starting \a offset
[all...]
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/
H A DRegisterContextPOSIXCore_mips64.cpp25 lldb::offset_t offset = 0; local
29 m_reg[i] = gpregset.GetU64(&offset);
/freebsd-10.2-release/contrib/ntp/sntp/
H A Dmain.h26 struct timeval *tv_dst, double *offset,
29 int set_time(double offset);

Completed in 245 milliseconds

1234567891011>>