Searched refs:dti (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/lib/fm/topo/modules/common/nic/ |
H A D | topo_nic.c | 52 dld_ioc_tranio_t dti; in nic_create_transceiver() local 74 bzero(&dti, sizeof (dti)); in nic_create_transceiver() 75 dti.dti_linkid = linkid; in nic_create_transceiver() 76 dti.dti_tran_id = tranid; in nic_create_transceiver() 77 dti.dti_page = 0xa0; in nic_create_transceiver() 78 dti.dti_nbytes = sizeof (buf); in nic_create_transceiver() 79 dti.dti_buf = (uintptr_t)buf; in nic_create_transceiver() 81 if (ioctl(dladm_dld_fd(handle), DLDIOC_READTRAN, &dti) == 0) { in nic_create_transceiver() 85 if (libsff_parse(buf, dti.dti_nbytes, dti.dti_page, in nic_create_transceiver()
|
/titanic_50/usr/src/cmd/dlutil/ |
H A D | dltraninfo.c | 105 dld_ioc_tranio_t dti; in dltran_read_page() local 108 bzero(&dti, sizeof (dti)); in dltran_read_page() 110 dti.dti_linkid = link; in dltran_read_page() 111 dti.dti_tran_id = tranid; in dltran_read_page() 112 dti.dti_page = page; in dltran_read_page() 113 dti.dti_nbytes = *buflen; in dltran_read_page() 114 dti.dti_off = 0; in dltran_read_page() 115 dti.dti_buf = (uintptr_t)(void *)bufp; in dltran_read_page() 117 if (ioctl(dladm_dld_fd(dltran_hdl), DLDIOC_READTRAN, &dti) != 0) { in dltran_read_page() 123 *buflen = dti.dti_nbytes; in dltran_read_page()
|
/titanic_50/usr/src/uts/common/io/dld/ |
H A D | dld_drv.c | 1366 dld_ioc_tranio_t *dti = karg; in drv_ioc_readtran() local 1373 if (dti->dti_nbytes != 256 || dti->dti_off != 0) in drv_ioc_readtran() 1376 if ((ret = mac_perim_enter_by_linkid(dti->dti_linkid, &mph)) != 0) in drv_ioc_readtran() 1379 if ((ret = dls_devnet_hold_link(dti->dti_linkid, &dlh, &dlp)) != 0) in drv_ioc_readtran() 1391 if ((ret = mac_transceiver_read(dlp->dl_mh, dti->dti_tran_id, in drv_ioc_readtran() 1392 dti->dti_page, buf, dti->dti_nbytes, dti->dti_off, &nr)) == 0) { in drv_ioc_readtran() 1393 dti->dti_nbytes = nr; in drv_ioc_readtran() 1394 ret = ddi_copyout(buf, (void *)(uintptr_t)dti->dti_buf, in drv_ioc_readtran()
|