Home
last modified time | relevance | path

Searched refs:cmdq_pkt (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/include/linux/soc/mediatek/
Dmtk-cmdq.h16 struct cmdq_pkt;
52 struct cmdq_pkt *cmdq_pkt_create(struct cmdq_client *client, size_t size);
58 void cmdq_pkt_destroy(struct cmdq_pkt *pkt);
69 int cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value);
81 int cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys,
91 int cmdq_pkt_wfe(struct cmdq_pkt *pkt, u16 event);
100 int cmdq_pkt_clear_event(struct cmdq_pkt *pkt, u16 event);
115 int cmdq_pkt_flush_async(struct cmdq_pkt *pkt, cmdq_async_flush_cb cb,
128 int cmdq_pkt_flush(struct cmdq_pkt *pkt);
/Linux-v5.4/drivers/soc/mediatek/
Dmtk-cmdq-helper.c69 struct cmdq_pkt *cmdq_pkt_create(struct cmdq_client *client, size_t size) in cmdq_pkt_create()
71 struct cmdq_pkt *pkt; in cmdq_pkt_create()
102 void cmdq_pkt_destroy(struct cmdq_pkt *pkt) in cmdq_pkt_destroy()
113 static int cmdq_pkt_append_command(struct cmdq_pkt *pkt, enum cmdq_code code, in cmdq_pkt_append_command()
139 int cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value) in cmdq_pkt_write()
148 int cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys, in cmdq_pkt_write_mask()
164 int cmdq_pkt_wfe(struct cmdq_pkt *pkt, u16 event) in cmdq_pkt_wfe()
184 int cmdq_pkt_clear_event(struct cmdq_pkt *pkt, u16 event) in cmdq_pkt_clear_event()
194 static int cmdq_pkt_finalize(struct cmdq_pkt *pkt) in cmdq_pkt_finalize()
209 struct cmdq_pkt *pkt = (struct cmdq_pkt *)data.data; in cmdq_pkt_flush_async_cb()
[all …]
/Linux-v5.4/include/linux/mailbox/
Dmtk-cmdq-mailbox.h70 struct cmdq_pkt { struct
/Linux-v5.4/drivers/mailbox/
Dmtk-cmdq-mailbox.c67 struct cmdq_pkt *pkt; /* the packet sent from mailbox client */
353 struct cmdq_pkt *pkt = (struct cmdq_pkt *)data; in cmdq_mbox_send_data()