Home
last modified time | relevance | path

Searched refs:shift_pa (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/include/linux/soc/mediatek/
Dmtk-cmdq.h358 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);
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
/linux-6.12.1/drivers/soc/mediatek/
Dmtk-cmdq-helper.c510 int cmdq_pkt_jump_abs(struct cmdq_pkt *pkt, dma_addr_t addr, u8 shift_pa) in cmdq_pkt_jump_abs() argument
516 inst.value = addr >> shift_pa; in cmdq_pkt_jump_abs()
521 int cmdq_pkt_jump_rel(struct cmdq_pkt *pkt, s32 offset, u8 shift_pa) in cmdq_pkt_jump_rel() argument
526 inst.value = (u32)offset >> shift_pa; in cmdq_pkt_jump_rel()