Home
last modified time | relevance | path

Searched refs:reg_res (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/riscv/sifive/
H A Dfe310_aon.c107 #define FEAON_READ_4(sc, reg) bus_read_4(sc->reg_res, reg)
108 #define FEAON_WRITE_4(sc, reg, val) bus_write_4(sc->reg_res, reg, val)
121 struct resource *reg_res; member
258 if ((sc->reg_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in feaon_attach()
277 bus_release_resource(dev, SYS_RES_MEMORY, sc->reg_rid, sc->reg_res); in feaon_attach()
/freebsd/sys/dev/tws/
H A Dtws.c241 if ((sc->reg_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in tws_attach()
247 sc->bus_tag = rman_get_bustag(sc->reg_res); in tws_attach()
248 sc->bus_handle = rman_get_bushandle(sc->reg_res); in tws_attach()
329 if ( sc->reg_res ){ in tws_attach()
331 SYS_RES_MEMORY, sc->reg_res_id, sc->reg_res)) in tws_attach()
399 if ( sc->reg_res ){ in tws_detach()
401 SYS_RES_MEMORY, sc->reg_res_id, sc->reg_res)) in tws_detach()
H A Dtws.h224 struct resource *reg_res; /* register interface window */ member
/freebsd/sys/dev/mrsas/
H A Dmrsas.c887 if ((sc->reg_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in mrsas_attach()
893 sc->bus_tag = rman_get_bustag(sc->reg_res); in mrsas_attach()
894 sc->bus_handle = rman_get_bushandle(sc->reg_res); in mrsas_attach()
976 if (sc->reg_res) { in mrsas_attach()
978 sc->reg_res_id, sc->reg_res); in mrsas_attach()
1133 if (sc->reg_res) { in mrsas_detach()
1135 SYS_RES_MEMORY, sc->reg_res_id, sc->reg_res); in mrsas_detach()
H A Dmrsas.h3439 struct resource *reg_res; member
/freebsd/contrib/sendmail/src/
H A Dmap.c7765 int reg_res; local
7780 reg_res = regexec(map_p->regex_pattern_buf,
7786 if (reg_res == REG_NOMATCH)
7791 if (reg_res == REG_NOMATCH)