Searched refs:offset (Results 276 - 300 of 3197) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/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...]
H A Dcvmx-key.h82 ptr.sio.offset = address;
103 ptr.sio.offset = address;
/freebsd-11-stable/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-11-stable/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-11-stable/contrib/unbound/sldns/
H A Dkeyraw.c199 uint16_t offset; local
208 offset = 1;
216 Q = BN_bin2bn(key+offset, SHA_DIGEST_LENGTH, NULL);
217 offset += SHA_DIGEST_LENGTH;
219 P = BN_bin2bn(key+offset, (int)length, NULL);
220 offset += length;
222 G = BN_bin2bn(key+offset, (int)length, NULL);
223 offset += length;
225 Y = BN_bin2bn(key+offset, (int)length, NULL);
268 uint16_t offset; local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp137 llvm::Constant *offset = llvm::ConstantExpr::getSub(target, base); local
141 offset = llvm::ConstantExpr::getTrunc(offset, offsetType);
144 return offset;
183 // Bring the offset up to the last field.
184 CharUnits offset = getNextOffsetFromGlobal(); local
189 // Advance the offset past that field.
192 offset = offset.alignTo(CharUnits::fromQuantity(
194 offset
213 CharUnits offset; local
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
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-11-stable/crypto/openssh/
H A Dbitmap.c102 size_t offset; local
106 offset = n / BITMAP_BITS;
107 if (offset > b->top)
108 b->top = offset;
109 b->d[offset] |= (BITMAP_WTYPE)1 << (n & BITMAP_WMASK);
126 size_t offset; local
130 offset = n / BITMAP_BITS;
131 if (offset > b->top)
133 b->d[offset] &= ~((BITMAP_WTYPE)1 << (n & BITMAP_WMASK));
190 size_t i, offset, shif local
[all...]
/freebsd-11-stable/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-11-stable/contrib/mdocml/
H A Droff_term.c67 p->tcol->offset = p->tcol->rmargin;
80 lm = p->tcol->offset;
94 p->tcol->offset = len >= p->tcol->rmargin ? 0 :
108 p->tcol->offset = lm;
176 ponew = po - polast + (int)p->tcol->offset;
177 p->tcol->offset = ponew > 0 ? ponew : 0;
236 p->ti = len - p->tcol->offset;
237 p->tcol->offset = len;
240 p->tcol->offset += len;
241 } else if ((size_t)len < p->tcol->offset) {
[all...]
/freebsd-11-stable/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-11-stable/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
2165 u16 phy_data, offset, mask; local
2237 u16 data, offset, mask; local
2280 u16 phy_data, offset, mask; local
3112 e1000_write_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 data) argument
3172 e1000_read_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 *data) argument
3231 e1000_read_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 *data) argument
3276 e1000_write_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 data) argument
3429 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
3598 e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data) argument
3612 e1000_read_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 *data) argument
3626 e1000_read_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 *data) argument
3641 __e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data, bool locked, bool page_set) argument
3723 e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data) argument
3737 e1000_write_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 data) argument
3751 e1000_write_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 data) argument
3782 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset, u16 *data, bool read) argument
4045 e1000_write_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 data) argument
4077 e1000_read_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 *data) argument
[all...]
/freebsd-11-stable/contrib/gcc/config/sparc/
H A Dlinux-unwind.h62 fs->regs.reg[i].loc.offset =
68 fs->regs.reg[i + 16].loc.offset =
78 fs->regs.reg[i + 32].loc.offset =
84 fs->regs.reg[0].loc.offset =
133 fs->regs.reg[i].loc.offset =
139 fs->regs.reg[i + 16].loc.offset =
147 fs->regs.reg[i + 32].loc.offset =
153 fs->regs.reg[0].loc.offset = this_cfa+(regs_off+4)-new_cfa;
/freebsd-11-stable/contrib/binutils/ld/
H A Dsysdep.h58 # define __PAST_END(array, offset) (((typeof(*(array)) *)(array))[offset])
/freebsd-11-stable/sys/cddl/boot/zfs/
H A Dlzjb.c63 int offset = ((src[0] << NBBY) | src[1]) & OFFSET_MASK; local
65 if ((cpy = dst - offset) < (unsigned char *)d_start)
/freebsd-11-stable/sys/dev/bhnd/nvram/
H A Dbhnd_spromvar.h41 int bhnd_sprom_attach(device_t dev, bus_size_t offset);
47 bus_size_t offset);
63 bus_size_t sp_res_off; /**< offset to sprom image */
/freebsd-11-stable/lib/libz/
H A Dzopen.c33 xgzseek(void *cookie, fpos_t offset, int whence) argument
35 return gzseek(cookie, (z_off_t)offset, whence);
/freebsd-11-stable/contrib/ntp/sntp/
H A Dmain.h26 struct timeval *tv_dst, double *offset,
29 int set_time(double offset);
/freebsd-11-stable/sys/dev/ppbus/
H A Dppb_msq.h41 /* offset of each mask (see above) */
70 #define MS_OP_DBRA 7 /* dbra <offset> */
71 #define MS_OP_BRSET 8 /* brset <mask>, <offset> */
72 #define MS_OP_BRCLEAR 9 /* brclear <mask>, <offset> */
77 #define MS_OP_BRSTAT 14 /* brstat <mask>, <mask>, <offset> */
130 #define MS_BRSET(mask,offset) { MS_OP_BRSET, {{ (mask) }, { (offset) }}}
131 #define MS_DBRA(offset) { MS_OP_DBRA, {{ (offset) }}}
132 #define MS_BRCLEAR(mask,offset) { MS_OP_BRCLEA
[all...]
/freebsd-11-stable/sys/mips/atheros/
H A Dar71xx_macaddr.c50 * 'offset' is added to the low three bytes to allow for sequential
59 int offset, int is_local)
73 t += offset;
58 ar71xx_mac_addr_init(unsigned char *dst, const unsigned char *src, int offset, int is_local) argument
/freebsd-11-stable/sys/net/
H A Dbpf_zerocopy.h39 void bpf_zerocopy_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset,
41 void bpf_zerocopy_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset,
/freebsd-11-stable/bin/dd/
H A Dposition.c61 n = io->offset;
64 _Static_assert(sizeof(io->offset) == sizeof(int64_t), "64-bit off_t");
67 * If the lseek offset will be negative, verify that this is a special
71 * Bail out if the calculation of a file offset would overflow.
107 if (in.offset < 0)
108 errx(1, "%s: illegal offset", "iseek/skip");
115 for (bcnt = in.dbsz, cnt = in.offset, warned = 0; cnt;) {
177 if (out.offset < 0)
178 errx(1, "%s: illegal offset", "oseek/seek");
183 t_op.mt_count = out.offset;
[all...]
/freebsd-11-stable/lib/libc/tests/stdio/
H A Dopen_memstream2_test.c159 #define SEEK_FAIL(offset, whence, error) do { \
161 ATF_REQUIRE_MSG(fseeko(fp, (offset), (whence)) != 0, \
163 __STRING(offset), __STRING(whence), \
167 __STRING(offset), __STRING(whence), errno, \
171 #define SEEK_OK(offset, whence, result) do { \
172 ATF_REQUIRE_MSG(fseeko(fp, (offset), (whence)) == 0, \
174 __STRING(offset), __STRING(whence), strerror(errno)); \
177 __STRING(offset), __STRING(whence), \
/freebsd-11-stable/usr.sbin/kldxref/
H A Def_obj.c104 static int ef_obj_read(elf_file_t ef, Elf_Off offset, size_t len, void* dest);
105 static int ef_obj_read_entry(elf_file_t ef, Elf_Off offset, size_t len,
107 static int ef_obj_seg_read(elf_file_t ef, Elf_Off offset, size_t len,
109 static int ef_obj_seg_read_rel(elf_file_t ef, Elf_Off offset, size_t len,
111 static int ef_obj_seg_read_string(elf_file_t ef, Elf_Off offset, size_t len,
113 static int ef_obj_seg_read_entry(elf_file_t ef, Elf_Off offset, size_t len,
115 static int ef_obj_seg_read_entry_rel(elf_file_t ef, Elf_Off offset, size_t len,
195 ef_obj_read(elf_file_t ef, Elf_Off offset, size_t len, void *dest) argument
199 if (offset != (Elf_Off)-1) {
200 if (lseek(ef->ef_fd, offset, SEEK_SE
212 ef_obj_read_entry(elf_file_t ef, Elf_Off offset, size_t len, void **ptr) argument
226 ef_obj_seg_read(elf_file_t ef, Elf_Off offset, size_t len, void *dest) argument
240 ef_obj_seg_read_rel(elf_file_t ef, Elf_Off offset, size_t len, void *dest) argument
303 ef_obj_seg_read_string(elf_file_t ef, Elf_Off offset, size_t len, char *dest) argument
324 ef_obj_seg_read_entry(elf_file_t ef, Elf_Off offset, size_t len, void **ptr) argument
338 ef_obj_seg_read_entry_rel(elf_file_t ef, Elf_Off offset, size_t len, void **ptr) argument
[all...]
/freebsd-11-stable/usr.sbin/trim/
H A Dtrim.c53 static int trim(const char *path, off_t offset, off_t length, bool dryrun, bool verbose);
59 off_t offset, length; local
66 length = offset = 0;
85 ch == 'o' ? "offset" : "length",
88 offset = (off_t)usz;
133 if (trim(fname, offset, length, dryrun, verbose) < 0)
206 trim(const char *path, off_t offset, off_t length, bool dryrun, bool verbose) argument
215 printf("trim %s offset %ju length %ju\n",
216 path, (uintmax_t)offset, (uintmax_t)length);
224 arg[0] = offset;
[all...]

Completed in 192 milliseconds

<<11121314151617181920>>