Home
last modified time | relevance | path

Searched refs:ldi_ioctl (Results 1 – 25 of 40) sorted by relevance

12

/titanic_41/usr/src/uts/common/io/drm/
H A Ddrm_agpsupport.c127 ret = ldi_ioctl(dev->agp->agpgart_lh, AGPIOC_ACQUIRE, in drm_agp_acquire()
150 ret = ldi_ioctl(dev->agp->agpgart_lh, AGPIOC_RELEASE, in drm_agp_release()
167 ret = ldi_ioctl(dev->agp->agpgart_lh, AGPIOC_RELEASE, in drm_agp_do_release()
198 ret = ldi_ioctl(dev->agp->agpgart_lh, AGPIOC_SETUP, in drm_agp_enable()
233 ret = ldi_ioctl(dev->agp->agpgart_lh, AGPIOC_ALLOCATE, in drm_agp_alloc()
303 ret = ldi_ioctl(dev->agp->agpgart_lh, AGPIOC_UNBIND, in drm_agp_unbind()
371 ret = ldi_ioctl(dev->agp->agpgart_lh, AGPIOC_DEALLOCATE, in drm_agp_free()
406 retval = ldi_ioctl(agp->agpgart_lh, AGPIOC_INFO, in drm_agp_init()
463 ret = ldi_ioctl(dev->agp->agpgart_lh, AGPIOC_BIND, in drm_agp_bind_memory()
490 ret = ldi_ioctl(dev->agp->agpgart_lh, AGPIOC_UNBIND, in drm_agp_unbind_memory()
[all …]
/titanic_41/usr/src/uts/common/io/
H A Dconsconfig_dacf.c466 err = ldi_ioctl(lh, CONSSETABORTENABLE, (uintptr_t)B_TRUE, in consconfig_kbd_abort_enable()
486 err = ldi_ioctl(lh, CONSSETABORTENABLE, (uintptr_t)B_FALSE, in consconfig_kbd_abort_disable()
565 err = ldi_ioctl(lh, I_STR, (intptr_t)&strioc, FKIOCTL, kcred, &rval); in consconfig_get_polledio()
780 err = ldi_ioctl(wc_lh, I_PLINK, (uintptr_t)new_lh, in consconfig_relink_wc()
789 err = ldi_ioctl(wc_lh, I_PUNLINK, *muxid, in consconfig_relink_wc()
932 if (ldi_ioctl(wc_lh, I_STR, (intptr_t)&strioc, in cons_build_upper_layer()
1087 (void) ldi_ioctl(new_lh, I_FLUSH, (intptr_t)FLUSHRW, in consconfig_prepare_dev()
1091 err = ldi_ioctl(new_lh, I_PUSH, (intptr_t)pushmod, in consconfig_prepare_dev()
1105 err = ldi_ioctl(new_lh, KIOCTRANSABLE, in consconfig_prepare_dev()
1168 err = ldi_ioctl(sp->conskbd_lh, I_PLINK, (uintptr_t)new_lh, in consconfig_relink_conskbd()
[all …]
H A Dstrplumb.c297 return (ldi_ioctl(lh, I_STR, (intptr_t)&iocb, FKIOCTL, CRED(), &rval)); in getifflags()
312 return (ldi_ioctl(lh, I_STR, (intptr_t)&iocb, FKIOCTL, CRED(), &rval)); in setifname()
359 if ((err = ldi_ioctl(lh, I_PUSH, (intptr_t)IP, FKIOCTL, CRED(), in strplumb_dev()
398 if ((err = ldi_ioctl(mux_lh, I_PLINK, (intptr_t)lh, in strplumb_dev()
426 if ((err = ldi_ioctl(lh, I_PUSH, (intptr_t)ARP, FKIOCTL, CRED(), in strplumb_dev()
435 if ((err = ldi_ioctl(mux_lh, I_PLINK, (intptr_t)lh, in strplumb_dev()
450 if ((err = ldi_ioctl(mux_lh, SIOCSIFMUXID, (intptr_t)&ifr, FKIOCTL, in strplumb_dev()
H A Dl_strplumb.c254 error = ldi_ioctl(lh, SAD_GAP, (intptr_t)&push, in kstr_autopush()
300 error = ldi_ioctl(lh, SAD_SAP, (intptr_t)&push, in kstr_autopush()
339 error = ldi_ioctl(lh, SAD_SAP, (intptr_t)&push, in kstr_autopush()
H A Dtem.c372 (void) ldi_ioctl(tems.ts_hdl, VIS_DEVFINI, 0, in tems_failed()
430 if (ldi_ioctl(tems.ts_hdl, VIS_DEVINIT, in tem_info_init()
690 (void) ldi_ioctl(tems.ts_hdl, VIS_CONSDISPLAY, in tems_display_layered()
707 (void) ldi_ioctl(tems.ts_hdl, VIS_CONSCOPY, in tems_copy_layered()
722 (void) ldi_ioctl(tems.ts_hdl, VIS_CONSCURSOR, in tems_cursor_layered()
731 (void) ldi_ioctl(tems.ts_hdl, KDSETMODE, in tem_kdsetmode()
752 (void) ldi_ioctl(tems.ts_hdl, VIS_PUTCMAP, (intptr_t)&cm, in tems_reset_colormap()
/titanic_41/usr/src/uts/intel/io/agpgart/
H A Dagpgart.c551 err = ldi_ioctl(*master_hdlp, DEVICE_DETECT, in lyr_detect_master_type()
581 err = ldi_ioctl(*target_hdlp, CHIP_DETECT, (intptr_t)&btype, in lyr_detect_target_type()
765 err = ldi_ioctl(hdl, I8XX_GET_INFO, (intptr_t)&value1, in lyr_get_info()
774 err = ldi_ioctl(hdl, I8XX_GET_PREALLOC_SIZE, in lyr_get_info()
784 err = ldi_ioctl(hdl, I8XX_GET_INFO, (intptr_t)&value1, in lyr_get_info()
793 err = ldi_ioctl(hdl, I8XX_GET_PREALLOC_SIZE, in lyr_get_info()
825 err = ldi_ioctl(hdl, AGP_MASTER_GETINFO, in lyr_get_info()
833 err = ldi_ioctl(hdl, AGP_TARGET_GETINFO, in lyr_get_info()
902 if (ldi_ioctl(hdl, I8XX_ADD2GTT, (intptr_t)&gttseg, FKIOCTL, in lyr_i8xx_add_to_gtt()
945 if (ldi_ioctl(hdl, I8XX_REM_GTT, (intptr_t)&gttseg, FKIOCTL, in lyr_i8xx_remove_from_gtt()
[all …]
/titanic_41/usr/src/uts/sun4u/io/
H A Dppm_plat.c59 ret = ldi_ioctl(dc->lh, dc->m_un.cpu.iowr, in ppm_cpu_next()
98 ret = ldi_ioctl(dc->lh, in ppm_cpu_pre_chng()
135 ret = ldi_ioctl(dc->lh, dc->m_un.kio.iowr, in ppm_cpu_go()
170 ret = ldi_ioctl(dc->lh, in ppm_cpu_post_chng()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dvdev_disk.c261 if (ldi_ioctl(dvd->vd_lh, DKIOCGETEFI, (intptr_t)&dk_ioc, in vdev_disk_get_space()
530 if ((error = ldi_ioctl(dvd->vd_lh, DKIOCGMEDIAINFOEXT, in vdev_disk_open()
535 } else if ((error = ldi_ioctl(dvd->vd_lh, DKIOCGMEDIAINFO, in vdev_disk_open()
572 (void) ldi_ioctl(dvd->vd_lh, DKIOCSETWCE, (intptr_t)&wce, in vdev_disk_open()
765 error = ldi_ioctl(dvd->vd_lh, zio->io_cmd, in vdev_disk_io_start()
834 if (ldi_ioctl(dvd->vd_lh, DKIOCSTATE, (intptr_t)&state, in vdev_disk_io_done()
/titanic_41/usr/src/uts/common/io/ib/clients/sdp/
H A Dsdpddi.c220 (void) ldi_ioctl(sdp_transport_handle, in sdp_gen_ioctl()
224 (void) ldi_ioctl(sdp_transport_handle, in sdp_gen_ioctl()
/titanic_41/usr/src/uts/sun4u/chicago/io/fpc/
H A Dfpc-impl-4u.c286 if (((rval = ldi_ioctl(handle_impl->devhandle, cmd, (intptr_t)&prg, in fpc_event_io()
327 if (((rval = ldi_ioctl(handle_impl->devhandle, command, (intptr_t)&prg, in fpc_counter_io()
/titanic_41/usr/src/uts/common/io/softmac/
H A Dsoftmac_main.c734 while (ldi_ioctl(lh, I_POP, 0, FKIOCTL, kcred, &rval) == 0) in softmac_mac_register()
830 if (ldi_ioctl(lh, I_STR, (intptr_t)&iocb, FKIOCTL, kcred, in softmac_mac_register()
1341 while (ldi_ioctl(lh, I_POP, 0, FKIOCTL, kcred, &rval) == 0) in softmac_lower_setup()
1353 if ((sup == NULL) && (err = ldi_ioctl(lh, DLIOCRAW, 0, FKIOCTL, in softmac_lower_setup()
1361 if ((err = ldi_ioctl(lh, I_PUSH, (intptr_t)SOFTMAC_DEV_NAME, FKIOCTL, in softmac_lower_setup()
1374 if ((err = ldi_ioctl(lh, I_STR, (intptr_t)&strioc, FKIOCTL, in softmac_lower_setup()
/titanic_41/usr/src/uts/i86pc/i86hvm/io/
H A Dpv_sd.c81 if ((rv = ldi_ioctl(xsp->xdfss_tgt_lh[part], in xdfs_c_ioctl()
H A Dpv_cmdk.c518 if ((rv = ldi_ioctl(xsp->xdfss_tgt_lh[part], in xdfs_c_ioctl()
/titanic_41/usr/src/uts/common/io/ppm/
H A Dppm.c1717 ret = ldi_ioctl(dc->lh, dc->m_un.i2c.iowr, in ppm_fetset()
1724 ret = ldi_ioctl(dc->lh, dc->m_un.kio.iowr, in ppm_fetset()
1793 ret = ldi_ioctl(dc->lh, dc->m_un.i2c.iord, in ppm_fetget()
1814 ret = ldi_ioctl(dc->lh, dc->m_un.kio.iord, in ppm_fetget()
1881 ret = ldi_ioctl(dc->lh, dc->m_un.kio.iowr, in ppm_switch_clock()
2259 ret = ldi_ioctl(dc->lh, dc->m_un.i2c.iowr, in ppm_gpioset()
2275 ret = ldi_ioctl(dc->lh, dc->m_un.kio.iowr, in ppm_gpioset()
2332 ret = ldi_ioctl(dc->lh, dc->m_un.kio.iowr, in ppm_pcie_pwr()
2413 ret = ldi_ioctl(dc->lh, dc->m_un.kio.iowr, in ppm_pcie_pwr()
2742 ret = ldi_ioctl(dc->lh, dc->m_un.kio.iowr, in ppm_manage_sx()
/titanic_41/usr/src/uts/i86pc/os/
H A Dgraphics.c215 if (ldi_ioctl(hdl, KDSETMODE, KD_RESETTEXT, FKIOCTL, in progressbar_key_abort()
/titanic_41/usr/src/uts/sun4v/io/
H A Dvds.c1443 status = ldi_ioctl(vd->ldi_handle[VD_ENTIRE_DISK_SLICE], in vd_do_scsi_rdwr()
1898 status = ldi_ioctl(vd->ldi_handle[0], DKIOCFLUSHWRITECACHE, in vd_flush_write()
3423 status = ldi_ioctl(vd->ldi_handle[0], cmd, (intptr_t)arg, in vd_backend_ioctl()
3437 status = ldi_ioctl(vd->ldi_handle[0], cmd, in vd_backend_ioctl()
3448 status = ldi_ioctl(vd->ldi_handle[0], cmd, in vd_backend_ioctl()
3798 status = ldi_ioctl(vd->ldi_handle[0], USCSICMD, (intptr_t)&uscsi, in vd_scsi_reset()
3891 request->status = ldi_ioctl(vd->ldi_handle[request->slice], MHIOCSTATUS, in vd_get_access()
3936 request->status = ldi_ioctl(vd->ldi_handle[request->slice], in vd_set_access()
3963 request->status = ldi_ioctl(vd->ldi_handle[request->slice], in vd_set_access()
3978 request->status = ldi_ioctl(vd->ldi_handle[request->slice], in vd_set_access()
[all …]
/titanic_41/usr/src/uts/common/io/mac/
H A Dmac_util.c593 err = ldi_ioctl(lh, PCITOOL_DEVICE_SET_INTR, (intptr_t)&iset, FKIOCTL, in mac_set_intr()
650 err = ldi_ioctl(lh, PCITOOL_DEVICE_GET_INTR, (intptr_t)iget_p, in mac_get_single_intr()
673 err = ldi_ioctl(lh, PCITOOL_DEVICE_GET_INTR, (intptr_t)iget_p, in mac_get_single_intr()
705 err = ldi_ioctl(lh, PCITOOL_SYSTEM_INTR_INFO, (intptr_t)&intr_info, in mac_validate_intr()
/titanic_41/usr/src/uts/common/sys/
H A Dsunldi.h109 extern int ldi_ioctl(ldi_handle_t, int, intptr_t, int, cred_t *, int *);
/titanic_41/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu.c1144 while ((ldi_ioctl(lh, I_POP, (intptr_t)0, FKIOCTL, kcred, &param)) in oplmsu_plink_serial()
1151 rval = ldi_ioctl(msu_lh, I_PLINK, (intptr_t)lh, FKIOCTL, kcred, &param); in oplmsu_plink_serial()
1253 (void) ldi_ioctl(msu_lh, I_PUNLINK, (intptr_t)lnk_id, FKIOCTL, in oplmsu_dr_attach()
1266 (void) ldi_ioctl(msu_lh, I_PUNLINK, (intptr_t)lnk_id, FKIOCTL, in oplmsu_dr_attach()
1292 (void) ldi_ioctl(msu_lh, I_PUNLINK, (intptr_t)lnk_id, in oplmsu_dr_attach()
1401 rval = ldi_ioctl(msu_lh, I_PUNLINK, (intptr_t)lpath->link_id, FKIOCTL, in oplmsu_dr_detach()
1605 (void) ldi_ioctl(msu_lh, I_PUNLINK, in oplmsu_conf_stream()
1679 (void) ldi_ioctl(msu_lh, I_PUNLINK, (intptr_t)plink_id[i], in oplmsu_unlinks()
/titanic_41/usr/src/uts/common/inet/ip/
H A Dip_helper_stream.c223 error = ldi_ioctl(helper->iphs_handle, SIOCSQPTR, (intptr_t)connp, in ip_create_helper_stream()
H A Dkeysock.c255 err = ldi_ioctl(lh, in keysock_plumb_ipsec()
263 err = ldi_ioctl(ip6_lh, I_PLINK, (intptr_t)lh, in keysock_plumb_ipsec()
280 err = ldi_ioctl(lh, in keysock_plumb_ipsec()
289 err = ldi_ioctl(ip6_lh, I_PLINK, (intptr_t)lh, in keysock_plumb_ipsec()
/titanic_41/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c2330 if (ldi_ioctl(lh, DKIOCREMOVABLE, in pcfs_device_getinfo()
2334 if (ldi_ioctl(lh, DKIOCHOTPLUGGABLE, in pcfs_device_getinfo()
2342 if (ldi_ioctl(lh, DKIOCGMEDIAINFO, argp, FKIOCTL, cr, NULL)) { in pcfs_device_getinfo()
2385 !ldi_ioctl(lh, FDIOGCHAR, argp, FKIOCTL, cr, NULL)) in pcfs_device_getinfo()
2393 !ldi_ioctl(lh, DKIOCINFO, argp, FKIOCTL, cr, NULL) && in pcfs_device_getinfo()
2406 !ldi_ioctl(lh, DKIOCGGEOM, argp, FKIOCTL, cr, NULL) && in pcfs_device_getinfo()
/titanic_41/usr/src/uts/common/xen/io/
H A Dxdb.c699 (void) ldi_ioctl(vdp->xs_ldi_hdl, in xdb_biodone()
1139 err = ldi_ioctl(ldi_hdl, LOFI_MAP_FILE, (intptr_t)li, in xdb_setup_node()
1193 if (ldi_ioctl(ldi_hdl, LOFI_UNMAP_FILE, (intptr_t)li, in xdb_teardown_node()
/titanic_41/usr/src/uts/sun4v/ontario/io/
H A Dtsalarm.c505 if ((rv = ldi_ioctl(softc->lh, GLVC_XPORT_IOCTL_OPT_OP, in tsalarm_open()
1143 if ((ret = ldi_ioctl(sc->lh, GLVC_XPORT_IOCTL_DATA_PEEK, in tsal_pcp_peek()
/titanic_41/usr/src/uts/common/fs/dev/
H A Dsdev_zvolops.c147 rc = ldi_ioctl(devzvol_lh, cmd, (intptr_t)zc, FKIOCTL, kcred, in devzvol_handle_ioctl()

12