Home
last modified time | relevance | path

Searched refs:r_rid (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/dev/ahci/
H A Dahci_mv_fdt.c97 ctlr->r_rid = 0; in ahci_mv_fdt_attach()
106 &ctlr->r_rid, RF_ACTIVE | RF_SHAREABLE); in ahci_mv_fdt_attach()
116 bus_release_resource(dev, SYS_RES_MEMORY, ctlr->r_rid, ctlr->r_mem); in ahci_mv_fdt_attach()
H A Dahci_pci.c535 ctlr->r_rid = PCIR_BAR(0); in ahci_pci_attach()
537 ctlr->r_rid = PCIR_BAR(5); in ahci_pci_attach()
539 &ctlr->r_rid, RF_ACTIVE))) in ahci_pci_attach()
605 if (ctlr->r_msix_tab_rid != ctlr->r_rid) { in ahci_pci_attach()
621 (ctlr->r_msix_pba_rid != ctlr->r_rid)) { in ahci_pci_attach()
H A Dahci_fsl_fdt.c307 ahci->r_rid = 0; in ahci_fsl_fdt_attach()
325 "reg-names", "ahci", &ahci->r_rid)) { in ahci_fsl_fdt_attach()
332 &ahci->r_rid, RF_ACTIVE); in ahci_fsl_fdt_attach()
H A Dahci.h495 int r_rid; member
H A Dahci.c423 bus_release_resource(dev, SYS_RES_MEMORY, ctlr->r_rid, ctlr->r_mem); in ahci_free_mem()
/freebsd/sys/arm/allwinner/
H A Da10_ahci.c314 ctlr->r_rid = 0; in ahci_a10_attach()
316 &ctlr->r_rid, RF_ACTIVE))) in ahci_a10_attach()
381 bus_release_resource(dev, SYS_RES_MEMORY, ctlr->r_rid, ctlr->r_mem); in ahci_a10_attach()
400 bus_release_resource(dev, SYS_RES_MEMORY, ctlr->r_rid, ctlr->r_mem); in ahci_a10_detach()
/freebsd/sys/dev/mvs/
H A Dmvs_soc.c139 ctlr->r_rid = 0; in mvs_attach()
141 &ctlr->r_rid, RF_ACTIVE))) in mvs_attach()
151 bus_release_resource(dev, SYS_RES_MEMORY, ctlr->r_rid, ctlr->r_mem); in mvs_attach()
156 bus_release_resource(dev, SYS_RES_MEMORY, ctlr->r_rid, ctlr->r_mem); in mvs_attach()
163 bus_release_resource(dev, SYS_RES_MEMORY, ctlr->r_rid, ctlr->r_mem); in mvs_attach()
197 bus_release_resource(dev, SYS_RES_MEMORY, ctlr->r_rid, ctlr->r_mem); in mvs_detach()
H A Dmvs.h592 int r_rid; member
/freebsd/sys/dev/proto/
H A Dproto_core.c102 r->r_rid = rid; in proto_add_resource()
197 "proto/%s/%02x.%s", device_get_desc(dev), r->r_rid, in proto_attach()
244 bus_release_resource(dev, r->r_type, r->r_rid, in proto_detach()
248 bus_release_resource(dev, r->r_type, r->r_rid, in proto_detach()
254 bus_release_resource(dev, r->r_type, r->r_rid, in proto_detach()
H A Dproto.h39 int r_rid; member
/freebsd/sys/arm/freescale/imx/
H A Dimx6_ahci.c250 ctlr->r_rid = 0; in imx6_ahci_attach()
252 &ctlr->r_rid, RF_ACTIVE)) == NULL) { in imx6_ahci_attach()
324 bus_release_resource(dev, SYS_RES_MEMORY, ctlr->r_rid, ctlr->r_mem); in imx6_ahci_attach()
/freebsd/sys/kern/
H A Dsubr_rman.c93 int r_rid; /* optional rid for this resource. */ member
898 r->__r_i->r_rid = rid; in rman_set_rid()
905 return (r->__r_i->r_rid); in rman_get_rid()
1073 r->r_start, r->r_end, r->r_rid); in dump_rman()
/freebsd/sys/dev/siis/
H A Dsiis.c157 ctlr->r_rid = PCIR_BAR(2); in siis_attach()
159 &ctlr->r_rid, RF_ACTIVE))) in siis_attach()
167 bus_release_resource(dev, SYS_RES_MEMORY, ctlr->r_rid, ctlr->r_mem); in siis_attach()
173 bus_release_resource(dev, SYS_RES_MEMORY, ctlr->r_rid, ctlr->r_mem); in siis_attach()
185 bus_release_resource(dev, SYS_RES_MEMORY, ctlr->r_rid, ctlr->r_mem); in siis_attach()
220 bus_release_resource(dev, SYS_RES_MEMORY, ctlr->r_rid, ctlr->r_mem); in siis_detach()
H A Dsiis.h400 int r_rid; member