Searched refs:off0 (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_hw.c | 1241 int i, j, ret = 0, loop, sz[2], off0; in unm_nic_pci_mem_write_128M() local 1253 off0 = off & 0x7; in unm_nic_pci_mem_write_128M() 1254 sz[0] = (size < (8 - off0)) ? size : (8 - off0); in unm_nic_pci_mem_write_128M() 1256 loop = ((off0 + size - 1) >> 3) + 1; in unm_nic_pci_mem_write_128M() 1260 if ((size != 8) || (off0 != 0)) { in unm_nic_pci_mem_write_128M() 1283 word[0] &= ~((~(~0ULL << (sz[0] * 8))) << (off0 * 8)); in unm_nic_pci_mem_write_128M() 1284 word[0] |= tmpw << (off0 * 8); in unm_nic_pci_mem_write_128M() 1334 int i, j = 0, k, start, end, loop, sz[2], off0[2]; in unm_nic_pci_mem_read_128M() local 1346 off0[0] = off & 0x7; in unm_nic_pci_mem_read_128M() 1347 off0[1] = 0; in unm_nic_pci_mem_read_128M() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_nx.c | 770 uint64_t off8, off0[2], val, mem_crb, word[2] = {0, 0}; in ql_8021_pci_mem_read_2M() local 788 off0[0] = off & 0xf; in ql_8021_pci_mem_read_2M() 789 sz[0] = (uint32_t)(((uint64_t)size < (16 - off0[0])) ? size : in ql_8021_pci_mem_read_2M() 790 (16 - off0[0])); in ql_8021_pci_mem_read_2M() 794 off0[0] = off & 0x7; in ql_8021_pci_mem_read_2M() 795 sz[0] = (uint32_t)(((uint64_t)size < (8 - off0[0])) ? size : in ql_8021_pci_mem_read_2M() 796 (8 - off0[0])); in ql_8021_pci_mem_read_2M() 799 loop = (uint32_t)(((off0[0] + size - 1) >> shift_amount) + 1); in ql_8021_pci_mem_read_2M() 800 off0[1] = 0; in ql_8021_pci_mem_read_2M() 831 start = off0[i] >> 2; in ql_8021_pci_mem_read_2M() [all …]
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_sysevent.c | 222 off64_t off, off0; in sysev_replay() local 264 off = off0 = lseek64(fd, -off, SEEK_END) & -DUMP_OFFSET; in sysev_replay() 308 if (off == off0) in sysev_replay()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | devinfo.c | 3386 di_off_t off, off0, *tmp; in di_getprvdata() local 3406 off0 = DI_ALIGN(pdp->bytes); /* XXX remove DI_ALIGN */ in di_getprvdata() 3466 if ((size <= 0) || (size > (DI_MAX_PRIVDATA - off0))) { in di_getprvdata() 3473 *tmp = off0; in di_getprvdata() 3474 bcopy(ptr, di_mem_addr(st, off + off0), size); in di_getprvdata() 3475 off0 += DI_ALIGN(size); /* XXX remove DI_ALIGN */ in di_getprvdata() 3486 return (off + off0); in di_getprvdata()
|