Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-xgene-slimpro.c245 u32 readlen, u32 *data) in slimpro_i2c_rd() argument
250 SLIMPRO_IIC_READ, protocol, addrlen, readlen); in slimpro_i2c_rd()
272 u32 addrlen, u32 protocol, u32 readlen, in slimpro_i2c_blkrd() argument
279 paddr = dma_map_single(ctx->dev, ctx->dma_buffer, readlen, DMA_FROM_DEVICE); in slimpro_i2c_blkrd()
287 protocol, addrlen, readlen); in slimpro_i2c_blkrd()
297 memcpy(data, ctx->dma_buffer, readlen); in slimpro_i2c_blkrd()
299 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/platform/x86/
Dintel_telemetry_pltdrv.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.c2777 uint32_t readlen, uint8_t *bufpoi, int page) in nand_read_subpage() argument
2791 end_step = (data_offs + readlen - 1) / chip->ecc.size; in nand_read_subpage()
3121 uint32_t readlen = ops->len; in nand_do_read_ops() local
3146 bytes = min(mtd->writesize - col, readlen); in nand_do_read_ops()
3244 readlen -= bytes; in nand_do_read_ops()
3254 if (!readlen) in nand_do_read_ops()
3272 ops->retlen = ops->len - (size_t) readlen; in nand_do_read_ops()
3454 int readlen = ops->ooblen; in nand_do_read_oob() local
3460 __func__, (unsigned long long)from, readlen); in nand_do_read_oob()
3482 len = min(len, readlen); in nand_do_read_oob()
[all …]
Dsunxi_nand.c1146 u32 data_offs, u32 readlen, in sunxi_nfc_hw_ecc_read_subpage() argument
1161 i < DIV_ROUND_UP(data_offs + readlen, ecc->size); i++) { in sunxi_nfc_hw_ecc_read_subpage()
1182 u32 data_offs, u32 readlen, in sunxi_nfc_hw_ecc_read_subpage_dma() argument
1185 int nchunks = DIV_ROUND_UP(data_offs + readlen, nand->ecc.size); in sunxi_nfc_hw_ecc_read_subpage_dma()
1197 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/firmware/tegra/
Dbpmp-debugfs.c224 if (resp.frd.readlen > remaining) { in mrq_debug_read()
230 memcpy(data, resp.frd.data, resp.frd.readlen); in mrq_debug_read()
231 data += resp.frd.readlen; in mrq_debug_read()
232 remaining -= resp.frd.readlen; in mrq_debug_read()
/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.c4537 int readlen; member
4650 priv->readlen); in proc_read()
4739 data->readlen = strlen(data->rbuffer); in proc_status_open()
4795 data->readlen = j; in proc_stats_rid_open()
5120 data->readlen = strlen(data->rbuffer); in proc_config_open()
5389 data->readlen = strlen(data->rbuffer); in proc_wepkey_open()
5433 data->readlen = strlen(data->rbuffer); in proc_SSID_open()
5472 data->readlen = strlen(data->rbuffer); in proc_APList_open()
5518 data->readlen = 0; in proc_BSSList_open()
5543 data->readlen = strlen(data->rbuffer); in proc_BSSList_open()