Lines Matching refs:netbuf

245 QDF_STATUS htc_rx_completion_handler(void *Context, qdf_nbuf_t netbuf,  in htc_rx_completion_handler()  argument
266 target->CurRxSgTotalLen += qdf_nbuf_len(netbuf); in htc_rx_completion_handler()
267 qdf_nbuf_queue_add(&target->RxSgQueue, netbuf); in htc_rx_completion_handler()
269 netbuf = rx_sg_to_single_netbuf(target); in htc_rx_completion_handler()
270 if (!netbuf) { in htc_rx_completion_handler()
275 netbuf = NULL; in htc_rx_completion_handler()
283 netdata = qdf_nbuf_data(netbuf); in htc_rx_completion_handler()
284 netlen = qdf_nbuf_len(netbuf); in htc_rx_completion_handler()
301 netbuf, in htc_rx_completion_handler()
304 qdf_nbuf_data_addr(netbuf), in htc_rx_completion_handler()
305 sizeof(qdf_nbuf_data(netbuf)), in htc_rx_completion_handler()
337 qdf_nbuf_queue_add(&target->RxSgQueue, netbuf); in htc_rx_completion_handler()
341 netbuf = NULL; in htc_rx_completion_handler()
352 netbuf, in htc_rx_completion_handler()
355 qdf_nbuf_data_addr(netbuf), in htc_rx_completion_handler()
356 sizeof(qdf_nbuf_data(netbuf)), in htc_rx_completion_handler()
416 qdf_nbuf_pull_head(netbuf, HTC_HDR_LENGTH); in htc_rx_completion_handler()
417 netdata = qdf_nbuf_data(netbuf); in htc_rx_completion_handler()
418 netlen = qdf_nbuf_len(netbuf); in htc_rx_completion_handler()
496 htc_rx_nbuf_free(netbuf); in htc_rx_completion_handler()
497 netbuf = NULL; in htc_rx_completion_handler()
513 pPacket->pPktContext = netbuf; in htc_rx_completion_handler()
514 pPacket->pBuffer = qdf_nbuf_data(netbuf) + HTC_HDR_LENGTH; in htc_rx_completion_handler()
517 qdf_nbuf_pull_head(netbuf, HTC_HEADER_LEN); in htc_rx_completion_handler()
518 qdf_nbuf_set_pktlen(netbuf, pPacket->ActualLength); in htc_rx_completion_handler()
525 netbuf = NULL; in htc_rx_completion_handler()
533 if (netbuf) in htc_rx_completion_handler()
534 htc_rx_nbuf_free(netbuf); in htc_rx_completion_handler()