Lines Matching refs:mode

114 static int pcitool_intr_get_max_ino(uint32_t *arg, int mode);
115 static int pcitool_get_intr(dev_info_t *dip, void *arg, int mode, pci_t *pci_p);
116 static int pcitool_set_intr(dev_info_t *dip, void *arg, int mode, pci_t *pci_p);
253 pcitool_intr_info(dev_info_t *dip, void *arg, int mode)
259 if (ddi_copyin(arg, &intr_info, sizeof (pcitool_intr_info_t), mode) !=
272 if (ddi_copyout(&intr_info, arg, sizeof (pcitool_intr_info_t), mode) !=
290 pcitool_get_intr(dev_info_t *dip, void *arg, int mode, pci_t *pci_p)
306 if (ddi_copyin(arg, &partial_iget, PCITOOL_IGET_SIZE(0), mode) !=
342 if (ddi_copyin(arg, iget, iget_kmem_alloc_size, mode) !=
393 PCITOOL_IGET_SIZE(num_devs_ret), mode);
412 pcitool_set_intr(dev_info_t *dip, void *arg, int mode, pci_t *pci_p)
430 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS)
439 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS)
503 if (ddi_copyout(&iset, arg, copyinout_size, mode) != DDI_SUCCESS)
512 pcitool_intr_admn(dev_t dev, void *arg, int cmd, int mode)
522 rval = pcitool_intr_info(dip, arg, mode);
527 rval = pcitool_get_intr(dip, arg, mode, pci_p);
532 rval = pcitool_set_intr(dip, arg, mode, pci_p);
622 pcitool_bus_reg_ops(dev_t dev, void *arg, int cmd, int mode)
642 if (ddi_copyin(arg, &prg, sizeof (pcitool_reg_t), mode) !=
689 if (ddi_copyout(&prg, arg, sizeof (pcitool_reg_t), mode) !=
834 pcitool_dev_reg_ops(dev_t dev, void *arg, int cmd, int mode)
854 if (ddi_copyin(arg, &prg, sizeof (pcitool_reg_t), mode) !=
977 if (ddi_copyout(&prg, arg, sizeof (pcitool_reg_t), mode) !=