Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/misc/mei/
Ddma-ring.c216 u32 wr_idx, rd_idx, hbuf_depth, empty; in mei_dma_ring_empty_slots() local
225 hbuf_depth = mei_dma_ring_hbuf_depth(dev); in mei_dma_ring_empty_slots()
232 empty = hbuf_depth - (wr_idx - rd_idx); in mei_dma_ring_empty_slots()
247 u32 hbuf_depth; in mei_dma_ring_write() local
254 hbuf_depth = mei_dma_ring_hbuf_depth(dev); in mei_dma_ring_write()
255 wr_idx = READ_ONCE(ctrl->hbuf_wr_idx) & (hbuf_depth - 1); in mei_dma_ring_write()
258 if (wr_idx + slots > hbuf_depth) { in mei_dma_ring_write()
259 buf += mei_dma_copy_to(dev, buf, wr_idx, hbuf_depth - wr_idx); in mei_dma_ring_write()
260 rem = slots - (hbuf_depth - wr_idx); in mei_dma_ring_write()
Dhw-me.h61 u8 hbuf_depth; member
Dhw-me.c249 hw->hbuf_depth = (hcsr & H_CBD) >> 24; in mei_me_hw_config()
514 empty_slots = hw->hbuf_depth - filled_slots; in mei_me_hbuf_empty_slots()
517 if (filled_slots > hw->hbuf_depth) in mei_me_hbuf_empty_slots()
534 return hw->hbuf_depth; in mei_me_hbuf_depth()
1347 .hbuf_depth = mei_me_hbuf_depth,
Dmei_dev.h328 u32 (*hbuf_depth)(const struct mei_device *dev); member
722 return dev->ops->hbuf_depth(dev); in mei_hbuf_depth()
Dhw-txe.c1181 .hbuf_depth = mei_txe_hbuf_depth,