Lines Matching refs:pkt
104 int cmdq_pkt_create(struct cmdq_client *client, struct cmdq_pkt *pkt, size_t size);
111 void cmdq_pkt_destroy(struct cmdq_client *client, struct cmdq_pkt *pkt);
122 int cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value);
134 int cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys,
146 int cmdq_pkt_read_s(struct cmdq_pkt *pkt, u16 high_addr_reg_idx, u16 addr_low,
163 int cmdq_pkt_write_s(struct cmdq_pkt *pkt, u16 high_addr_reg_idx,
181 int cmdq_pkt_write_s_mask(struct cmdq_pkt *pkt, u16 high_addr_reg_idx,
194 int cmdq_pkt_write_s_value(struct cmdq_pkt *pkt, u8 high_addr_reg_idx,
209 int cmdq_pkt_write_s_mask_value(struct cmdq_pkt *pkt, u8 high_addr_reg_idx,
222 int cmdq_pkt_mem_move(struct cmdq_pkt *pkt, dma_addr_t src_addr, dma_addr_t dst_addr);
232 int cmdq_pkt_wfe(struct cmdq_pkt *pkt, u16 event, bool clear);
247 int cmdq_pkt_acquire_event(struct cmdq_pkt *pkt, u16 event);
256 int cmdq_pkt_clear_event(struct cmdq_pkt *pkt, u16 event);
265 int cmdq_pkt_set_event(struct cmdq_pkt *pkt, u16 event);
280 int cmdq_pkt_poll(struct cmdq_pkt *pkt, u8 subsys,
297 int cmdq_pkt_poll_mask(struct cmdq_pkt *pkt, u8 subsys,
312 int cmdq_pkt_logic_command(struct cmdq_pkt *pkt, u16 result_reg_idx,
328 int cmdq_pkt_assign(struct cmdq_pkt *pkt, u16 reg_idx, u32 value);
344 int cmdq_pkt_poll_addr(struct cmdq_pkt *pkt, dma_addr_t addr, u32 value, u32 mask);
358 int cmdq_pkt_jump_abs(struct cmdq_pkt *pkt, dma_addr_t addr, u8 shift_pa);
361 static inline int cmdq_pkt_jump(struct cmdq_pkt *pkt, dma_addr_t addr, u8 shift_pa) in cmdq_pkt_jump() argument
363 return cmdq_pkt_jump_abs(pkt, addr, shift_pa); in cmdq_pkt_jump()
378 int cmdq_pkt_jump_rel(struct cmdq_pkt *pkt, s32 offset, u8 shift_pa);
392 int cmdq_pkt_eoc(struct cmdq_pkt *pkt);
400 int cmdq_pkt_finalize(struct cmdq_pkt *pkt);
417 static inline int cmdq_pkt_create(struct cmdq_client *client, struct cmdq_pkt *pkt, size_t size) in cmdq_pkt_create() argument
422 static inline void cmdq_pkt_destroy(struct cmdq_client *client, struct cmdq_pkt *pkt) { } in cmdq_pkt_destroy() argument
424 static inline int cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value) in cmdq_pkt_write() argument
429 static inline int cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys, in cmdq_pkt_write_mask() argument
435 static inline int cmdq_pkt_read_s(struct cmdq_pkt *pkt, u16 high_addr_reg_idx, in cmdq_pkt_read_s() argument
441 static inline int cmdq_pkt_write_s(struct cmdq_pkt *pkt, u16 high_addr_reg_idx, in cmdq_pkt_write_s() argument
447 static inline int cmdq_pkt_write_s_mask(struct cmdq_pkt *pkt, u16 high_addr_reg_idx, in cmdq_pkt_write_s_mask() argument
453 static inline int cmdq_pkt_write_s_value(struct cmdq_pkt *pkt, u8 high_addr_reg_idx, in cmdq_pkt_write_s_value() argument
459 static inline int cmdq_pkt_write_s_mask_value(struct cmdq_pkt *pkt, u8 high_addr_reg_idx, in cmdq_pkt_write_s_mask_value() argument
465 static inline int cmdq_pkt_wfe(struct cmdq_pkt *pkt, u16 event, bool clear) in cmdq_pkt_wfe() argument
470 static inline int cmdq_pkt_clear_event(struct cmdq_pkt *pkt, u16 event) in cmdq_pkt_clear_event() argument
475 static inline int cmdq_pkt_set_event(struct cmdq_pkt *pkt, u16 event) in cmdq_pkt_set_event() argument
480 static inline int cmdq_pkt_poll(struct cmdq_pkt *pkt, u8 subsys, in cmdq_pkt_poll() argument
486 static inline int cmdq_pkt_poll_mask(struct cmdq_pkt *pkt, u8 subsys, in cmdq_pkt_poll_mask() argument
492 static inline int cmdq_pkt_assign(struct cmdq_pkt *pkt, u16 reg_idx, u32 value) in cmdq_pkt_assign() argument
497 static inline int cmdq_pkt_poll_addr(struct cmdq_pkt *pkt, dma_addr_t addr, u32 value, u32 mask) in cmdq_pkt_poll_addr() argument
502 static inline int cmdq_pkt_jump_abs(struct cmdq_pkt *pkt, dma_addr_t addr, u8 shift_pa) in cmdq_pkt_jump_abs() argument
507 static inline int cmdq_pkt_jump(struct cmdq_pkt *pkt, dma_addr_t addr, u8 shift_pa) in cmdq_pkt_jump() argument
512 static inline int cmdq_pkt_jump_rel(struct cmdq_pkt *pkt, s32 offset, u8 shift_pa) in cmdq_pkt_jump_rel() argument
517 static inline int cmdq_pkt_eoc(struct cmdq_pkt *pkt) in cmdq_pkt_eoc() argument
522 static inline int cmdq_pkt_finalize(struct cmdq_pkt *pkt) in cmdq_pkt_finalize() argument