HomeSort by: relevance | last modified time | path
    Searched refs:offset (Results 1 - 25 of 2392) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/tests/usr.bin/indent/
lsym_offsetof.c 5 * that starts an expression for computing the offset of a member in a struct.
9 size_t offset = offsetof(struct s, member);
21 size_t offset = offsetof (struct s, member);
  /src/sys/external/isc/atheros_hal/dist/ar5312/
ar5312_eeprom.c 32 * Read 16 bits of data from offset into *data
37 int i,offset; local in function:ar5312EepromRead
42 for (i=0,offset=2*off; i<2; i++,offset++) {
43 data[i] = eepromAddr[offset];
  /src/lib/libc/stdlib/
putenv.c 67 ssize_t offset; local in function:putenv
69 offset = __getenvslot(str, l_name, true);
70 if (offset != -1) {
71 if (environ[offset] != NULL)
72 __freeenvvar(environ[offset]);
73 environ[offset] = str;
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/
nouveau_nvkm_subdev_bios_vpstate.c 40 return nvbios_rd32(b, bit_P.offset + 0x38);
52 h->offset = nvbios_vpstate_offset(b);
53 if (!h->offset)
56 h->version = nvbios_rd08(b, h->offset);
59 h->hlen = nvbios_rd08(b, h->offset + 0x1);
60 h->elen = nvbios_rd08(b, h->offset + 0x2);
61 h->slen = nvbios_rd08(b, h->offset + 0x3);
62 h->scount = nvbios_rd08(b, h->offset + 0x4);
63 h->ecount = nvbios_rd08(b, h->offset + 0x5);
65 h->base_id = nvbios_rd08(b, h->offset + 0x0f)
84 u32 offset; local in function:nvbios_vpstate_entry
    [all...]
  /src/sys/external/bsd/drm2/include/drm/
drm_iomap_netbsd.h 77 DRM_READ8(struct drm_local_map *map, bus_size_t offset)
81 map->lm_data.bus_space.bsh, offset);
83 return *(volatile uint8_t *)((vaddr_t)map->handle + offset);
87 DRM_READ16(struct drm_local_map *map, bus_size_t offset)
91 map->lm_data.bus_space.bsh, offset);
93 return *(volatile uint16_t *)((vaddr_t)map->handle + offset);
97 DRM_READ32(struct drm_local_map *map, bus_size_t offset)
101 map->lm_data.bus_space.bsh, offset);
103 return *(volatile uint32_t *)((vaddr_t)map->handle + offset);
107 DRM_READ64(struct drm_local_map *map, bus_size_t offset)
    [all...]
  /src/sys/dev/pci/
radeonfb_bios.c 138 uint16_t offset; member in struct:rb_table
153 RAGE_REGS1_OFFSET, /* offset */
161 RAGE_REGS2_OFFSET, /* offset */
169 DYN_CLOCK_OFFSET, /* offset */
177 PLL_INIT_OFFSET, /* offset */
185 MEM_CONFIG_OFFSET, /* offset */
193 0, /* offset */
201 0, /* offset */
209 0, /* offset */
217 0, /* offset */
259 uint16_t offset; local in function:rb_find_asic_table
279 uint16_t offset; local in function:rb_find_mem_reset_table
362 uint16_t offset; local in function:rb_load_init_block
447 uint16_t offset; local in function:rb_load_pll_block
517 uint16_t offset; local in function:rb_reset_sdram
575 uint16_t temp, offset; local in function:radeonfb_bios_init
    [all...]
  /src/lib/libc/stdio/
fseek.c 50 * Seek the given file to the given offset.
51 * Zero extend the offset if SEEK_SET to allow access to 4GB files
56 off_t offset; local in function:fseek
61 offset = (unsigned long)l_offset;
64 offset = l_offset;
65 return fseeko(fp, offset, whence);
  /src/lib/libc/sys/
posix_fadvise.c 34 int __posix_fadvise50(int fd, int pad, off_t offset, off_t size, int hint);
37 posix_fadvise(int fd, off_t offset, off_t size, int hint)
39 return __posix_fadvise50(fd, 0, offset, size, hint);
  /src/sys/arch/evbarm/lubbock/
lubbock_var.h 86 #define obio_read(offset) ioreg_read(LUBBOCK_OBIO_VBASE+(offset))
87 #define obio_write(offset,value) \
88 ioreg_write(LUBBOCK_OBIO_VBASE+(offset), (value))
91 #define obio16_read(offset) ioreg16_read(LUBBOCK_OBIO_VBASE+(offset))
92 #define obio16_write(offset,value) \
93 ioreg16_write(LUBBOCK_OBIO_VBASE+(offset), (value))
95 #define obio8_read(offset) ioreg8_read(LUBBOCK_OBIO_VBASE+(offset))
    [all...]
  /src/sys/arch/hpcmips/hpcmips/
bus_space_through.c 57 bus_size_t offset, bus_size_t size, bus_space_handle_t *nbshp)
59 return bus_space_subregion(t->bs_base, bsh, offset, size, nbshp);
96 bs_through_bs_mmap(bus_space_tag_t t, bus_addr_t addr, off_t offset,
99 return bus_space_mmap(t->bs_base, addr, offset, prot, flags);
108 bus_size_t offset, bus_size_t len, int flags)
110 bus_space_barrier(t->bs_base, bsh, offset, len, flags);
119 bus_size_t offset, size_t size, void *ptr)
121 return bus_space_peek(t->bs_base, bsh, offset, size, ptr);
126 bus_size_t offset, size_t size, u_int32_t val)
128 return bus_space_poke(t->bs_base, bsh, offset, size, val)
    [all...]
  /src/sys/arch/sh3/sh3/
sh3_bus_space.c 41 * bus_space_handle_t bsh, bus_size_t offset);
44 * described by tag/handle/offset.
49 bus_size_t offset)
52 return *(volatile uint8_t *)(bsh + offset);
57 bus_size_t offset)
60 return bswap16(*(volatile uint16_t *)(bsh + offset));
65 bus_size_t offset)
68 return bswap32(*(volatile uint32_t *)(bsh + offset));
73 bus_size_t offset)
76 return *(volatile uint16_t *)(bsh + offset);
    [all...]
  /src/sys/external/bsd/libfdt/dist/
fdt.c 116 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len)
118 unsigned absoffset = offset + fdt_off_dt_struct(fdt);
120 if ((absoffset < offset)
126 if (((offset + len) < offset)
127 || ((offset + len) > fdt_size_dt_struct(fdt)))
130 return fdt_offset_ptr_(fdt, offset);
137 int offset = startoffset; local in function:fdt_next_tag
141 tagp = fdt_offset_ptr(fdt, offset, FDT_TAGSIZE);
145 offset += FDT_TAGSIZE
    [all...]
fdt_ro.c 15 static int fdt_nodename_eq_(const void *fdt, int offset,
19 const char *p = fdt_get_name(fdt, offset, &olen);
108 int offset = -1; local in function:fdt_find_max_phandle
113 offset = fdt_next_node(fdt, offset, NULL);
114 if (offset < 0) {
115 if (offset == -FDT_ERR_NOTFOUND)
118 return offset;
121 value = fdt_get_phandle(fdt, offset);
153 int offset = n * sizeof(struct fdt_reserve_entry) local in function:fdt_mem_rsv
242 int offset = 0; local in function:fdt_path_offset_namelen
328 int offset; local in function:fdt_first_property_offset
526 int offset, depth, namelen; local in function:fdt_get_path
578 int offset, depth; local in function:fdt_supernode_atdepth_offset
636 int offset; local in function:fdt_node_offset_by_prop_value
661 int offset; local in function:fdt_node_offset_by_phandle
817 int offset, err; local in function:fdt_node_offset_by_compatible
843 int offset, nextoffset = 0; local in function:fdt_check_full
    [all...]
libfdt_internal.h 23 int fdt_check_node_offset_(const void *fdt, int offset);
24 int fdt_check_prop_offset_(const void *fdt, int offset);
28 static inline const void *fdt_offset_ptr_(const void *fdt, int offset)
30 return (const char *)fdt + fdt_off_dt_struct(fdt) + offset;
33 static inline void *fdt_offset_ptr_w_(void *fdt, int offset)
35 return (void *)(uintptr_t)fdt_offset_ptr_(fdt, offset);
  /src/sys/lib/libsa/
lseek.c 67 lseek(int fd, off_t offset, int where)
69 olseek(int fd, off_t offset, int where)
84 * On RAW devices, update internal offset.
88 f->f_offset = offset;
91 f->f_offset += offset;
102 return FS_SEEK(f->f_ops)(f, offset, where);
  /src/sys/arch/mac68k/mac68k/
bus_space.c 261 bus_space_subregion(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset,
266 nhp->base += offset;
272 bus_size_t offset, int size)
284 bus_space_read_1(t, h, offset);
287 bus_space_read_2(t, h, offset);
290 bus_space_read_4(t, h, offset);
369 mac68k_bsr1(bus_space_tag_t t, bus_space_handle_t *h, bus_size_t offset)
371 return (*(volatile u_int8_t *)(h->base + offset));
375 mac68k_bsr1_gen(bus_space_tag_t t, bus_space_handle_t *h, bus_size_t offset)
377 return (*(volatile u_int8_t *)(h->base + offset * h->stride))
    [all...]
  /src/sys/external/bsd/drm/dist/bsd-core/
drm_vm.c 32 int drm_mmap(struct cdev *kdev, vm_offset_t offset, vm_paddr_t *paddr,
35 paddr_t drm_mmap(dev_t kdev, off_t offset, int prot)
77 if (dev->dma && offset >= 0 && offset < ptoa(dev->dma->page_count)) {
83 unsigned long page = offset >> PAGE_SHIFT;
108 if (offset >= map->offset && offset < map->offset + map->size)
113 DRM_DEBUG("Can't find map, requested offset = %" PRIx64 "\n"
    [all...]
  /src/sys/rump/dev/lib/libpci/
rumpdev_bus_space.c 74 bus_size_t offset)
80 unsigned short addr = bsh + offset;
86 rv = *(volatile uint8_t *)(bsh + offset);
94 bus_size_t offset)
100 unsigned short addr = bsh + offset;
106 rv = *(volatile uint16_t *)(bsh + offset);
114 bus_size_t offset)
120 unsigned short addr = bsh + offset;
126 rv = *(volatile uint32_t *)(bsh + offset);
134 bus_size_t offset, uint8_t *datap, bus_size_t count
    [all...]
  /src/sys/arch/sh3/dev/
shpcic.c 401 bus_size_t offset, bus_size_t size, bus_space_handle_t *nbshp)
404 *nbshp = bsh + offset;
439 bus_size_t offset);
441 bus_size_t offset);
443 bus_size_t offset);
445 bus_size_t offset);
447 bus_size_t offset);
449 bus_size_t offset);
452 __shpcic_io_read_1(bus_space_handle_t bsh, bus_size_t offset)
454 u_long adr = (u_long)(bsh + offset) & SH4_PCIC_IO_MASK
    [all...]
shpcicvar.h 53 int shpcic_iomem_subregion(void *v, bus_space_handle_t bsh, bus_size_t offset,
63 uint8_t shpcic_io_read_1(void *v, bus_space_handle_t bsh, bus_size_t offset);
64 uint16_t shpcic_io_read_2(void *v, bus_space_handle_t bsh, bus_size_t offset);
65 uint32_t shpcic_io_read_4(void *v, bus_space_handle_t bsh, bus_size_t offset);
66 uint8_t shpcic_mem_read_1(void *v, bus_space_handle_t bsh, bus_size_t offset);
67 uint16_t shpcic_mem_read_2(void *v, bus_space_handle_t bsh, bus_size_t offset);
68 uint32_t shpcic_mem_read_4(void *v, bus_space_handle_t bsh, bus_size_t offset);
72 bus_size_t offset, uint8_t *addr, bus_size_t count);
74 bus_size_t offset, uint16_t *addr, bus_size_t count);
76 bus_size_t offset, uint32_t *addr, bus_size_t count)
    [all...]
  /src/usr.sbin/fstyp/
hammer_disk.h 88 #define HAMMER_OFF_SHORT_MASK 0x000FFFFFFFFFFFFFULL /* offset portion */
89 #define HAMMER_OFF_LONG_MASK 0x0FFFFFFFFFFFFFFFULL /* offset portion */
93 #define HAMMER_BUFSIZE_DOALIGN(offset) \
94 (((offset) + HAMMER_BUFMASK) & ~HAMMER_BUFMASK)
95 #define HAMMER_BUFSIZE64_DOALIGN(offset) \
96 (((offset) + HAMMER_BUFMASK64) & ~HAMMER_BUFMASK64)
98 #define HAMMER_XBUFSIZE_DOALIGN(offset) \
99 (((offset) + HAMMER_XBUFMASK) & ~HAMMER_XBUFMASK)
100 #define HAMMER_XBUFSIZE64_DOALIGN(offset) \
101 (((offset) + HAMMER_XBUFMASK64) & ~HAMMER_XBUFMASK64
    [all...]
  /src/sys/ddb/
db_print.c 53 db_expr_t value, offset; local in function:db_show_regs
61 db_find_xtrn_sym_and_offset((db_addr_t)value, &name, &offset);
63 (unsigned int) offset <= db_maxoff && offset != value) {
65 if (offset != 0) {
68 db_format_radix(tbuf, 24, offset, true);
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/bios/
bios_parser_helper.h 33 uint8_t *bios_get_image(struct dc_bios *bp, uint32_t offset,
41 #define GET_IMAGE(type, offset) ((type *) bios_get_image(&bp->base, offset, sizeof(type)))
  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/
cl006b.h 11 __u32 offset; member in struct:nv03_channel_dma_v0
  /src/sys/external/gpl2/dts/dist/include/dt-bindings/gpio/
tegra186-gpio.h 43 #define TEGRA186_MAIN_GPIO(port, offset) \
44 ((TEGRA186_MAIN_GPIO_PORT_##port * 8) + offset)
56 #define TEGRA186_AON_GPIO(port, offset) \
57 ((TEGRA186_AON_GPIO_PORT_##port * 8) + offset)

Completed in 22 milliseconds

1 2 3 4 5 6 7 8 91011>>