| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/hal/rtl8188e/sdio/ |
| H A D | sdio_ops.c | 289 u8 *ptmpbuf; in _sdio_read32() local 291 ptmpbuf = (u8*)rtw_malloc(8); in _sdio_read32() 292 if (NULL == ptmpbuf) { in _sdio_read32() 298 _sd_read(pintfhdl, ftaddr, 8, ptmpbuf); in _sdio_read32() 299 _rtw_memcpy(&val, ptmpbuf+shift, 4); in _sdio_read32() 302 rtw_mfree(ptmpbuf, 8); in _sdio_read32() 354 u8 *ptmpbuf; in sdio_read32() local 356 ptmpbuf = (u8*)rtw_malloc(8); in sdio_read32() 357 if (NULL == ptmpbuf) { in sdio_read32() 363 sd_read(pintfhdl, ftaddr, 8, ptmpbuf); in sdio_read32() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/rtl8188f/sdio/ |
| H A D | sdio_ops.c | 262 u8 *ptmpbuf; in sdio_read32() local 264 ptmpbuf = (u8 *)rtw_malloc(8); in sdio_read32() 265 if (NULL == ptmpbuf) { in sdio_read32() 271 err = sd_read(pintfhdl, ftaddr, 8, ptmpbuf); in sdio_read32() 274 _rtw_memcpy(&val, ptmpbuf + shift, 4); in sdio_read32() 277 rtw_mfree(ptmpbuf, 8); in sdio_read32() 327 u8 *ptmpbuf; in sdio_readN() local 332 ptmpbuf = rtw_malloc(n); in sdio_readN() 333 if (NULL == ptmpbuf) in sdio_readN() 335 err = sd_read(pintfhdl, ftaddr, n, ptmpbuf); in sdio_readN() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/rtl8723b/sdio/ |
| H A D | sdio_ops.c | 224 u8 *ptmpbuf; in sdio_read32() local 226 ptmpbuf = (u8 *)rtw_malloc(8); in sdio_read32() 227 if (NULL == ptmpbuf) { in sdio_read32() 233 err = sd_read(pintfhdl, ftaddr, 8, ptmpbuf); in sdio_read32() 236 _rtw_memcpy(&val, ptmpbuf + shift, 4); in sdio_read32() 239 rtw_mfree(ptmpbuf, 8); in sdio_read32() 279 u8 *ptmpbuf; in sdio_readN() local 284 ptmpbuf = rtw_malloc(n); in sdio_readN() 285 if (NULL == ptmpbuf) in sdio_readN() 287 err = sd_read(pintfhdl, ftaddr, n, ptmpbuf); in sdio_readN() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/rtl8703b/sdio/ |
| H A D | sdio_ops.c | 224 u8 *ptmpbuf; in sdio_read32() local 226 ptmpbuf = (u8 *)rtw_malloc(8); in sdio_read32() 227 if (NULL == ptmpbuf) { in sdio_read32() 233 sd_read(pintfhdl, ftaddr, 8, ptmpbuf); in sdio_read32() 234 _rtw_memcpy(&val, ptmpbuf + shift, 4); in sdio_read32() 237 rtw_mfree(ptmpbuf, 8); in sdio_read32() 277 u8 *ptmpbuf; in sdio_readN() local 282 ptmpbuf = rtw_malloc(n); in sdio_readN() 283 if (NULL == ptmpbuf) in sdio_readN() 285 err = sd_read(pintfhdl, ftaddr, n, ptmpbuf); in sdio_readN() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/rtl8723d/sdio/ |
| H A D | sdio_ops.c | 226 u8 *ptmpbuf; in sdio_read32() local 228 ptmpbuf = (u8 *)rtw_malloc(8); in sdio_read32() 229 if (NULL == ptmpbuf) { in sdio_read32() 236 sd_read(pintfhdl, ftaddr, 8, ptmpbuf); in sdio_read32() 237 _rtw_memcpy(&val, ptmpbuf + shift, 4); in sdio_read32() 240 rtw_mfree(ptmpbuf, 8); in sdio_read32() 280 u8 *ptmpbuf; in sdio_readN() local 285 ptmpbuf = rtw_malloc(n); in sdio_readN() 286 if (NULL == ptmpbuf) in sdio_readN() 288 err = sd_read(pintfhdl, ftaddr, n, ptmpbuf); in sdio_readN() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/rtl8723d/sdio/ |
| H A D | sdio_ops.c | 227 u8 *ptmpbuf; in sdio_read32() local 229 ptmpbuf = (u8 *)rtw_malloc(8); in sdio_read32() 230 if (NULL == ptmpbuf) { in sdio_read32() 237 sd_read(pintfhdl, ftaddr, 8, ptmpbuf); in sdio_read32() 238 _rtw_memcpy(&val, ptmpbuf + shift, 4); in sdio_read32() 241 rtw_mfree(ptmpbuf, 8); in sdio_read32() 281 u8 *ptmpbuf; in sdio_readN() local 286 ptmpbuf = rtw_malloc(n); in sdio_readN() 287 if (NULL == ptmpbuf) in sdio_readN() 289 err = sd_read(pintfhdl, ftaddr, n, ptmpbuf); in sdio_readN() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/rtl8188f/sdio/ |
| H A D | sdio_ops.c | 261 u8 *ptmpbuf; in sdio_read32() local 263 ptmpbuf = (u8 *)rtw_malloc(8); in sdio_read32() 264 if (NULL == ptmpbuf) { in sdio_read32() 270 err = sd_read(pintfhdl, ftaddr, 8, ptmpbuf); in sdio_read32() 273 _rtw_memcpy(&val, ptmpbuf + shift, 4); in sdio_read32() 276 rtw_mfree(ptmpbuf, 8); in sdio_read32() 326 u8 *ptmpbuf; in sdio_readN() local 331 ptmpbuf = rtw_malloc(n); in sdio_readN() 332 if (NULL == ptmpbuf) in sdio_readN() 334 err = sd_read(pintfhdl, ftaddr, n, ptmpbuf); in sdio_readN() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/efuse/ |
| H A D | hal_efuse.c | 444 char *ptmpbuf = NULL, *ptr; in efuse_file_open() local 450 ptmpbuf = _os_mem_alloc(d, bufsize); in efuse_file_open() 451 if (ptmpbuf == NULL) { in efuse_file_open() 456 file_size = _os_read_file(filepath, (u8*)ptmpbuf, bufsize); in efuse_file_open() 459 _os_mem_free(d, (void*)ptmpbuf, bufsize); in efuse_file_open() 466 ptr = ptmpbuf; in efuse_file_open() 468 if (ptmpbuf[i] == '\0') in efuse_file_open() 470 ptr = _os_strpbrk((char *)&ptmpbuf[i], " \t\n\r"); in efuse_file_open() 472 if (ptr == &ptmpbuf[i]) { in efuse_file_open() 479 ptr = &ptmpbuf[file_size-1]; in efuse_file_open() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/efuse/ |
| H A D | hal_efuse.c | 444 char *ptmpbuf = NULL, *ptr; in efuse_file_open() local 450 ptmpbuf = _os_mem_alloc(d, bufsize); in efuse_file_open() 451 if (ptmpbuf == NULL) { in efuse_file_open() 456 file_size = _os_read_file(filepath, (u8*)ptmpbuf, bufsize); in efuse_file_open() 459 _os_mem_free(d, (void*)ptmpbuf, bufsize); in efuse_file_open() 466 ptr = ptmpbuf; in efuse_file_open() 468 if (ptmpbuf[i] == '\0') in efuse_file_open() 470 ptr = _os_strpbrk((char *)&ptmpbuf[i], " \t\n\r"); in efuse_file_open() 472 if (ptr == &ptmpbuf[i]) { in efuse_file_open() 479 ptr = &ptmpbuf[file_size-1]; in efuse_file_open() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/core/efuse/ |
| H A D | rtw_efuse.c | 822 char *ptmpbuf=NULL; in rtw_efuse_file_read() local 826 ptmpbuf = rtw_zmalloc(2048); in rtw_efuse_file_read() 828 if (ptmpbuf == NULL) in rtw_efuse_file_read() 831 _rtw_memset(ptmpbuf,'\0',2048); in rtw_efuse_file_read() 833 rtStatus = rtw_retrieve_from_file(filepatch, ptmpbuf, 2048); in rtw_efuse_file_read() 840 if (( ptmpbuf[i] == ' ' ) && (ptmpbuf[i+1] != '\n' && ptmpbuf[i+1] != '\0')) { in rtw_efuse_file_read() 843 if( (ptmpbuf[i+1] != '\n' && ptmpbuf[i+1] != '\0')) in rtw_efuse_file_read() 845 buf[j] = simple_strtoul(&ptmpbuf[i],&ptmp, 16); in rtw_efuse_file_read() 858 rtw_mfree(ptmpbuf, 2048); in rtw_efuse_file_read()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/efuse/ |
| H A D | rtw_efuse.c | 804 char *ptmpbuf=NULL; in rtw_efuse_file_read() local 808 ptmpbuf = rtw_zmalloc(2048); in rtw_efuse_file_read() 810 if (ptmpbuf == NULL) in rtw_efuse_file_read() 813 _rtw_memset(ptmpbuf,'\0',2048); in rtw_efuse_file_read() 815 rtStatus = rtw_retrieve_from_file(filepatch, ptmpbuf, 2048); in rtw_efuse_file_read() 822 if (( ptmpbuf[i] == ' ' ) && (ptmpbuf[i+1] != '\n' && ptmpbuf[i+1] != '\0')) { in rtw_efuse_file_read() 825 if( (ptmpbuf[i+1] != '\n' && ptmpbuf[i+1] != '\0')) in rtw_efuse_file_read() 827 buf[j] = simple_strtoul(&ptmpbuf[i],&ptmp, 16); in rtw_efuse_file_read() 840 rtw_mfree(ptmpbuf, 2048); in rtw_efuse_file_read()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/core/efuse/ |
| H A D | rtw_efuse.c | 2719 char *ptmpbuf = NULL, *ptr; in rtw_efuse_file_read() local 2725 ptmpbuf = rtw_zmalloc(bufsize); in rtw_efuse_file_read() 2726 if (ptmpbuf == NULL) in rtw_efuse_file_read() 2729 count = rtw_retrieve_from_file(filepatch, ptmpbuf, bufsize); in rtw_efuse_file_read() 2731 rtw_mfree(ptmpbuf, bufsize); in rtw_efuse_file_read() 2738 ptr = ptmpbuf; in rtw_efuse_file_read() 2740 if (ptmpbuf[i] == '\0') in rtw_efuse_file_read() 2743 ptr = strpbrk(&ptmpbuf[i], " \t\n\r"); in rtw_efuse_file_read() 2745 if (ptr == &ptmpbuf[i]) { in rtw_efuse_file_read() 2753 ptr = &ptmpbuf[count-1]; in rtw_efuse_file_read() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/efuse/ |
| H A D | rtw_efuse.c | 3313 char *ptmpbuf = NULL, *ptr; in rtw_efuse_file_read() local 3319 ptmpbuf = rtw_zmalloc(bufsize); in rtw_efuse_file_read() 3320 if (ptmpbuf == NULL) in rtw_efuse_file_read() 3323 count = rtw_retrieve_from_file(filepath, ptmpbuf, bufsize); in rtw_efuse_file_read() 3325 rtw_mfree(ptmpbuf, bufsize); in rtw_efuse_file_read() 3331 ptr = ptmpbuf; in rtw_efuse_file_read() 3333 if (ptmpbuf[i] == '\0') in rtw_efuse_file_read() 3335 ptr = strpbrk(&ptmpbuf[i], " \t\n\r"); in rtw_efuse_file_read() 3337 if (ptr == &ptmpbuf[i]) { in rtw_efuse_file_read() 3344 ptr = &ptmpbuf[count-1]; in rtw_efuse_file_read() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/efuse/ |
| H A D | rtw_efuse.c | 3112 char *ptmpbuf = NULL, *ptr; in rtw_efuse_file_read() local 3118 ptmpbuf = rtw_zmalloc(bufsize); in rtw_efuse_file_read() 3119 if (ptmpbuf == NULL) in rtw_efuse_file_read() 3122 count = rtw_retrieve_from_file(filepatch, ptmpbuf, bufsize); in rtw_efuse_file_read() 3124 rtw_mfree(ptmpbuf, bufsize); in rtw_efuse_file_read() 3131 ptr = ptmpbuf; in rtw_efuse_file_read() 3133 if (ptmpbuf[i] == '\0') in rtw_efuse_file_read() 3136 ptr = strpbrk(&ptmpbuf[i], " \t\n\r"); in rtw_efuse_file_read() 3138 if (ptr == &ptmpbuf[i]) { in rtw_efuse_file_read() 3146 ptr = &ptmpbuf[count-1]; in rtw_efuse_file_read() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/efuse/ |
| H A D | rtw_efuse.c | 3285 char *ptmpbuf = NULL, *ptr; in rtw_efuse_file_read() local 3291 ptmpbuf = rtw_zmalloc(bufsize); in rtw_efuse_file_read() 3292 if (ptmpbuf == NULL) in rtw_efuse_file_read() 3295 count = rtw_retrieve_from_file(filepatch, ptmpbuf, bufsize); in rtw_efuse_file_read() 3297 rtw_mfree(ptmpbuf, bufsize); in rtw_efuse_file_read() 3304 ptr = ptmpbuf; in rtw_efuse_file_read() 3306 if (ptmpbuf[i] == '\0') in rtw_efuse_file_read() 3309 ptr = strpbrk(&ptmpbuf[i], " \t\n\r"); in rtw_efuse_file_read() 3311 if (ptr == &ptmpbuf[i]) { in rtw_efuse_file_read() 3319 ptr = &ptmpbuf[count-1]; in rtw_efuse_file_read() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/efuse/ |
| H A D | rtw_efuse.c | 3313 char *ptmpbuf = NULL, *ptr; in rtw_efuse_file_read() local 3319 ptmpbuf = rtw_zmalloc(bufsize); in rtw_efuse_file_read() 3320 if (ptmpbuf == NULL) in rtw_efuse_file_read() 3323 count = rtw_retrieve_from_file(filepath, ptmpbuf, bufsize); in rtw_efuse_file_read() 3325 rtw_mfree(ptmpbuf, bufsize); in rtw_efuse_file_read() 3331 ptr = ptmpbuf; in rtw_efuse_file_read() 3333 if (ptmpbuf[i] == '\0') in rtw_efuse_file_read() 3335 ptr = strpbrk(&ptmpbuf[i], " \t\n\r"); in rtw_efuse_file_read() 3337 if (ptr == &ptmpbuf[i]) { in rtw_efuse_file_read() 3344 ptr = &ptmpbuf[count-1]; in rtw_efuse_file_read() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/efuse/ |
| H A D | rtw_efuse.c | 3113 char *ptmpbuf = NULL, *ptr; in rtw_efuse_file_read() local 3119 ptmpbuf = rtw_zmalloc(bufsize); in rtw_efuse_file_read() 3120 if (ptmpbuf == NULL) in rtw_efuse_file_read() 3123 count = rtw_retrieve_from_file(filepatch, ptmpbuf, bufsize); in rtw_efuse_file_read() 3125 rtw_mfree(ptmpbuf, bufsize); in rtw_efuse_file_read() 3132 ptr = ptmpbuf; in rtw_efuse_file_read() 3134 if (ptmpbuf[i] == '\0') in rtw_efuse_file_read() 3137 ptr = strpbrk(&ptmpbuf[i], " \t\n\r"); in rtw_efuse_file_read() 3139 if (ptr == &ptmpbuf[i]) { in rtw_efuse_file_read() 3147 ptr = &ptmpbuf[count-1]; in rtw_efuse_file_read() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/efuse/ |
| H A D | rtw_efuse.c | 3302 char *ptmpbuf = NULL, *ptr; in rtw_efuse_file_read() local 3308 ptmpbuf = rtw_zmalloc(bufsize); in rtw_efuse_file_read() 3309 if (ptmpbuf == NULL) in rtw_efuse_file_read() 3312 count = rtw_retrieve_from_file(filepath, ptmpbuf, bufsize); in rtw_efuse_file_read() 3314 rtw_mfree(ptmpbuf, bufsize); in rtw_efuse_file_read() 3320 ptr = ptmpbuf; in rtw_efuse_file_read() 3322 if (ptmpbuf[i] == '\0') in rtw_efuse_file_read() 3324 ptr = strpbrk(&ptmpbuf[i], " \t\n\r"); in rtw_efuse_file_read() 3326 if (ptr == &ptmpbuf[i]) { in rtw_efuse_file_read() 3333 ptr = &ptmpbuf[count-1]; in rtw_efuse_file_read() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/efuse/ |
| H A D | rtw_efuse.c | 3272 char *ptmpbuf = NULL, *ptr; in rtw_efuse_file_read() local 3278 ptmpbuf = rtw_zmalloc(bufsize); in rtw_efuse_file_read() 3279 if (ptmpbuf == NULL) in rtw_efuse_file_read() 3282 count = rtw_retrieve_from_file(filepatch, ptmpbuf, bufsize); in rtw_efuse_file_read() 3284 rtw_mfree(ptmpbuf, bufsize); in rtw_efuse_file_read() 3291 ptr = ptmpbuf; in rtw_efuse_file_read() 3293 if (ptmpbuf[i] == '\0') in rtw_efuse_file_read() 3296 ptr = strpbrk(&ptmpbuf[i], " \t\n\r"); in rtw_efuse_file_read() 3298 if (ptr == &ptmpbuf[i]) { in rtw_efuse_file_read() 3306 ptr = &ptmpbuf[count-1]; in rtw_efuse_file_read() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/efuse/ |
| H A D | rtw_efuse.c | 3017 char *ptmpbuf = NULL, *ptr; in rtw_efuse_file_read() local 3023 ptmpbuf = rtw_zmalloc(bufsize); in rtw_efuse_file_read() 3024 if (ptmpbuf == NULL) in rtw_efuse_file_read() 3027 count = rtw_retrieve_from_file(filepatch, ptmpbuf, bufsize); in rtw_efuse_file_read() 3029 rtw_mfree(ptmpbuf, bufsize); in rtw_efuse_file_read() 3036 ptr = ptmpbuf; in rtw_efuse_file_read() 3038 if (ptmpbuf[i] == '\0') in rtw_efuse_file_read() 3041 ptr = strpbrk(&ptmpbuf[i], " \t\n\r"); in rtw_efuse_file_read() 3043 if (ptr == &ptmpbuf[i]) { in rtw_efuse_file_read() 3051 ptr = &ptmpbuf[count-1]; in rtw_efuse_file_read() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/efuse/ |
| H A D | rtw_efuse.c | 3374 char *ptmpbuf = NULL, *ptr; in rtw_efuse_file_read() local 3380 ptmpbuf = rtw_zmalloc(bufsize); in rtw_efuse_file_read() 3381 if (ptmpbuf == NULL) in rtw_efuse_file_read() 3384 count = rtw_retrieve_from_file(filepath, ptmpbuf, bufsize); in rtw_efuse_file_read() 3386 rtw_mfree(ptmpbuf, bufsize); in rtw_efuse_file_read() 3392 ptr = ptmpbuf; in rtw_efuse_file_read() 3394 if (ptmpbuf[i] == '\0') in rtw_efuse_file_read() 3396 ptr = strpbrk(&ptmpbuf[i], " \t\n\r"); in rtw_efuse_file_read() 3398 if (ptr == &ptmpbuf[i]) { in rtw_efuse_file_read() 3405 ptr = &ptmpbuf[count-1]; in rtw_efuse_file_read() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/efuse/ |
| H A D | rtw_efuse.c | 3374 char *ptmpbuf = NULL, *ptr; in rtw_efuse_file_read() local 3380 ptmpbuf = rtw_zmalloc(bufsize); in rtw_efuse_file_read() 3381 if (ptmpbuf == NULL) in rtw_efuse_file_read() 3384 count = rtw_retrieve_from_file(filepath, ptmpbuf, bufsize); in rtw_efuse_file_read() 3386 rtw_mfree(ptmpbuf, bufsize); in rtw_efuse_file_read() 3392 ptr = ptmpbuf; in rtw_efuse_file_read() 3394 if (ptmpbuf[i] == '\0') in rtw_efuse_file_read() 3396 ptr = strpbrk(&ptmpbuf[i], " \t\n\r"); in rtw_efuse_file_read() 3398 if (ptr == &ptmpbuf[i]) { in rtw_efuse_file_read() 3405 ptr = &ptmpbuf[count-1]; in rtw_efuse_file_read() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/efuse/ |
| H A D | rtw_efuse.c | 3374 char *ptmpbuf = NULL, *ptr; in rtw_efuse_file_read() local 3380 ptmpbuf = rtw_zmalloc(bufsize); in rtw_efuse_file_read() 3381 if (ptmpbuf == NULL) in rtw_efuse_file_read() 3384 count = rtw_retrieve_from_file(filepath, ptmpbuf, bufsize); in rtw_efuse_file_read() 3386 rtw_mfree(ptmpbuf, bufsize); in rtw_efuse_file_read() 3392 ptr = ptmpbuf; in rtw_efuse_file_read() 3394 if (ptmpbuf[i] == '\0') in rtw_efuse_file_read() 3396 ptr = strpbrk(&ptmpbuf[i], " \t\n\r"); in rtw_efuse_file_read() 3398 if (ptr == &ptmpbuf[i]) { in rtw_efuse_file_read() 3405 ptr = &ptmpbuf[count-1]; in rtw_efuse_file_read() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/efuse/ |
| H A D | rtw_efuse.c | 3337 char *ptmpbuf = NULL, *ptr; in rtw_efuse_file_read() local 3343 ptmpbuf = rtw_zmalloc(bufsize); in rtw_efuse_file_read() 3344 if (ptmpbuf == NULL) in rtw_efuse_file_read() 3347 count = rtw_retrieve_from_file(filepath, ptmpbuf, bufsize); in rtw_efuse_file_read() 3349 rtw_mfree(ptmpbuf, bufsize); in rtw_efuse_file_read() 3355 ptr = ptmpbuf; in rtw_efuse_file_read() 3357 if (ptmpbuf[i] == '\0') in rtw_efuse_file_read() 3359 ptr = strpbrk(&ptmpbuf[i], " \t\n\r"); in rtw_efuse_file_read() 3361 if (ptr == &ptmpbuf[i]) { in rtw_efuse_file_read() 3368 ptr = &ptmpbuf[count-1]; in rtw_efuse_file_read() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/efuse/ |
| H A D | rtw_efuse.c | 3338 char *ptmpbuf = NULL, *ptr; in rtw_efuse_file_read() local 3344 ptmpbuf = rtw_zmalloc(bufsize); in rtw_efuse_file_read() 3345 if (ptmpbuf == NULL) in rtw_efuse_file_read() 3348 count = rtw_retrieve_from_file(filepath, ptmpbuf, bufsize); in rtw_efuse_file_read() 3350 rtw_mfree(ptmpbuf, bufsize); in rtw_efuse_file_read() 3356 ptr = ptmpbuf; in rtw_efuse_file_read() 3358 if (ptmpbuf[i] == '\0') in rtw_efuse_file_read() 3360 ptr = strpbrk(&ptmpbuf[i], " \t\n\r"); in rtw_efuse_file_read() 3362 if (ptr == &ptmpbuf[i]) { in rtw_efuse_file_read() 3369 ptr = &ptmpbuf[count-1]; in rtw_efuse_file_read() [all …]
|