Home
last modified time | relevance | path

Searched refs:data_buf (Results 101 - 125 of 206) sorted by relevance

123456789

/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dov2680.c227 u8 data_buf[4] = { 0, }; in __ov2680_read_reg() local
241 msgs[1].buf = &data_buf[4 - len]; in __ov2680_read_reg()
249 *val = get_unaligned_be32(data_buf); in __ov2680_read_reg()
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-jz4780.c163 int data_buf[BUFSIZE]; member
561 src, i2c->cmd, i2c->cmd_buf[i2c->cmd], i2c->data_buf[i2c->cmd]); in jz4780_i2c_txabrt()
612 i2c->cmd, i2c->data_buf[i2c->cmd]); in jz4780_i2c_xfer_read()
/kernel/linux/linux-5.10/drivers/staging/vt6656/
H A Dmain_usb.c485 kfree(priv->int_buf.data_buf); in vnt_free_int_bufs()
545 priv->int_buf.data_buf = kmalloc(MAX_INTERRUPT_SIZE, GFP_KERNEL); in vnt_alloc_bufs()
546 if (!priv->int_buf.data_buf) { in vnt_alloc_bufs()
/kernel/linux/linux-5.10/include/linux/mtd/
H A Drawnand.h375 uint32_t data_len, const uint8_t *data_buf,
1197 * @data_buf: Buffer for data, size is (page size + oobsize)
1198 * @oob_poi: pointer on the OOB area covered by data_buf
1249 u8 *data_buf; member
1543 return chip->data_buf; in nand_get_data_buf()
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dimx412.c436 u8 data_buf[4] = {0}; in imx412_read_reg() local
454 msgs[1].buf = &data_buf[4 - len]; in imx412_read_reg()
460 *val = get_unaligned_be32(data_buf); in imx412_read_reg()
H A Dimx335.c282 u8 data_buf[4] = {0}; in imx335_read_reg() local
300 msgs[1].buf = data_buf; in imx335_read_reg()
306 *val = get_unaligned_le32(data_buf); in imx335_read_reg()
H A Dimx208.c330 u8 data_buf[4] = { 0, }; in imx208_read_reg() local
346 msgs[1].buf = &data_buf[4 - len]; in imx208_read_reg()
352 *val = get_unaligned_be32(data_buf); in imx208_read_reg()
/kernel/linux/linux-6.6/include/linux/mtd/
H A Drawnand.h377 uint32_t data_len, const uint8_t *data_buf,
1247 * @data_buf: Buffer for data, size is (page size + oobsize)
1248 * @oob_poi: pointer on the OOB area covered by data_buf
1306 u8 *data_buf; member
1625 return chip->data_buf; in nand_get_data_buf()
/kernel/linux/linux-6.6/drivers/staging/vt6656/
H A Dmain_usb.c483 kfree(priv->int_buf.data_buf); in vnt_free_int_bufs()
543 priv->int_buf.data_buf = kmalloc(MAX_INTERRUPT_SIZE, GFP_KERNEL); in vnt_alloc_bufs()
544 if (!priv->int_buf.data_buf) { in vnt_alloc_bufs()
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-jz4780.c163 int data_buf[BUFSIZE]; member
560 src, i2c->cmd, i2c->cmd_buf[i2c->cmd], i2c->data_buf[i2c->cmd]); in jz4780_i2c_txabrt()
611 i2c->cmd, i2c->data_buf[i2c->cmd]); in jz4780_i2c_xfer_read()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dsmu.h398 void *data_buf; /* data buffer */ member
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dsmu.h398 void *data_buf; /* data buffer */ member
/kernel/linux/linux-5.10/drivers/scsi/
H A Dmvumi.c240 cmd->data_buf = virt_addr; in mvumi_internal_cmd_sgl()
301 dma_free_coherent(&mhba->pdev->dev, size, cmd->data_buf, in mvumi_delete_internal_cmd()
1344 cmd->data_buf) { in mvumi_complete_internal_cmd()
1345 memcpy(cmd->data_buf, ob_frame->payload, in mvumi_complete_internal_cmd()
1426 memset(cmd->data_buf, 0, data_buf_len); in mvumi_inquiry()
1448 (cmd->data_buf + MVUMI_INQUIRY_UUID_OFF), in mvumi_inquiry()
1725 mvumi_notification(mhba, cmd->frame->cdb[1], cmd->data_buf); in mvumi_get_event()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dmvumi.c240 cmd->data_buf = virt_addr; in mvumi_internal_cmd_sgl()
301 dma_free_coherent(&mhba->pdev->dev, size, cmd->data_buf, in mvumi_delete_internal_cmd()
1344 cmd->data_buf) { in mvumi_complete_internal_cmd()
1345 memcpy(cmd->data_buf, ob_frame->payload, in mvumi_complete_internal_cmd()
1426 memset(cmd->data_buf, 0, data_buf_len); in mvumi_inquiry()
1448 (cmd->data_buf + MVUMI_INQUIRY_UUID_OFF), in mvumi_inquiry()
1725 mvumi_notification(mhba, cmd->frame->cdb[1], cmd->data_buf); in mvumi_get_event()
/kernel/linux/linux-5.10/drivers/char/hw_random/
H A Dcctrng.c63 u32 data_buf[CCTRNG_DATA_BUF_WORDS]; member
71 /* protects against multiple concurrent consumers of data_buf */
223 /* concurrent consumers from data_buf cannot be served */ in cctrng_read()
357 /* calc word ptr in data_buf */ in cc_trng_compwork_handler()
511 drvdata->circ.buf = (char *)drvdata->data_buf; in cctrng_probe()
/kernel/linux/linux-5.10/include/soc/tegra/
H A Dbpmp-abi.h1009 * cmd_i2c_xfer_request::data_buf. Each instance represents a single
1017 * easier to serialize or deserialize cmd_i2c_xfer_request::data_buf
1038 /** @brief Count of valid bytes in #data_buf*/
1042 uint8_t data_buf[TEGRA_I2C_IPC_MAX_IN_BUF_SIZE]; member
1048 * Processing an cmd_i2c_xfer_request::data_buf causes BPMP to execute
1050 * into #data_buf.
1053 /** @brief Count of valid bytes in #data_buf*/
1056 uint8_t data_buf[TEGRA_I2C_IPC_MAX_OUT_BUF_SIZE]; member
/kernel/linux/linux-6.6/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);
/kernel/linux/linux-5.10/drivers/block/
H A Dskd_main.c189 void *data_buf; member
917 unsigned char *buf = skspcl->data_buf; in skd_send_internal_skspcl()
981 memset(skspcl->data_buf, 0, sgd->byte_count); in skd_send_internal_skspcl()
1002 unsigned char *buf = skspcl->data_buf; in skd_chk_read_buf()
1030 u8 *buf = skspcl->data_buf; in skd_complete_internal()
2775 skspcl->data_buf = skd_alloc_dma(skdev, skdev->databuf_cache, in skd_cons_sksb()
2779 if (skspcl->data_buf == NULL) { in skd_cons_sksb()
3017 skd_free_dma(skdev, skdev->databuf_cache, skspcl->data_buf, in skd_free_sksb()
3020 skspcl->data_buf = NULL; in skd_free_sksb()
/kernel/linux/linux-5.10/drivers/media/rc/
H A Dimon.c118 unsigned char data_buf[35]; /* user data buffer */ member
975 if (copy_from_user(ictx->tx.data_buf, buf, n_bytes)) { in vfd_write()
982 ictx->tx.data_buf[i] = ' '; in vfd_write()
985 ictx->tx.data_buf[i] = 0xFF; in vfd_write()
991 memcpy(ictx->usb_tx_buf, ictx->tx.data_buf + offset, 7); in vfd_write()
/kernel/linux/linux-6.6/drivers/media/rc/
H A Dimon.c118 unsigned char data_buf[35]; /* user data buffer */ member
970 if (copy_from_user(ictx->tx.data_buf, buf, n_bytes)) { in vfd_write()
977 ictx->tx.data_buf[i] = ' '; in vfd_write()
980 ictx->tx.data_buf[i] = 0xFF; in vfd_write()
986 memcpy(ictx->usb_tx_buf, ictx->tx.data_buf + offset, 7); in vfd_write()
/kernel/linux/linux-5.10/drivers/usb/dwc2/
H A Dhcd.c410 u32 *data_buf = (u32 *)dest; in dwc2_read_packet() local
422 for (i = 0; i < word_count; i++, data_buf++) in dwc2_read_packet()
423 *data_buf = dwc2_readl(hsotg, HCFIFO(0)); in dwc2_read_packet()
1135 u32 *data_buf = (u32 *)chan->xfer_buf; in dwc2_hc_write_packet() local
1148 if (((unsigned long)data_buf & 0x3) == 0) { in dwc2_hc_write_packet()
1150 for (i = 0; i < dword_count; i++, data_buf++) in dwc2_hc_write_packet()
1151 dwc2_writel(hsotg, *data_buf, HCFIFO(chan->hc_num)); in dwc2_hc_write_packet()
1154 for (i = 0; i < dword_count; i++, data_buf++) { in dwc2_hc_write_packet()
1155 u32 data = data_buf[0] | data_buf[ in dwc2_hc_write_packet()
[all...]
/kernel/linux/linux-6.6/drivers/usb/dwc2/
H A Dhcd.c375 u32 *data_buf = (u32 *)dest; in dwc2_read_packet() local
387 for (i = 0; i < word_count; i++, data_buf++) in dwc2_read_packet()
388 *data_buf = dwc2_readl(hsotg, HCFIFO(0)); in dwc2_read_packet()
1100 u32 *data_buf = (u32 *)chan->xfer_buf; in dwc2_hc_write_packet() local
1113 if (((unsigned long)data_buf & 0x3) == 0) { in dwc2_hc_write_packet()
1115 for (i = 0; i < dword_count; i++, data_buf++) in dwc2_hc_write_packet()
1116 dwc2_writel(hsotg, *data_buf, HCFIFO(chan->hc_num)); in dwc2_hc_write_packet()
1119 for (i = 0; i < dword_count; i++, data_buf++) { in dwc2_hc_write_packet()
1120 u32 data = data_buf[0] | data_buf[ in dwc2_hc_write_packet()
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dmarvell_nand.c1021 u8 *data_buf, u8 *oob_buf, in marvell_nfc_hw_ecc_hmg_do_read_page()
1062 memcpy(data_buf, nfc->dma_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1065 marvell_nfc_xfer_data_in_pio(nfc, data_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1132 const u8 *data_buf, in marvell_nfc_hw_ecc_hmg_do_write_page()
1170 memcpy(nfc->dma_buf, data_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
1175 marvell_nfc_xfer_data_out_pio(nfc, data_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
1020 marvell_nfc_hw_ecc_hmg_do_read_page(struct nand_chip *chip, u8 *data_buf, u8 *oob_buf, bool raw, int page) marvell_nfc_hw_ecc_hmg_do_read_page() argument
1131 marvell_nfc_hw_ecc_hmg_do_write_page(struct nand_chip *chip, const u8 *data_buf, const u8 *oob_buf, bool raw, int page) marvell_nfc_hw_ecc_hmg_do_write_page() argument
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dmarvell_nand.c1035 u8 *data_buf, u8 *oob_buf, in marvell_nfc_hw_ecc_hmg_do_read_page()
1076 memcpy(data_buf, nfc->dma_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1079 marvell_nfc_xfer_data_in_pio(nfc, data_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1146 const u8 *data_buf, in marvell_nfc_hw_ecc_hmg_do_write_page()
1184 memcpy(nfc->dma_buf, data_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
1189 marvell_nfc_xfer_data_out_pio(nfc, data_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page()
1034 marvell_nfc_hw_ecc_hmg_do_read_page(struct nand_chip *chip, u8 *data_buf, u8 *oob_buf, bool raw, int page) marvell_nfc_hw_ecc_hmg_do_read_page() argument
1145 marvell_nfc_hw_ecc_hmg_do_write_page(struct nand_chip *chip, const u8 *data_buf, const u8 *oob_buf, bool raw, int page) marvell_nfc_hw_ecc_hmg_do_write_page() argument
/kernel/linux/linux-5.10/drivers/macintosh/
H A Dwindfarm_smu_controls.c87 cmd.data_buf = cmd.reply_buf = buffer; in smu_set_fan()

Completed in 53 milliseconds

123456789