/third_party/FreeBSD/sys/dev/usb/storage/ |
H A D | umass.c | 2784 uint8_t *data_buf = buf; in umass_read10() local 2796 if (((uintptr_t)data_buf & (USB_CACHE_ALIGN_SIZE - 1)) != 0) in umass_read10() 2798 data_buf = (uint8_t *)memalign(USB_CACHE_ALIGN_SIZE, SKB_DATA_ALIGN(nsectors * blocksize)); in umass_read10() 2799 if (data_buf == NULL) { in umass_read10() 2809 ret = umass_command_start(sc, DIR_IN, (void *)data_buf, blocksize * nsectors, 0, in umass_read10() 2813 free(data_buf); in umass_read10() 2819 ret = memcpy_s(buf, nsectors * blocksize, data_buf, blocksize * nsectors - sc->data_ccb->csio.resid); in umass_read10() 2822 LOS_ArchCopyToUser(buf, data_buf, blocksize * nsectors - sc->data_ccb->csio.resid) : ERANGE_AND_RESET); in umass_read10() 2824 free(data_buf); in umass_read10() 2843 uint8_t *data_buf in umass_read16() local 2902 uint8_t *data_buf = (uint8_t *)buf; umass_write10() local 2957 uint8_t *data_buf = (uint8_t *)buf; umass_write16() local [all...] |
/kernel/linux/linux-5.10/drivers/iio/chemical/ |
H A D | sgp30.c | 209 u8 *data_buf = &buf->start; in sgp_verify_buffer() local 212 crc = crc8(sgp_crc8_table, &data_buf[i], SGP_WORD_LEN, in sgp_verify_buffer() 214 if (crc != data_buf[i + SGP_WORD_LEN]) { in sgp_verify_buffer() 241 u8 *data_buf; in sgp_read_cmd() local 251 data_buf = &buf->start; in sgp_read_cmd() 252 ret = i2c_master_recv(client, data_buf, size); in sgp_read_cmd()
|
/kernel/linux/linux-6.6/drivers/iio/chemical/ |
H A D | sgp30.c | 209 u8 *data_buf = &buf->start; in sgp_verify_buffer() local 212 crc = crc8(sgp_crc8_table, &data_buf[i], SGP_WORD_LEN, in sgp_verify_buffer() 214 if (crc != data_buf[i + SGP_WORD_LEN]) { in sgp_verify_buffer() 241 u8 *data_buf; in sgp_read_cmd() local 251 data_buf = &buf->start; in sgp_read_cmd() 252 ret = i2c_master_recv(client, data_buf, size); in sgp_read_cmd()
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | 11n_rxreorder.h | 68 void *data_buf); 74 void *data_buf);
|
H A D | cmdevt.c | 42 u32 cmd_no, void *data_buf, bool sync) in mwifiex_init_cmd_node() 52 cmd_node->data_buf = data_buf; in mwifiex_init_cmd_node() 97 cmd_node->data_buf = NULL; in mwifiex_clean_cmd_node() 559 u16 cmd_action, u32 cmd_oid, void *data_buf, bool sync) in mwifiex_send_cmd() 622 mwifiex_init_cmd_node(priv, cmd_node, cmd_no, data_buf, sync); in mwifiex_send_cmd() 646 cmd_oid, data_buf, in mwifiex_send_cmd() 651 cmd_oid, data_buf, in mwifiex_send_cmd() 656 ret = mwifiex_cmd_host_cmd(priv, cmd_ptr, data_buf); in mwifiex_send_cmd() 845 if (adapter->curr_cmd->data_buf) { in mwifiex_process_cmdresp() 40 mwifiex_init_cmd_node(struct mwifiex_private *priv, struct cmd_ctrl_node *cmd_node, u32 cmd_no, void *data_buf, bool sync) mwifiex_init_cmd_node() argument 558 mwifiex_send_cmd(struct mwifiex_private *priv, u16 cmd_no, u16 cmd_action, u32 cmd_oid, void *data_buf, bool sync) mwifiex_send_cmd() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/ |
H A D | 11n_rxreorder.h | 56 void *data_buf); 62 void *data_buf);
|
H A D | cmdevt.c | 30 u32 cmd_no, void *data_buf, bool sync) in mwifiex_init_cmd_node() 40 cmd_node->data_buf = data_buf; in mwifiex_init_cmd_node() 85 cmd_node->data_buf = NULL; in mwifiex_clean_cmd_node() 547 u16 cmd_action, u32 cmd_oid, void *data_buf, bool sync) in mwifiex_send_cmd() 615 mwifiex_init_cmd_node(priv, cmd_node, cmd_no, data_buf, sync); in mwifiex_send_cmd() 639 cmd_oid, data_buf, in mwifiex_send_cmd() 644 cmd_oid, data_buf, in mwifiex_send_cmd() 649 ret = mwifiex_cmd_host_cmd(priv, cmd_ptr, data_buf); in mwifiex_send_cmd() 847 if (adapter->curr_cmd->data_buf) { in mwifiex_process_cmdresp() 28 mwifiex_init_cmd_node(struct mwifiex_private *priv, struct cmd_ctrl_node *cmd_node, u32 cmd_no, void *data_buf, bool sync) mwifiex_init_cmd_node() argument 546 mwifiex_send_cmd(struct mwifiex_private *priv, u16 cmd_no, u16 cmd_action, u32 cmd_oid, void *data_buf, bool sync) mwifiex_send_cmd() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | f_tcm.c | 216 cmd->data_buf = kmalloc(se_cmd->data_length, GFP_ATOMIC); in bot_send_read_response() 217 if (!cmd->data_buf) in bot_send_read_response() 222 cmd->data_buf, in bot_send_read_response() 225 fu->bot_req_in->buf = cmd->data_buf; in bot_send_read_response() 260 cmd->data_buf = kmalloc(se_cmd->data_length, GFP_KERNEL); in bot_send_write_request() 261 if (!cmd->data_buf) in bot_send_write_request() 264 fu->bot_req_out->buf = cmd->data_buf; in bot_send_write_request() 518 cmd->data_buf = kmalloc(se_cmd->data_length, GFP_ATOMIC); in uasp_prepare_r_request() 519 if (!cmd->data_buf) in uasp_prepare_r_request() 524 cmd->data_buf, in uasp_prepare_r_request() [all...] |
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | mxc_nand.c | 183 uint8_t *data_buf; member 246 * This function handles the needed shuffling between host->data_buf (which 615 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v3() 629 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v1_v2() 893 memset(host->data_buf, 0xff, mtd->writesize); in mxc_nand_write_oob() 895 return mxc_nand_write_page(chip, host->data_buf, false, page); in mxc_nand_write_oob() 909 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte() 913 ret = *(uint8_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte() 934 memcpy(host->data_buf + col, buf, n); in mxc_nand_write_buf() 953 memcpy(buf, host->data_buf in mxc_nand_read_buf() [all...] |
H A D | lpc32xx_slc.c | 234 uint8_t *data_buf; member 504 dma_buf = host->data_buf; in lpc32xx_xfer() 507 memcpy(host->data_buf, buf, mtd->writesize); in lpc32xx_xfer() 593 memcpy(buf, host->data_buf, mtd->writesize); in lpc32xx_xfer() 782 host->ecc_buf = (uint32_t *)(host->data_buf + LPC32XX_DMA_DATA_SIZE); in lpc32xx_nand_attach_chip() 907 host->data_buf = devm_kzalloc(&pdev->dev, host->dma_buf_len, in lpc32xx_nand_probe() 909 if (host->data_buf == NULL) { in lpc32xx_nand_probe()
|
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | mxc_nand.c | 181 uint8_t *data_buf; member 243 * This function handles the needed shuffling between host->data_buf (which 612 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v3() 626 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v1_v2() 890 memset(host->data_buf, 0xff, mtd->writesize); in mxc_nand_write_oob() 892 return mxc_nand_write_page(chip, host->data_buf, false, page); in mxc_nand_write_oob() 906 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte() 910 ret = *(uint8_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte() 931 memcpy(host->data_buf + col, buf, n); in mxc_nand_write_buf() 950 memcpy(buf, host->data_buf in mxc_nand_read_buf() [all...] |
H A D | lpc32xx_slc.c | 232 uint8_t *data_buf; member 502 dma_buf = host->data_buf; in lpc32xx_xfer() 505 memcpy(host->data_buf, buf, mtd->writesize); in lpc32xx_xfer() 591 memcpy(buf, host->data_buf, mtd->writesize); in lpc32xx_xfer() 778 host->ecc_buf = (uint32_t *)(host->data_buf + LPC32XX_DMA_DATA_SIZE); in lpc32xx_nand_attach_chip() 903 host->data_buf = devm_kzalloc(&pdev->dev, host->dma_buf_len, in lpc32xx_nand_probe() 905 if (host->data_buf == NULL) { in lpc32xx_nand_probe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tiny/ |
H A D | gm12u320.c | 91 unsigned char *data_buf[GM12U320_BLOCK_COUNT]; member 177 gm12u320->data_buf[i] = drmm_kzalloc(&gm12u320->dev, in gm12u320_usb_alloc() 179 if (!gm12u320->data_buf[i]) in gm12u320_usb_alloc() 182 memcpy(gm12u320->data_buf[i], hdr, DATA_BLOCK_HEADER_SIZE); in gm12u320_usb_alloc() 183 memcpy(gm12u320->data_buf[i] + in gm12u320_usb_alloc() 302 gm12u320->data_buf[block] + dst_offset, in gm12u320_copy_fb_to_blocks() 309 gm12u320->data_buf[block] + dst_offset, in gm12u320_copy_fb_to_blocks() 364 gm12u320->data_buf[block], block_size, in gm12u320_fb_update_work()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tiny/ |
H A D | gm12u320.c | 93 unsigned char *data_buf[GM12U320_BLOCK_COUNT]; member 185 gm12u320->data_buf[i] = drmm_kzalloc(&gm12u320->dev, in gm12u320_usb_alloc() 187 if (!gm12u320->data_buf[i]) in gm12u320_usb_alloc() 190 memcpy(gm12u320->data_buf[i], hdr, DATA_BLOCK_HEADER_SIZE); in gm12u320_usb_alloc() 191 memcpy(gm12u320->data_buf[i] + in gm12u320_usb_alloc() 300 gm12u320->data_buf[block] + dst_offset, in gm12u320_copy_fb_to_blocks() 307 gm12u320->data_buf[block] + dst_offset, in gm12u320_copy_fb_to_blocks() 356 gm12u320->data_buf[block], block_size, in gm12u320_fb_update_work()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/ |
H A D | iser_initiator.c | 370 struct iser_data_buf *data_buf, *prot_buf; in iser_send_command() local 384 data_buf = &iser_task->data[ISER_DIR_IN]; in iser_send_command() 387 data_buf = &iser_task->data[ISER_DIR_OUT]; in iser_send_command() 392 data_buf->sg = scsi_sglist(sc); in iser_send_command() 393 data_buf->size = scsi_sg_count(sc); in iser_send_command() 395 data_buf->data_len = scsi_bufflen(sc); in iser_send_command() 400 prot_buf->data_len = (data_buf->data_len >> in iser_send_command()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/ |
H A D | ena_ethtool.c | 927 u64 *data_buf; in ena_dump_stats_ex() local 946 data_buf = devm_kcalloc(&adapter->pdev->dev, in ena_dump_stats_ex() 949 if (!data_buf) { in ena_dump_stats_ex() 957 ena_get_stats(adapter, data_buf, false); in ena_dump_stats_ex() 965 data_buf[i]); in ena_dump_stats_ex() 972 data_buf[i]); in ena_dump_stats_ex() 975 devm_kfree(&adapter->pdev->dev, data_buf); in ena_dump_stats_ex()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/amazon/ena/ |
H A D | ena_ethtool.c | 1004 u64 *data_buf; in ena_dump_stats_ex() local 1023 data_buf = devm_kcalloc(&adapter->pdev->dev, in ena_dump_stats_ex() 1026 if (!data_buf) { in ena_dump_stats_ex() 1034 ena_get_stats(adapter, data_buf, false); in ena_dump_stats_ex() 1042 data_buf[i]); in ena_dump_stats_ex() 1049 data_buf[i]); in ena_dump_stats_ex() 1052 devm_kfree(&adapter->pdev->dev, data_buf); in ena_dump_stats_ex()
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/iser/ |
H A D | iser_initiator.c | 348 struct iser_data_buf *data_buf, *prot_buf; in iser_send_command() local 360 data_buf = &iser_task->data[ISER_DIR_IN]; in iser_send_command() 363 data_buf = &iser_task->data[ISER_DIR_OUT]; in iser_send_command() 368 data_buf->sg = scsi_sglist(sc); in iser_send_command() 369 data_buf->size = scsi_sg_count(sc); in iser_send_command() 371 data_buf->data_len = scsi_bufflen(sc); in iser_send_command() 376 prot_buf->data_len = (data_buf->data_len >> in iser_send_command()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vif.h | 30 float *data_buf[13], float **temp, int nb_threads);
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | f_tcm.c | 216 cmd->data_buf = kmalloc(se_cmd->data_length, GFP_ATOMIC); in bot_send_read_response() 217 if (!cmd->data_buf) in bot_send_read_response() 222 cmd->data_buf, in bot_send_read_response() 225 fu->bot_req_in->buf = cmd->data_buf; in bot_send_read_response() 260 cmd->data_buf = kmalloc(se_cmd->data_length, GFP_KERNEL); in bot_send_write_request() 261 if (!cmd->data_buf) in bot_send_write_request() 264 fu->bot_req_out->buf = cmd->data_buf; in bot_send_write_request() 518 cmd->data_buf = kmalloc(se_cmd->data_length, GFP_ATOMIC); in uasp_prepare_r_request() 519 if (!cmd->data_buf) in uasp_prepare_r_request() 524 cmd->data_buf, in uasp_prepare_r_request() [all...] |
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | rpi-panel-attiny-regulator.c | 252 u8 data_buf[1] = { 0, }; in attiny_i2c_read() local 271 msgs[0].buf = data_buf; in attiny_i2c_read() 277 *buf = data_buf[0]; in attiny_i2c_read()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | sign.rs | 352 /// Signs the data in `data_buf` and writes the signature into the buffer `sig_buf`, returning the 367 data_buf: &[u8], in sign_oneshot() 375 data_buf.as_ptr() as *const _, in sign_oneshot() 376 data_buf.len(), in sign_oneshot() 386 pub fn sign_oneshot_to_vec(&mut self, data_buf: &[u8]) -> Result<Vec<u8>, ErrorStack> { in sign_oneshot_to_vec() 388 let len = self.sign_oneshot(&mut sig_buf, data_buf)?; in sign_oneshot_to_vec()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_qos.c | 638 struct sfi_counter_data *data_buf; in enetc_streamcounter_hw_get() local 649 data_buf = kzalloc(data_size, __GFP_DMA | GFP_KERNEL); in enetc_streamcounter_hw_get() 650 if (!data_buf) in enetc_streamcounter_hw_get() 653 dma = dma_map_single(&priv->si->pdev->dev, data_buf, in enetc_streamcounter_hw_get() 670 ((u64)le32_to_cpu(data_buf->matchh) << 32) in enetc_streamcounter_hw_get() 671 + data_buf->matchl; in enetc_streamcounter_hw_get() 674 ((u64)le32_to_cpu(data_buf->msdu_droph) << 32) in enetc_streamcounter_hw_get() 675 + data_buf->msdu_dropl; in enetc_streamcounter_hw_get() 681 ((u64)le32_to_cpu(data_buf->stream_gate_droph) << 32) in enetc_streamcounter_hw_get() 682 + le32_to_cpu(data_buf in enetc_streamcounter_hw_get() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | cbs.c | 795 AVBufferRef *data_buf, in cbs_insert_unit_data() 804 if (data_buf) in cbs_insert_unit_data() 805 data_ref = av_buffer_ref(data_buf); in cbs_insert_unit_data() 809 if (!data_buf) in cbs_insert_unit_data() 832 AVBufferRef *data_buf) in ff_cbs_append_unit_data() 835 data, data_size, data_buf, in ff_cbs_append_unit_data() 792 cbs_insert_unit_data(CodedBitstreamFragment *frag, CodedBitstreamUnitType type, uint8_t *data, size_t data_size, AVBufferRef *data_buf, int position) cbs_insert_unit_data() argument 829 ff_cbs_append_unit_data(CodedBitstreamFragment *frag, CodedBitstreamUnitType type, uint8_t *data, size_t data_size, AVBufferRef *data_buf) ff_cbs_append_unit_data() argument
|
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_ocb.h | 35 unsigned char data_buf[OCB_MAX_DATA_LEN]; /* Store partial data blocks */ member
|