Home
last modified time | relevance | path

Searched refs:data_buf (Results 1 - 9 of 9) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/adc/
H A Dadc_drv.h92 * @param data_buf [IN] type #hi_u16 *,received data.
103 typedef hi_void(*adc_read_cb) (const hi_u16 *data_buf, hi_u32 length);
118 hi_u16 *data_buf; /* point of data buffer */ member
213 * @param data_buf [IN] type #hi_u16 * ,data buffer to store the data.
216 CNcomment:要读的数据长度,数据存入data_buf,不能大于data_buf长度。CNend
225 hi_u32 hi_adc_read_sync(hi_u8 channel, hi_u16 *data_buf, hi_u32 get_len);
236 * @param data_buf [IN] type #hi_u16 * ,data buffer to store the data.
239 CNcomment:要读的数据长度,数据存入data_buf,不能大于data_buf长度。CNen
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/hi3516cv500/mipi_tx/
H A Dmipi_tx_hal.c934 static int mipi_tx_get_read_fifo_data(unsigned int get_data_size, unsigned char *data_buf) in mipi_tx_get_read_fifo_data() argument
944 data_buf[i * 4] = pld_data.bits.gen_pld_b1; /* 0 in 4 */ in mipi_tx_get_read_fifo_data()
945 data_buf[i * 4 + 1] = pld_data.bits.gen_pld_b2; /* 1 in 4 */ in mipi_tx_get_read_fifo_data()
946 data_buf[i * 4 + 2] = pld_data.bits.gen_pld_b3; /* 2 in 4 */ in mipi_tx_get_read_fifo_data()
947 data_buf[i * 4 + 3] = pld_data.bits.gen_pld_b4; /* 3 in 4 */ in mipi_tx_get_read_fifo_data()
958 data_buf[i * 4] = pld_data.bits.gen_pld_b1; /* 0 in 4 */ in mipi_tx_get_read_fifo_data()
961 data_buf[i * 4 + 1] = pld_data.bits.gen_pld_b2; /* 1 in 4 */ in mipi_tx_get_read_fifo_data()
964 data_buf[i * 4 + 2] = pld_data.bits.gen_pld_b3; /* 2 in 4 */ in mipi_tx_get_read_fifo_data()
984 unsigned char* data_buf = NULL; in mipi_tx_drv_get_cmd_info() local
986 data_buf in mipi_tx_drv_get_cmd_info()
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/fm11nt081d/
H A Dfm11nt081d.c319 hi_char data_buf[120]; in nfc_ioctl() local
329 nfc_read_ep(data_buf); in nfc_ioctl()
330 ret = copy_to_user((hi_char __user *)arg, data_buf, sizeof(data_buf)); in nfc_ioctl()
334 NFC_INFO("io ctl read_led: %d", strlen(data_buf)); in nfc_ioctl()
337 ret = copy_from_user(data_buf, (hi_char __user *)arg, sizeof(data_buf)); in nfc_ioctl()
341 nfc_write_ep(data_buf); in nfc_ioctl()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dbcmxtlv.c201 uint8 *data_buf; in bcm_xtlv_pack_xtlv() local
209 data_buf = lenp + sizeof(uint16); in bcm_xtlv_pack_xtlv()
215 data_buf = lenp + sizeof(uint8); in bcm_xtlv_pack_xtlv()
221 data_buf = lenp + sizeof(uint16); in bcm_xtlv_pack_xtlv()
227 data_buf = lenp + sizeof(uint8); in bcm_xtlv_pack_xtlv()
241 memcpy(data_buf, data, len); in bcm_xtlv_pack_xtlv()
H A Dwl_cfgvendor.c6421 if (!(*buf) || (((*buf)->len) <= 0) || !((*buf)->data_buf[0])) { in wl_cfgvendor_get_buf_data()
6461 ret = dhd_export_debug_data(mem_buf, NULL, buf->data_buf[0], in wl_cfgvendor_dbg_file_dump()
6466 ret = dhd_print_time_str(buf->data_buf[0], NULL, in wl_cfgvendor_dbg_file_dump()
6472 buf->data_buf[0], NULL, (uint32)buf->len, &pos); in wl_cfgvendor_dbg_file_dump()
6478 buf->data_buf[0], NULL, (uint32)buf->len, &pos); in wl_cfgvendor_dbg_file_dump()
6484 buf->data_buf[0], NULL, (uint32)buf->len, &pos); in wl_cfgvendor_dbg_file_dump()
6489 buf->data_buf[0], NULL, (uint32)buf->len, &pos); in wl_cfgvendor_dbg_file_dump()
6494 buf->data_buf[0], NULL, (uint32)buf->len, &pos); in wl_cfgvendor_dbg_file_dump()
6500 buf->data_buf[0], NULL, (uint32)buf->len, &pos); in wl_cfgvendor_dbg_file_dump()
6505 buf->data_buf[ in wl_cfgvendor_dbg_file_dump()
[all...]
H A Ddhd_config.c490 dhd_conf_read_otp_from_bp(si_t *sih, uint32 *data_buf, in dhd_conf_read_otp_from_bp() argument
535 sizeof(uint32), &data_buf[i], TRUE) != BCME_OK) { in dhd_conf_read_otp_from_bp()
538 CONFIG_TRACE("tuple index %d, raw data 0x%08x\n", i, data_buf[i]); in dhd_conf_read_otp_from_bp()
H A Ddhd_linux.c6354 int dhd_ioctl_process(dhd_pub_t *pub, int ifidx, dhd_ioctl_t *ioc, void *data_buf) in dhd_ioctl_process() argument
6373 if (data_buf) in dhd_ioctl_process()
6375 bcmerror = dhd_ioctl((void *)pub, ioc, data_buf, buflen); in dhd_ioctl_process()
6382 if (data_buf) in dhd_ioctl_process()
6421 (ioc->cmd == WLC_SET_VAR && data_buf != NULL && in dhd_ioctl_process()
6422 strncmp("wsec_key", data_buf, 9) == 0) || in dhd_ioctl_process()
6423 (ioc->cmd == WLC_SET_VAR && data_buf != NULL && in dhd_ioctl_process()
6424 strncmp("bsscfg:wsec_key", data_buf, 15) == 0) || in dhd_ioctl_process()
6429 data_buf != NULL && strncmp("rpc_", data_buf, in dhd_ioctl_process()
[all...]
H A Dwl_cfg80211.h1153 const void *data_buf[1]; /* array of user space buffer pointers. */ member
H A Ddhd.h2748 int dhd_ioctl_process(dhd_pub_t *pub, int ifidx, struct dhd_ioctl *ioc, void *data_buf);

Completed in 44 milliseconds