Home
last modified time | relevance | path

Searched refs:pagelen (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/drivers/staging/rts_pstor/
Dspi.c513 u16 pagelen = SF_PAGE_LEN - (u8)addr; in spi_read_flash() local
515 if (pagelen > len) in spi_read_flash()
516 pagelen = len; in spi_read_flash()
536 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_LENGTH1, 0xFF, (u8)(pagelen >> 8)); in spi_read_flash()
537 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_LENGTH0, 0xFF, (u8)pagelen); in spi_read_flash()
544 retval = rtsx_transfer_data(chip, 0, buf, pagelen, 0, DMA_FROM_DEVICE, 10000); in spi_read_flash()
552 rtsx_stor_access_xfer_buf(buf, pagelen, srb, &index, &offset, TO_XFER_BUF); in spi_read_flash()
554 addr += pagelen; in spi_read_flash()
555 len -= pagelen; in spi_read_flash()
683 u16 pagelen = SF_PAGE_LEN - (u8)addr; in spi_write_flash() local
[all …]
/linux-2.6.39/drivers/usb/storage/
Dsddr09.c874 unsigned int pagelen; in sddr09_write_lba() local
904 pagelen = (1 << info->pageshift) + (1 << CONTROL_SHIFT); in sddr09_write_lba()
915 bptr = blockbuffer + i*pagelen; in sddr09_write_lba()
936 bptr = blockbuffer + i*pagelen; in sddr09_write_lba()
981 unsigned int pagelen, blocklen; in sddr09_write_data() local
1001 pagelen = (1 << info->pageshift) + (1 << CONTROL_SHIFT); in sddr09_write_data()
1002 blocklen = (pagelen << info->blockshift); in sddr09_write_data()
/linux-2.6.39/fs/nfsd/
Dnfs4xdr.c141 if (avail + argp->pagelen < nbytes) in read_buf()
164 if (argp->pagelen < PAGE_SIZE) { in read_buf()
165 argp->end = argp->p + (argp->pagelen>>2); in read_buf()
166 argp->pagelen = 0; in read_buf()
169 argp->pagelen -= PAGE_SIZE; in read_buf()
985 if (avail + argp->pagelen < write->wr_buflen) { in nfsd4_decode_write()
999 if (argp->pagelen >= PAGE_SIZE) { in nfsd4_decode_write()
1001 argp->pagelen -= PAGE_SIZE; in nfsd4_decode_write()
1003 argp->rqstp->rq_vec[v].iov_len = argp->pagelen; in nfsd4_decode_write()
1004 argp->pagelen -= len; in nfsd4_decode_write()
[all …]
Dxdr4.h444 int pagelen; member
/linux-2.6.39/fs/nfs/
Dfile.c557 unsigned pagelen; in nfs_vm_page_mkwrite() local
574 pagelen = nfs_page_length(page); in nfs_vm_page_mkwrite()
575 if (pagelen == 0) in nfs_vm_page_mkwrite()
580 nfs_updatepage(filp, page, 0, pagelen) == 0) in nfs_vm_page_mkwrite()
/linux-2.6.39/drivers/scsi/bfa/
Dbfa_fc.h822 u8 pagelen; member
Dbfa_fcbuild.c1124 rscn->pagelen = sizeof(rscn->event[0]); in fc_rscn_build()
1126 payldlen = sizeof(u32) + rscn->pagelen; in fc_rscn_build()