/freebsd-11-stable/sys/dev/arcmsr/ |
H A D | arcmsr.c | 4667 acb->rid[0] = rid0; 4673 u_int32_t rid[]={ PCIR_BAR(0), PCIR_BAR(2) }; local 4676 acb->sys_res_arcmsr[i] = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid[i], RF_ACTIVE); 4712 acb->rid[0] = rid[0]; 4713 acb->rid[1] = rid[1]; 4740 acb->rid[0] = rid0; 4770 acb->rid[0] = rid0; 4800 acb->rid[ [all...] |
H A D | arcmsr.h | 1412 int rid[2]; member in struct:AdapterControlBlock
|
/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap_freebsd.c | 834 int rid; local 838 rid = PCIR_BAR(PTNETMAP_MEM_PCI_BAR); 845 &rid, 0, ~0, *mem_size, RF_ACTIVE); 906 int rid; local 914 rid = PCIR_BAR(PTNETMAP_IO_PCI_BAR); 915 ptn_dev->pci_io = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid,
|
/freebsd-11-stable/sys/dev/ena/ |
H A D | ena.c | 2552 int rc, rid; local 2576 rid = PCIR_BAR(ENA_MEM_BAR); 2578 &rid, RF_ACTIVE); 2763 uintptr_t rid; local 2775 if (pci_get_id(dev, PCI_ID_RID, &rid) == 0) 2776 host_info->bdf = rid; 3525 int rid, rc; local 3552 rid = PCIR_BAR(ENA_REG_BAR); 3555 &rid, RF_ACTIVE); 3565 if (msix_rid != rid) { [all...] |
/freebsd-11-stable/sys/dev/ixl/ |
H A D | ixl_pf_main.c | 1186 int error, rid = 0; local 1189 rid = 1; 1191 &rid, RF_SHAREABLE | RF_ACTIVE); 1304 int rid, error = 0; local 1306 /* Admin IRQ rid is 1, vector is 0 */ 1307 rid = 1; 1310 SYS_RES_IRQ, &rid, RF_SHAREABLE | RF_ACTIVE); 1313 " interrupt failed [rid=%d]\n", rid); 1347 int error, rid, vecto local 1410 int rid, want, vectors, queues, available; local 1693 int rid; local 1743 int rid, error = 0; local 1778 int rid, error = 0; local [all...] |
/freebsd-11-stable/sys/dev/if_ndis/ |
H A D | if_ndis_pci.c | 175 int unit, error = 0, rid; local 205 sc->ndis_io_rid = rle->rid; 225 sc->ndis_altmem_rid = rle->rid; 239 sc->ndis_mem_rid = rle->rid; 254 rid = rle->rid; 256 SYS_RES_IRQ, &rid, 281 rid = 0; 283 &rid, RF_SHAREABLE | RF_ACTIVE);
|
H A D | if_ndis_pccard.c | 182 int error, rid; local 184 rid = NDIS_AM_RID; 186 SYS_RES_MEMORY, &rid, 0x1000, RF_ACTIVE); 194 resource_list_add(&sc->ndis_rl, SYS_RES_MEMORY, rid, 199 sc->ndis_dev, rid, 0, NULL); 208 sc->ndis_dev, SYS_RES_MEMORY, rid, PCCARD_A_MEM_ATTR); 216 sc->ndis_am_rid = rid; 230 int unit, error = 0, rid; local 261 rid = 0; 262 sc->ndis_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, [all...] |
/freebsd-11-stable/crypto/openssl/crypto/x509v3/ |
H A D | v3_genn.c | 177 result = OBJ_cmp(a->d.rid, b->d.rid); 228 a->d.rid = value; 260 return a->d.rid;
|
/freebsd-11-stable/sys/x86/x86/ |
H A D | mptable_pci.c | 102 mptable_hostb_alloc_resource(device_t dev, device_t child, int type, int *rid, argument 109 return (pci_domain_alloc_bus(0, child, rid, start, end, count, 120 type, rid, start, end, count, flags)); 131 type, rid, start, end, count, flags)); 138 return (pcib_host_res_alloc(&sc->sc_host_res, child, type, rid, start,
|
H A D | io_apic.c | 987 int rid; local 996 rid = PCIR_BAR(0); 997 res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, 1030 bus_release_resource(dev, SYS_RES_MEMORY, rid, res); 1070 uintptr_t rid; local 1081 error = pci_get_id(io->pci_dev, PCI_ID_RID, &rid); 1084 *ridp = rid; 1117 apic_add_resource(device_t dev, int rid, vm_paddr_t base, size_t length) argument 1121 error = bus_set_resource(dev, SYS_RES_MEMORY, rid, base, length); 1123 panic("apic_add_resource: resource %d failed set with %d", rid, [all...] |
/freebsd-11-stable/sys/x86/isa/ |
H A D | atpic.c | 635 int rid; local 638 rid = 0; 639 res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, 0); 641 bus_release_resource(dev, SYS_RES_IRQ, rid, res);
|
/freebsd-11-stable/sys/dev/pci/ |
H A D | vga_pci.c | 68 static struct vga_resource *lookup_res(struct vga_pci_softc *sc, int rid); 70 int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, 73 int rid, struct resource *r); 146 int rid; local 165 rid = PCIR_BIOS; 166 res = vga_pci_alloc_resource(dev, NULL, SYS_RES_MEMORY, &rid, 0, 322 lookup_res(struct vga_pci_softc *sc, int rid) argument 326 if (rid == PCIR_BIOS) 328 bar = PCI_RID2BAR(rid); 335 vga_pci_alloc_resource(device_t dev, device_t child, int type, int *rid, argument 361 vga_pci_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument [all...] |
/freebsd-11-stable/sys/dev/nvme/ |
H A D | nvme_ctrlr.c | 917 ctrlr->rid = 0; 919 &ctrlr->rid, RF_SHAREABLE | RF_ACTIVE);
|
/freebsd-11-stable/sys/cam/scsi/ |
H A D | scsi_all.c | 5866 struct scsi_sop_routing_id_norm *rid; local 5869 rid = (struct scsi_sop_routing_id_norm *)sop->routing_id; 5879 rid->bus, rid->devfunc >> SCSI_TRN_SOP_DEV_SHIFT, 5880 rid->devfunc & SCSI_TRN_SOP_FUNC_NORM_MAX); 6562 struct scsi_sop_routing_id_norm rid; local 6564 rid.bus = bus; 6565 rid.devfunc = (device << SCSI_TRN_SOP_DEV_SHIFT) | function; 6566 bcopy(&rid, sop->routing_id, MIN(sizeof(rid), 6569 struct scsi_sop_routing_id_alt rid; local [all...] |
/freebsd-11-stable/sys/dev/uart/ |
H A D | uart_core.c | 491 uart_bus_probe(device_t dev, int regshft, int regiowidth, int rclk, int rid, int chan, int quirks) argument 525 sc->sc_rrid = rid; 530 sc->sc_rrid = rid;
|
H A D | uart_bus.h | 145 int uart_bus_probe(device_t dev, int regshft, int regiowidth, int rclk, int rid, int chan, int quirks);
|
/freebsd-11-stable/sys/dev/sume/ |
H A D | if_sume.c | 571 adapter->rid = PCIR_BAR(0); 573 &adapter->rid, RF_ACTIVE); 596 adapter->irq.rid = 1; /* Should be 1, thus says pci_alloc_msi() */ 598 &adapter->irq.rid, RF_SHAREABLE | RF_ACTIVE); 609 device_printf(dev, "failed to setup interrupt for rid %d, name" 610 " %s: %d\n", adapter->irq.rid, "SUME_INTR", error); 1570 bus_release_resource(dev, SYS_RES_IRQ, adapter->irq.rid, 1576 bus_release_resource(dev, SYS_RES_MEMORY, adapter->rid,
|
H A D | adapter.h | 130 uint32_t rid; member in struct:irq 179 uint32_t rid; member in struct:sume_adapter
|
/freebsd-11-stable/sys/dev/e1000/ |
H A D | if_em.c | 587 int rid = EM_BAR_TYPE_FLASH; local 589 SYS_RES_MEMORY, &rid, RF_ACTIVE); 2550 int rid; local 2552 rid = PCIR_BAR(0); 2554 &rid, RF_ACTIVE); 2580 int error, rid = 0; local 2586 rid = 1; 2589 SYS_RES_IRQ, &rid, RF_SHAREABLE | RF_ACTIVE); 2638 int error, rid, vector = 0; local 2649 rid 2773 int rid; local [all...] |
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zfs_vfsops.c | 867 id_to_fuidstr(zfsvfs_t *zfsvfs, const char *domain, uid_t rid, argument 878 fuid = FUID_ENCODE(domainid, rid); 885 const char *domain, uint64_t rid, uint64_t *valp) 900 err = id_to_fuidstr(zfsvfs, domain, rid, buf, B_FALSE); 912 const char *domain, uint64_t rid, uint64_t quota) 929 err = id_to_fuidstr(zfsvfs, domain, rid, buf, B_TRUE); 884 zfs_userspace_one(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type, const char *domain, uint64_t rid, uint64_t *valp) argument 911 zfs_set_userquota(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type, const char *domain, uint64_t rid, uint64_t quota) argument
|
H A D | zfs_ioctl.c | 280 * Get rid of annoying "../common/" prefix to filename. 284 newfile = newfile + 1; /* Get rid of leading / */ 2474 uint64_t rid; local 2489 * userquota@<rid>-<domain>. 2498 rid = valary[1]; 2503 err = zfs_set_userquota(zfsvfs, type, domain, rid, quota);
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs.h | 680 uid_t rid, uint64_t space);
|
/freebsd-11-stable/sys/dev/mxge/ |
H A D | if_mxge.c | 4538 int count, err, i, rid; local 4540 rid = PCIR_BAR(2); 4542 &rid, RF_ACTIVE); 4573 rid = i + 1; 4576 &rid, RF_ACTIVE); 4626 rid = i + 1; 4628 bus_release_resource(sc->dev, SYS_RES_IRQ, rid, 4648 int count, err, rid; local 4652 rid = 1; 4654 rid 4685 int i, rid; local 4755 int err, rid; local [all...] |
/freebsd-11-stable/sys/dev/cxgbe/ |
H A D | t4_main.c | 621 static int t4_alloc_irq(struct adapter *, struct irq *, int rid, 5112 int rc, rid, p, q, v; local 5133 rid = sc->intr_type == INTR_INTX ? 0 : 1; 5135 return (t4_alloc_irq(sc, irq, rid, t4_intr_all, sc, "all")); 5147 rc = t4_alloc_irq(sc, irq, rid, t4_intr_err, sc, "err"); 5151 rid++; 5155 rc = t4_alloc_irq(sc, irq, rid, t4_intr_evt, &sge->fwq, "evt"); 5159 rid++; 5164 vi->first_intr = rid - 1; 5185 rc = t4_alloc_irq(sc, irq, rid, 5629 t4_alloc_irq(struct adapter *sc, struct irq *irq, int rid, driver_intr_t *handler, void *arg, char *name) argument [all...] |
/freebsd-11-stable/sys/dev/cxgb/ |
H A D | cxgb_main.c | 896 int i, rid, err, intr_flag = sc->flags & (USING_MSI | USING_MSIX); local 928 rid = i + 2; 929 res = bus_alloc_resource_any(sc->dev, SYS_RES_IRQ, &rid, 933 "for message %d\n", rid); 942 "for message %d (%d)\n", rid, err); 943 bus_release_resource(sc->dev, SYS_RES_IRQ, rid, res); 947 sc->msix_irq_rid[i] = rid;
|