Lines Matching defs:dmub
26 #include "dmub/dmub_srv_stat.h"
27 #include "dmub/inc/dmub_cmd.h"
38 * dmub_srv_stat_get_notification - Retrieves a dmub outbox notification, set up dmub notification
41 * @dmub: dmub srv structure
42 * @notify: dmub notification structure to be filled up
46 enum dmub_status dmub_srv_stat_get_notification(struct dmub_srv *dmub,
51 * we shall not modify any dmub variables, only dmub->outbox1_rb
56 if (!dmub->hw_init) {
62 /* Get write pointer which is updated by dmub */
63 dmub->outbox1_rb.wrpt = dmub->hw_funcs.get_outbox1_wptr(dmub);
65 if (!dmub_rb_out_front(&dmub->outbox1_rb, &cmd)) {
122 dmub_rb_pop_front(&dmub->outbox1_rb);
123 dmub->hw_funcs.set_outbox1_rptr(dmub, dmub->outbox1_rb.rptr);
126 * Notify dc whether dmub has a pending outbox message,
129 if (dmub_rb_empty(&dmub->outbox1_rb))