Searched refs:MSG_TYPE_MASK (Results 1 – 2 of 2) sorted by relevance
26 #define MSG_TYPE_MASK 0x00000003 /* mask for following types */ macro276 if (snd_BUG_ON((notif_event & MSG_TYPE_MASK) != MSG_TYPE_NOTIFY)) in snd_mixart_send_msg_wait_notif()341 addr = msg & ~MSG_TYPE_MASK; in snd_mixart_process_msg()342 type = msg & MSG_TYPE_MASK; in snd_mixart_process_msg()427 switch (msg & MSG_TYPE_MASK) { in snd_mixart_threaded_irq()432 err = get_msg(mgr, &resp, msg & ~MSG_TYPE_MASK); in snd_mixart_threaded_irq()534 if( (msg & ~MSG_TYPE_MASK) == mgr->pending_event ) { in snd_mixart_threaded_irq()
32 #define MSG_TYPE_MASK GENMASK(9, 8) macro33 #define MSG_XTRACT_TYPE(hdr) FIELD_GET(MSG_TYPE_MASK, (hdr))64 FIELD_PREP(MSG_TYPE_MASK, hdr->type) | in pack_scmi_header()