Searched refs:hbuf_depth (Results 1 – 6 of 6) sorted by relevance
220 u32 wr_idx, rd_idx, hbuf_depth, empty; in mei_dma_ring_empty_slots() local229 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() local258 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()
64 u8 hbuf_depth; member
250 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,
383 u32 (*hbuf_depth)(const struct mei_device *dev); member813 return dev->ops->hbuf_depth(dev); in mei_hbuf_depth()
284 .hbuf_depth = mei_vsc_hbuf_depth,
1177 .hbuf_depth = mei_txe_hbuf_depth,