Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/bus/mhi/ep/
Dring.c42 if (ring->wr_offset == end) in __mhi_ep_cache_ring()
45 start = ring->wr_offset; in __mhi_ep_cache_ring()
81 size_t wr_offset; in mhi_ep_cache_ring() local
84 wr_offset = mhi_ep_ring_addr2offset(ring, wr_ptr); in mhi_ep_cache_ring()
87 ret = __mhi_ep_cache_ring(ring, wr_offset); in mhi_ep_cache_ring()
91 ring->wr_offset = wr_offset; in mhi_ep_cache_ring()
122 if (ring->rd_offset < ring->wr_offset) in mhi_ep_ring_add_element()
123 num_free_elem = (ring->wr_offset - ring->rd_offset) - 1; in mhi_ep_ring_add_element()
125 num_free_elem = ((ring->ring_size - ring->rd_offset) + ring->wr_offset) - 1; in mhi_ep_ring_add_element()
187 ring->wr_offset = mhi_ep_ring_addr2offset(ring, le64_to_cpu(val)); in mhi_ep_ring_start()
Dinternal.h131 size_t wr_offset; member
Dmain.c315 return !!(ring->rd_offset == ring->wr_offset); in mhi_ep_queue_is_empty()
728 if (ring->rd_offset == ring->wr_offset) in mhi_ep_cmd_ring_worker()
735 while (ring->rd_offset != ring->wr_offset) { in mhi_ep_cmd_ring_worker()
790 if (ring->rd_offset == ring->wr_offset) { in mhi_ep_ch_ring_worker()
/linux-6.6.21/drivers/spi/
Dspi-mtk-snfi.c1060 u32 wr_offset = 0; in mtk_snand_write_page_cache() local
1080 wr_offset = op_addr & mask; in mtk_snand_write_page_cache()
1086 if (wr_offset) in mtk_snand_write_page_cache()
1087 memset(snf->buf, 0xff, wr_offset); in mtk_snand_write_page_cache()
1089 cap_len = snf->buf_len - wr_offset; in mtk_snand_write_page_cache()
1092 memcpy(snf->buf + wr_offset, op->data.buf.out, cap_len); in mtk_snand_write_page_cache()
/linux-6.6.21/fs/nfsd/
Dnfs4proc.c1191 if (write->wr_offset > (u64)OFFSET_MAX || in nfsd4_write()
1192 write->wr_offset + write->wr_buflen > (u64)OFFSET_MAX) in nfsd4_write()
1197 write->wr_offset, cnt); in nfsd4_write()
1209 write->wr_offset, rqstp->rq_vec, nvecs, &cnt, in nfsd4_write()
1216 write->wr_offset, cnt); in nfsd4_write()
Dxdr4.h411 u64 wr_offset; /* request */ member
Dnfs4xdr.c1448 if (xdr_stream_decode_u64(argp->xdr, &write->wr_offset) < 0) in nfsd4_decode_write()