/freebsd-11-stable/cddl/contrib/opensolaris/lib/pyzfs/common/ |
H A D | userspace.py | 62 def new_entry(options, isgroup, domain, rid): 63 """Return a dict("field": value) for this domain (string) + rid (int)""" 66 idstr = "%s-%u" % (domain, rid) 68 idstr = "%u" % rid 84 if not options.noname and rid < 1<<31: 95 v["name.sort"] = "%20d" % rid 107 (domain, rid, value) = elem 112 rid = solaris.misc.sid_to_id("%s-%u" % (domain, rid), 117 key = (isgroup, domain, rid) [all...] |
/freebsd-11-stable/sys/dev/mse/ |
H A D | mse_cbus.c | 157 int rid; local 166 rid = 0; 167 sc->sc_port = isa_alloc_resourcev(dev, SYS_RES_IOPORT, &rid, mse_port, 172 bus_release_resource(dev, SYS_RES_IOPORT, rid, sc->sc_port); 188 bus_release_resource(dev, SYS_RES_IOPORT, rid, 195 bus_release_resource(dev, SYS_RES_IOPORT, rid, sc->sc_port); 203 int rid; local 207 rid = 0; 208 sc->sc_port = isa_alloc_resourcev(dev, SYS_RES_IOPORT, &rid, mse_port, 213 bus_release_resource(dev, SYS_RES_IOPORT, rid, s [all...] |
/freebsd-11-stable/sys/dev/pccbb/ |
H A D | pccbb.c | 164 int type, int rid, struct resource *res); 166 device_t child, int type, int rid, struct resource *res); 168 device_t child, int type, int *rid, rman_res_t start, 171 int type, int rid, struct resource *res); 194 cbb_find_res(struct cbb_softc *sc, int type, int rid) argument 199 if (SYS_RES_MEMORY == rle->type && rid == rle->rid) 206 int rid) 219 rle->rid = rid; 205 cbb_insert_res(struct cbb_softc *sc, struct resource *res, int type, int rid) argument 1203 cbb_cardbus_activate_resource(device_t brdev, device_t child, int type, int rid, struct resource *res) argument 1217 cbb_cardbus_deactivate_resource(device_t brdev, device_t child, int type, int rid, struct resource *res) argument 1231 cbb_cardbus_alloc_resource(device_t brdev, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument 1291 cbb_cardbus_release_resource(device_t brdev, device_t child, int type, int rid, struct resource *res) argument 1375 cbb_pcic_activate_resource(device_t brdev, device_t child, int type, int rid, struct resource *res) argument 1388 cbb_pcic_deactivate_resource(device_t brdev, device_t child, int type, int rid, struct resource *res) argument 1396 cbb_pcic_alloc_resource(device_t brdev, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument 1452 cbb_pcic_release_resource(device_t brdev, device_t child, int type, int rid, struct resource *res) argument 1473 cbb_pcic_set_res_flags(device_t brdev, device_t child, int type, int rid, u_long flags) argument 1491 cbb_pcic_set_memory_offset(device_t brdev, device_t child, int rid, uint32_t cardaddr, uint32_t *deltap) argument 1512 cbb_activate_resource(device_t brdev, device_t child, int type, int rid, struct resource *r) argument 1525 cbb_deactivate_resource(device_t brdev, device_t child, int type, int rid, struct resource *r) argument 1539 cbb_alloc_resource(device_t brdev, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument 1553 cbb_release_resource(device_t brdev, device_t child, int type, int rid, struct resource *r) argument [all...] |
/freebsd-11-stable/sys/dev/sfxge/ |
H A D | sfxge_intr.c | 244 int rid; local 257 rid = i + 1; 258 res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, 262 "message %d\n", rid); 266 table[i].eih_rid = rid; 285 int rid; local 290 rid = rman_get_rid(resp); 291 bus_release_resource(dev, SYS_RES_MEMORY, rid, resp); 301 int rid; local 315 rid 383 int rid; local [all...] |
/freebsd-11-stable/sys/dev/buslogic/ |
H A D | bt_pci.c | 60 int type = 0, rid, zero; local 67 rid = BT_PCI_MEMADDR; 68 regs = bus_alloc_resource_any(dev, type, &rid, RF_ACTIVE); 71 rid = BT_PCI_IOADDR; 72 regs = bus_alloc_resource_any(dev, type, &rid, RF_ACTIVE); 81 bus_release_resource(dev, type, rid, regs);
|
/freebsd-11-stable/sys/arm/xscale/pxa/ |
H A D | pxa_smi.c | 178 pxa_smi_alloc_resource(device_t dev, device_t child, int type, int *rid, argument 195 rle = resource_list_find(rl, type, *rid); 211 rman_set_rid(rv, *rid); 215 if (bus_activate_resource(child, type, *rid, rv) != 0) { 224 rv = bus_alloc_resource(dev, type, rid, rle->start, rle->end, 229 if (bus_activate_resource(child, type, *rid, rv) != 0) { 230 bus_release_resource(dev, type, *rid, rv); 245 pxa_smi_release_resource(device_t dev, device_t child, int type, int rid, argument 253 return (bus_release_resource(dev, SYS_RES_IRQ, rid, r)); 261 rle = resource_list_find(rl, type, rid); 274 pxa_smi_activate_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument [all...] |
/freebsd-11-stable/sys/mips/cavium/ |
H A D | octeon_pmc.c | 82 int rid; local 86 rid = 0; 88 SYS_RES_IRQ, &rid, OCTEON_PMC_IRQ,
|
/freebsd-11-stable/sys/arm/versatile/ |
H A D | versatile_scm.c | 90 int rid; local 95 rid = 0; 96 sc->sc_mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE);
|
/freebsd-11-stable/sys/dev/aic7xxx/ |
H A D | ahc_eisa.c | 51 int rid; local 63 rid = 0; 64 regs = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); 101 bus_release_resource(dev, SYS_RES_IOPORT, rid, regs);
|
/freebsd-11-stable/sys/dev/atkbdc/ |
H A D | atkbdc_subr.h | 40 int rid; member in struct:atkbdc_device
|
/freebsd-11-stable/sys/dev/puc/ |
H A D | puc_cfg.c | 119 if (cfg->rid < 0) 121 *r = cfg->rid; 126 if (cfg->rid < 0) { 131 *r = cfg->rid;
|
/freebsd-11-stable/sys/sparc64/sparc64/ |
H A D | eeprom.c | 126 int error, rid; local 132 rid = 0; 133 sc->sc_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, 184 bus_release_resource(dev, SYS_RES_MEMORY, rid, sc->sc_res);
|
/freebsd-11-stable/sys/mips/beri/ |
H A D | beri_simplebus.c | 252 simplebus_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 260 * Request for the default allocation with a given rid: use resource 270 rle = resource_list_find(&di->di_res, type, *rid); 274 "rid = %d, type = %d\n", *rid, type); 284 return(FDT_IC_ALLOC_INTR(ic, child, rid, start, flags)); 286 return (bus_generic_alloc_resource(bus, child, type, rid, start, end, 291 simplebus_activate_resource(device_t dev, device_t child, int type, int rid, argument 300 return (bus_generic_activate_resource(dev, child, type, rid, r)); 304 simplebus_deactivate_resource(device_t dev, device_t child, int type, int rid, argument 317 simplebus_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument 374 int error, irq, rid; local [all...] |
/freebsd-11-stable/sys/mips/malta/ |
H A D | gt.c | 78 gt_alloc_resource(device_t dev, device_t child, int type, int *rid, argument 82 type, rid, start, end, count, flags)); 103 gt_activate_resource(device_t dev, device_t child, int type, int rid, argument 107 type, rid, r));
|
H A D | obio.c | 113 obio_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 144 rman_set_rid(rv, *rid); 149 if (bus_activate_resource(child, type, *rid, rv)) { 159 obio_activate_resource(device_t bus, device_t child, int type, int rid, argument
|
/freebsd-11-stable/sys/dev/fdc/ |
H A D | fdc_pccard.c | 56 int rid, i; local 58 rid = 0; 59 res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); 66 fdc->ridio[i] = rid;
|
/freebsd-11-stable/sys/fs/devfs/ |
H A D | devfs.h | 59 #define rid2rsn(rid) ((rid) >> 16) 60 #define rid2rn(rid) ((rid) & 0xffff)
|
/freebsd-11-stable/sys/dev/snc/ |
H A D | if_snc.c | 70 snc_alloc_port(device_t dev, int rid) argument 75 res = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid, 79 sc->ioport_rid = rid; 93 snc_alloc_memory(device_t dev, int rid) argument 98 res = bus_alloc_resource_anywhere(dev, SYS_RES_MEMORY, &rid, 102 sc->iomem_rid = rid; 116 snc_alloc_irq(device_t dev, int rid, int flags) argument 121 res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE | flags); 124 sc->irq_rid = rid;
|
/freebsd-11-stable/sys/arm/at91/ |
H A D | at91_cfata.c | 81 int rid, error; local 85 rid = 0; 87 sc->mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, 116 ata_at91_alloc_resource(device_t dev, device_t child, int type, int *rid, argument 121 KASSERT(type == SYS_RES_IRQ && *rid == ATA_IRQ_RID, 122 ("[at91_cfata, %d]: illegal resource request (type %u rid %u)", 123 __LINE__, type, *rid)); 128 ata_at91_release_resource(device_t dev, device_t child, int type, int rid, argument 132 KASSERT(type == SYS_RES_IRQ && rid == ATA_IRQ_RID, 133 ("[at91_cfata, %d]: illegal resource request (type %u rid [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);
|
/freebsd-11-stable/sys/dev/pci/ |
H A D | pci_host_generic.c | 114 device_t child, int type, int *rid, rman_res_t start, rman_res_t end, 117 int type, int rid, struct resource *res); 168 int rid; local 207 rid = 0; 208 sc->res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE); 506 int rid, struct resource *res) 519 return (bus_generic_release_resource(dev, child, type, rid, res)); 524 int rid, struct resource *res) 531 return (pci_domain_release_bus(sc->ecam, child, rid, res)); 537 child, type, rid, re 505 generic_pcie_release_resource_pcie(device_t dev, device_t child, int type, int rid, struct resource *res) argument 523 generic_pcie_release_resource(device_t dev, device_t child, int type, int rid, struct resource *res) argument 546 pci_host_generic_alloc_resource(device_t dev, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument 569 generic_pcie_alloc_resource_pcie(device_t dev, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument 632 generic_pcie_activate_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument 665 type, rid, r); local 672 BUS_ACTIVATE_RESOURCE(device_get_parent(dev), child, type, rid, r); local 682 generic_pcie_deactivate_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument 794 uint32_t rid; local 857 generic_pcie_alloc_resource_ofw(device_t bus, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument 908 generic_pcie_release_resource_ofw(device_t bus, device_t child, int type, int rid, struct resource *res) argument [all...] |
H A D | pci_private.h | 53 device_t pci_add_iov_child(device_t bus, device_t pf, uint16_t rid, 64 int pci_ea_is_enabled(device_t dev, int rid); 118 int type, int *rid, rman_res_t start, rman_res_t end, 121 int rid, struct resource *r); 123 int rid, struct resource *r); 125 int rid, struct resource *r); 127 int type, int rid); 165 int type, int *rid, rman_res_t start, rman_res_t end, 174 uint16_t rid, uint16_t vid, uint16_t did); 177 int *rid, rman_res_ [all...] |
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | procset.h | 137 #define setprocset(psp, op, ltype, lid, rtype, rid) \ 142 (psp)->p_rid = (rid);
|
/freebsd-11-stable/sys/dev/bhnd/cores/chipc/ |
H A D | chipc_private.h | 59 device_t child, int type, int rid, 71 int rid); 92 int cr_rid; /**< rid to use when performing
|
/freebsd-11-stable/sys/dev/rp/ |
H A D | rpreg.h | 48 #define rp_readio(size, ctlp, rid, offset) \ 49 (bus_read_##size(ctlp->io[rid], offset)) 50 #define rp_readmultiio(size, ctlp, rid, offset, addr, count) \ 51 (bus_read_multi_##size(ctlp->io[rid], offset, addr, count)) 52 #define rp_writeio(size, ctlp, rid, offset, data) \ 53 (bus_write_##size(ctlp->io[rid], offset, data)) 54 #define rp_writemultiio(size, ctlp, rid, offset, addr, count) \ 55 (bus_write_multi_##size(ctlp->io[rid], offset, addr, count)) 57 #define rp_readio1(ctlp, rid, offset) rp_readio(1, ctlp, rid, offse [all...] |