Searched refs:hbuf_depth (Results 1 – 5 of 5) sorted by relevance
216 u32 wr_idx, rd_idx, hbuf_depth, empty; in mei_dma_ring_empty_slots() local225 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() local254 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()
61 u8 hbuf_depth; member
249 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,
328 u32 (*hbuf_depth)(const struct mei_device *dev); member722 return dev->ops->hbuf_depth(dev); in mei_hbuf_depth()
1181 .hbuf_depth = mei_txe_hbuf_depth,