Home
last modified time | relevance | path

Searched refs:wrpt (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_cmd.h2438 uint32_t wrpt; /**< Write pointer for producer in bytes */ member
2454 return (rb->wrpt == rb->rptr); in dmub_rb_empty()
2468 if (rb->wrpt >= rb->rptr) in dmub_rb_full()
2469 data_count = rb->wrpt - rb->rptr; in dmub_rb_full()
2471 data_count = rb->capacity - (rb->rptr - rb->wrpt); in dmub_rb_full()
2487 uint8_t *dst = (uint8_t *)(rb->base_address) + rb->wrpt; in dmub_rb_push_front()
2496 rb->wrpt += DMUB_RB_CMD_SIZE; in dmub_rb_push_front()
2498 if (rb->wrpt >= rb->capacity) in dmub_rb_push_front()
2499 rb->wrpt %= rb->capacity; in dmub_rb_push_front()
2515 uint8_t *dst = (uint8_t *)(rb->base_address) + rb->wrpt; in dmub_rb_out_push_front()
[all …]
/drivers/gpu/drm/amd/display/dmub/src/
Ddmub_srv_stat.c63 dmub->outbox1_rb.wrpt = dmub->hw_funcs.get_outbox1_wptr(dmub); in dmub_srv_stat_get_notification()
Ddmub_srv.c626 dmub->hw_funcs.set_inbox1_wptr(dmub, dmub->inbox1_rb.wrpt); in dmub_srv_cmd_execute()
806 if (rb->rptr == rb->wrpt) in dmub_rb_out_trace_buffer_front()
823 dmub->outbox0_rb.wrpt = dmub->hw_funcs.get_outbox0_wptr(dmub); in dmub_srv_get_outbox0_msg()