Lines Matching refs:nbuf

317 			if (rx_q_elem->nbuf)  in hif_disable_func()
318 qdf_nbuf_free(rx_q_elem->nbuf); in hif_disable_func()
387 qdf_nbuf_t nbuf = NULL; in hif_sdio_get_nbuf() local
397 nbuf = elem->nbuf; in hif_sdio_get_nbuf()
412 return nbuf; in hif_sdio_get_nbuf()
417 qdf_nbuf_t nbuf; in hif_sdio_get_nbuf() local
422 nbuf = qdf_nbuf_alloc(NULL, buf_len, 0, 4, false); in hif_sdio_get_nbuf()
424 return nbuf; in hif_sdio_get_nbuf()
451 rx_q_elem->nbuf = qdf_nbuf_alloc(NULL, HIF_SDIO_RX_BUFFER_SIZE, in hif_sdio_rx_q_alloc()
453 if (!rx_q_elem->nbuf) { in hif_sdio_rx_q_alloc()
591 qdf_nbuf_t nbuf; in hif_read_write() local
646 nbuf = (qdf_nbuf_t)context; in hif_read_write()
650 qdf_nbuf_set_pktlen(nbuf, payload_len + HTC_HDR_LENGTH); in hif_read_write()
653 rx_comp(device->hif_callbacks.Context, nbuf, 0); in hif_read_write()
727 qdf_nbuf_t nbuf; in dl_data_avail_cb() local
748 nbuf = qdf_nbuf_alloc(NULL, len, 0, 4, false); in dl_data_avail_cb()
750 if (!nbuf) { in dl_data_avail_cb()
755 hif_read_write(dev, (unsigned long)ch_handle, nbuf->data, len, in dl_data_avail_cb()
756 HIF_RD_ASYNC_BLOCK_FIX, nbuf); in dl_data_avail_cb()
775 qdf_nbuf_t nbuf; in dl_xfer_cb() local
834 nbuf = hif_sdio_get_nbuf(dev, payload_len + HTC_HEADER_LEN); in dl_xfer_cb()
835 if (!nbuf) { in dl_xfer_cb()
841 if (qdf_nbuf_tailroom(nbuf) < payload_len + HTC_HEADER_LEN) { in dl_xfer_cb()
844 qdf_nbuf_tailroom(nbuf)); in dl_xfer_cb()
845 qdf_nbuf_free(nbuf); in dl_xfer_cb()
849 qdf_mem_copy((uint8_t *)qdf_nbuf_data(nbuf), buf, in dl_xfer_cb()
852 qdf_nbuf_put_tail(nbuf, payload_len + HTC_HDR_LENGTH); in dl_xfer_cb()
854 rx_completion(device->hif_callbacks.Context, nbuf, in dl_xfer_cb()