Home
last modified time | relevance | path

Searched refs:page_off (Results 1 – 11 of 11) sorted by relevance

/drivers/staging/rts5208/
Dxd.c584 xd_card->page_off = 0x0F; in reset_xd()
592 xd_card->page_off = 0x0F; in reset_xd()
665 xd_card->page_off = 0; in reset_xd()
947 0, xd_card->page_off + 1); in xd_get_l2p_tbl()
971 xd_card->page_off = 0; in reset_xd_card()
1023 xd_card->page_off + 1); in xd_mark_bad_block()
1602 xd_card->page_off + 1); in xd_read_multiple_pages()
1625 u32 old_blk, u32 new_blk, u32 log_blk, u8 page_off) in xd_finish_write() argument
1635 if (page_off > xd_card->page_off) in xd_finish_write()
1643 page_off, xd_card->page_off + 1); in xd_finish_write()
[all …]
Dxd.h105 (xd_card)->page_off = 0x1F; \
Dms.c2019 ms_card->page_off = 0x1F;
2023 ms_card->page_off = 0x0F;
2469 ms_card->page_off + 1);
3298 (page_addr == ms_card->page_off)) {
3315 u16 log_blk, u8 page_off) argument
3321 page_off, ms_card->page_off + 1);
3418 start_page = (u8)(start_sector & ms_card->page_off);
3520 if ((start_page + total_sec_cnt) > (ms_card->page_off + 1))
3521 end_page = ms_card->page_off + 1;
3554 if (end_page == (ms_card->page_off + 1)) {
[all …]
Drtsx_chip.h533 u8 page_off; member
584 u8 page_off; member
/drivers/nvdimm/
Dpmem.c142 struct page *page, unsigned int page_off, in pmem_do_read() argument
152 rc = read_pmem(page, page_off, pmem_addr, len); in pmem_do_read()
158 struct page *page, unsigned int page_off, in pmem_do_write() argument
184 write_pmem(pmem_addr, page, page_off, len); in pmem_do_write()
187 write_pmem(pmem_addr, page, page_off, len); in pmem_do_write()
/drivers/net/ethernet/sfc/
Dmcdi_port_common.c996 unsigned int page_off; in efx_mcdi_phy_get_module_eeprom() local
1017 page_off = ee->offset % SFP_PAGE_SIZE; in efx_mcdi_phy_get_module_eeprom()
1022 data, page_off, in efx_mcdi_phy_get_module_eeprom()
1028 page_off = 0; in efx_mcdi_phy_get_module_eeprom()
1033 int intended_size = SFP_PAGE_SIZE - page_off; in efx_mcdi_phy_get_module_eeprom()
1041 page_off = 0; in efx_mcdi_phy_get_module_eeprom()
/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c347 unsigned int page_off; in cxgbit_map_skb() local
356 page_off = (data_offset % PAGE_SIZE); in cxgbit_map_skb()
359 u32 cur_len = min_t(u32, data_length, sg->length - page_off); in cxgbit_map_skb()
364 skb_fill_page_desc(skb, i, page, sg->offset + page_off, in cxgbit_map_skb()
371 page_off = 0; in cxgbit_map_skb()
/drivers/target/iscsi/
Discsi_target.c887 unsigned int page_off; in iscsit_map_iovec() local
903 page_off = (data_offset % PAGE_SIZE); in iscsit_map_iovec()
906 cmd->first_data_sg_off = page_off; in iscsit_map_iovec()
914 cur_len = min_t(u32, data_length, sg->length - page_off); in iscsit_map_iovec()
916 iov[i].iov_base = kmap(sg_page(sg)) + sg->offset + page_off; in iscsit_map_iovec()
920 page_off = 0; in iscsit_map_iovec()
1385 unsigned int page_off; in iscsit_do_crypto_hash_sg() local
1390 page_off = cmd->first_data_sg_off; in iscsit_do_crypto_hash_sg()
1392 if (data_length && page_off) { in iscsit_do_crypto_hash_sg()
1394 u32 len = min_t(u32, data_length, sg->length - page_off); in iscsit_do_crypto_hash_sg()
[all …]
/drivers/net/
Dvirtio_net.c679 int page_off, in xdp_linearize_page() argument
685 if (page_off + *len + tailroom > PAGE_SIZE) in xdp_linearize_page()
692 memcpy(page_address(page) + page_off, page_address(p) + offset, *len); in xdp_linearize_page()
693 page_off += *len; in xdp_linearize_page()
710 if ((page_off + buflen + tailroom) > PAGE_SIZE) { in xdp_linearize_page()
715 memcpy(page_address(page) + page_off, in xdp_linearize_page()
717 page_off += buflen; in xdp_linearize_page()
722 *len = page_off - VIRTIO_XDP_HEADROOM; in xdp_linearize_page()
/drivers/infiniband/ulp/isert/
Dib_isert.c1125 int rc, sg_nents, sg_off, page_off; in isert_handle_iscsi_dataout() local
1149 page_off = cmd->write_data_done % PAGE_SIZE; in isert_handle_iscsi_dataout()
1153 if (page_off) { in isert_handle_iscsi_dataout()
/drivers/net/ethernet/broadcom/
Dtg3.c3387 u32 phy_addr, page_off, size; in tg3_nvram_write_block_unbuffered() local
3400 page_off = offset & pagemask; in tg3_nvram_write_block_unbuffered()
3407 memcpy(tmp + page_off, buf, size); in tg3_nvram_write_block_unbuffered()
3409 offset = offset + (pagesize - page_off); in tg3_nvram_write_block_unbuffered()
3477 u32 page_off, phy_addr, nvram_cmd; in tg3_nvram_write_block_buffered() local
3483 page_off = offset % tp->nvram_pagesize; in tg3_nvram_write_block_buffered()
3489 if (page_off == 0 || i == 0) in tg3_nvram_write_block_buffered()
3491 if (page_off == (tp->nvram_pagesize - 4)) in tg3_nvram_write_block_buffered()