Searched defs:cdc (Results 1 - 2 of 2) sorted by relevance

/drivers/net/wireless/brcm80211/brcmfmac/
H A Ddhd_cdc.c114 /* NOTE : cdc->msg.len holds the desired length of the buffer to be
430 struct brcmf_proto *cdc; local
432 cdc = kzalloc(sizeof(struct brcmf_proto), GFP_ATOMIC);
433 if (!cdc)
436 /* ensure that the msg buf directly follows the cdc msg struct */
437 if ((unsigned long)(&cdc->msg + 1) != (unsigned long)cdc->buf) {
442 drvr->prot = cdc;
449 kfree(cdc);
/drivers/net/wireless/bcmdhd/
H A Ddhd_cdc.c94 /* NOTE : cdc->msg.len holds the desired length of the buffer to be
2610 dhd_prot_t *cdc; local
2612 if (!(cdc = (dhd_prot_t *)DHD_OS_PREALLOC(dhd->osh, DHD_PREALLOC_PROT,
2617 memset(cdc, 0, sizeof(dhd_prot_t));
2619 /* ensure that the msg buf directly follows the cdc msg struct */
2620 if ((uintptr)(&cdc->msg + 1) != (uintptr)cdc->buf) {
2625 dhd->prot = cdc;
2634 if (cdc != NULL)
2635 MFREE(dhd->osh, cdc, sizeo
[all...]

Completed in 273 milliseconds