Lines Matching refs:pending

31 static __inline void _lm_sq_post(struct _lm_device_t *pdev,struct sq_pending_command * pending)
37 mm_memcpy(pdev->sq_info.sq_chain.prod_bd, &pending->command, sizeof(pending->command));
49 DbgMessage(pdev,VERBOSEl2sp | VERBOSEl4sp, "Writing SP prod %d, conn_and_cmd_data=%x, type=%d \n",pdev->sq_info.sq_chain.prod_idx, pending->command.hdr.conn_and_cmd_data, pending->command.hdr.type);
66 * @param pending - OUT: this entry is filled given the input
75 * @param release_mem_flag - Determines whether the sp pending
80 struct sq_pending_command * pending,
94 pending->command.hdr.conn_and_cmd_data = mm_cpu_to_le32((command << SPE_HDR_T_CMD_ID_SHIFT ) | HW_CID(pdev,cid));
95 pending->command.hdr.type = mm_cpu_to_le16(type);
96 pending->command.protocol_data.hi = mm_cpu_to_le32(U64_HI(data));
97 pending->command.protocol_data.lo = mm_cpu_to_le32(U64_LO(data));
98 pending->flags = 0;
102 SET_FLAGS(pending->flags, SQ_PEND_RELEASE_MEM);
105 pending->cid = cid;
106 pending->type = type; /* don't kill function ID, RSC VF update really uses the value (& SPE_HDR_T_CONN_TYPE);*/
107 pending->cmd = command;
113 * Add the entry to the pending SP list.
114 * Try to add entry's from the list to the sq_chain if possible.(there is are less then 8 ramrod commands pending)
117 * @param pending - The pending list entry.
118 * @param priority - (high or low) to witch list to insert the pending list entry.
125 struct sq_pending_command * pending,
130 takes the sq pending list spinlock and adds the request
133 MUST only have one request pending per CID (this is up to the caller to enforce)
162 * do any deffered posting pending on the sq, will take the list spinlock
163 * will not block. Check sq state, if its pending (it means no hw...) call flush
167 * @return lm_status_t SUCCESS: is no pending requests were sent. PENDING if a
168 * if pending request was sent.
200 * This function completes any pending slowpath requests.