Home
last modified time | relevance | path

Searched refs:readlen (Results 1 – 15 of 15) sorted by relevance

/drivers/i2c/busses/
Di2c-xgene-slimpro.c244 u32 readlen, u32 *data) in slimpro_i2c_rd() argument
249 SLIMPRO_IIC_READ, protocol, addrlen, readlen); in slimpro_i2c_rd()
271 u32 addrlen, u32 protocol, u32 readlen, in slimpro_i2c_blkrd() argument
278 paddr = dma_map_single(ctx->dev, ctx->dma_buffer, readlen, DMA_FROM_DEVICE); in slimpro_i2c_blkrd()
286 protocol, addrlen, readlen); in slimpro_i2c_blkrd()
296 memcpy(data, ctx->dma_buffer, readlen); in slimpro_i2c_blkrd()
298 dma_unmap_single(ctx->dev, paddr, readlen, DMA_FROM_DEVICE); in slimpro_i2c_blkrd()
/drivers/mtd/nand/onenand/
Donenand_bbt.c63 size_t readlen, ooblen; in create_bbt() local
73 readlen = bd->len; in create_bbt()
84 ops.ooblen = readlen; in create_bbt()
/drivers/firmware/tegra/
Dbpmp-debugfs.c215 if (resp.frd.readlen > remaining) { in mrq_debug_read()
221 memcpy(data, resp.frd.data, resp.frd.readlen); in mrq_debug_read()
222 data += resp.frd.readlen; in mrq_debug_read()
223 remaining -= resp.frd.readlen; in mrq_debug_read()
340 if (resp.frd.readlen > remaining) { in bpmp_debug_show()
346 seq_write(m, resp.frd.data, resp.frd.readlen); in bpmp_debug_show()
347 remaining -= resp.frd.readlen; in bpmp_debug_show()
/drivers/platform/x86/intel/telemetry/
Dpltdrv.c919 int index, idx1, ret, readlen = len; in telemetry_plt_raw_read_eventlog() local
938 readlen = TELEM_MAX_EVENTS_SRAM; in telemetry_plt_raw_read_eventlog()
940 ret = telem_evtlog_read(telem_unit, &ssram_region, readlen); in telemetry_plt_raw_read_eventlog()
954 for (index = 0, readlen = 0; (index < ret) && (readlen < len); in telemetry_plt_raw_read_eventlog()
962 readlen++; in telemetry_plt_raw_read_eventlog()
969 return readlen; in telemetry_plt_raw_read_eventlog()
/drivers/input/touchscreen/
Dsx8654.c140 u8 readlen = nchan * sizeof(*data); in sx8650_irq() local
150 len = i2c_master_recv(ts->client, (u8 *)data, readlen); in sx8650_irq()
151 if (len != readlen) { in sx8650_irq()
/drivers/spi/
Dspi-npcm-fiu.c472 int i, readlen, currlen; in npcm_fiu_read() local
483 readlen = currlen; in npcm_fiu_read()
485 readlen = 16; in npcm_fiu_read()
489 readlen); in npcm_fiu_read()
493 i += readlen; in npcm_fiu_read()
/drivers/mtd/nand/raw/
Dnand_toshiba.c110 uint32_t readlen, uint8_t *bufpoi, int page) in toshiba_nand_read_subpage_benand() argument
115 bufpoi + data_offs, readlen); in toshiba_nand_read_subpage_benand()
Dnand_base.c2991 uint32_t readlen, uint8_t *bufpoi, int page) in nand_read_subpage() argument
3005 end_step = (data_offs + readlen - 1) / chip->ecc.size; in nand_read_subpage()
3402 uint32_t readlen = ops->len; in nand_do_read_ops() local
3413 if (nand_region_is_secured(chip, from, readlen)) in nand_do_read_ops()
3431 bytes = min(mtd->writesize - col, readlen); in nand_do_read_ops()
3529 readlen -= bytes; in nand_do_read_ops()
3539 if (!readlen) in nand_do_read_ops()
3557 ops->retlen = ops->len - (size_t) readlen; in nand_do_read_ops()
3739 int readlen = ops->ooblen; in nand_do_read_oob() local
3745 __func__, (unsigned long long)from, readlen); in nand_do_read_oob()
[all …]
Dsunxi_nand.c1162 u32 data_offs, u32 readlen, in sunxi_nfc_hw_ecc_read_subpage() argument
1177 i < DIV_ROUND_UP(data_offs + readlen, ecc->size); i++) { in sunxi_nfc_hw_ecc_read_subpage()
1198 u32 data_offs, u32 readlen, in sunxi_nfc_hw_ecc_read_subpage_dma() argument
1201 int nchunks = DIV_ROUND_UP(data_offs + readlen, nand->ecc.size); in sunxi_nfc_hw_ecc_read_subpage_dma()
1213 return sunxi_nfc_hw_ecc_read_subpage(nand, data_offs, readlen, in sunxi_nfc_hw_ecc_read_subpage_dma()
Dmtk_nand.c941 u32 data_offs, u32 readlen, in mtk_nfc_read_subpage() argument
956 end = DIV_ROUND_UP(data_offs + readlen, chip->ecc.size); in mtk_nfc_read_subpage()
/drivers/net/wireless/ath/carl9170/
Dusb.c672 ar->readlen = outlen; in carl9170_exec_cmd()
685 if (ar->readlen != outlen) { in carl9170_exec_cmd()
709 ar->readlen = 0; in carl9170_exec_cmd()
782 ar->readlen = 0; in carl9170_usb_stop()
Drx.c136 if (unlikely(ar->readlen != (len - 4))) { in carl9170_cmd_callback()
138 "got %d, instead of %d\n", len - 4, ar->readlen); in carl9170_cmd_callback()
Dcarl9170.h374 int readlen; member
/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_nsp.c1071 __le16 readlen; in nfp_nsp_read_module_eeprom() member
1093 *read_len = min_t(unsigned int, len, le16_to_cpu(buf->readlen)); in nfp_nsp_read_module_eeprom()
/drivers/net/wireless/cisco/
Dairo.c4534 int readlen; member
4647 priv->readlen); in proc_read()
4736 data->readlen = strlen(data->rbuffer); in proc_status_open()
4792 data->readlen = j; in proc_stats_rid_open()
5117 data->readlen = strlen(data->rbuffer); in proc_config_open()
5386 data->readlen = strlen(data->rbuffer); in proc_wepkey_open()
5430 data->readlen = strlen(data->rbuffer); in proc_SSID_open()
5469 data->readlen = strlen(data->rbuffer); in proc_APList_open()
5515 data->readlen = 0; in proc_BSSList_open()
5540 data->readlen = strlen(data->rbuffer); in proc_BSSList_open()