| /device/board/isoftstone/zhiyuan/kernel/driver/drivers/smc/ |
| D | sunxi-sysinfo.c | 124 char tmpbuf[129] = {0}; in sys_info_show() local 128 sunxi_get_platform(tmpbuf, 129); in sys_info_show() 129 size += sprintf(buf + size, "sunxi_platform : %s\n", tmpbuf); in sys_info_show() 136 memset(tmpbuf, 0x0, sizeof(tmpbuf)); in sys_info_show() 137 sunxi_get_soc_rotpk_status_str(tmpbuf); in sys_info_show() 138 size += sprintf(buf + size, "sunxi_rotpk : %s\n", tmpbuf); in sys_info_show() 147 sprintf(tmpbuf + i*8, "%08x", databuf[i]); in sys_info_show() 148 tmpbuf[128] = 0; in sys_info_show() 149 size += sprintf(buf + size, "sunxi_chipid : %s\n", tmpbuf); in sys_info_show() 154 sprintf(tmpbuf + i*8, "%08x", databuf[i]); in sys_info_show() [all …]
|
| /device/soc/asrmicro/asr582x/liteos_m/sdk/drivers/driver/src/ |
| D | duet_flash.c | 92 char tmpbuf[SPI_FLASH_SEC_SIZE] = {0}; in refresh_flash_sector() local 94 char *tmpbuf = (char *)lega_rtos_malloc((uint32_t)SPI_FLASH_SEC_SIZE); in refresh_flash_sector() local 99 memset(tmpbuf, 0, SPI_FLASH_SEC_SIZE); in refresh_flash_sector() 112 ret = duet_flash_read(tran_partition, §or_start, tmpbuf, SPI_FLASH_SEC_SIZE); in refresh_flash_sector() 116 lega_rtos_free(tmpbuf); in refresh_flash_sector() 125 lega_rtos_free(tmpbuf); in refresh_flash_sector() 130 memcpy(tmpbuf + start_offset - sector_offset, buf, len); in refresh_flash_sector() 132 ret = duet_flash_write(current_partition, §or_start, tmpbuf, SPI_FLASH_SEC_SIZE); in refresh_flash_sector() 136 lega_rtos_free(tmpbuf); in refresh_flash_sector() 143 … ret = duet_flash_write(current_partition, §or_start, tmpbuf, start_offset - sector_offset); in refresh_flash_sector() [all …]
|
| /device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/ |
| D | dev_disp_debugfs.c | 24 char tmpbuf[318]; member 574 strcpy(dispdbg_priv.tmpbuf, dispdbg_priv.command); in dispdbg_command_read() 575 dispdbg_priv.tmpbuf[len] = 0x0A; in dispdbg_command_read() 576 dispdbg_priv.tmpbuf[len + 1] = 0x0; in dispdbg_command_read() 577 len = strlen(dispdbg_priv.tmpbuf); in dispdbg_command_read() 587 ((void __user *)buf, (const void *)dispdbg_priv.tmpbuf, in dispdbg_command_read() 628 strcpy(dispdbg_priv.tmpbuf, dispdbg_priv.name); in dispdbg_name_read() 629 dispdbg_priv.tmpbuf[len] = 0x0A; in dispdbg_name_read() 630 dispdbg_priv.tmpbuf[len + 1] = 0x0; in dispdbg_name_read() 631 len = strlen(dispdbg_priv.tmpbuf); in dispdbg_name_read() [all …]
|
| /device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/ |
| D | ppOp.cpp | 81 char *tmpbuf = (char *)malloc(src_vir_width * src_vir_height / 2); // src_vir_height / 2 in main() local 112 tmpbuf[i * src_vir_width + j * 2 + 0] = // SRC_HEIGHT / 2 in main() 114 tmpbuf[i * src_vir_width + j * 2 + 1] = // SRC_HEIGHT / 2 in main() 120 tmpbuf, src_vir_width * src_vir_height / 2) != EOK) { // SRC_HEIGHT / 2 in main() 199 if (tmpbuf)free(tmpbuf); in main()
|
| /device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/ |
| D | hal_btcoex.c | 1736 u8 tmpbuf[BTC_TMP_BUF_SHORT]; in halbtcoutsrc_DisplayCoexStatistics() 1747 …CL_SPRINTF(tmpbuf, BTC_TMP_BUF_SHORT, ", %s:%d", coexH2cResultString[j], gl_coex_offload.status[j]… in halbtcoutsrc_DisplayCoexStatistics() 1748 CL_STRNCAT(cliBuf, BT_TMP_BUF_SIZE, tmpbuf, BTC_TMP_BUF_SHORT); in halbtcoutsrc_DisplayCoexStatistics() 1761 …CL_SPRINTF(tmpbuf, BTC_TMP_BUF_SHORT, ", %s:%d", coexH2cResultString[j], gl_coex_offload.h2c_recor… in halbtcoutsrc_DisplayCoexStatistics() 1762 CL_STRNCAT(cliBuf, BT_TMP_BUF_SIZE, tmpbuf, BTC_TMP_BUF_SHORT); in halbtcoutsrc_DisplayCoexStatistics() 1771 CL_SPRINTF(tmpbuf, BTC_TMP_BUF_SHORT, "%02x ", gl_coex_offload.h2c_record[i].h2c_buf[j]); in halbtcoutsrc_DisplayCoexStatistics() 1772 CL_STRNCAT(cliBuf, BT_TMP_BUF_SIZE, tmpbuf, 3); in halbtcoutsrc_DisplayCoexStatistics() 1777 CL_SPRINTF(tmpbuf, BTC_TMP_BUF_SHORT, "%02x ", gl_coex_offload.h2c_record[i].c2h_ack_buf[j]); in halbtcoutsrc_DisplayCoexStatistics() 1778 CL_STRNCAT(cliBuf, BT_TMP_BUF_SIZE, tmpbuf, 3); in halbtcoutsrc_DisplayCoexStatistics() 1794 …CL_SPRINTF(tmpbuf, BTC_TMP_BUF_SHORT, ", %s:%d", coexH2cResultString[j], gl_coex_offload.c2h_ind_s… in halbtcoutsrc_DisplayCoexStatistics() [all …]
|
| /device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/h264_multi/ |
| D | vmh264.c | 1756 char *tmpbuf = (char *)codec_mm_phys_to_virt(hw->buffer_spec[i].cma_alloc_addr); in alloc_one_buf_spec() local 1757 if (tmpbuf) { in alloc_one_buf_spec() 1758 memset(tmpbuf, 0, PAGE_ALIGN(buf_size)); in alloc_one_buf_spec() 1759 codec_mm_dma_flush(tmpbuf, in alloc_one_buf_spec() 1763 tmpbuf = codec_mm_vmap(hw->buffer_spec[i].cma_alloc_addr, PAGE_ALIGN(buf_size)); in alloc_one_buf_spec() 1764 if (tmpbuf) { in alloc_one_buf_spec() 1765 memset(tmpbuf, 0, PAGE_ALIGN(buf_size)); in alloc_one_buf_spec() 1766 codec_mm_dma_flush(tmpbuf, in alloc_one_buf_spec() 1769 codec_mm_unmap_phyaddr(tmpbuf); in alloc_one_buf_spec() 9361 char *tmpbuf; in ammvdec_h264_probe() local [all …]
|
| /device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/ |
| D | dbus_usb_linux.c | 2259 char *tmpbuf; in dbus_usbos_dl_cmd() local 2264 tmpbuf = (char *) MALLOC(usbinfo->pub->osh, buflen); in dbus_usbos_dl_cmd() 2265 if (!tmpbuf) { in dbus_usbos_dl_cmd() 2282 (void*) tmpbuf, buflen, USB_CTRL_EP_TIMEOUT); in dbus_usbos_dl_cmd() 2284 memcpy(buffer, tmpbuf, buflen); in dbus_usbos_dl_cmd() 2291 MFREE(usbinfo->pub->osh, tmpbuf, buflen); in dbus_usbos_dl_cmd()
|
| D | dhd_wlfc.c | 3317 uint8* tmpbuf; in dhd_wlfc_parse_header_info() local 3338 tmpbuf = (uint8*)PKTDATA(dhd->osh, pktbuf); in dhd_wlfc_parse_header_info() 3342 type = tmpbuf[processed]; in dhd_wlfc_parse_header_info() 3349 len = tmpbuf[processed + 1]; in dhd_wlfc_parse_header_info() 3350 value = &tmpbuf[processed + 2]; in dhd_wlfc_parse_header_info()
|
| D | dhd_pcie.c | 11037 char *tmpbuf; local 11129 tmpbuf = MALLOCZ(bus->dhd->osh, bus->varsz + 1); 11130 if (tmpbuf == NULL) { 11133 memcpy(tmpbuf, bus->vars, bus->varsz); 11135 if (tmpbuf[tmpidx] == 0) { 11136 tmpbuf[tmpidx] = '\n'; 11141 if ((pos = strstr(tmpbuf, "ccode"))) { 11144 if ((pos = strstr(tmpbuf, "regrev"))) { 11147 MFREE(bus->dhd->osh, tmpbuf, bus->varsz + 1);
|
| /device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/ |
| D | dbus_usb_linux.c | 2257 char *tmpbuf; in dbus_usbos_dl_cmd() local 2262 tmpbuf = (char *) MALLOC(usbinfo->pub->osh, buflen); in dbus_usbos_dl_cmd() 2263 if (!tmpbuf) { in dbus_usbos_dl_cmd() 2280 (void *) tmpbuf, buflen, USB_CTRL_EP_TIMEOUT); in dbus_usbos_dl_cmd() 2282 memcpy(buffer, tmpbuf, buflen); in dbus_usbos_dl_cmd() 2289 MFREE(usbinfo->pub->osh, tmpbuf, buflen); in dbus_usbos_dl_cmd()
|
| D | dhd_wlfc.c | 2973 uint8* tmpbuf; in dhd_wlfc_parse_header_info() local 2994 tmpbuf = (uint8*)PKTDATA(dhd->osh, pktbuf); in dhd_wlfc_parse_header_info() 2998 type = tmpbuf[processed]; in dhd_wlfc_parse_header_info() 3005 len = tmpbuf[processed + 1]; in dhd_wlfc_parse_header_info() 3006 value = &tmpbuf[processed + 2]; in dhd_wlfc_parse_header_info()
|
| /device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
| D | dbus_usb_linux.c | 2258 char *tmpbuf; in dbus_usbos_dl_cmd() local 2263 tmpbuf = (char *) MALLOC(usbinfo->pub->osh, buflen); in dbus_usbos_dl_cmd() 2264 if (!tmpbuf) { in dbus_usbos_dl_cmd() 2281 (void*) tmpbuf, buflen, USB_CTRL_EP_TIMEOUT); in dbus_usbos_dl_cmd() 2283 memcpy(buffer, tmpbuf, buflen); in dbus_usbos_dl_cmd() 2290 MFREE(usbinfo->pub->osh, tmpbuf, buflen); in dbus_usbos_dl_cmd()
|
| D | dhd_wlfc.c | 3006 uint8* tmpbuf; in dhd_wlfc_parse_header_info() local 3027 tmpbuf = (uint8*)PKTDATA(dhd->osh, pktbuf); in dhd_wlfc_parse_header_info() 3031 type = tmpbuf[processed]; in dhd_wlfc_parse_header_info() 3038 len = tmpbuf[processed + 1]; in dhd_wlfc_parse_header_info() 3039 value = &tmpbuf[processed + 2]; in dhd_wlfc_parse_header_info()
|
| /device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/ |
| D | dbus_usb_linux.c | 2349 char *tmpbuf; in dbus_usbos_dl_cmd() local 2355 tmpbuf = (char *)MALLOC(usbinfo->pub->osh, buflen); in dbus_usbos_dl_cmd() 2356 if (!tmpbuf) { in dbus_usbos_dl_cmd() 2374 index, (void *)tmpbuf, buflen, USB_CTRL_EP_TIMEOUT); in dbus_usbos_dl_cmd() 2376 memcpy(buffer, tmpbuf, buflen); in dbus_usbos_dl_cmd() 2383 MFREE(usbinfo->pub->osh, tmpbuf, buflen); in dbus_usbos_dl_cmd()
|
| D | dhd_wlfc.c | 3068 uint8 *tmpbuf; in dhd_wlfc_parse_header_info() local 3089 tmpbuf = (uint8 *)PKTDATA(dhd->osh, pktbuf); in dhd_wlfc_parse_header_info() 3094 type = tmpbuf[processed]; in dhd_wlfc_parse_header_info() 3101 len = tmpbuf[processed + 1]; in dhd_wlfc_parse_header_info() 3102 value = &tmpbuf[processed + 0x2]; in dhd_wlfc_parse_header_info()
|
| /device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/utils/ |
| D | vdec.h | 462 extern u32 vdec_get_frame_vdec(struct vdec_s *vdec, struct vframe_counter_s *tmpbuf);
|
| D | vdec.c | 5510 u32 vdec_get_frame_vdec(struct vdec_s *vdec, struct vframe_counter_s *tmpbuf) in vdec_get_frame_vdec() argument 5549 memcpy(tmpbuf, &fifo_buf[slot_rd], toread*sizeof(struct vframe_counter_s)); in vdec_get_frame_vdec() 5553 memcpy(tmpbuf, &fifo_buf[slot_rd], (NUM_FRAME_VDEC - slot_rd)*sizeof(struct vframe_counter_s)); in vdec_get_frame_vdec() 5554 memcpy(&tmpbuf[NUM_FRAME_VDEC-slot_rd], &fifo_buf[0], exeed*sizeof(struct vframe_counter_s)); in vdec_get_frame_vdec()
|
| /device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/amports/ |
| D | amstream.c | 2589 struct vframe_counter_s tmpbuf[QOS_FRAME_NUM] = {0}; in amstream_do_ioctl_new() local 2614 slots = vdec_get_frame_vdec(vdec, tmpbuf); in amstream_do_ioctl_new() 2626 tmpbuf, in amstream_do_ioctl_new() 2629 kfree(tmpbuf); in amstream_do_ioctl_new() 2637 &tmpbuf[i].qos, in amstream_do_ioctl_new()
|
| /device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/h265/ |
| D | vh265.c | 12895 char *tmpbuf; local 12962 tmpbuf = (char *)codec_mm_phys_to_virt(hevc->buf_start); 12963 if (tmpbuf) { 12964 memset(tmpbuf, 0, work_buf_size); 12969 tmpbuf = codec_mm_vmap(hevc->buf_start, 12971 if (tmpbuf) { 12972 memset(tmpbuf, 0, work_buf_size); 12978 codec_mm_unmap_phyaddr(tmpbuf);
|