Lines Matching refs:os_buf
41 SNIC_BUG_ON(buf->os_buf == NULL); in snic_wq_cmpl_frame_send()
46 buf->os_buf); in snic_wq_cmpl_frame_send()
49 ((ulong)(buf->os_buf) - sizeof(struct snic_req_info)), 0, 0, in snic_wq_cmpl_frame_send()
52 buf->os_buf = NULL; in snic_wq_cmpl_frame_send()
100 struct snic_host_req *req = buf->os_buf; in snic_free_wq_buf()
163 snic_queue_wq_desc(struct snic *snic, void *os_buf, u16 len) in snic_queue_wq_desc() argument
168 struct snic_host_req *req = (struct snic_host_req *) os_buf; in snic_queue_wq_desc()
173 snic_print_desc(__func__, os_buf, len); in snic_queue_wq_desc()
176 pa = dma_map_single(&snic->pdev->dev, os_buf, len, DMA_TO_DEVICE); in snic_queue_wq_desc()
199 snic_queue_wq_eth_desc(&snic->wq[q_num], os_buf, pa, len, 0, 0, 1); in snic_queue_wq_desc()
457 snic_dump_desc(const char *fn, char *os_buf, int len) in snic_dump_desc() argument
459 struct snic_host_req *req = (struct snic_host_req *) os_buf; in snic_dump_desc()
460 struct snic_fw_req *fwreq = (struct snic_fw_req *) os_buf; in snic_dump_desc()
550 snic_hex_dump(cmd_str, os_buf, len); in snic_dump_desc()
554 snic_print_desc(const char *fn, char *os_buf, int len) in snic_print_desc() argument
557 snic_dump_desc(fn, os_buf, len); in snic_print_desc()