Home
last modified time | relevance | path

Searched refs:g_notify (Results 1 – 1 of 1) sorted by relevance

/third_party/NuttX/drivers/usbdev/gadget/
Df_mass_storage.c134 } g_notify = { .notify_mtx = PTHREAD_MUTEX_INITIALIZER, .init = false }; variable
138 mtx_lock(&g_notify.notify_mtx); in fmass_notify_init()
139 if (g_notify.init == false) in fmass_notify_init()
141 g_notify.init = true; in fmass_notify_init()
142 (void)memset_s(g_notify.notify, sizeof(struct fmass_notify) * MAX_NOFIFY_NUM, in fmass_notify_init()
145 mtx_unlock(&g_notify.notify_mtx); in fmass_notify_init()
1494 struct fmass_notify *f_notify = g_notify.notify; in fmass_register_notify()
1495 struct mtx *notify_mtx = &g_notify.notify_mtx; in fmass_register_notify()
1516 struct fmass_notify *f_notify = g_notify.notify; in fmass_unregister_notify()
1517 struct mtx *notify_mtx = &g_notify.notify_mtx; in fmass_unregister_notify()
[all …]