Searched refs:csr_res (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/mtd/devices/
H A Dms02-nv.c115 struct resource *csr_res; ms02nv_init_one() local
182 csr_res = kzalloc(sizeof(*csr_res), GFP_KERNEL); ms02nv_init_one()
183 if (!csr_res) ms02nv_init_one()
186 csr_res->name = ms02nv_res_csr; ms02nv_init_one()
187 csr_res->start = addr + MS02NV_CSR; ms02nv_init_one()
188 csr_res->end = addr + MS02NV_CSR + 3; ms02nv_init_one()
189 csr_res->flags = IORESOURCE_BUSY; ms02nv_init_one()
190 request_resource(mod_res, csr_res); ms02nv_init_one()
192 mp->resource.csr = csr_res; ms02nv_init_one()
231 release_resource(csr_res); ms02nv_init_one()
232 kfree(csr_res); ms02nv_init_one()

Completed in 36 milliseconds