Lines Matching refs:os_buf
27 SNIC_BUG_ON(buf->os_buf == NULL); in snic_wq_cmpl_frame_send()
32 buf->os_buf); in snic_wq_cmpl_frame_send()
35 ((ulong)(buf->os_buf) - sizeof(struct snic_req_info)), 0, 0, in snic_wq_cmpl_frame_send()
38 buf->os_buf = NULL; in snic_wq_cmpl_frame_send()
86 struct snic_host_req *req = buf->os_buf; in snic_free_wq_buf()
149 snic_queue_wq_desc(struct snic *snic, void *os_buf, u16 len) in snic_queue_wq_desc() argument
154 struct snic_host_req *req = (struct snic_host_req *) os_buf; in snic_queue_wq_desc()
159 snic_print_desc(__func__, os_buf, len); in snic_queue_wq_desc()
162 pa = dma_map_single(&snic->pdev->dev, os_buf, len, DMA_TO_DEVICE); in snic_queue_wq_desc()
185 snic_queue_wq_eth_desc(&snic->wq[q_num], os_buf, pa, len, 0, 0, 1); in snic_queue_wq_desc()
443 snic_dump_desc(const char *fn, char *os_buf, int len) in snic_dump_desc() argument
445 struct snic_host_req *req = (struct snic_host_req *) os_buf; in snic_dump_desc()
446 struct snic_fw_req *fwreq = (struct snic_fw_req *) os_buf; in snic_dump_desc()
536 snic_hex_dump(cmd_str, os_buf, len); in snic_dump_desc()
540 snic_print_desc(const char *fn, char *os_buf, int len) in snic_print_desc() argument
543 snic_dump_desc(fn, os_buf, len); in snic_print_desc()