Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_cmd.h804 uint32_t wrpt; member
814 return (rb->wrpt == rb->rptr); in dmub_rb_empty()
821 if (rb->wrpt >= rb->rptr) in dmub_rb_full()
822 data_count = rb->wrpt - rb->rptr; in dmub_rb_full()
824 data_count = rb->capacity - (rb->rptr - rb->wrpt); in dmub_rb_full()
832 uint64_t volatile *dst = (uint64_t volatile *)(rb->base_address) + rb->wrpt / sizeof(uint64_t); in dmub_rb_push_front()
843 rb->wrpt += DMUB_RB_CMD_SIZE; in dmub_rb_push_front()
845 if (rb->wrpt >= rb->capacity) in dmub_rb_push_front()
846 rb->wrpt %= rb->capacity; in dmub_rb_push_front()
854 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.c531 dmub->hw_funcs.set_inbox1_wptr(dmub, dmub->inbox1_rb.wrpt); in dmub_srv_cmd_execute()