Searched refs:res_count (Results 1 – 1 of 1) sorted by relevance
95 struct resource *res_count; member161 return (bus_read_4(sc->res_count, 0)); in wdcount_read()167 bus_write_4(sc->res_count, 0, val); in wdcount_write()498 sc->res_count = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in amdsbwd_attach_sb()500 if (sc->res_count == NULL) { in amdsbwd_attach_sb()559 if (sc->res_count != NULL) in amdsbwd_detach()561 sc->res_count); in amdsbwd_detach()