Lines Matching defs:reqtype
338 octeon_register_reqtype_free_fn(struct octeon_device *oct, int reqtype,
341 if (reqtype > REQTYPE_LAST) {
342 dev_err(&oct->pci_dev->dev, "%s: Invalid reqtype: %d\n",
343 __func__, reqtype);
347 reqtype_free_fn[oct->octeon_id][reqtype] = fn;
355 int idx, void *buf, int reqtype)
358 iq->request_list[idx].reqtype = reqtype;
367 int reqtype;
376 reqtype = iq->request_list[old].reqtype;
379 if (reqtype == REQTYPE_NONE)
382 octeon_update_tx_completion_counters(buf, reqtype, &pkts_compl,
385 switch (reqtype) {
389 reqtype_free_fn[oct->octeon_id][reqtype](buf);
412 "%s Unknown reqtype: %d buf: %p at idx %d\n",
413 __func__, reqtype, buf, old);
417 iq->request_list[old].reqtype = 0;
538 u32 datasize, u32 reqtype)
553 xmit_stopped = octeon_report_sent_bytes_to_bql(buf, reqtype);
554 __add_to_request_list(iq, st.index, buf, reqtype);