Searched refs:res_count (Results 1 – 1 of 1) sorted by relevance
95 struct resource *res_count; member162 return (bus_read_4(sc->res_count, 0)); in wdcount_read()168 bus_write_4(sc->res_count, 0, val); in wdcount_write()501 sc->res_count = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in amdsbwd_attach_sb()503 if (sc->res_count == NULL) { in amdsbwd_attach_sb()562 if (sc->res_count != NULL) in amdsbwd_detach()564 sc->res_count); in amdsbwd_detach()