Lines Matching refs:pending
31 static __inline void _lm_sq_post(struct _lm_device_t *pdev,struct sq_pending_command * pending) in _lm_sq_post() argument
37 mm_memcpy(pdev->sq_info.sq_chain.prod_bd, &pending->command, sizeof(pending->command)); in _lm_sq_post()
49 …ata=%x, type=%d \n",pdev->sq_info.sq_chain.prod_idx, pending->command.hdr.conn_and_cmd_data, pendi… in _lm_sq_post()
80 struct sq_pending_command * pending, in lm_sq_post_fill_entry() argument
94 …pending->command.hdr.conn_and_cmd_data = mm_cpu_to_le32((command << SPE_HDR_T_CMD_ID_SHIFT ) | HW_… in lm_sq_post_fill_entry()
95 pending->command.hdr.type = mm_cpu_to_le16(type); in lm_sq_post_fill_entry()
96 pending->command.protocol_data.hi = mm_cpu_to_le32(U64_HI(data)); in lm_sq_post_fill_entry()
97 pending->command.protocol_data.lo = mm_cpu_to_le32(U64_LO(data)); in lm_sq_post_fill_entry()
98 pending->flags = 0; in lm_sq_post_fill_entry()
102 SET_FLAGS(pending->flags, SQ_PEND_RELEASE_MEM); in lm_sq_post_fill_entry()
105 pending->cid = cid; in lm_sq_post_fill_entry()
106 …pending->type = type; /* don't kill function ID, RSC VF update really uses the value (& SPE_HDR_T_… in lm_sq_post_fill_entry()
107 pending->cmd = command; in lm_sq_post_fill_entry()
125 struct sq_pending_command * pending,