Searched refs:off0 (Results 1 – 4 of 4) sorted by relevance
/titanic_50/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_hw.c | 1239 int i, j, ret = 0, loop, sz[2], off0; in unm_nic_pci_mem_write_128M() local 1251 off0 = off & 0x7; in unm_nic_pci_mem_write_128M() 1252 sz[0] = (size < (8 - off0)) ? size : (8 - off0); in unm_nic_pci_mem_write_128M() 1254 loop = ((off0 + size - 1) >> 3) + 1; in unm_nic_pci_mem_write_128M() 1258 if ((size != 8) || (off0 != 0)) { in unm_nic_pci_mem_write_128M() 1281 word[0] &= ~((~(~0ULL << (sz[0] * 8))) << (off0 * 8)); in unm_nic_pci_mem_write_128M() 1282 word[0] |= tmpw << (off0 * 8); in unm_nic_pci_mem_write_128M() 1332 int i, j = 0, k, start, end, loop, sz[2], off0[2]; in unm_nic_pci_mem_read_128M() local 1344 off0[0] = off & 0x7; in unm_nic_pci_mem_read_128M() 1345 off0[1] = 0; in unm_nic_pci_mem_read_128M() [all …]
|
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_nx.c | 767 uint64_t off8, off0[2], val, mem_crb, word[2] = {0, 0}; in ql_8021_pci_mem_read_2M() local 785 off0[0] = off & 0xf; in ql_8021_pci_mem_read_2M() 786 sz[0] = (uint32_t)(((uint64_t)size < (16 - off0[0])) ? size : in ql_8021_pci_mem_read_2M() 787 (16 - off0[0])); in ql_8021_pci_mem_read_2M() 791 off0[0] = off & 0x7; in ql_8021_pci_mem_read_2M() 792 sz[0] = (uint32_t)(((uint64_t)size < (8 - off0[0])) ? size : in ql_8021_pci_mem_read_2M() 793 (8 - off0[0])); in ql_8021_pci_mem_read_2M() 796 loop = (uint32_t)(((off0[0] + size - 1) >> shift_amount) + 1); in ql_8021_pci_mem_read_2M() 797 off0[1] = 0; in ql_8021_pci_mem_read_2M() 828 start = off0[i] >> 2; in ql_8021_pci_mem_read_2M() [all …]
|
/titanic_50/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()
|
/titanic_50/usr/src/uts/common/io/ |
H A D | devinfo.c | 3384 di_off_t off, off0, *tmp; in di_getprvdata() local 3404 off0 = DI_ALIGN(pdp->bytes); /* XXX remove DI_ALIGN */ in di_getprvdata() 3464 if ((size <= 0) || (size > (DI_MAX_PRIVDATA - off0))) { in di_getprvdata() 3471 *tmp = off0; in di_getprvdata() 3472 bcopy(ptr, di_mem_addr(st, off + off0), size); in di_getprvdata() 3473 off0 += DI_ALIGN(size); /* XXX remove DI_ALIGN */ in di_getprvdata() 3484 return (off + off0); in di_getprvdata()
|