Home
last modified time | relevance | path

Searched refs:rdreg (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/i86pc/io/ioat/
H A Dioat_ioctl.c109 ioat_ioctl_rdreg_t rdreg; in ioat_ioctl_rdreg() local
113 e = ddi_copyin(arg, &rdreg, sizeof (ioat_ioctl_rdreg_t), mode); in ioat_ioctl_rdreg()
122 switch (rdreg.size) { in ioat_ioctl_rdreg()
124 rdreg.data = (uint64_t)ddi_get8(state->is_reg_handle, in ioat_ioctl_rdreg()
125 (uint8_t *)&state->is_genregs[rdreg.addr]); in ioat_ioctl_rdreg()
128 rdreg.data = (uint64_t)ddi_get16(state->is_reg_handle, in ioat_ioctl_rdreg()
129 (uint16_t *)&state->is_genregs[rdreg.addr]); in ioat_ioctl_rdreg()
132 rdreg.data = (uint64_t)ddi_get32(state->is_reg_handle, in ioat_ioctl_rdreg()
133 (uint32_t *)&state->is_genregs[rdreg.addr]); in ioat_ioctl_rdreg()
136 rdreg.data = (uint64_t)ddi_get64(state->is_reg_handle, in ioat_ioctl_rdreg()
[all …]
/titanic_41/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_ioctl.c201 hci1394_ioctl_rdreg_t rdreg; in hci1394_ioctl_rdreg() local
209 status = ddi_copyin(arg, &rdreg, sizeof (hci1394_ioctl_rdreg_t), mode); in hci1394_ioctl_rdreg()
218 hci1394_ohci_reg_read(soft_state->ohci, rdreg.addr, &rdreg.data); in hci1394_ioctl_rdreg()
220 status = ddi_copyout(&rdreg, arg, sizeof (hci1394_ioctl_rdreg_t), mode); in hci1394_ioctl_rdreg()
/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_ioctl.c1331 tavor_ddr_read_ioctl_t rdreg; in tavor_ioctl_ddr_read() local
1349 if (ddi_copyin((void *)arg, &rdreg, sizeof (tavor_ddr_read_ioctl_t), in tavor_ioctl_ddr_read()
1360 if (rdreg.tdr_revision != TAVOR_VTS_IOCTL_REVISION) { in tavor_ioctl_ddr_read()
1370 if ((uint64_t)rdreg.tdr_offset >= ddr_size) { in tavor_ioctl_ddr_read()
1381 addr = (uint32_t *)((baseaddr + rdreg.tdr_offset) & ~0x3); in tavor_ioctl_ddr_read()
1384 rdreg.tdr_data = ddi_get32(state->ts_reg_cmdhdl, addr); in tavor_ioctl_ddr_read()
1387 if (ddi_copyout(&rdreg, (void *)arg, sizeof (tavor_ddr_read_ioctl_t), in tavor_ioctl_ddr_read()
1407 tavor_reg_ioctl_t rdreg; in tavor_ioctl_reg_read() local
1426 status = ddi_copyin((void *)arg, &rdreg, sizeof (tavor_reg_ioctl_t), in tavor_ioctl_reg_read()
1436 switch (rdreg.trg_reg_set) { in tavor_ioctl_reg_read()
[all …]
/titanic_41/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_ioctl.c1225 hermon_reg_ioctl_t rdreg; in hermon_ioctl_reg_read() local
1243 status = ddi_copyin((void *)arg, &rdreg, sizeof (hermon_reg_ioctl_t), in hermon_ioctl_reg_read()
1250 switch (rdreg.arg_reg_set) { in hermon_ioctl_reg_read()
1267 addr = (uint32_t *)((baseaddr + rdreg.arg_offset) & ~0x3); in hermon_ioctl_reg_read()
1274 rdreg.arg_data = ddi_get32(handle, addr); in hermon_ioctl_reg_read()
1281 status = ddi_copyout(&rdreg, (void *)arg, sizeof (hermon_reg_ioctl_t), in hermon_ioctl_reg_read()