Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_custom_cis.c550 unsigned char *g_cis_buf = NULL; variable
589 if (g_cis_buf == NULL) { in dhd_alloc_cis()
590 g_cis_buf = MALLOCZ(dhdp->osh, CIS_BUF_SIZE); in dhd_alloc_cis()
591 if (g_cis_buf == NULL) { in dhd_alloc_cis()
596 memset(g_cis_buf, 0, CIS_BUF_SIZE); in dhd_alloc_cis()
605 if (g_cis_buf) { in dhd_clear_cis()
606 MFREE(dhdp->osh, g_cis_buf, CIS_BUF_SIZE); in dhd_clear_cis()
607 g_cis_buf = NULL; in dhd_clear_cis()
631 (void)memcpy_s(g_cis_buf + cis_offset, CIS_BUF_SIZE, raw_data, totlen); in dhd_read_cis()
649 cish = (cis_rw_t *)(g_cis_buf + 8); in dhd_read_cis()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_custom_cis.c550 unsigned char *g_cis_buf = NULL; variable
589 if (g_cis_buf == NULL) { in dhd_alloc_cis()
590 g_cis_buf = MALLOCZ(dhdp->osh, CIS_BUF_SIZE); in dhd_alloc_cis()
591 if (g_cis_buf == NULL) { in dhd_alloc_cis()
596 memset(g_cis_buf, 0, CIS_BUF_SIZE); in dhd_alloc_cis()
605 if (g_cis_buf) { in dhd_clear_cis()
606 MFREE(dhdp->osh, g_cis_buf, CIS_BUF_SIZE); in dhd_clear_cis()
607 g_cis_buf = NULL; in dhd_clear_cis()
631 (void)memcpy_s(g_cis_buf + cis_offset, CIS_BUF_SIZE, raw_data, totlen); in dhd_read_cis()
649 cish = (cis_rw_t *)(g_cis_buf + 8); in dhd_read_cis()
[all …]