Searched refs:offset (Results 1 - 25 of 2395) sorted by relevance

1234567891011>>

/src/tests/usr.bin/indent/
H A Dlsym_offsetof.c5 * 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/
H A Dar5312_eeprom.c32 * 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/
H A Dputenv.c67 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/
H A Dnouveau_nvkm_subdev_bios_vpstate.c40 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
84 u32 offset; local in function:nvbios_vpstate_entry
[all...]
/src/sys/external/bsd/drm2/include/drm/
H A Ddrm_iomap_netbsd.h77 DRM_READ8(struct drm_local_map *map, bus_size_t offset) argument
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) argument
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) argument
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) argument
132 DRM_WRITE8(struct drm_local_map * map,bus_size_t offset,uint8_t value) argument
142 DRM_WRITE16(struct drm_local_map * map,bus_size_t offset,uint16_t value) argument
152 DRM_WRITE32(struct drm_local_map * map,bus_size_t offset,uint32_t value) argument
162 DRM_WRITE64(struct drm_local_map * map,bus_size_t offset,uint64_t value) argument
[all...]
/src/sys/dev/pci/
H A Dradeonfb_bios.c138 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/
H A Dfseek.c50 * 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/sys/arch/evbarm/lubbock/
H A Dlubbock_var.h86 #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/lib/libc/sys/
H A Dposix_fadvise.c34 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) argument
39 return __posix_fadvise50(fd, 0, offset, size, hint);
/src/sys/arch/hpcmips/hpcmips/
H A Dbus_space_through.c57 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, argument
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, siz
56 bs_through_bs_subregion(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,bus_size_t size,bus_space_handle_t * nbshp) argument
107 bs_through_bs_barrier(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,bus_size_t len,int flags) argument
118 bs_through_bs_peek(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,size_t size,void * ptr) argument
125 bs_through_bs_poke(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,size_t size,u_int32_t val) argument
136 bs_through_bs_r_1(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset) argument
142 bs_through_bs_r_2(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset) argument
148 bs_through_bs_r_4(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset) argument
154 bs_through_bs_r_8(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset) argument
164 bs_through_bs_rm_1(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int8_t * addr,bus_size_t count) argument
171 bs_through_bs_rm_2(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int16_t * addr,bus_size_t count) argument
178 bs_through_bs_rm_4(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int32_t * addr,bus_size_t count) argument
185 bs_through_bs_rm_8(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int64_t * addr,bus_size_t count) argument
196 bs_through_bs_rr_1(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int8_t * addr,bus_size_t count) argument
203 bs_through_bs_rr_2(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int16_t * addr,bus_size_t count) argument
210 bs_through_bs_rr_4(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int32_t * addr,bus_size_t count) argument
217 bs_through_bs_rr_8(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int64_t * addr,bus_size_t count) argument
228 bs_through_bs_w_1(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int8_t value) argument
235 bs_through_bs_w_2(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int16_t value) argument
242 bs_through_bs_w_4(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int32_t value) argument
249 bs_through_bs_w_8(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int64_t value) argument
260 bs_through_bs_wm_1(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,const u_int8_t * addr,bus_size_t count) argument
267 bs_through_bs_wm_2(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,const u_int16_t * addr,bus_size_t count) argument
274 bs_through_bs_wm_4(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,const u_int32_t * addr,bus_size_t count) argument
281 bs_through_bs_wm_8(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,const u_int64_t * addr,bus_size_t count) argument
292 bs_through_bs_wr_1(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,const u_int8_t * addr,bus_size_t count) argument
299 bs_through_bs_wr_2(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,const u_int16_t * addr,bus_size_t count) argument
306 bs_through_bs_wr_4(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,const u_int32_t * addr,bus_size_t count) argument
313 bs_through_bs_wr_8(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,const u_int64_t * addr,bus_size_t count) argument
324 bs_through_bs_rs_1(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset) argument
331 bs_through_bs_rs_2(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset) argument
338 bs_through_bs_rs_4(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset) argument
345 bs_through_bs_rs_8(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset) argument
356 bs_through_bs_rms_1(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int8_t * addr,bus_size_t count) argument
363 bs_through_bs_rms_2(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int16_t * addr,bus_size_t count) argument
370 bs_through_bs_rms_4(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int32_t * addr,bus_size_t count) argument
377 bs_through_bs_rms_8(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int64_t * addr,bus_size_t count) argument
388 bs_through_bs_rrs_1(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int8_t * addr,bus_size_t count) argument
395 bs_through_bs_rrs_2(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int16_t * addr,bus_size_t count) argument
402 bs_through_bs_rrs_4(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int32_t * addr,bus_size_t count) argument
409 bs_through_bs_rrs_8(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int64_t * addr,bus_size_t count) argument
420 bs_through_bs_ws_1(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int8_t value) argument
427 bs_through_bs_ws_2(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int16_t value) argument
434 bs_through_bs_ws_4(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int32_t value) argument
441 bs_through_bs_ws_8(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int64_t value) argument
452 bs_through_bs_wms_1(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,const u_int8_t * addr,bus_size_t count) argument
459 bs_through_bs_wms_2(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,const u_int16_t * addr,bus_size_t count) argument
466 bs_through_bs_wms_4(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,const u_int32_t * addr,bus_size_t count) argument
473 bs_through_bs_wms_8(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,const u_int64_t * addr,bus_size_t count) argument
484 bs_through_bs_wrs_1(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,const u_int8_t * addr,bus_size_t count) argument
491 bs_through_bs_wrs_2(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,const u_int16_t * addr,bus_size_t count) argument
498 bs_through_bs_wrs_4(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,const u_int32_t * addr,bus_size_t count) argument
505 bs_through_bs_wrs_8(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,const u_int64_t * addr,bus_size_t count) argument
517 bs_through_bs_sm_1(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int8_t value,bus_size_t count) argument
524 bs_through_bs_sm_2(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int16_t value,bus_size_t count) argument
531 bs_through_bs_sm_4(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int32_t value,bus_size_t count) argument
538 bs_through_bs_sm_8(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int64_t value,bus_size_t count) argument
548 bs_through_bs_sr_1(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int8_t value,bus_size_t count) argument
555 bs_through_bs_sr_2(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int16_t value,bus_size_t count) argument
562 bs_through_bs_sr_4(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int32_t value,bus_size_t count) argument
569 bs_through_bs_sr_8(bus_space_tag_t t,bus_space_handle_t bsh,bus_size_t offset,u_int64_t value,bus_size_t count) argument
[all...]
/src/sys/arch/sh3/sh3/
H A Dsh3_bus_space.c41 * 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);
48 bus_space_read_1(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset) argument
56 bus_space_read_2(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset) argument
64 bus_space_read_4(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset) argument
72 bus_space_read_stream_2(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset) argument
80 bus_space_read_stream_4(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset) argument
96 bus_space_read_multi_1(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint8_t * addr,bus_size_t count) argument
105 bus_space_read_multi_2(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint16_t * addr,bus_size_t count) argument
114 bus_space_read_multi_4(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint32_t * addr,bus_size_t count) argument
123 bus_space_read_multi_stream_2(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint16_t * addr,bus_size_t count) argument
132 bus_space_read_multi_stream_4(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint32_t * addr,bus_size_t count) argument
150 bus_space_read_region_1(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint8_t * addr,bus_size_t count) argument
160 bus_space_read_region_2(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint16_t * addr,bus_size_t count) argument
170 bus_space_read_region_4(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint32_t * addr,bus_size_t count) argument
189 bus_space_read_region_stream_1(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint8_t * addr,bus_size_t count) argument
199 bus_space_read_region_stream_2(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint16_t * addr,bus_size_t count) argument
209 bus_space_read_region_stream_4(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint32_t * addr,bus_size_t count) argument
227 bus_space_write_region_1(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,const uint8_t * addr,bus_size_t count) argument
237 bus_space_write_region_2(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,const uint16_t * addr,bus_size_t count) argument
247 bus_space_write_region_4(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,const uint32_t * addr,bus_size_t count) argument
265 bus_space_write_region_stream_1(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,const uint8_t * addr,bus_size_t count) argument
275 bus_space_write_region_stream_2(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,const uint16_t * addr,bus_size_t count) argument
285 bus_space_write_region_stream_4(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,const uint32_t * addr,bus_size_t count) argument
303 bus_space_write_1(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint8_t value) argument
311 bus_space_write_2(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint16_t value) argument
319 bus_space_write_4(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint32_t value) argument
327 bus_space_write_stream_2(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint16_t value) argument
335 bus_space_write_stream_4(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint32_t value) argument
351 bus_space_write_multi_1(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,const uint8_t * addr,bus_size_t count) argument
360 bus_space_write_multi_2(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,const uint16_t * addr,bus_size_t count) argument
369 bus_space_write_multi_4(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,const uint32_t * addr,bus_size_t count) argument
378 bus_space_write_multi_stream_2(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,const uint16_t * addr,bus_size_t count) argument
387 bus_space_write_multi_stream_4(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,const uint32_t * addr,bus_size_t count) argument
404 bus_space_set_multi_1(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint8_t val,bus_size_t count) argument
413 bus_space_set_multi_2(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint16_t val,bus_size_t count) argument
422 bus_space_set_multi_4(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint32_t val,bus_size_t count) argument
439 bus_space_set_region_1(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint8_t val,bus_size_t count) argument
449 bus_space_set_region_2(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint16_t val,bus_size_t count) argument
460 bus_space_set_region_4(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint32_t val,bus_size_t count) argument
479 bus_space_set_region_stream_1(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint8_t val,bus_size_t count) argument
489 bus_space_set_region_stream_2(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint16_t val,bus_size_t count) argument
499 bus_space_set_region_stream_4(bus_space_tag_t tag,bus_space_handle_t bsh,bus_size_t offset,uint32_t val,bus_size_t count) argument
[all...]
/src/sys/lib/libsa/
H A Dlseek.c67 lseek(int fd, off_t offset, int where) argument
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/external/bsd/libfdt/dist/
H A Dfdt.c116 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) argument
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
186 fdt_check_node_offset_(const void * fdt,int offset) argument
195 fdt_check_prop_offset_(const void * fdt,int offset) argument
204 fdt_next_node(const void * fdt,int offset,int * depth) argument
244 fdt_first_subnode(const void * fdt,int offset) argument
255 fdt_next_subnode(const void * fdt,int offset) argument
[all...]
H A Dfdt_ro.c15 static int fdt_nodename_eq_(const void *fdt, int offset, argument
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 local in function:fdt_mem_rsv
189 nextprop_(const void * fdt,int offset) argument
213 fdt_subnode_offset_namelen(const void * fdt,int offset,const char * name,int namelen) argument
242 int offset = 0; local in function:fdt_path_offset_namelen
328 int offset; local in function:fdt_first_property_offset
336 fdt_next_property_offset(const void * fdt,int offset) argument
344 fdt_get_property_by_offset_(const void * fdt,int offset,int * lenp) argument
365 fdt_get_property_by_offset(const void * fdt,int offset,int * lenp) argument
381 fdt_get_property_namelen_(const void * fdt,int offset,const char * name,int namelen,int * lenp,int * poffset) argument
411 fdt_get_property_namelen(const void * fdt,int offset,const char * name,int namelen,int * lenp) argument
455 fdt_getprop_by_offset(const void * fdt,int offset,const char ** namep,int * lenp) argument
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...]
H A Dlibfdt_internal.h23 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) argument
30 return (const char *)fdt + fdt_off_dt_struct(fdt) + offset;
33 static inline void *fdt_offset_ptr_w_(void *fdt, int offset) argument
35 return (void *)(uintptr_t)fdt_offset_ptr_(fdt, offset);
/src/sys/arch/mac68k/mac68k/
H A Dbus_space.c261 bus_space_subregion(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, argument
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) argument
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) argument
377 return (*(volatile u_int8_t *)(h->base + offset *
271 mac68k_bus_space_probe(bus_space_tag_t t,bus_space_handle_t h,bus_size_t offset,int size) argument
381 mac68k_bsr2(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset) argument
387 mac68k_bsr2_swap(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset) argument
396 mac68k_bsrs2_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset) argument
406 mac68k_bsr2_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset) argument
418 mac68k_bsr4(bus_space_tag_t tag,bus_space_handle_t * h,bus_size_t offset) argument
424 mac68k_bsr4_swap(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset) argument
433 mac68k_bsrs4_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset) argument
448 mac68k_bsr4_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset) argument
460 mac68k_bsrm1(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int8_t * a,size_t c) argument
476 mac68k_bsrm1_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int8_t * a,size_t c) argument
485 mac68k_bsrm2(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int16_t * a,size_t c) argument
501 mac68k_bsrm2_swap(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int16_t * a,size_t c) argument
519 mac68k_bsrm2_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int16_t * a,size_t c) argument
528 mac68k_bsrms2_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int16_t * a,size_t c) argument
537 mac68k_bsrm4(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int32_t * a,size_t c) argument
553 mac68k_bsrm4_swap(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int32_t * a,size_t c) argument
573 mac68k_bsrm4_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int32_t * a,size_t c) argument
582 mac68k_bsrms4_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int32_t * a,size_t c) argument
591 mac68k_bsrr1(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int8_t * a,size_t c) argument
607 mac68k_bsrr1_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int8_t * a,size_t c) argument
617 mac68k_bsrr2(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int16_t * a,size_t c) argument
633 mac68k_bsrr2_swap(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int16_t * a,size_t c) argument
651 mac68k_bsrr2_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int16_t * a,size_t c) argument
661 mac68k_bsrrs2_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int16_t * a,size_t c) argument
671 mac68k_bsrr4(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int32_t * a,size_t c) argument
687 mac68k_bsrr4_swap(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int32_t * a,size_t c) argument
707 mac68k_bsrr4_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int32_t * a,size_t c) argument
717 mac68k_bsrrs4_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int32_t * a,size_t c) argument
727 mac68k_bsw1(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int8_t v) argument
734 mac68k_bsw1_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int8_t v) argument
741 mac68k_bsw2(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int16_t v) argument
748 mac68k_bsw2_swap(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int16_t v) argument
756 mac68k_bsws2_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int16_t v) argument
767 mac68k_bsw2_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int16_t v) argument
777 mac68k_bsw4(bus_space_tag_t tag,bus_space_handle_t * h,bus_size_t offset,u_int32_t v) argument
784 mac68k_bsw4_swap(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int32_t v) argument
792 mac68k_bsws4_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int32_t v) argument
807 mac68k_bsw4_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int32_t v) argument
817 mac68k_bswm1(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int8_t * a,size_t c) argument
833 mac68k_bswm1_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int8_t * a,size_t c) argument
842 mac68k_bswm2(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int16_t * a,size_t c) argument
858 mac68k_bswm2_swap(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int16_t * a,size_t c) argument
876 mac68k_bswm2_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int16_t * a,size_t c) argument
885 mac68k_bswms2_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int16_t * a,size_t c) argument
894 mac68k_bswm4(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int32_t * a,size_t c) argument
910 mac68k_bswm4_swap(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int32_t * a,size_t c) argument
930 mac68k_bswm4_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int32_t * a,size_t c) argument
939 mac68k_bswms4_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int32_t * a,size_t c) argument
948 mac68k_bswr1(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int8_t * a,size_t c) argument
964 mac68k_bswr1_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int8_t * a,size_t c) argument
974 mac68k_bswr2(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int16_t * a,size_t c) argument
990 mac68k_bswr2_swap(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int16_t * a,size_t c) argument
1008 mac68k_bswr2_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int16_t * a,size_t c) argument
1018 mac68k_bswrs2_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int16_t * a,size_t c) argument
1028 mac68k_bswr4(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int32_t * a,size_t c) argument
1044 mac68k_bswr4_swap(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int32_t * a,size_t c) argument
1064 mac68k_bswr4_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int32_t * a,size_t c) argument
1074 mac68k_bswrs4_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,const u_int32_t * a,size_t c) argument
1084 mac68k_bssm1(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int8_t v,size_t c) argument
1100 mac68k_bssm1_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int8_t v,size_t c) argument
1109 mac68k_bssm2(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int16_t v,size_t c) argument
1125 mac68k_bssm2_swap(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int16_t v,size_t c) argument
1142 mac68k_bssm2_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int16_t v,size_t c) argument
1151 mac68k_bssm4(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int32_t v,size_t c) argument
1167 mac68k_bssm4_swap(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int32_t v,size_t c) argument
1186 mac68k_bssm4_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int32_t v,size_t c) argument
1195 mac68k_bssr1(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int8_t v,size_t c) argument
1211 mac68k_bssr1_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int8_t v,size_t c) argument
1221 mac68k_bssr2(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int16_t v,size_t c) argument
1237 mac68k_bssr2_swap(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int16_t v,size_t c) argument
1254 mac68k_bssr2_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int16_t v,size_t c) argument
1264 mac68k_bssr4(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int32_t v,size_t c) argument
1280 mac68k_bssr4_swap(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int32_t v,size_t c) argument
1299 mac68k_bssr4_gen(bus_space_tag_t t,bus_space_handle_t * h,bus_size_t offset,u_int32_t v,size_t c) argument
[all...]
/src/sys/external/bsd/drm/dist/bsd-core/
H A Ddrm_vm.c32 int drm_mmap(struct cdev *kdev, vm_offset_t offset, vm_paddr_t *paddr, argument
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
[all...]
/src/sys/rump/dev/lib/libpci/
H A Drumpdev_bus_space.c74 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_
73 bus_space_read_1(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset) argument
93 bus_space_read_2(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset) argument
113 bus_space_read_4(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset) argument
133 bus_space_read_multi_1(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,uint8_t * datap,bus_size_t count) argument
144 bus_space_read_multi_2(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,uint16_t * datap,bus_size_t count) argument
155 bus_space_read_multi_4(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,uint32_t * datap,bus_size_t count) argument
166 bus_space_write_1(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,uint8_t v) argument
183 bus_space_write_2(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,uint16_t v) argument
200 bus_space_write_4(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,uint32_t v) argument
217 bus_space_write_multi_1(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,const uint8_t * datap,bus_size_t count) argument
230 bus_space_write_multi_2(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,const uint16_t * datap,bus_size_t count) argument
243 bus_space_write_multi_4(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,const uint32_t * datap,bus_size_t count) argument
264 bus_space_subregion(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,bus_size_t size,bus_space_handle_t * nhandlep) argument
284 bus_space_barrier(bus_space_tag_t bst,bus_space_handle_t bsh,bus_size_t offset,bus_size_t len,int flags) argument
[all...]
/src/sys/arch/sh3/dev/
H A Dshpcic.c401 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) argument
454 u_long adr = (u_long)(bsh + offset)
400 shpcic_iomem_subregion(void * v,bus_space_handle_t bsh,bus_size_t offset,bus_size_t size,bus_space_handle_t * nbshp) argument
460 __shpcic_io_read_2(bus_space_handle_t bsh,bus_size_t offset) argument
468 __shpcic_io_read_4(bus_space_handle_t bsh,bus_size_t offset) argument
476 __shpcic_mem_read_1(bus_space_handle_t bsh,bus_size_t offset) argument
484 __shpcic_mem_read_2(bus_space_handle_t bsh,bus_size_t offset) argument
492 __shpcic_mem_read_4(bus_space_handle_t bsh,bus_size_t offset) argument
503 shpcic_io_read_1(void * v,bus_space_handle_t bsh,bus_size_t offset) argument
513 shpcic_io_read_2(void * v,bus_space_handle_t bsh,bus_size_t offset) argument
523 shpcic_io_read_4(void * v,bus_space_handle_t bsh,bus_size_t offset) argument
533 shpcic_mem_read_1(void * v,bus_space_handle_t bsh,bus_size_t offset) argument
543 shpcic_mem_read_2(void * v,bus_space_handle_t bsh,bus_size_t offset) argument
553 shpcic_mem_read_4(void * v,bus_space_handle_t bsh,bus_size_t offset) argument
566 shpcic_io_read_multi_1(void * v,bus_space_handle_t bsh,bus_size_t offset,uint8_t * addr,bus_size_t count) argument
576 shpcic_io_read_multi_2(void * v,bus_space_handle_t bsh,bus_size_t offset,uint16_t * addr,bus_size_t count) argument
586 shpcic_io_read_multi_4(void * v,bus_space_handle_t bsh,bus_size_t offset,uint32_t * addr,bus_size_t count) argument
596 shpcic_mem_read_multi_1(void * v,bus_space_handle_t bsh,bus_size_t offset,uint8_t * addr,bus_size_t count) argument
606 shpcic_mem_read_multi_2(void * v,bus_space_handle_t bsh,bus_size_t offset,uint16_t * addr,bus_size_t count) argument
616 shpcic_mem_read_multi_4(void * v,bus_space_handle_t bsh,bus_size_t offset,uint32_t * addr,bus_size_t count) argument
630 shpcic_io_read_region_1(void * v,bus_space_handle_t bsh,bus_size_t offset,uint8_t * addr,bus_size_t count) argument
641 shpcic_io_read_region_2(void * v,bus_space_handle_t bsh,bus_size_t offset,uint16_t * addr,bus_size_t count) argument
652 shpcic_io_read_region_4(void * v,bus_space_handle_t bsh,bus_size_t offset,uint32_t * addr,bus_size_t count) argument
663 shpcic_mem_read_region_1(void * v,bus_space_handle_t bsh,bus_size_t offset,uint8_t * addr,bus_size_t count) argument
674 shpcic_mem_read_region_2(void * v,bus_space_handle_t bsh,bus_size_t offset,uint16_t * addr,bus_size_t count) argument
685 shpcic_mem_read_region_4(void * v,bus_space_handle_t bsh,bus_size_t offset,uint32_t * addr,bus_size_t count) argument
710 __shpcic_io_write_1(bus_space_handle_t bsh,bus_size_t offset,uint8_t value) argument
719 __shpcic_io_write_2(bus_space_handle_t bsh,bus_size_t offset,uint16_t value) argument
728 __shpcic_io_write_4(bus_space_handle_t bsh,bus_size_t offset,uint32_t value) argument
737 __shpcic_mem_write_1(bus_space_handle_t bsh,bus_size_t offset,uint8_t value) argument
746 __shpcic_mem_write_2(bus_space_handle_t bsh,bus_size_t offset,uint16_t value) argument
755 __shpcic_mem_write_4(bus_space_handle_t bsh,bus_size_t offset,uint32_t value) argument
767 shpcic_io_write_1(void * v,bus_space_handle_t bsh,bus_size_t offset,uint8_t value) argument
775 shpcic_io_write_2(void * v,bus_space_handle_t bsh,bus_size_t offset,uint16_t value) argument
783 shpcic_io_write_4(void * v,bus_space_handle_t bsh,bus_size_t offset,uint32_t value) argument
791 shpcic_mem_write_1(void * v,bus_space_handle_t bsh,bus_size_t offset,uint8_t value) argument
799 shpcic_mem_write_2(void * v,bus_space_handle_t bsh,bus_size_t offset,uint16_t value) argument
807 shpcic_mem_write_4(void * v,bus_space_handle_t bsh,bus_size_t offset,uint32_t value) argument
818 shpcic_io_write_multi_1(void * v,bus_space_handle_t bsh,bus_size_t offset,const uint8_t * addr,bus_size_t count) argument
828 shpcic_io_write_multi_2(void * v,bus_space_handle_t bsh,bus_size_t offset,const uint16_t * addr,bus_size_t count) argument
838 shpcic_io_write_multi_4(void * v,bus_space_handle_t bsh,bus_size_t offset,const uint32_t * addr,bus_size_t count) argument
848 shpcic_mem_write_multi_1(void * v,bus_space_handle_t bsh,bus_size_t offset,const uint8_t * addr,bus_size_t count) argument
858 shpcic_mem_write_multi_2(void * v,bus_space_handle_t bsh,bus_size_t offset,const uint16_t * addr,bus_size_t count) argument
868 shpcic_mem_write_multi_4(void * v,bus_space_handle_t bsh,bus_size_t offset,const uint32_t * addr,bus_size_t count) argument
881 shpcic_io_write_region_1(void * v,bus_space_handle_t bsh,bus_size_t offset,const uint8_t * addr,bus_size_t count) argument
892 shpcic_io_write_region_2(void * v,bus_space_handle_t bsh,bus_size_t offset,const uint16_t * addr,bus_size_t count) argument
903 shpcic_io_write_region_4(void * v,bus_space_handle_t bsh,bus_size_t offset,const uint32_t * addr,bus_size_t count) argument
914 shpcic_mem_write_region_1(void * v,bus_space_handle_t bsh,bus_size_t offset,const uint8_t * addr,bus_size_t count) argument
925 shpcic_mem_write_region_2(void * v,bus_space_handle_t bsh,bus_size_t offset,const uint16_t * addr,bus_size_t count) argument
936 shpcic_mem_write_region_4(void * v,bus_space_handle_t bsh,bus_size_t offset,const uint32_t * addr,bus_size_t count) argument
950 shpcic_io_set_multi_1(void * v,bus_space_handle_t bsh,bus_size_t offset,uint8_t value,bus_size_t count) argument
960 shpcic_io_set_multi_2(void * v,bus_space_handle_t bsh,bus_size_t offset,uint16_t value,bus_size_t count) argument
970 shpcic_io_set_multi_4(void * v,bus_space_handle_t bsh,bus_size_t offset,uint32_t value,bus_size_t count) argument
980 shpcic_mem_set_multi_1(void * v,bus_space_handle_t bsh,bus_size_t offset,uint8_t value,bus_size_t count) argument
990 shpcic_mem_set_multi_2(void * v,bus_space_handle_t bsh,bus_size_t offset,uint16_t value,bus_size_t count) argument
1000 shpcic_mem_set_multi_4(void * v,bus_space_handle_t bsh,bus_size_t offset,uint32_t value,bus_size_t count) argument
1013 shpcic_io_set_region_1(void * v,bus_space_handle_t bsh,bus_size_t offset,uint8_t value,bus_size_t count) argument
1024 shpcic_io_set_region_2(void * v,bus_space_handle_t bsh,bus_size_t offset,uint16_t value,bus_size_t count) argument
1035 shpcic_io_set_region_4(void * v,bus_space_handle_t bsh,bus_size_t offset,uint32_t value,bus_size_t count) argument
1046 shpcic_mem_set_region_1(void * v,bus_space_handle_t bsh,bus_size_t offset,uint8_t value,bus_size_t count) argument
1057 shpcic_mem_set_region_2(void * v,bus_space_handle_t bsh,bus_size_t offset,uint16_t value,bus_size_t count) argument
1068 shpcic_mem_set_region_4(void * v,bus_space_handle_t bsh,bus_size_t offset,uint32_t value,bus_size_t count) argument
[all...]
H A Dshpcicvar.h53 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_
[all...]
/src/usr.sbin/fstyp/
H A Dhammer_disk.h88 #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)
[all...]
/src/sys/ddb/
H A Ddb_print.c53 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/
H A Dbios_parser_helper.h33 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/gpl2/dts/dist/include/dt-bindings/gpio/
H A Dtegra186-gpio.h43 #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)
H A Dtegra194-gpio.h50 #define TEGRA194_MAIN_GPIO(port, offset) \
51 ((TEGRA194_MAIN_GPIO_PORT_##port * 8) + offset)
60 #define TEGRA194_AON_GPIO(port, offset) \
61 ((TEGRA194_AON_GPIO_PORT_##port * 8) + offset)

Completed in 20 milliseconds

1234567891011>>