Lines Matching refs:csr_res
111 struct resource *csr_res; in ms02nv_init_one() local
178 csr_res = kzalloc(sizeof(*csr_res), GFP_KERNEL); in ms02nv_init_one()
179 if (!csr_res) in ms02nv_init_one()
182 csr_res->name = ms02nv_res_csr; in ms02nv_init_one()
183 csr_res->start = addr + MS02NV_CSR; in ms02nv_init_one()
184 csr_res->end = addr + MS02NV_CSR + 3; in ms02nv_init_one()
185 csr_res->flags = IORESOURCE_BUSY; in ms02nv_init_one()
186 request_resource(mod_res, csr_res); in ms02nv_init_one()
188 mp->resource.csr = csr_res; in ms02nv_init_one()
227 release_resource(csr_res); in ms02nv_init_one()
228 kfree(csr_res); in ms02nv_init_one()