Home
last modified time | relevance | path

Searched refs:scat_req (Results 1 – 5 of 5) sorted by relevance

/drivers/net/wireless/ath/ath6kl/
Dsdio.c53 struct list_head scat_req; member
223 static void ath6kl_sdio_setup_scat_data(struct hif_scatter_req *scat_req, in ath6kl_sdio_setup_scat_data() argument
230 data->blocks = scat_req->len / HIF_MBOX_BLOCK_SIZE; in ath6kl_sdio_setup_scat_data()
234 (scat_req->req & HIF_WRITE) ? "WR" : "RD", scat_req->addr, in ath6kl_sdio_setup_scat_data()
235 data->blksz, data->blocks, scat_req->len, in ath6kl_sdio_setup_scat_data()
236 scat_req->scat_entries); in ath6kl_sdio_setup_scat_data()
238 data->flags = (scat_req->req & HIF_WRITE) ? MMC_DATA_WRITE : in ath6kl_sdio_setup_scat_data()
242 sg = scat_req->sgentries; in ath6kl_sdio_setup_scat_data()
243 sg_init_table(sg, scat_req->scat_entries); in ath6kl_sdio_setup_scat_data()
246 for (i = 0; i < scat_req->scat_entries; i++, sg++) { in ath6kl_sdio_setup_scat_data()
[all …]
Dhif.c231 struct hif_scatter_req *scat_req, bool read) in ath6kl_hif_submit_scat_req() argument
236 scat_req->req = HIF_RD_SYNC_BLOCK_FIX; in ath6kl_hif_submit_scat_req()
237 scat_req->addr = dev->ar->mbox_info.htc_addr; in ath6kl_hif_submit_scat_req()
239 scat_req->req = HIF_WR_ASYNC_BLOCK_INC; in ath6kl_hif_submit_scat_req()
241 scat_req->addr = in ath6kl_hif_submit_scat_req()
242 (scat_req->len > HIF_MBOX_WIDTH) ? in ath6kl_hif_submit_scat_req()
249 scat_req->scat_entries, scat_req->len, in ath6kl_hif_submit_scat_req()
250 scat_req->addr, !read ? "async" : "sync", in ath6kl_hif_submit_scat_req()
253 if (!read && scat_req->virt_scat) { in ath6kl_hif_submit_scat_req()
254 status = ath6kl_hif_cp_scat_dma_buf(scat_req, false); in ath6kl_hif_submit_scat_req()
[all …]
Dhtc_mbox.c468 struct hif_scatter_req *scat_req) in htc_async_tx_scat_complete() argument
479 scat_req->len, scat_req->scat_entries); in htc_async_tx_scat_complete()
481 if (scat_req->status) in htc_async_tx_scat_complete()
482 ath6kl_err("send scatter req failed: %d\n", scat_req->status); in htc_async_tx_scat_complete()
484 packet = scat_req->scat_list[0].packet; in htc_async_tx_scat_complete()
488 for (i = 0; i < scat_req->scat_entries; i++) { in htc_async_tx_scat_complete()
489 packet = scat_req->scat_list[i].packet; in htc_async_tx_scat_complete()
495 packet->status = scat_req->status; in htc_async_tx_scat_complete()
501 hif_scatter_req_add(target->dev->ar, scat_req); in htc_async_tx_scat_complete()
681 struct hif_scatter_req *scat_req, in ath6kl_htc_tx_setup_scat_list() argument
[all …]
Dhif.h83 struct hif_scatter_req *scat_req; member
242 struct hif_scatter_req *scat_req);
274 struct hif_scatter_req *scat_req, bool read);
Dhif-ops.h77 struct hif_scatter_req *scat_req) in ath6kl_hif_scat_req_rw() argument
79 return ar->hif_ops->scat_req_rw(ar, scat_req); in ath6kl_hif_scat_req_rw()