Lines Matching refs:bus_req
1228 struct ath10k_sdio_bus_request *bus_req; in ath10k_sdio_alloc_busreq() local
1233 bus_req = NULL; in ath10k_sdio_alloc_busreq()
1237 bus_req = list_first_entry(&ar_sdio->bus_req_freeq, in ath10k_sdio_alloc_busreq()
1239 list_del(&bus_req->list); in ath10k_sdio_alloc_busreq()
1243 return bus_req; in ath10k_sdio_alloc_busreq()
1247 struct ath10k_sdio_bus_request *bus_req) in ath10k_sdio_free_bus_req() argument
1251 memset(bus_req, 0, sizeof(*bus_req)); in ath10k_sdio_free_bus_req()
1254 list_add_tail(&bus_req->list, &ar_sdio->bus_req_freeq); in ath10k_sdio_free_bus_req()
1306 struct ath10k_sdio_bus_request *bus_req; in ath10k_sdio_prep_async_req() local
1311 bus_req = ath10k_sdio_alloc_busreq(ar); in ath10k_sdio_prep_async_req()
1312 if (!bus_req) { in ath10k_sdio_prep_async_req()
1318 bus_req->skb = skb; in ath10k_sdio_prep_async_req()
1319 bus_req->eid = eid; in ath10k_sdio_prep_async_req()
1320 bus_req->address = addr; in ath10k_sdio_prep_async_req()
1321 bus_req->htc_msg = htc_msg; in ath10k_sdio_prep_async_req()
1322 bus_req->comp = comp; in ath10k_sdio_prep_async_req()
1325 list_add_tail(&bus_req->list, &ar_sdio->wr_asyncq); in ath10k_sdio_prep_async_req()
2012 ath10k_sdio_free_bus_req(ar, &ar_sdio->bus_req[i]); in ath10k_sdio_probe()