Lines Matching refs:drv
24 struct none_driver_data *drv; in none_driver_hapd_init() local
26 drv = os_zalloc(sizeof(struct none_driver_data)); in none_driver_hapd_init()
27 if (drv == NULL) { in none_driver_hapd_init()
32 drv->hapd = hapd; in none_driver_hapd_init()
34 return drv; in none_driver_hapd_init()
40 struct none_driver_data *drv = priv; in none_driver_hapd_deinit() local
42 os_free(drv); in none_driver_hapd_deinit()
55 struct none_driver_data *drv; in none_driver_init() local
57 drv = os_zalloc(sizeof(struct none_driver_data)); in none_driver_init()
58 if (drv == NULL) { in none_driver_init()
63 drv->ctx = ctx; in none_driver_init()
65 return drv; in none_driver_init()
71 struct none_driver_data *drv = priv; in none_driver_deinit() local
73 os_free(drv); in none_driver_deinit()