Home
last modified time | relevance | path

Searched refs:hbuf_depth (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/misc/mei/
Ddma-ring.c220 u32 wr_idx, rd_idx, hbuf_depth, empty; in mei_dma_ring_empty_slots() local
229 hbuf_depth = mei_dma_ring_hbuf_depth(dev); in mei_dma_ring_empty_slots()
236 empty = hbuf_depth - (wr_idx - rd_idx); in mei_dma_ring_empty_slots()
251 u32 hbuf_depth; in mei_dma_ring_write() local
258 hbuf_depth = mei_dma_ring_hbuf_depth(dev); in mei_dma_ring_write()
259 wr_idx = READ_ONCE(ctrl->hbuf_wr_idx) & (hbuf_depth - 1); in mei_dma_ring_write()
262 if (wr_idx + slots > hbuf_depth) { in mei_dma_ring_write()
263 buf += mei_dma_copy_to(dev, buf, wr_idx, hbuf_depth - wr_idx); in mei_dma_ring_write()
264 rem = slots - (hbuf_depth - wr_idx); in mei_dma_ring_write()
Dhw-me.h64 u8 hbuf_depth; member
Dhw-me.c250 hw->hbuf_depth = (hcsr & H_CBD) >> 24; in mei_me_hw_config()
599 empty_slots = hw->hbuf_depth - filled_slots; in mei_me_hbuf_empty_slots()
602 if (filled_slots > hw->hbuf_depth) in mei_me_hbuf_empty_slots()
619 return hw->hbuf_depth; in mei_me_hbuf_depth()
1514 .hbuf_depth = mei_me_hbuf_depth,
Dmei_dev.h383 u32 (*hbuf_depth)(const struct mei_device *dev); member
813 return dev->ops->hbuf_depth(dev); in mei_hbuf_depth()
Dplatform-vsc.c284 .hbuf_depth = mei_vsc_hbuf_depth,
Dhw-txe.c1177 .hbuf_depth = mei_txe_hbuf_depth,