/src/sys/arch/i386/pci/ |
opti82c700.c | 131 opti82c700_addr(int link, int *addrofs, int *ofs) 146 *ofs = (regofs & 3) << 3; 155 *ofs = regofs << 2; 199 int val, addrofs, ofs; local in function:opti82c700_get_intr 201 if (opti82c700_addr(clink, &addrofs, &ofs)) 205 val = (reg >> ofs) & FIRESTAR_CFG_PIRQ_MASK; 217 int addrofs, ofs; local in function:opti82c700_set_intr 223 if (opti82c700_addr(clink, &addrofs, &ofs)) 227 reg &= ~(FIRESTAR_CFG_PIRQ_MASK << ofs); 228 reg |= (irq << ofs); 238 int i, val, addrofs, ofs; local in function:opti82c700_get_trigger 284 int i, val, addrofs, ofs; local in function:opti82c700_set_trigger [all...] |
/src/sys/external/bsd/drm/dist/shared-core/ |
sis_ds.h | 87 int ofs, size; member in struct:mem_block_t 105 return b->ofs; 117 memHeap_t *mmInit(int ofs, int size);
|
mach64_state.c | 446 u32 head, tail, ofs; local in function:mach64_do_get_frames_queued 469 ofs = dev_priv->frame_ofs[i]; 470 DRM_DEBUG("frame_ofs[%d] ofs: %d\n", i, ofs); 471 if (ofs == ~0 || 472 (head < tail && (ofs < head || ofs >= tail)) || 473 (head > tail && (ofs < head && ofs >= tail))) {
|
mach64_dma.c | 1561 u32 head, tail, ofs; local in function:mach64_do_reclaim_completed 1590 ofs = entry->ring_ofs; 1592 ((head < tail && (ofs < head || ofs >= tail)) || 1593 (head > tail && (ofs < head && ofs >= tail)))) { 1619 "buf ring ofs=%d).\n", 1620 head, tail, ofs);
|
/src/sys/ufs/chfs/ |
chfs_write.c | 285 off_t ofs; local in function:chfs_write_flash_dnode 300 ofs = bp->b_blkno * PAGE_SIZE; 301 len = MIN((vp->v_size - ofs), bp->b_resid); 311 dnode->offset = htole64(ofs); 334 fd->ofs = ofs; 502 dbg("FD->NREF vno: %llu, lnr: %u, ofs: %u\n", 510 dbg("FD->NREF vno: %llu, lnr: %u, ofs: %u\n",
|
chfs_scan.c | 103 struct chfs_eraseblock *cheb, void *buf, off_t ofs) 142 nref->nref_offset = ofs; 279 struct chfs_eraseblock *cheb, void *buf, off_t ofs) 333 fd->nref->nref_offset = ofs; 352 struct chfs_eraseblock *cheb, void *buf, off_t ofs) 377 nref->nref_offset = CHFS_GET_OFS(ofs) | CHFS_UNCHECKED_NODE_MASK; 433 off_t ofs = 0; local in function:chfs_scan_eraseblock 444 while((ofs + CHFS_NODE_HDR_SIZE) < chmp->chm_ebh->eb_size) { 447 lnr, buf, ofs, CHFS_NODE_HDR_SIZE, &retlen); 469 ofs += CHFS_NODE_HDR_SIZE [all...] |
chfs_gc.c | 708 uint32_t ofs, crc; local in function:chfs_gcollect_pristine 717 ofs = CHFS_GET_OFS(nref->nref_offset); 720 ret = chfs_read_leb(chmp, nref->nref_lnr, data, ofs, totlen, &retlen); 803 ofs = chmp->chm_ebh->eb_size - chmp->chm_nextblock->free_size; 804 newnref->nref_offset = ofs; 810 ret = chfs_write_wbuf(chmp, &vec, 1, ofs, &retlen); 882 end = frag->ofs + frag->size; 884 start = frag->ofs; 1154 newfn->ofs = fn->ofs; [all...] |
chfs_readinode.c | 85 return (tdi1->tmpnode->node->ofs - tdi2->tmpnode->node->ofs); 92 uint64_t ofs = *(const uint64_t *)key; local in function:tmp_node_compare_key 94 return (tdi->tmpnode->node->ofs - ofs); 112 return (frag1->ofs - frag2->ofs); 119 uint64_t ofs = *(const uint64_t *)key; local in function:frag_compare_key 121 return (frag->ofs - ofs); 147 uint64_t ofs; local in function:chfs_check_td_data 1102 off_t ofs; local in function:chfs_read_data [all...] |
ebh.c | 147 off_t ofs = pebnr * ebh->flash_if->erasesize; local in function:nor_read_eb_hdr 152 ofs, CHFS_EB_EC_HDR_SIZE, 158 ofs += CHFS_EB_EC_HDR_SIZE; 160 ofs, CHFS_EB_HDR_NOR_SIZE, 185 off_t ofs; local in function:nand_read_eb_hdr 190 ofs = pebnr * ebh->flash_if->erasesize; 192 ofs, CHFS_EB_EC_HDR_SIZE, &retlen, 198 ofs += ebh->flash_if->page_size; 200 ofs, CHFS_EB_HDR_NAND_SIZE, &retlen, 224 off_t ofs = pebnr * ebh->flash_if->erasesize + CHFS_EB_EC_HDR_SIZE local in function:nor_write_eb_hdr 261 flash_off_t ofs; local in function:nand_write_eb_hdr 439 off_t ofs; local in function:nor_mark_eb_hdr_dirty_flash 472 off_t ofs; local in function:nor_invalidate_eb_hdr 508 off_t ofs; local in function:mark_eb_hdr_free 933 off_t ofs; local in function:free_peb [all...] |
/src/sys/fs/v7fs/ |
v7fs_inode.c | 223 v7fs_daddr_t blk, ofs; local in function:v7fs_inode_load 227 if (v7fs_inode_inquire_disk_location(fs, n, &blk, &ofs) != 0) 239 v7fs_inode_setup_memory_image(fs, p, di + ofs); 254 v7fs_daddr_t ofs; local in function:v7fs_inode_writeback 258 if (v7fs_inode_inquire_disk_location(fs, ino, &blk, &ofs) != 0) 269 di[ofs] = disk; /* structure copy; */ 284 v7fs_daddr_t ofs, blk; local in function:v7fs_inode_inquire_disk_location 288 ofs = (n - 1/*inode start from 1*/) * 290 blk = ofs >> V7FS_BSHIFT; 293 *offset = (ofs - blk * V7FS_BSIZE) [all...] |
/src/sys/arch/hpc/stand/hpcboot/ |
file_http.cpp | 222 HttpFile::_read_from_cache(void *buf, size_t bytes, off_t ofs) 226 if (ofs >= _buffer_size) 229 transfer = ofs + bytes > _buffer_size ? _buffer_size - ofs : bytes; 231 memcpy(buf, &_buffer[ofs], transfer); 248 off_t ofs; local in function:HttpFile::read 251 ofs = offset; 253 ofs = _cur_pos; 258 return _read_from_cache(buf, bytes, ofs); 286 return _read_from_cache(buf, bytes, ofs); [all...] |
memory.cpp | 323 vaddr_t ofs; local in function:MemoryManager_VirtualCopy::searchBank 350 ofs = checkMagicRegion(vaddr_t(ref), BLOCK_SIZE, _page_size); 359 if (ofs != ~0) { 360 pfound = paddr + ofs;
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dsc/ |
rc_calc.h | 49 qp_set ofs; member in struct:rc_params
|
/src/sbin/gpt/ |
migrate.c | 176 off_t ofs, rawofs; local in function:migrate_disklabel 199 ofs = le32toh(dl->d_partitions[i].p_offset) * 201 if (ofs < rawofs) 221 ofs = (le32toh(dl->d_partitions[i].p_offset) * 223 ofs = (ofs > 0) ? ofs - rawofs : 0; 224 ent->ent_lba_start = htole64((uint64_t)ofs); 225 ent->ent_lba_end = htole64((uint64_t)(ofs +
|
gpt.c | 249 off_t ofs; local in function:gpt_read 257 ofs = lba * gpt->secsz; 258 if (lseek(gpt->fd, ofs, SEEK_SET) == ofs && 269 off_t ofs; local in function:gpt_write 273 ofs = map->map_start * gpt->secsz; 274 if (lseek(gpt->fd, ofs, SEEK_SET) != ofs ||
|
/src/lib/libc/citrus/ |
citrus_db_factory.c | 267 size_t i, ofs, keyofs, dataofs, nextofs; local in function:_citrus_db_factory_serialize 270 ofs = 0; 273 dump_header(r, magic, &ofs, 0); 313 dump_header(r, magic, &ofs, df->df_num_entries); 324 put32(r, &ofs, de->de_hashvalue); 325 put32(r, &ofs, nextofs); 326 put32(r, &ofs, keyofs); 327 put32(r, &ofs, _region_size(&de->de_key)); 328 put32(r, &ofs, dataofs); 329 put32(r, &ofs, _region_size(&de->de_data)) [all...] |
/src/sys/arch/mac68k/nubus/ |
nubus.c | 334 u_long ofs, hdr; local in function:nubus_probe_slot 354 ofs = NBMEMSIZE; 358 ofs--; 360 if (!mac68k_bus_space_probe(bst, bsh, ofs, 1)) { 364 if (bus_space_read_1(bst, bsh, ofs) == 539 u_long ofs) 541 return bus_space_read_1(bst, bsh, ofs); 548 u_long ofs) 552 s = (nubus_read_1(bst, bsh, lanes, ofs) << 8); 553 ofs = nubus_adjust_ptr(lanes, ofs, 1) [all...] |
/src/usr.bin/csplit/ |
csplit.c | 370 long ofs; local in function:do_rexp 385 ofs = strtol(pofs, &ep, 10); 389 ofs = 0; 416 if (ofs <= 0) { 422 toomuch(ofp, -ofs + 1); 431 while (--ofs > 0 && (p = get_line()) != NULL)
|
/src/sys/arch/hpcmips/tx/ |
tx39icu.c | 352 int ofs; local in function:TX_INTR 357 ofs = TX39_INTRSTATUS_REG(i); 361 tx_conf_write(tc, ofs, reg); 442 int i, pri, ofs, set; local in function:tx39_irqhigh_intr 466 ofs = TX39_INTRSTATUS_REG(set); 468 tx_conf_write(tc, ofs, he_mask); 554 int bit, set, highpri, ofs; local in function:tx_intr_establish 572 ofs = TX39_INTRENABLE_REG(set); 573 reg = tx_conf_read(tc, ofs); 575 tx_conf_write(tc, ofs, reg) 586 int set, bit, highpri, ofs; local in function:tx_intr_disestablish 726 int i, j, ofs; local in function:tx39_intr_dump [all...] |
txcom.c | 310 int slot, ofs; local in function:txcom_reset 315 ofs = TX39_UARTCTRL1_REG(slot); 323 tx_conf_write(tc, ofs, 0); 331 int slot, ofs, timeout; local in function:txcom_enable 335 ofs = TX39_UARTCTRL1_REG(slot); 355 reg = tx_conf_read(tc, ofs); 357 tx_conf_write(tc, ofs, reg); 360 reg = tx_conf_read(tc, ofs); 363 tx_conf_write(tc, ofs, reg); 367 while(!(tx_conf_read(tc, ofs) & TX39_UARTCTRL1_UARTON) & 408 int ofs = TX39_UARTCTRL1_REG(chip->sc_slot); local in function:__txcom_txbufready 424 int ofs; local in function:txcom_pulse_mode 445 int ofs, c, s; local in function:txcom_cngetc 495 int ofs = TX39_UARTCTRL1_REG(chip->sc_slot); local in function:txcom_setmode 538 int ofs = TX39_UARTCTRL1_REG(chip->sc_slot); local in function:txcom_setbaudrate [all...] |
/src/sys/arch/amiga/dev/ |
ite_cc.c | 389 int cend, ofs, h, cstart, dr_plane; local in function:cursor32 415 ofs = (ip->cursorx * ip->ftwidth); 425 BFCLR(pl, ofs, ip->ftwidth); 430 BFCHG(pl, ofs, ip->ftwidth); 449 ofs = ip->cursorx * ip->ftwidth; 453 BFSET(pl, ofs, ip->ftwidth); 458 BFCHG(pl, ofs, ip->ftwidth); 718 int ofs = sx * ip->ftwidth; local in function:clear8 725 BFCLR(ppl, ofs, ip->ftwidth); 728 ofs += ip->ftwidth [all...] |
/src/sys/dev/cardbus/ |
cardbus.c | 887 unsigned int ofs; local in function:cardbus_get_capability 893 ofs = PCI_CAPLIST_PTR(cardbus_conf_read(cc, cf, tag, 895 while (ofs != 0) { 897 if ((ofs & 3) || (ofs < 0x40)) 900 reg = cardbus_conf_read(cc, cf, tag, ofs); 903 *offset = ofs; 908 ofs = PCI_CAPLIST_NEXT(reg);
|
/src/sys/dev/ic/ |
ct65550.c | 1017 uint32_t ofs = 0x00080000; /* 512kB */ local in function:chipsfb_probe_vram 1025 bus_space_write_4(sc->sc_memt, sc->sc_fbh, ofs, 0x0f0f0f0f); 1027 (bus_space_read_4(sc->sc_memt, sc->sc_fbh, ofs) == 0x0f0f0f0f) && 1028 (ofs < 0x00400000)) { 1030 ofs += 0x00080000; 1031 bus_space_write_4(sc->sc_memt, sc->sc_fbh, ofs, 0x0f0f0f0f); 1034 return ofs;
|
/src/sys/dev/pci/ |
neo.c | 320 int ofs, sz, i; local in function:nm_loadcoeff 327 ofs = 0; 329 ofs+= coefficientSizes[num]; 331 nm_wrbuf_1(sc, sc->cbuf + i, coefficients[ofs + i]); 418 uint32_t ofs, i; local in function:nm_init 455 ofs = sc->buftop - 0x0400; 458 if ((nm_rdbuf_4(sc, ofs) & NM_SIG_MASK) == NM_SIGNATURE) { 459 i = nm_rdbuf_4(sc, ofs + 4);
|
/src/sys/arch/hpcsh/dev/hd64465/ |
hd64465pcmcia.c | 537 bus_addr_t ofs; local in function:hd64465pcmcia_chip_mem_map 557 ofs = card_addr - window * ch->ch_memsize; 558 if (bus_space_map(cookie->wc_tag, ofs, size, 0, 564 *offsetp = ofs + 0x01000000; /* skip attribute area */
|