Lines Matching refs:m
34 static void notify(lv_msg_t * m);
35 static void obj_notify_cb(void * s, lv_msg_t * m);
118 lv_msg_t m; in lv_msg_send() local
119 lv_memset_00(&m, sizeof(m)); in lv_msg_send()
120 m.id = msg_id; in lv_msg_send()
121 m.payload = payload; in lv_msg_send()
122 notify(&m); in lv_msg_send()
125 uint32_t lv_msg_get_id(lv_msg_t * m) in lv_msg_get_id() argument
127 return m->id; in lv_msg_get_id()
130 const void * lv_msg_get_payload(lv_msg_t * m) in lv_msg_get_payload() argument
132 return m->payload; in lv_msg_get_payload()
135 void * lv_msg_get_user_data(lv_msg_t * m) in lv_msg_get_user_data() argument
137 return m->user_data; in lv_msg_get_user_data()
155 static void notify(lv_msg_t * m) in notify() argument
159 if(s->msg_id == m->id && s->callback) { in notify()
160 m->user_data = s->user_data; in notify()
161 m->_priv_data = s->_priv_data; in notify()
162 s->callback(s, m); in notify()
167 static void obj_notify_cb(void * s, lv_msg_t * m) in obj_notify_cb() argument
170 lv_event_send(m->_priv_data, LV_EVENT_MSG_RECEIVED, m); in obj_notify_cb()