Lines Matching refs:user_res
110 struct resource *user_res; in ms02nv_init_one() local
165 user_res = kzalloc(sizeof(*user_res), GFP_KERNEL); in ms02nv_init_one()
166 if (!user_res) in ms02nv_init_one()
169 user_res->name = ms02nv_res_user_ram; in ms02nv_init_one()
170 user_res->start = addr + MS02NV_RAM; in ms02nv_init_one()
171 user_res->end = addr + size - 1; in ms02nv_init_one()
172 user_res->flags = IORESOURCE_BUSY; in ms02nv_init_one()
173 request_resource(mod_res, user_res); in ms02nv_init_one()
175 mp->resource.user_ram = user_res; in ms02nv_init_one()
230 release_resource(user_res); in ms02nv_init_one()
231 kfree(user_res); in ms02nv_init_one()