/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_main.c | 165 static char nge_desc_mode[] = "desc-mode"; 232 nge_set_loop_mode(nge_t *ngep, uint32_t mode) argument 235 * If the mode isn't being changed, there's nothing to do ... 237 if (mode == ngep->param_loop_mode) 241 * Validate the requested mode and prepare a suitable message 245 switch (mode) { 258 * the PHY and/or MAC for the new mode ... 260 ngep->param_loop_mode = mode; 1237 * Store specified mode and pass to chip layer to update h/w 1242 * recording the promiscuious mode i [all...] |
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | iosram.c | 1690 iosram_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 1710 if (ddi_copyin((void *)arg, &req, sizeof (req), mode)) { 1721 if (ddi_copyout(&req, (void *)arg, sizeof (req), mode)) { 1735 if (ddi_copyin((void *)arg, &req, sizeof (req), mode)) { 1746 if (ddi_copyout(&req, (void *)arg, sizeof (req), mode)) { 1761 if (ddi_copyin((void *)arg, &req, sizeof (req), mode)) { 1773 if (ddi_copyout(bufp, (void *)(uintptr_t)req.bufp, len, mode)) { 1776 mode)); 1778 } else if (ddi_copyout(&req, (void *)arg, sizeof (req), mode)) { 1794 if (ddi_copyin((void *)arg, &req, sizeof (req), mode)) { [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vsw.c | 259 * 1) TxDring mode: 260 * In versions < v1.6 of VIO Protocol, we support only TxDring mode. In this 261 * mode, we create a transmit descriptor ring and export it to the peer through 267 * is mapped by this device as its receive ring. In this mode, in a given data 273 * 2) RxDringData mode: 274 * In versions >= v1.6 of VIO Protocol, we also support RxDringData mode. In 275 * this mode, we create a receive descriptor ring and export it to the peer 284 * along with its buffer area. In this mode, in a given data transfer 289 * We enable RxDringData mode during handshake negotiations if LDC supports 291 * which is required to support RxDringData mode 1020 vsw_get_md_smodes(vsw_t *vswp, md_t *mdp, mde_cookie_t node, uint8_t *mode) argument [all...] |
/illumos-gate/usr/src/uts/sun4v/ontario/io/ |
H A D | tsalarm.c | 640 tsalarm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument 660 sizeof (ts_aldata_t), mode) != 0) { 685 sizeof (ts_aldata_t), mode) != 0) { 696 sizeof (ts_aldata_t), mode) != 0) {
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | ldc_impl.h | 50 * LDC Reliable mode - initial packet seqid 424 ldc_mode_t mode; /* Channel mode */ member in struct:ldc_chan
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | su_driver.c | 113 static void async_nstart(struct asyncline *async, int mode); 115 static int asy_program(struct asycom *asy, int mode); 117 /* Polled mode functions */ 581 * can be done from BANK 0 (8250A/16450 compatable mode) 591 } else { /* Set the UART in FIFO mode if it has FIFO buffers */ 1213 /* turn off the loopback mode */ 1330 asy_program(struct asycom *asy, int mode) argument 1364 if (mode == ASY_INIT) { 1417 if (mode == ASY_INIT) { 1424 if (ocflags != (c_flag & ~CLOCAL) || mode 2486 async_nstart(struct asyncline *async, int mode) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | db21554.c | 1445 db_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred_p, argument 1467 sizeof (db_pci_data_t), mode)) { 1508 sizeof (db_pci_data_t), mode)) { 1522 arg, mode, cred_p, rval_p)); 1537 return (ndi_devctl_ioctl(self, cmd, arg, mode, 0)); 2029 "access mode type 0\n"); 2038 "access mode type 1\n");
|
H A D | pci_pci.c | 142 static int ppb_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, 1644 ppb_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 1662 return (pcie_ioctl(ppb_p->dip, dev, cmd, arg, mode, credp, 1665 return ((pcihp_get_cb_ops())->cb_ioctl(dev, cmd, arg, mode, 1678 return (ndi_devctl_ioctl(self, cmd, arg, mode, 0));
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd.c | 74 int mode; member in struct:__anon9802 362 static int sbd_copyin_ioarg(sbd_handle_t *hp, int mode, int cmd, 364 static int sbd_copyout_errs(int mode, sbd_ioctl_arg_t *iap, 366 static int sbd_copyout_ioarg(int mode, int cmd, sbd_cmd_t *scp, 488 sbd_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, char *event) argument 528 init_arg.mode = mode; 1465 hp->h_mode = iap->mode; 1590 sbd_copyin_ioarg(sbd_handle_t *hp, int mode, int cmd, sbd_cmd_t *cmdp, argument 1601 if (ddi_model_convert_from(mode 1669 sbd_copyout_ioarg(int mode, int cmd, sbd_cmd_t *scp, sbd_ioctl_arg_t *iap) argument 1715 sbd_copyout_errs(int mode, sbd_ioctl_arg_t *iap, void *arg) argument 4294 int nstat, mode, ncm, sz, cksz; local [all...] |
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr.c | 352 static int dr_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, 558 dr_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument 598 hp->h_mode = mode; 2146 int nstat, mode, ncm, sz, pbsz, pnstat; local 2163 mode = hp->h_mode; 2231 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 2322 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 2439 hp->h_sbdcmd.cmd_stat.s_statp, pbsz, mode) != 0) { 2450 pbsz, mode) != 0) {
|
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/ |
H A D | pcicmu.c | 119 static int pcmu_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, 590 pcmu_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument 615 return (ndi_devctl_ioctl(dip, cmd, arg, mode, 0));
|
/illumos-gate/usr/src/uts/intel/io/drm/ |
H A D | radeon_state.c | 1707 drm_radeon_tex_image_t *image, int mode) 1822 if (ddi_model_convert_from(mode & FMODELS) == 2223 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 2537 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 2582 ret = radeon_cp_dispatch_texture(fpriv, dev, &tex, &image, mode); 2599 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 2721 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 3083 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 3263 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 3367 if (ddi_model_convert_from(mode 1705 radeon_cp_dispatch_texture(drm_file_t *fpriv, drm_device_t *dev, drm_radeon_texture_t *tex, drm_radeon_tex_image_t *image, int mode) argument [all...] |
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_drv.c | 526 * pair may be associated with up to 2 chip-select lines (in 128 bit mode) 799 * if we're in 64- or 128-bit MC mode, how the upper chip-selects 834 * Prior ro revision F it also tells us whether BankSwizzle mode 841 * Determine whether bank swizzle mode is active. Bank swizzling was 1142 mc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument 1171 mode) < 0) 1183 mode) < 0)
|
/illumos-gate/usr/src/uts/intel/io/agpgart/ |
H A D | agpgart.c | 1691 * mode. 1791 agp_v2_setup(uint32_t tstatus, uint32_t mstatus, uint32_t mode) argument 1799 * mode: the agp mode to be sent 1804 * set RQ to the min of mode and tstatus 1805 * if mode set a RQ larger than hardware can support, 1810 rq = mode & AGPSTAT_RQ_MASK; 1823 & (mode & AGPSTAT_SBA); 1827 & (mode & AGPSTAT_OVER4G); 1838 & (mode 1867 agp_v3_setup(uint32_t tstatus, uint32_t mstatus, uint32_t mode) argument 1960 agp_setup(agpgart_softstate_t *softstate, uint32_t mode) argument [all...] |
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | ata_common.c | 1982 /* map failed, try to use in non-pci-ide mode */ 2002 * If the controller is being used in compatibility mode 2054 * DMA transfer mode. 2124 * Some motherboards have CSB5's that are wired "to emulate CSB4 mode". 2125 * In such a mode, the simplex bit is asserted, but in fact testing 2244 * DMA mode is mandatory on ATA-3 (or newer) drives but is 2775 * was in sleep mode; but we don't put drives to sleep 2902 * Bus master IDE register is not usable when in PIO mode, 2962 * request used DMA mode then we also have to check and clear 2972 * Some requests don't use DMA mode an 3846 int mode, rval = FALSE; local 3895 int mode; local [all...] |
H A D | ata_disk.c | 204 * determine if the drive supports LBA mode 210 * Determine if the drive supports LBA mode 211 * LBA mode is mandatory on ATA-3 (or newer) drives but is 272 int mode; local 300 /* Get capacity and check for 48-bit mode */ 301 mode = ata_get_capacity(ata_drvp, &ata_drvp->ad_capacity); 302 if (mode == AD_EXT48) { 432 * Test if a disk supports 48-bit (extended mode) addressing and 435 * AD_EXT48 if 48-bit mode is available, 0 otherwise, 445 uint64_t cap28; /* capacity in 28-bit mode */ [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_dump.c | 41 uint32_t mode) 61 cmd_buf->set.value1 = mode; 1053 /* In the Dump File, we must always write the data in native mode. */ 39 emlxs_menlo_set_mode( emlxs_hba_t *hba, uint32_t mode) argument
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_vops.c | 217 smb_vop_open(vnode_t **vpp, int mode, cred_t *cred) argument 219 return (VOP_OPEN(vpp, mode, cred, &smb_ct)); 223 smb_vop_close(vnode_t *vp, int mode, cred_t *cred) argument 225 (void) VOP_CLOSE(vp, mode, 1, (offset_t)0, cred, &smb_ct); 229 smb_vop_other_opens(vnode_t *vp, int mode) argument 231 return (((mode & FWRITE) && vn_has_other_opens(vp, V_WRITE)) || 232 (((mode & FWRITE) == 0) && vn_is_opened(vp, V_WRITE)) || 233 ((mode & FREAD) && vn_has_other_opens(vp, V_READ)) || 234 (((mode & FREAD) == 0) && vn_is_opened(vp, V_READ)) || 516 * This is a wrapper round VOP_ACCESS. VOP_ACCESS checks the given mode 525 smb_vop_access(vnode_t *vp, int mode, int flags, vnode_t *dir_vp, cred_t *cr) argument 1322 smb_vop_eaccess(vnode_t *vp, int *mode, int flags, vnode_t *dir_vp, cred_t *cr) argument [all...] |
H A D | smb_kutil.c | 509 * locked has already been entered in RW_READER mode. It first tries using the 511 * and reentered in RW_WRITER mode. In that last case a window is opened during 830 krw_t mode) 835 if (mode == RW_WRITER) { 838 ASSERT(mode == RW_READER); 852 * mode. It will: 854 * 1) release the lock and save its current mode. 858 * 3) re-acquire the lock in the mode saved in (1). 865 krw_t mode; local 874 mode 828 smb_rwx_rwdowngrade( smb_rwx_t *rwx, krw_t mode) argument [all...] |
/illumos-gate/usr/src/uts/common/io/skd/ |
H A D | skd.c | 429 * mode - debug only. 436 int error, int mode) 444 switch (mode) { 940 * mode - debug 947 int error, int mode) 949 skd_io_done(skdev, pbuf, error, mode); 435 skd_io_done(skd_device_t *skdev, skd_buf_private_t *pbuf, int error, int mode) argument 946 skd_end_request_abnormal(skd_device_t *skdev, skd_buf_private_t *pbuf, int error, int mode) argument
|
/illumos-gate/usr/src/uts/i86pc/io/acpi_drv/ |
H A D | acpi_drv.c | 242 static int acpi_drv_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, 246 static int acpi_drv_ac_ioctl(int index, int cmd, intptr_t arg, int mode, 248 static int acpi_drv_cbat_ioctl(int index, int cmd, intptr_t arg, int mode, 250 static int acpi_drv_lid_ioctl(int index, int cmd, intptr_t arg, int mode, 468 acpi_drv_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cr, argument 483 res = acpi_drv_cbat_ioctl(index, cmd, arg, mode, cr, rval); 486 res = acpi_drv_ac_ioctl(index, cmd, arg, mode, cr, rval); 489 res = acpi_drv_lid_ioctl(index, cmd, arg, mode, cr, rval); 492 res = acpi_drv_hotkey_ioctl(cmd, arg, mode, cr, rval); 505 acpi_drv_cbat_ioctl(int index, int cmd, intptr_t arg, int mode, cred_ argument 638 acpi_drv_ac_ioctl(int index, int cmd, intptr_t arg, int mode, cred_t *cr, int *rval) argument 690 acpi_drv_lid_ioctl(int index, int cmd, intptr_t arg, int mode, cred_t *cr, int *rval) argument [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_share.c | 1277 * or read/write based on the specified mode. 1283 smb_shr_cache_lock(int mode) argument 1297 if (mode == SMB_SHR_CACHE_RDLOCK) 1806 * In domain mode, put a share on the publisher queue. 1807 * This is a no-op if the smb service is in Workgroup mode. 1847 * Workgroup mode.
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | mount.c | 234 mode_t mode; local 484 if (((mode = (stbuf.st_mode & S_IFMT)) == S_IFBLK) || 485 (mode == S_IFCHR)) {
|
/illumos-gate/usr/src/cmd/smbsrv/smbadm/ |
H A D | smbadm.c | 464 uint32_t mode = 0; local 469 if (mode != 0) { 476 mode = SMB_SECMODE_DOMAIN; 481 mode = SMB_SECMODE_DOMAIN; 486 mode = SMB_SECMODE_WORKGRP; 513 (mode == SMB_SECMODE_WORKGRP) ? "workgroup" : "domain"); 517 if (mode == SMB_SECMODE_WORKGRP) { 537 jdi.mode = SMB_SECMODE_WORKGRP; 580 jdi.mode = SMB_SECMODE_DOMAIN; 756 * Displays current security mode an [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/sv/ |
H A D | sv.c | 46 * the device through the block device in O_WRITE mode. This is because 333 * nsc_reserve/nsc_release are used in NSC_MULTI mode to allow multiple 1446 * guard access mode 1531 int *mode, *nblocks; local 1563 mode = &svn32->svn_mode; 1570 mode = &svn->svn_mode; 1579 *mode = svp->sv_flag; 1729 svioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *crp, int *rvalp) argument 1768 ilp32 = (ddi_model_convert_from((mode & FMODELS)) == DDI_MODEL_ILP32); 1778 sizeof (svc32), mode) < 2423 sv_fix_dkiocgvtoc(const intptr_t arg, const int mode, sv_dev_t *svp) argument 2520 sv_fix_dkiocgetefi(const intptr_t arg, const int mode, sv_dev_t *svp) argument 2632 sv_fix_dkiocpartition(const intptr_t arg, const int mode, sv_dev_t *svp) argument 2689 sv_lyr_ioctl(const dev_t dev, const int cmd, const intptr_t arg, const int mode, cred_t *crp, int *rvalp) argument [all...] |