Lines Matching refs:driver
27 #define __dsc_driver_lock(psoc) __dsc_lock((psoc)->driver)
28 #define __dsc_driver_unlock(psoc) __dsc_unlock((psoc)->driver)
31 __dsc_psoc_create(struct dsc_driver *driver, struct dsc_psoc **out_psoc) in __dsc_psoc_create() argument
35 if (!dsc_assert(driver)) in __dsc_psoc_create()
43 psoc = qdf_talloc_type(driver, psoc); in __dsc_psoc_create()
48 psoc->driver = driver; in __dsc_psoc_create()
55 qdf_list_insert_back(&driver->psocs, &psoc->node); in __dsc_psoc_create()
64 dsc_psoc_create(struct dsc_driver *driver, struct dsc_psoc **out_psoc) in dsc_psoc_create() argument
68 status = __dsc_psoc_create(driver, out_psoc); in dsc_psoc_create()
93 qdf_list_remove_node(&psoc->driver->psocs, &psoc->node); in __dsc_psoc_destroy()
100 psoc->driver = NULL; in __dsc_psoc_destroy()
146 if (__dsc_trans_active_or_queued(&psoc->driver->trans)) in __dsc_psoc_can_trans()
158 return !__dsc_trans_active_or_queued(&psoc->driver->trans) && in __dsc_psoc_can_trigger()
254 if (__dsc_driver_trans_trigger_checked(psoc->driver)) in __dsc_psoc_trigger_trans()
289 __dsc_trans_active(&psoc->driver->trans)); in __dsc_psoc_assert_trans_protected()