Home | History | Annotate | Download | only in cups

Lines Matching refs:tid

55 	uint16_t tid;
82 static int hcrp_credit_grant(int sk, uint16_t tid, uint32_t credit)
91 hdr.tid = htons(tid);
110 static int hcrp_credit_request(int sk, uint16_t tid, uint32_t *credit)
118 hdr.tid = htons(tid);
138 static int hcrp_get_lpt_status(int sk, uint16_t tid, uint8_t *lpt_status)
146 hdr.tid = htons(tid);
166 static inline int hcrp_get_next_tid(int tid)
168 if (tid > 0xf000)
171 return tid + 1;
183 uint16_t tid = 0;
290 tid = hcrp_get_next_tid(tid);
291 if (hcrp_credit_grant(ctrl_sk, tid, 0) < 0) {
310 tid = hcrp_get_next_tid(tid);
311 if (!hcrp_credit_request(ctrl_sk, tid, &tmp)) {
319 tid = hcrp_get_next_tid(tid);
320 if (!hcrp_get_lpt_status(ctrl_sk, tid, &status))