Home
last modified time | relevance | path

Searched refs:tmpw (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_hw.c1243 __uint64_t off8, mem_crb, tmpw, word[2] = {0, 0}; in unm_nic_pci_mem_write_128M() local
1270 tmpw = *((__uint8_t *)data); in unm_nic_pci_mem_write_128M()
1273 tmpw = *((__uint16_t *)data); in unm_nic_pci_mem_write_128M()
1276 tmpw = *((__uint32_t *)data); in unm_nic_pci_mem_write_128M()
1280 tmpw = *((__uint64_t *)data); in unm_nic_pci_mem_write_128M()
1284 word[0] |= tmpw << (off0 * 8); in unm_nic_pci_mem_write_128M()
1288 word[1] |= tmpw >> (sz[0] * 8); in unm_nic_pci_mem_write_128M()
1429 __uint64_t off8, mem_crb, tmpw, word[2] = {0, 0}; in unm_nic_pci_mem_write_2M() local
1460 tmpw = *((__uint8_t *)data); in unm_nic_pci_mem_write_2M()
1463 tmpw = *((__uint16_t *)data); in unm_nic_pci_mem_write_2M()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_nx.c881 uint64_t off8, off0, mem_crb, tmpw, word[2] = {0, 0}; in ql_8021_pci_mem_write_2M() local
928 tmpw = (uint64_t)(*((uint8_t *)data)); in ql_8021_pci_mem_write_2M()
931 tmpw = (uint64_t)(*((uint16_t *)data)); in ql_8021_pci_mem_write_2M()
934 tmpw = (uint64_t)(*((uint32_t *)data)); in ql_8021_pci_mem_write_2M()
938 tmpw = *((uint64_t *)data); in ql_8021_pci_mem_write_2M()
944 word[startword] = tmpw; in ql_8021_pci_mem_write_2M()
948 word[startword] |= tmpw << (off0 * 8); in ql_8021_pci_mem_write_2M()
952 word[startword + 1] |= tmpw >> (sz[0] * 8); in ql_8021_pci_mem_write_2M()
956 word[startword] |= tmpw << (off0 * 8); in ql_8021_pci_mem_write_2M()
960 word[1] |= tmpw >> (sz[0] * 8); in ql_8021_pci_mem_write_2M()