Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dwlioctl_utils.h40 extern int wl_cntbuf_to_xtlv_format(void *ctx, void *cntbuf,
46 #define GET_WLCCNT_FROM_CNTBUF(cntbuf) (const wl_cnt_wlc_t*) \ argument
47 bcm_get_data_from_xtlv_buf(((const wl_cnt_info_t *)cntbuf)->data, \
48 ((const wl_cnt_info_t *)cntbuf)->datalen, WL_CNT_XTLV_WLC, \
54 #define CHK_CNTBUF_DATALEN(cntbuf, ioctl_buflen) do { \ argument
55 if (((wl_cnt_info_t *)cntbuf)->datalen + \
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dwlioctl_utils.h40 extern int wl_cntbuf_to_xtlv_format(void *ctx, void *cntbuf,
46 #define GET_WLCCNT_FROM_CNTBUF(cntbuf) (const wl_cnt_wlc_t*) \ argument
47 bcm_get_data_from_xtlv_buf(((const wl_cnt_info_t *)cntbuf)->data, \
48 ((const wl_cnt_info_t *)cntbuf)->datalen, WL_CNT_XTLV_WLC, \
54 #define CHK_CNTBUF_DATALEN(cntbuf, ioctl_buflen) do { \ argument
55 if (((wl_cnt_info_t *)cntbuf)->datalen + \
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A Dwlioctl_utils.h45 extern int wl_cntbuf_to_xtlv_format(void *ctx, void *cntbuf,
51 #define GET_WLCCNT_FROM_CNTBUF(cntbuf) \ argument
52 bcm_get_data_from_xtlv_buf(((wl_cnt_info_t *)cntbuf)->data, \
53 ((wl_cnt_info_t *)cntbuf)->datalen, WL_CNT_XTLV_WLC, \
56 #define CHK_CNTBUF_DATALEN(cntbuf, ioctl_buflen) do { \ argument
57 if (((wl_cnt_info_t *)cntbuf)->datalen + \
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Dwlioctl_utils.h46 extern int wl_cntbuf_to_xtlv_format(void *ctx, void *cntbuf,
52 #define GET_WLCCNT_FROM_CNTBUF(cntbuf) (const wl_cnt_wlc_t*) \ argument
53 bcm_get_data_from_xtlv_buf(((const wl_cnt_info_t *)cntbuf)->data, \
54 ((const wl_cnt_info_t *)cntbuf)->datalen, WL_CNT_XTLV_WLC, \
57 #define CHK_CNTBUF_DATALEN(cntbuf, ioctl_buflen) do { \ argument
58 if (((wl_cnt_info_t *)cntbuf)->datalen + \
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Dwlioctl_utils.h46 extern int wl_cntbuf_to_xtlv_format(void *ctx, void *cntbuf,
52 #define GET_WLCCNT_FROM_CNTBUF(cntbuf) (const wl_cnt_wlc_t*) \ argument
53 bcm_get_data_from_xtlv_buf(((const wl_cnt_info_t *)cntbuf)->data, \
54 ((const wl_cnt_info_t *)cntbuf)->datalen, WL_CNT_XTLV_WLC, \
57 #define CHK_CNTBUF_DATALEN(cntbuf, ioctl_buflen) do { \ argument
58 if (((wl_cnt_info_t *)cntbuf)->datalen + \
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dwlioctl_utils.h46 extern int wl_cntbuf_to_xtlv_format(void *ctx, void *cntbuf,
52 #define GET_WLCCNT_FROM_CNTBUF(cntbuf) (const wl_cnt_wlc_t*) \ argument
53 bcm_get_data_from_xtlv_buf(((const wl_cnt_info_t *)cntbuf)->data, \
54 ((const wl_cnt_info_t *)cntbuf)->datalen, WL_CNT_XTLV_WLC, \
57 #define CHK_CNTBUF_DATALEN(cntbuf, ioctl_buflen) do { \ argument
58 if (((wl_cnt_info_t *)cntbuf)->datalen + \
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dbcm_app_utils.c918 wl_cntbuf_to_xtlv_format(void *ctx, void *cntbuf, int buflen, uint32 corerev) in wl_cntbuf_to_xtlv_format() argument
925 wl_cnt_info_t *cntinfo = cntbuf; in wl_cntbuf_to_xtlv_format()
1012 memset(cntbuf, 0, buflen); in wl_cntbuf_to_xtlv_format()
H A Dwl_iw.c3553 char *cntbuf = NULL; local
3597 cntbuf = kmalloc(MAX_WLIW_IOCTL_LEN, GFP_KERNEL);
3598 if (!cntbuf) {
3603 memset(cntbuf, 0, MAX_WLIW_IOCTL_LEN);
3604 res = dev_wlc_bufvar_get(dev, "counters", cntbuf, MAX_WLIW_IOCTL_LEN);
3611 cntinfo = (wl_cnt_info_t *)cntbuf;
3615 CHK_CNTBUF_DATALEN(cntbuf, MAX_WLIW_IOCTL_LEN);
3648 if (cntbuf) {
3649 kfree(cntbuf);
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dbcm_app_utils.c918 wl_cntbuf_to_xtlv_format(void *ctx, void *cntbuf, int buflen, uint32 corerev) in wl_cntbuf_to_xtlv_format() argument
925 wl_cnt_info_t *cntinfo = cntbuf; in wl_cntbuf_to_xtlv_format()
1012 memset(cntbuf, 0, buflen); in wl_cntbuf_to_xtlv_format()
H A Dwl_iw.c3547 char *cntbuf = NULL; local
3591 cntbuf = kmalloc(MAX_WLIW_IOCTL_LEN, GFP_KERNEL);
3592 if (!cntbuf) {
3597 memset(cntbuf, 0, MAX_WLIW_IOCTL_LEN);
3598 res = dev_wlc_bufvar_get(dev, "counters", cntbuf, MAX_WLIW_IOCTL_LEN);
3605 cntinfo = (wl_cnt_info_t *)cntbuf;
3609 CHK_CNTBUF_DATALEN(cntbuf, MAX_WLIW_IOCTL_LEN);
3642 if (cntbuf) {
3643 kfree(cntbuf);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dbcm_app_utils.c918 wl_cntbuf_to_xtlv_format(void *ctx, void *cntbuf, int buflen, uint32 corerev) in wl_cntbuf_to_xtlv_format() argument
925 wl_cnt_info_t *cntinfo = cntbuf; in wl_cntbuf_to_xtlv_format()
1012 memset(cntbuf, 0, buflen); in wl_cntbuf_to_xtlv_format()
H A Dwl_iw.c3553 char *cntbuf = NULL; local
3597 cntbuf = kmalloc(MAX_WLIW_IOCTL_LEN, GFP_KERNEL);
3598 if (!cntbuf) {
3603 memset(cntbuf, 0, MAX_WLIW_IOCTL_LEN);
3604 res = dev_wlc_bufvar_get(dev, "counters", cntbuf, MAX_WLIW_IOCTL_LEN);
3611 cntinfo = (wl_cnt_info_t *)cntbuf;
3615 CHK_CNTBUF_DATALEN(cntbuf, MAX_WLIW_IOCTL_LEN);
3648 if (cntbuf) {
3649 kfree(cntbuf);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dbcm_app_utils.c900 wl_cntbuf_to_xtlv_format(void *ctx, void *cntbuf, int buflen, uint32 corerev) in wl_cntbuf_to_xtlv_format() argument
907 wl_cnt_info_t *cntinfo = cntbuf; in wl_cntbuf_to_xtlv_format()
994 memset(cntbuf, 0, buflen); in wl_cntbuf_to_xtlv_format()
H A Dwl_iw.c3843 char *cntbuf = NULL; in wl_iw_get_wireless_stats() local
3892 cntbuf = kmalloc(MAX_WLIW_IOCTL_LEN, GFP_KERNEL); in wl_iw_get_wireless_stats()
3893 if (!cntbuf) { in wl_iw_get_wireless_stats()
3898 memset(cntbuf, 0, MAX_WLIW_IOCTL_LEN); in wl_iw_get_wireless_stats()
3899 res = dev_wlc_bufvar_get(dev, "counters", cntbuf, MAX_WLIW_IOCTL_LEN); in wl_iw_get_wireless_stats()
3906 cntinfo = (wl_cnt_info_t *)cntbuf; in wl_iw_get_wireless_stats()
3911 CHK_CNTBUF_DATALEN(cntbuf, MAX_WLIW_IOCTL_LEN); in wl_iw_get_wireless_stats()
3947 if (cntbuf) { in wl_iw_get_wireless_stats()
3948 kfree(cntbuf); in wl_iw_get_wireless_stats()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_iw.c3854 char *cntbuf = NULL; in wl_iw_get_wireless_stats() local
3903 cntbuf = kmalloc(MAX_WLIW_IOCTL_LEN, GFP_KERNEL); in wl_iw_get_wireless_stats()
3904 if (!cntbuf) { in wl_iw_get_wireless_stats()
3909 memset(cntbuf, 0, MAX_WLIW_IOCTL_LEN); in wl_iw_get_wireless_stats()
3910 res = dev_wlc_bufvar_get(dev, "counters", cntbuf, MAX_WLIW_IOCTL_LEN); in wl_iw_get_wireless_stats()
3917 cntinfo = (wl_cnt_info_t *)cntbuf; in wl_iw_get_wireless_stats()
3922 CHK_CNTBUF_DATALEN(cntbuf, MAX_WLIW_IOCTL_LEN); in wl_iw_get_wireless_stats()
3958 if (cntbuf) { in wl_iw_get_wireless_stats()
3959 kfree(cntbuf); in wl_iw_get_wireless_stats()
H A Dbcm_app_utils.c1159 wl_cntbuf_to_xtlv_format(void *ctx, void *cntbuf, int buflen, uint32 corerev) in wl_cntbuf_to_xtlv_format() argument
1166 wl_cnt_info_t *cntinfo = cntbuf; in wl_cntbuf_to_xtlv_format()
1254 memset(cntbuf, 0, buflen); in wl_cntbuf_to_xtlv_format()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dbcm_app_utils.c1159 wl_cntbuf_to_xtlv_format(void *ctx, void *cntbuf, int buflen, uint32 corerev) in wl_cntbuf_to_xtlv_format() argument
1166 wl_cnt_info_t *cntinfo = cntbuf; in wl_cntbuf_to_xtlv_format()
1254 memset(cntbuf, 0, buflen); in wl_cntbuf_to_xtlv_format()
H A Dwl_iw.c3907 char *cntbuf = NULL; in wl_iw_get_wireless_stats() local
3958 cntbuf = kmalloc(MAX_WLIW_IOCTL_LEN, GFP_KERNEL); in wl_iw_get_wireless_stats()
3959 if (!cntbuf) { in wl_iw_get_wireless_stats()
3964 memset(cntbuf, 0, MAX_WLIW_IOCTL_LEN); in wl_iw_get_wireless_stats()
3965 res = dev_wlc_bufvar_get(dev, "counters", cntbuf, MAX_WLIW_IOCTL_LEN); in wl_iw_get_wireless_stats()
3972 cntinfo = (wl_cnt_info_t *)cntbuf; in wl_iw_get_wireless_stats()
3976 CHK_CNTBUF_DATALEN(cntbuf, MAX_WLIW_IOCTL_LEN); in wl_iw_get_wireless_stats()
4011 if (cntbuf) { in wl_iw_get_wireless_stats()
4012 kfree(cntbuf); in wl_iw_get_wireless_stats()