| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/ |
| H A D | hal_api_btc.c | 363 struct hal_bt_msg *bmsg = NULL; in rtw_hal_btc_fwinfo_ntfy() local 375 bmsg = &fmsg->scbd; in rtw_hal_btc_fwinfo_ntfy() 376 if (bmsg->cnt) { in rtw_hal_btc_fwinfo_ntfy() 377 _os_spinlock(d, &bmsg->lock, _bh, NULL); in rtw_hal_btc_fwinfo_ntfy() 378 bmsg->cnt = 0; in rtw_hal_btc_fwinfo_ntfy() 379 _os_mem_cpy(d, &bmsg->working[0], in rtw_hal_btc_fwinfo_ntfy() 380 &bmsg->latest[0], bmsg->len); in rtw_hal_btc_fwinfo_ntfy() 381 _os_spinunlock(d, &bmsg->lock, _bh, NULL); in rtw_hal_btc_fwinfo_ntfy() 384 ops->ntfy_fwinfo(btc, &bmsg->working[0], bmsg->len, in rtw_hal_btc_fwinfo_ntfy() 392 bmsg = &fmsg->btinfo; in rtw_hal_btc_fwinfo_ntfy() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/ |
| H A D | spl_boot_mode.c | 15 struct bootloader_message *bmsg; in misc_require_recovery() local 28 bmsg = memalign(ARCH_DMA_MINALIGN, cnt * dev_desc->blksz); in misc_require_recovery() 29 if (!bmsg) in misc_require_recovery() 32 if (blk_dread(dev_desc, part.start + bcb_offset, cnt, bmsg) != cnt) in misc_require_recovery() 35 recovery = !strcmp(bmsg->command, "boot-recovery"); in misc_require_recovery() 36 free(bmsg); in misc_require_recovery()
|
| H A D | boot_mode.c | 24 struct bootloader_message *bmsg; in misc_require_recovery() local 41 bmsg = memalign(ARCH_DMA_MINALIGN, cnt * dev_desc->blksz); in misc_require_recovery() 42 if (blk_dread(dev_desc, part.start + bcb_offset, cnt, bmsg) != cnt) { in misc_require_recovery() 45 recovery = !strcmp(bmsg->command, "boot-recovery"); in misc_require_recovery() 47 if (!strcmp(bmsg->recovery, "recovery\n--rk_fwupdate\n")) in misc_require_recovery() 49 else if (!strcmp(bmsg->recovery, "recovery\n--factory_mode=whole") || in misc_require_recovery() 50 !strcmp(bmsg->recovery, "recovery\n--factory_mode=small")) in misc_require_recovery() 55 free(bmsg); in misc_require_recovery()
|
| H A D | spl.c | 390 struct bootloader_message *bmsg = NULL; in spl_kernel_partition() local 405 cnt = DIV_ROUND_UP(sizeof(*bmsg), info->bl_len); in spl_kernel_partition() 406 bmsg = memalign(ARCH_DMA_MINALIGN, cnt * info->bl_len); in spl_kernel_partition() 408 cnt, bmsg); in spl_kernel_partition() 409 if (ret == cnt && !strcmp(bmsg->command, "boot-recovery")) { in spl_kernel_partition() 410 free(bmsg); in spl_kernel_partition() 413 free(bmsg); in spl_kernel_partition()
|
| H A D | boot_rkimg.c | 357 struct bootloader_message bmsg; in board_run_recovery_wipe_data() local 381 memset((char *)&bmsg, 0, sizeof(struct bootloader_message)); in board_run_recovery_wipe_data() 382 strcpy(bmsg.command, "boot-recovery"); in board_run_recovery_wipe_data() 383 strcpy(bmsg.recovery, "recovery\n--wipe_data"); in board_run_recovery_wipe_data() 384 bmsg.status[0] = 0; in board_run_recovery_wipe_data() 386 ret = blk_dwrite(dev_desc, part_info.start + bcb_offset, cnt, &bmsg); in board_run_recovery_wipe_data()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/ |
| H A D | hal_api_btc.c | 446 struct hal_bt_msg *bmsg = NULL; in rtw_hal_btc_fwinfo_ntfy() local 458 bmsg = &fmsg->scbd; in rtw_hal_btc_fwinfo_ntfy() 459 if (bmsg->cnt) { in rtw_hal_btc_fwinfo_ntfy() 460 _os_spinlock(d, &bmsg->lock, _bh, NULL); in rtw_hal_btc_fwinfo_ntfy() 461 bmsg->cnt = 0; in rtw_hal_btc_fwinfo_ntfy() 462 _os_mem_cpy(d, &bmsg->working[0], in rtw_hal_btc_fwinfo_ntfy() 463 &bmsg->latest[0], bmsg->len); in rtw_hal_btc_fwinfo_ntfy() 464 _os_spinunlock(d, &bmsg->lock, _bh, NULL); in rtw_hal_btc_fwinfo_ntfy() 467 ops->ntfy_fwinfo(btc, &bmsg->working[0], bmsg->len, in rtw_hal_btc_fwinfo_ntfy() 475 bmsg = &fmsg->btinfo; in rtw_hal_btc_fwinfo_ntfy() [all …]
|
| /OK3568_Linux_fs/kernel/net/tipc/ |
| H A D | msg.c | 487 struct tipc_msg *bmsg = buf_msg(bskb); in tipc_msg_bundle() local 491 bsz = msg_size(bmsg); in tipc_msg_bundle() 502 msg_set_size(bmsg, offset + msz); in tipc_msg_bundle() 503 msg_set_msgcnt(bmsg, msg_msgcnt(bmsg) + 1); in tipc_msg_bundle()
|