Home
last modified time | relevance | path

Searched refs:hbuf_depth (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/mei/
H A 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()
H A Dhw-me.h52 * @hbuf_depth: depth of hardware host/write buffer in slots
61 u8 hbuf_depth; member
H A 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,
H A Dmei_dev.h296 * @hbuf_depth : query for write buffer depth
328 u32 (*hbuf_depth)(const struct mei_device *dev); member
722 return dev->ops->hbuf_depth(dev); in mei_hbuf_depth()
H A Dhw-txe.c1181 .hbuf_depth = mei_txe_hbuf_depth,
/kernel/linux/linux-6.6/drivers/misc/mei/
H A 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()
H A Dhw-me.h52 * @hbuf_depth: depth of hardware host/write buffer in slots
64 u8 hbuf_depth; member
H A Dhw-me.c250 hw->hbuf_depth = (hcsr & H_CBD) >> 24; in mei_me_hw_config()
549 empty_slots = hw->hbuf_depth - filled_slots; in mei_me_hbuf_empty_slots()
552 if (filled_slots > hw->hbuf_depth) in mei_me_hbuf_empty_slots()
569 return hw->hbuf_depth; in mei_me_hbuf_depth()
1459 .hbuf_depth = mei_me_hbuf_depth,
H A Dmei_dev.h338 * @hbuf_depth : query for write buffer depth
370 u32 (*hbuf_depth)(const struct mei_device *dev); member
790 return dev->ops->hbuf_depth(dev); in mei_hbuf_depth()
H A Dhw-txe.c1177 .hbuf_depth = mei_txe_hbuf_depth,

Completed in 15 milliseconds