Home
last modified time | relevance | path

Searched refs:databuf (Results 1 – 17 of 17) sorted by relevance

/drivers/mtd/nand/
A Decc.c543 tweak->databuf.in = ctx->spare_databuf; in nand_ecc_tweak_req()
544 memset(tweak->databuf.in, 0xFF, ctx->page_buffer_size); in nand_ecc_tweak_req()
558 memcpy((void *)tweak->databuf.out + orig->dataoffs, in nand_ecc_tweak_req()
559 orig->databuf.out, orig->datalen); in nand_ecc_tweak_req()
579 memcpy(orig->databuf.in, in nand_ecc_restore_req()
580 tweak->databuf.in + orig->dataoffs, in nand_ecc_restore_req()
A Decc-sw-bch.c319 for (i = 0, data = req->databuf.out; in nand_ecc_sw_bch_prepare_io_req()
340 u8 *data = req->databuf.in; in nand_ecc_sw_bch_finish_io_req()
368 for (eccsteps = nand->ecc.ctx.nsteps, i = 0, data = req->databuf.in; in nand_ecc_sw_bch_finish_io_req()
A Decc-sw-hamming.c573 for (i = 0, data = req->databuf.out; in nand_ecc_sw_hamming_prepare_io_req()
594 u8 *data = req->databuf.in; in nand_ecc_sw_hamming_finish_io_req()
622 for (eccsteps = nand->ecc.ctx.nsteps, i = 0, data = req->databuf.in; in nand_ecc_sw_hamming_finish_io_req()
A Decc-mxic.c572 sg_set_buf(&ctx->sg[0], req->databuf.out, req->datalen); in mxic_ecc_prepare_io_req_external()
630 sg_set_buf(&ctx->sg[0], req->databuf.in, req->datalen); in mxic_ecc_finish_io_req_external()
684 sg_set_buf(&ctx->sg[0], req->databuf.in, req->datalen); in mxic_ecc_prepare_io_req_pipelined()
/drivers/mtd/nand/spi/
A Dcore.c392 buf = spinand->databuf; in spinand_read_from_cache_op()
438 memcpy(req->databuf.in, spinand->databuf + req->dataoffs, in spinand_read_from_cache_op()
462 void *buf = spinand->databuf; in spinand_write_to_cache_op()
476 memset(spinand->databuf, 0xff, nanddev_page_size(nand)); in spinand_write_to_cache_op()
479 memcpy(spinand->databuf + req->dataoffs, req->databuf.out, in spinand_write_to_cache_op()
1510 spinand->databuf = kzalloc(nanddev_eraseblock_size(nand), in spinand_init()
1512 if (!spinand->databuf) { in spinand_init()
1517 spinand->oobbuf = spinand->databuf + nanddev_page_size(nand); in spinand_init()
1594 kfree(spinand->databuf); in spinand_init()
1606 kfree(spinand->databuf); in spinand_cleanup()
A Dotp.c95 req.databuf.in = buf; in spinand_otp_rw()
110 req.databuf.in += req.datalen; in spinand_otp_rw()
/drivers/firmware/tegra/
A Dbpmp-debugfs.c371 char *databuf = NULL; in bpmp_debug_store() local
380 databuf = memdup_user(buf, count); in bpmp_debug_store()
381 if (IS_ERR(databuf)) in bpmp_debug_store()
382 return PTR_ERR(databuf); in bpmp_debug_store()
384 err = mrq_debug_write(bpmp, filename, databuf, count); in bpmp_debug_store()
385 kfree(databuf); in bpmp_debug_store()
/drivers/net/ethernet/fungible/funcore/
A Dfun_queue.c238 const struct fun_dataop_rqbuf *databuf; in fun_data_from_rq() local
247 databuf = (struct fun_dataop_rqbuf *)dataop->imm; in fun_data_from_rq()
248 bufoff = be32_to_cpu(databuf->bufoff); in fun_data_from_rq()
/drivers/scsi/hisi_sas/
A Dhisi_sas_v3_hw.c3546 u32 *databuf; in debugfs_snapshot_port_reg_v3_hw() local
3550 for (i = 0; i < port->count; i++, databuf++) { in debugfs_snapshot_port_reg_v3_hw()
3552 *databuf = hisi_sas_phy_read32(hisi_hba, phy_cnt, in debugfs_snapshot_port_reg_v3_hw()
3565 *databuf = hisi_sas_read32(hisi_hba, in debugfs_snapshot_global_reg_v3_hw()
3576 for (i = 0; i < axi->count; i++, databuf++) in debugfs_snapshot_axi_reg_v3_hw()
3577 *databuf = hisi_sas_read32(hisi_hba, in debugfs_snapshot_axi_reg_v3_hw()
3589 for (i = 0; i < ras->count; i++, databuf++) in debugfs_snapshot_ras_reg_v3_hw()
3590 *databuf = hisi_sas_read32(hisi_hba, in debugfs_snapshot_ras_reg_v3_hw()
3608 memcpy(databuf, itct, sizeof(struct hisi_sas_itct)); in debugfs_snapshot_itct_reg_v3_hw()
3609 databuf += sizeof(struct hisi_sas_itct); in debugfs_snapshot_itct_reg_v3_hw()
[all …]
/drivers/hid/
A Dhid-sony.c559 u8 *databuf; in ghl_init_urb() local
569 databuf = devm_kzalloc(&sc->hdev->dev, poke_size, GFP_ATOMIC); in ghl_init_urb()
570 if (databuf == NULL) in ghl_init_urb()
579 memcpy(databuf, ghl_magic_data, poke_size); in ghl_init_urb()
582 (unsigned char *) cr, databuf, poke_size, in ghl_init_urb()
/drivers/iio/light/
A Dvl6180.c142 static int vl6180_read(struct i2c_client *client, u16 cmd, void *databuf, in vl6180_read() argument
148 { .addr = client->addr, .len = len, .buf = databuf, in vl6180_read()
/drivers/mtd/nand/raw/atmel/
A Dnand-controller.c857 void *databuf, *eccbuf; in atmel_nand_pmecc_correct_data() local
874 databuf = buf; in atmel_nand_pmecc_correct_data()
877 ret = atmel_pmecc_correct_sector(nand->pmecc, i, databuf, in atmel_nand_pmecc_correct_data()
880 ret = nand_check_erased_ecc_chunk(databuf, in atmel_nand_pmecc_correct_data()
894 databuf += chip->ecc.size; in atmel_nand_pmecc_correct_data()
/drivers/mtd/
A Dmtdcore.c2084 int mtd_ooblayout_get_databytes(struct mtd_info *mtd, u8 *databuf, in mtd_ooblayout_get_databytes() argument
2087 return mtd_ooblayout_get_bytes(mtd, databuf, oobbuf, start, nbytes, in mtd_ooblayout_get_databytes()
2104 int mtd_ooblayout_set_databytes(struct mtd_info *mtd, const u8 *databuf, in mtd_ooblayout_set_databytes() argument
2107 return mtd_ooblayout_set_bytes(mtd, databuf, oobbuf, start, nbytes, in mtd_ooblayout_set_databytes()
/drivers/iio/adc/
A Dpac1934.c441 void *databuf, u8 len) in pac1934_i2c_read() argument
453 .buf = databuf, in pac1934_i2c_read()
/drivers/s390/crypto/
A Dzcrypt_ep11misc.c1238 u8 *databuf, size_t *datasize, u32 xflags) in _ep11_wrapkey() argument
1346 memcpy(databuf, rep_pl->data, rep_pl->data_len); in _ep11_wrapkey()
/drivers/net/wireless/ath/wil6210/
A Ddebugfs.c333 unsigned char databuf[MAX_MBOXITEM_SIZE]; in wil_print_mbox_ring() local
341 wil_memcpy_fromio_32(databuf, src, len); in wil_print_mbox_ring()
342 wil_seq_hexdump(s, databuf, len, " : "); in wil_print_mbox_ring()
/drivers/mtd/nand/raw/
A Dmeson_nand.c589 static int meson_nfc_dma_buffer_setup(struct nand_chip *nand, void *databuf, in meson_nfc_dma_buffer_setup() argument
597 nfc->daddr = dma_map_single(nfc->dev, databuf, datalen, dir); in meson_nfc_dma_buffer_setup()

Completed in 67 milliseconds