Lines Matching refs:modulecb
443 kfree(wlc->modulecb); in brcms_c_detach_mfree()
523 wlc->modulecb = in brcms_c_attach_malloc()
524 kcalloc(BRCMS_MAXMODULES, sizeof(struct modulecb), in brcms_c_attach_malloc()
526 if (wlc->modulecb == NULL) { in brcms_c_attach_malloc()
5184 if (wlc->modulecb[i].down_fn) in brcms_c_down()
5186 wlc->modulecb[i].down_fn(wlc->modulecb[i].hdl); in brcms_c_down()
5553 if (wlc->modulecb[i].name[0] == '\0') { in brcms_c_module_register()
5554 strncpy(wlc->modulecb[i].name, name, in brcms_c_module_register()
5555 sizeof(wlc->modulecb[i].name) - 1); in brcms_c_module_register()
5556 wlc->modulecb[i].hdl = hdl; in brcms_c_module_register()
5557 wlc->modulecb[i].down_fn = d_fn; in brcms_c_module_register()
5576 if (!strcmp(wlc->modulecb[i].name, name) && in brcms_c_module_unregister()
5577 (wlc->modulecb[i].hdl == hdl)) { in brcms_c_module_unregister()
5578 memset(&wlc->modulecb[i], 0, sizeof(wlc->modulecb[i])); in brcms_c_module_unregister()