Lines Matching refs:s_req

346 	struct hif_scatter_req *s_req;  in ath6kl_sdio_alloc_prep_scat_req()  local
352 scat_req_sz = sizeof(*s_req) + scat_list_sz; in ath6kl_sdio_alloc_prep_scat_req()
362 s_req = kzalloc(scat_req_sz, GFP_KERNEL); in ath6kl_sdio_alloc_prep_scat_req()
363 if (!s_req) in ath6kl_sdio_alloc_prep_scat_req()
369 kfree(s_req); in ath6kl_sdio_alloc_prep_scat_req()
373 s_req->virt_dma_buf = in ath6kl_sdio_alloc_prep_scat_req()
377 s_req->sgentries = kzalloc(size, GFP_KERNEL); in ath6kl_sdio_alloc_prep_scat_req()
379 if (!s_req->sgentries) { in ath6kl_sdio_alloc_prep_scat_req()
380 kfree(s_req); in ath6kl_sdio_alloc_prep_scat_req()
388 kfree(s_req->sgentries); in ath6kl_sdio_alloc_prep_scat_req()
389 kfree(s_req->virt_dma_buf); in ath6kl_sdio_alloc_prep_scat_req()
390 kfree(s_req); in ath6kl_sdio_alloc_prep_scat_req()
395 bus_req->scat_req = s_req; in ath6kl_sdio_alloc_prep_scat_req()
396 s_req->busrequest = bus_req; in ath6kl_sdio_alloc_prep_scat_req()
398 s_req->virt_scat = virt_scat; in ath6kl_sdio_alloc_prep_scat_req()
401 hif_scatter_req_add(ar_sdio->ar, s_req); in ath6kl_sdio_alloc_prep_scat_req()
651 struct hif_scatter_req *s_req) in ath6kl_sdio_scatter_req_add() argument
657 list_add_tail(&s_req->list, &ar_sdio->scat_req); in ath6kl_sdio_scatter_req_add()
693 struct hif_scatter_req *s_req, *tmp_req; in ath6kl_sdio_cleanup_scatter() local
697 list_for_each_entry_safe(s_req, tmp_req, &ar_sdio->scat_req, list) { in ath6kl_sdio_cleanup_scatter()
698 list_del(&s_req->list); in ath6kl_sdio_cleanup_scatter()
706 if (s_req->busrequest) in ath6kl_sdio_cleanup_scatter()
707 ath6kl_sdio_free_bus_req(ar_sdio, s_req->busrequest); in ath6kl_sdio_cleanup_scatter()
708 kfree(s_req->virt_dma_buf); in ath6kl_sdio_cleanup_scatter()
709 kfree(s_req->sgentries); in ath6kl_sdio_cleanup_scatter()
710 kfree(s_req); in ath6kl_sdio_cleanup_scatter()