/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_nvram.c | 278 u32_t offset, 288 DbgMessage(pdev, VERBOSEnv, "offset %d flags %d\n",offset,nvram_flags); 297 REG_WR(pdev, MCP_REG_MCPR_NVM_ADDR, offset & MCPR_NVM_ADDR_NVM_ADDR_VALUE); 343 u32_t offset, 368 REG_WR(pdev, MCP_REG_MCPR_NVM_ADDR, offset & MCPR_NVM_ADDR_NVM_ADDR_VALUE); 405 u32_t offset, 414 DbgMessage(pdev, VERBOSEnv, "offset %d size %d\n",offset,buf_size); 416 if((buf_size & 0x03) || (offset 276 nvram_read_dword( lm_device_t *pdev, u32_t offset, u32_t *ret_val, u32_t nvram_flags) argument 341 nvram_write_dword( lm_device_t *pdev, u32_t offset, u32_t val, u32_t nvram_flags) argument 403 lm_nvram_read( lm_device_t *pdev, u32_t offset, u32_t *ret_buf, u32_t buf_size) argument 480 lm_nvram_write( lm_device_t *pdev, u32_t offset, u32_t *data_buf, u32_t buf_size) argument [all...] |
/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/ |
H A D | prom_starcat.c | 100 * Request that OBP read 'len' bytes, starting at 'offset' in the IOSRAM chunk 107 prom_starcat_iosram_read(uint32_t key, uint32_t offset, uint32_t len, argument 138 ci[5] = p1275_uint2cell(offset); 162 * the IOSRAM chunk associated with 'key', starting at 'offset'. Although there 168 prom_starcat_iosram_write(uint32_t key, uint32_t offset, uint32_t len, argument 199 ci[5] = p1275_uint2cell(offset);
|
/illumos-gate/usr/src/uts/sun4u/ml/ |
H A D | mc-us3_asm.s | 45 get_mcr(int offset)
|
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_pcicfg.h | 47 extern void mc_pcicfg_put32(mc_pcicfg_hdl_t cookie, off_t offset, uint32_t val);
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | stage1_5.c | 28 disk_read_savesect_func (unsigned long long sector, int offset, int length) argument
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | pmubus.c | 396 off_t offset; local 400 offset = pmubus_mapreqp->mapreq_addr + (uintptr_t)addr; 401 offset &= PMUBUS_REGOFFSET; 416 value = pci_config_get8(softsp->pmubus_reghdl, offset) & mask; 418 DPRINTF(PMUBUS_RW_DEBUG, ("pmubus_get8: addr=%p offset=%lx value=%x " 419 "mask=%x\n", (void *)addr, offset, value, mask)); 439 off_t offset = (uintptr_t)addr & PMUBUS_REGOFFSET; local 443 offset = pmubus_mapreqp->mapreq_addr + (uintptr_t)addr; 444 offset &= PMUBUS_REGOFFSET; 459 value = pci_config_get32(softsp->pmubus_reghdl, offset) 481 off_t offset; local 535 off_t offset; local 594 off_t offset; local [all...] |
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | fseek.c | 50 fseek(FILE *iop, long offset, int ptrname) argument 66 offset -= iop->_cnt; 79 p = lseek(FILENO(iop), (off_t)offset, ptrname);
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | head.c | 92 if (opt_info.offset && argv[opt_info.index][opt_info.offset] == 'c') 95 opt_info.offset++;
|
/illumos-gate/usr/src/stand/lib/fs/common/ |
H A D | promfs.c | 43 static off_t promfs_lseek(int fd, off_t offset, int whence); 99 promfs_lseek(int fd, off_t offset, int whence) argument 101 return (prom_fseek(fsih, fd, offset));
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunpci.c | 61 pci_config_get8(ddi_acc_handle_t handle, off_t offset) argument 67 cfgaddr = hp->ah_addr + offset; 72 pci_config_get16(ddi_acc_handle_t handle, off_t offset) argument 78 cfgaddr = hp->ah_addr + offset; 83 pci_config_get32(ddi_acc_handle_t handle, off_t offset) argument 89 cfgaddr = hp->ah_addr + offset; 94 pci_config_get64(ddi_acc_handle_t handle, off_t offset) argument 100 cfgaddr = hp->ah_addr + offset; 105 pci_config_put8(ddi_acc_handle_t handle, off_t offset, uint8_t value) argument 111 cfgaddr = hp->ah_addr + offset; 116 pci_config_put16(ddi_acc_handle_t handle, off_t offset, uint16_t value) argument 127 pci_config_put32(ddi_acc_handle_t handle, off_t offset, uint32_t value) argument 138 pci_config_put64(ddi_acc_handle_t handle, off_t offset, uint64_t value) argument 158 pci_config_getb(ddi_acc_handle_t handle, off_t offset) argument 169 pci_config_getw(ddi_acc_handle_t handle, off_t offset) argument 180 pci_config_getl(ddi_acc_handle_t handle, off_t offset) argument 191 pci_config_getll(ddi_acc_handle_t handle, off_t offset) argument 202 pci_config_putb(ddi_acc_handle_t handle, off_t offset, uint8_t value) argument 213 pci_config_putw(ddi_acc_handle_t handle, off_t offset, uint16_t value) argument 224 pci_config_putl(ddi_acc_handle_t handle, off_t offset, uint32_t value) argument 235 pci_config_putll(ddi_acc_handle_t handle, off_t offset, uint64_t value) argument 385 off_t offset = 0; local 583 uint16_t cap_id, offset, status; local 784 uint16_t offset; local 811 off_t offset = 0; local [all...] |
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hpi_vmac.c | 248 uint64_t offset; local 250 offset = VMAC_RX_STAT; 251 REG_PIO_WRITE64(handle, offset, HXGE_VMAC_RX_STAT_CLEAR); 259 uint64_t offset; local 261 offset = VMAC_TX_STAT; 262 REG_PIO_WRITE64(handle, offset, HXGE_VMAC_TX_STAT_CLEAR); 271 uint64_t offset; local 280 offset = VMAC_RX_MSK; 281 REG_PIO_WRITE64(handle, offset, value); 290 uint64_t offset; local [all...] |
/illumos-gate/usr/src/uts/common/io/xge/hal/include/ |
H A D | xgehal-mgmtaux.h | 52 unsigned int offset, int bufsize, char *retbuf, int *retsize); 55 unsigned int offset, u64 value); 58 unsigned int offset, int bufsize, char *retbuf, int *retsize);
|
/illumos-gate/usr/src/uts/sparc/io/ |
H A D | devfm_machdep.c | 43 uint64_t offset; local 58 * scheme FMRI. One way is to use the "offset" and "serial" 63 * If the "offset" member is not present, then the address is 66 if (nvlist_lookup_uint64(nvl, FM_FMRI_MEM_OFFSET, &offset) != 0) { 76 err = cpu_get_mem_addr(unum, serids[0], offset, &pa);
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_dir.c | 45 int ndirentries, struct vattr *vap, offset_t offset); 137 offset_t offset; local 204 offset = pc_find_free_space(dp, ndirentries); 205 if (offset == -1) { 217 offset); 222 offset += (ndirentries - 1) * sizeof (struct pcdir); 223 boff = pc_blkoff(fsp, offset); 224 error = pc_blkatoff(dp, offset, &bp, &ep); 273 int ndirentries, struct vattr *vap, offset_t offset) 352 boff = pc_blkoff(fsp, offset); 272 pc_makedirentry(struct pcnode *dp, struct pcdir *direntries, int ndirentries, struct vattr *vap, offset_t offset) argument 490 offset_t offset; local 698 offset_t offset; local 903 offset_t offset; local 992 pc_blkatoff( struct pcnode *pcp, offset_t offset, struct buf **bpp, struct pcdir **epp) argument 1109 pc_match_long_fn(struct pcnode *pcp, char *namep, struct pcdir **epp, struct pcslot *slotp, offset_t *offset) argument 1146 pc_match_short_fn(struct pcnode *pcp, char *namep, struct pcdir **epp, struct pcslot *slotp, offset_t *offset) argument 1264 offset_t offset = 0; local 1620 int offset = 0; local [all...] |
/illumos-gate/usr/src/common/atomic/sparc/ |
H A D | atomic.s | 91 and %o0, 0x3, %o4 ! %o4 = byte offset, left-to-right 92 xor %o4, 0x3, %g1 ! %g1 = byte offset, right-to-left 93 sll %g1, 3, %g1 ! %g1 = bit offset, right-to-left 95 sll %o3, %g1, %o3 ! %o3 = shifted to bit offset 96 sll %o1, %g1, %o1 ! %o1 = shifted to bit offset 163 and %o0, 0x2, %o4 ! %o4 = byte offset, left-to-right 164 xor %o4, 0x2, %g1 ! %g1 = byte offset, right-to-left 165 sll %o4, 3, %o4 ! %o4 = bit offset, left-to-right 166 sll %g1, 3, %g1 ! %g1 = bit offset, right-to-left 168 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset [all...] |
/illumos-gate/usr/src/tools/stabs/ |
H A D | forth.c | 205 ((mlp->size % 8) != 0 || (mlp->offset % mlp->size) != 0)) { 206 int offset, shift, mask; local 208 offset = (mlp->offset / 32) * 4; 209 shift = 32 - ((mlp->offset % 32) + mlp->size); 212 format, shift, mask, offset, mlp->name); 217 format, mlp->offset / 8, mlp->name); 221 format, mlp->offset / 8, mlp->name); 225 format, mlp->offset / 8, mlp->name); 229 format, mlp->offset / [all...] |
/illumos-gate/usr/src/cmd/avs/dsstat/ |
H A D | ii_stats.c | 372 int offset; local 385 offset = strlen(vol) - NAMED_LEN; 387 if (offset < 0) 388 offset = 0; 390 (void) printf(DATA_C16, vol + offset); 472 int offset; local 483 offset = strlen(vol) - NAMED_LEN; 485 if (offset < 0) 486 offset = 0; 489 (void) printf(DATA_C16, vol + offset); 513 int offset; local 554 int offset; local 595 int offset; local [all...] |
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_die_deliv.c | 56 if a CU that includes the given offset has been read 69 _dwarf_find_CU_Context(Dwarf_Debug dbg, Dwarf_Off offset) argument 73 if (offset >= dbg->de_info_last_offset) 78 dbg->de_cu_context->cc_next->cc_debug_info_offset == offset) { 84 dbg->de_cu_context->cc_debug_info_offset <= offset) { 89 if (offset >= cu_context->cc_debug_info_offset && 90 offset < cu_context->cc_debug_info_offset + 102 if (offset >= cu_context->cc_debug_info_offset && 103 offset < cu_context->cc_debug_info_offset + 120 _dwarf_find_offdie_CU_Context(Dwarf_Debug dbg, Dwarf_Off offset) argument 153 _dwarf_make_CU_Context(Dwarf_Debug dbg, Dwarf_Off offset, Dwarf_Error * error) argument 405 Dwarf_Unsigned offset = 0; local 757 dwarf_offdie(Dwarf_Debug dbg, Dwarf_Off offset, Dwarf_Die * new_die, Dwarf_Error * error) argument [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | streval.c | 59 #define stakpush(v,val,type) ((((v)->offset=round(staktell(),pow2size(sizeof(type)))),\ 60 stakseek((v)->offset+sizeof(type)), \ 61 *((type*)stakptr((v)->offset)) = (val)),(v)->offset) 73 int offset; /* offset for pushchr macro */ member in struct:vars 718 int offset; local 724 offset = stakpush(vp,0,short); 728 *((short*)stakptr(offset)) = staktell(); 816 int offset; local 865 int offset; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_strio.c | 65 strio_seek(mdb_io_t *io, off64_t offset, int whence) argument 71 return (IOP_SEEK(io->io_next, offset, whence)); 75 nptr = sd->str_base + offset; 78 nptr = sd->str_ptr + offset; 81 nptr = sd->str_base + sd->str_len + offset;
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioHdr.cc | 138 // or offset does not span a sample frame. 143 off_t offset; local 148 offset = (off_t)(0.5 + (sec * 153 offset -= (offset % (bytes_per_unit * channels)); 154 return (offset);
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/ |
H A D | init_defs.h | 71 u32 offset:24; member in struct:raw_op 77 u32 offset:24; member in struct:op_read 83 u32 offset:24; member in struct:op_write 89 u32 offset:24; member in struct:op_arr_write 101 u32 offset:24; member in struct:op_zero
|
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_segmap.c | 60 gfxp_ddi_segmap_setup(dev_t dev, off_t offset, struct as *as, caddr_t *addrp, argument 110 * Save the pfn at offset here. This pfn will be 113 if ((pfn = (pfn_t)cdev_mmap(mapfunc, dev, offset, 117 if (cdev_mmap(mapfunc, dev, offset + i, maxprot) == 143 dev_a.offset = (offset_t)offset;
|
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_rxdma.c | 134 uint64_t value, offset; local 157 offset = NXGE_RXDMA_OFFSET(rdc_dmc_offset[i], handle.is_vraddr, 161 offset, rdc_dmc_name[i], value)); 335 uint64_t offset; local 349 offset = REG_FZC_RDC_OFFSET(RX_LOG_PAGE_HDL_REG, rdc); 350 NXGE_REG_WR64(handle, offset, page_hdl.value); 492 uint64_t offset; local 513 offset = DEF_PT_RDC_REG(portnm); 516 NXGE_REG_WR64(handle, offset, cfg.value); 642 if (RXDMA_RF_BUFF_OFFSET_VALID(rdc_desc_cfg->offset)) { 860 uint64_t offset; local 904 uint64_t offset; local 1243 uint64_t offset; local 1263 uint64_t offset; local 1280 uint64_t offset; local 1296 uint64_t offset; local 1310 uint64_t offset; local 1323 uint64_t offset; local 1336 uint64_t offset; local 1352 uint64_t offset; local 1376 uint64_t offset; local 1399 uint64_t offset; local 1475 uint64_t offset; local 1533 uint64_t offset; local 1557 uint64_t offset; local 1722 uint64_t offset; local 1760 uint64_t offset = RX_CTL_DAT_FIFO_STAT_REG; local [all...] |
/illumos-gate/usr/src/uts/sun4v/io/px/ |
H A D | px_libhv.c | 67 uint16_t offset = PCI_CONF_STAT; local 94 offset = hdr_next_ptr; 116 (void) hvio_config_get(dev_hdl, bdf, offset + PCIE_DEVCTL, 123 (void) hvio_config_put(dev_hdl, bdf, offset + PCIE_DEVCTL, 129 (void) hvio_config_get(dev_hdl, bdf, offset + PCIE_DEVCAP,
|