Lines Matching refs:rd_idx
254 log.buf_size, log.mask, log.rd_idx, log.wr_idx); in bcm_vk_dump_peer_log()
262 if ((log.rd_idx > log_info->mask) || in bcm_vk_dump_peer_log()
270 log.rd_idx, log.wr_idx); in bcm_vk_dump_peer_log()
277 while (log.rd_idx != log.wr_idx) { in bcm_vk_dump_peer_log()
278 loc_buf[cnt] = vkread8(vk, BAR_2, data_offset + log.rd_idx); in bcm_vk_dump_peer_log()
287 log.rd_idx = (log.rd_idx + 1) & log.mask; in bcm_vk_dump_peer_log()
290 vkwrite32(vk, log.rd_idx, BAR_2, in bcm_vk_dump_peer_log()
291 vk->peerlog_off + offsetof(struct bcm_vk_peer_log, rd_idx)); in bcm_vk_dump_peer_log()
420 (vk->peerlog_info.rd_idx > vk->peerlog_info.mask) || in bcm_vk_get_card_info()
425 vk->peerlog_info.rd_idx, in bcm_vk_get_card_info()
432 vk->peerlog_info.rd_idx, in bcm_vk_get_card_info()