Searched refs:data_buf (Results 26 - 50 of 99) sorted by relevance

1234

/linux-master/fs/bcachefs/
H A Dbackpointers.c445 void *data_buf = NULL; local
467 data_buf = kvmalloc(bytes, GFP_KERNEL);
468 if (!data_buf) {
473 bio = bio_alloc(ca->disk_sb.bdev, buf_pages(data_buf, bytes), REQ_OP_READ, GFP_KERNEL);
475 bch2_bio_map(bio, data_buf, bytes);
487 struct bch_csum csum = bch2_checksum(c, p.crc.csum_type, nonce, data_buf, bytes);
496 kvfree(data_buf);
/linux-master/arch/powerpc/platforms/pseries/
H A Ddlpar.c142 char *data_buf; local
151 data_buf = rtas_work_area_raw_buf(work_area);
153 ccwa = (struct cc_workarea *)&data_buf[0];
/linux-master/drivers/mtd/nand/raw/
H A Dmeson_nand.c130 u8 *data_buf; member in struct:meson_nfc_nand_chip
374 return meson_chip->data_buf + len;
385 return meson_chip->data_buf + len;
740 ret = meson_nfc_dma_buffer_setup(nand, meson_chip->data_buf,
781 memcpy(meson_chip->data_buf, buf, mtd->writesize);
826 ret = meson_nfc_dma_buffer_setup(nand, meson_chip->data_buf,
911 } else if (buf && buf != meson_chip->data_buf) {
912 memcpy(buf, meson_chip->data_buf, mtd->writesize);
1207 kfree(meson_chip->data_buf);
1221 meson_chip->data_buf
[all...]
/linux-master/drivers/net/wireless/quantenna/qtnfmac/
H A Dcommands.h37 void *data_buf);
/linux-master/drivers/i2c/busses/
H A Di2c-tegra-bpmp.c87 char *buf = request->xfer.data_buf;
132 char *buf = response->xfer.data_buf;
/linux-master/drivers/staging/ks7010/
H A Dks7010_sdio.c645 unsigned char *data_buf; local
647 data_buf = kmemdup(&index, sizeof(u32), GFP_KERNEL);
648 if (!data_buf)
651 ret = ks7010_sdio_write(priv, WRITE_INDEX_REG, data_buf, sizeof(index));
655 ret = ks7010_sdio_write(priv, READ_INDEX_REG, data_buf, sizeof(index));
662 kfree(data_buf);
/linux-master/drivers/net/ethernet/freescale/enetc/
H A Denetc_qos.c665 struct sfi_counter_data *data_buf; local
679 &dma, (void *)&data_buf);
687 cnt->matching_frames_count = ((u64)data_buf->matchh << 32) +
688 data_buf->matchl;
690 cnt->not_passing_sdu_count = ((u64)data_buf->msdu_droph << 32) +
691 data_buf->msdu_dropl;
697 ((u64)data_buf->stream_gate_droph << 32) +
698 data_buf->stream_gate_dropl;
704 cnt->red_frames_count = ((u64)data_buf->flow_meter_droph << 32) +
705 data_buf
[all...]
/linux-master/drivers/input/touchscreen/
H A Dmelfas_mip4.c884 u8 *data_buf; local
898 data_buf = kmalloc(2 + MIP4_BL_PACKET_SIZE, GFP_KERNEL);
899 if (!data_buf)
933 put_unaligned_be16(buf_addr + buf_offset, data_buf);
934 memcpy(&data_buf[2], &data[buf_offset], MIP4_BL_PACKET_SIZE);
936 data_buf, 2 + MIP4_BL_PACKET_SIZE);
962 kfree(data_buf);
/linux-master/drivers/media/i2c/
H A Dov01a10.c302 u8 data_buf[4] = {0}; local
305 if (len > sizeof(data_buf))
316 msgs[1].buf = &data_buf[sizeof(data_buf) - len];
323 *val = get_unaligned_be32(data_buf);
H A Dov9734.c370 u8 data_buf[4] = {0}; local
373 if (len > sizeof(data_buf))
384 msgs[1].buf = &data_buf[sizeof(data_buf) - len];
390 *val = get_unaligned_be32(data_buf);
H A Dov2740.c563 u8 data_buf[4] = {0}; local
566 if (len > sizeof(data_buf))
577 msgs[1].buf = &data_buf[sizeof(data_buf) - len];
583 *val = get_unaligned_be32(data_buf);
/linux-master/drivers/scsi/esas2r/
H A Desas2r_int.c891 memcpy(rq->sense_buf, rq->data_buf, snslen);
893 rq->sense_buf = (u8 *)rq->data_buf;
897 u8 *s = (u8 *)rq->data_buf;
/linux-master/arch/riscv/kvm/
H A Dvcpu_insn.c470 u8 data_buf[8]; local
561 if (!kvm_io_bus_read(vcpu, KVM_MMIO_BUS, fault_addr, len, data_buf)) {
563 memcpy(run->mmio.data, data_buf, len);
/linux-master/drivers/staging/vt6656/
H A Dusbpipe.c183 int_data = (struct vnt_interrupt_data *)priv->int_buf.data_buf;
249 priv->int_buf.data_buf,
H A Ddevice.h250 u8 *data_buf; member in struct:vnt_interrupt_buffer
/linux-master/arch/powerpc/include/asm/
H A Dsmu.h398 void *data_buf; /* data buffer */ member in struct:smu_cmd
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A D11n_rxreorder.c433 int mwifiex_cmd_11n_addba_req(struct host_cmd_ds_command *cmd, void *data_buf) argument
439 memcpy(add_ba_req, data_buf, sizeof(*add_ba_req));
523 int mwifiex_cmd_11n_delba(struct host_cmd_ds_command *cmd, void *data_buf) argument
529 memcpy(del_ba, data_buf, sizeof(*del_ba));
H A Duap_cmd.c778 void *data_buf, void *cmd_buf)
784 if (mwifiex_cmd_uap_sys_config(cmd, cmd_action, type, data_buf))
795 if (mwifiex_cmd_uap_sta_deauth(priv, cmd, data_buf))
800 data_buf))
776 mwifiex_uap_prepare_cmd(struct mwifiex_private *priv, u16 cmd_no, u16 cmd_action, u32 type, void *data_buf, void *cmd_buf) argument
H A Dmain.h734 void *data_buf; member in struct:cmd_ctrl_node
1073 u16 cmd_action, u32 cmd_oid, void *data_buf, bool sync);
1125 void *data_buf, void *cmd_buf);
1128 void *data_buf, void *cmd_buf);
1233 void *data_buf);
1240 void *data_buf);
1634 void *data_buf);
/linux-master/drivers/staging/gdm724x/
H A Dgdm_lte.c405 void *data_buf; local
441 data_buf = skb->data + (VLAN_ETH_HLEN - ETH_HLEN);
445 data_buf = skb->data;
468 data_buf, data_len,
/linux-master/drivers/gpu/drm/virtio/
H A Dvirtgpu_vq.c178 kvfree(vbuf->data_buf);
387 if (is_vmalloc_addr(vbuf->data_buf)) {
389 sgt = vmalloc_to_sgt(vbuf->data_buf, vbuf->data_size,
400 sg_init_one(&vout, vbuf->data_buf, vbuf->data_size);
642 vbuf->data_buf = ents;
1090 vbuf->data_buf = data;
1263 vbuf->data_buf = ents;
/linux-master/drivers/tee/optee/
H A Dsmc_abi.c1500 u8 *data_buf = NULL; local
1527 data_buf = kmemdup(fw->data, fw->size, GFP_KERNEL | GFP_DMA);
1528 if (!data_buf) {
1532 data_pa = virt_to_phys(data_buf);
1557 kfree(data_buf);
/linux-master/include/scsi/
H A Dscsi_transport_fc.h849 u32 data_len, char *data_buf, u64 vendor_id);
853 u32 data_len, char *data_buf, u64 vendor_id);
/linux-master/drivers/char/hw_random/
H A Dcctrng.c63 u32 data_buf[CCTRNG_DATA_BUF_WORDS]; member in struct:cctrng_drvdata
71 /* protects against multiple concurrent consumers of data_buf */
223 /* concurrent consumers from data_buf cannot be served */
357 /* calc word ptr in data_buf */
485 drvdata->circ.buf = (char *)drvdata->data_buf;
/linux-master/drivers/macintosh/
H A Dwindfarm_smu_controls.c88 cmd.data_buf = cmd.reply_buf = buffer;

Completed in 252 milliseconds

1234