Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath6kl/
Dsdio.c52 struct list_head scat_req; member
218 static void ath6kl_sdio_setup_scat_data(struct hif_scatter_req *scat_req, in ath6kl_sdio_setup_scat_data() argument
225 data->blocks = scat_req->len / HIF_MBOX_BLOCK_SIZE; in ath6kl_sdio_setup_scat_data()
229 (scat_req->req & HIF_WRITE) ? "WR" : "RD", scat_req->addr, in ath6kl_sdio_setup_scat_data()
230 data->blksz, data->blocks, scat_req->len, in ath6kl_sdio_setup_scat_data()
231 scat_req->scat_entries); in ath6kl_sdio_setup_scat_data()
233 data->flags = (scat_req->req & HIF_WRITE) ? MMC_DATA_WRITE : in ath6kl_sdio_setup_scat_data()
237 sg = scat_req->sgentries; in ath6kl_sdio_setup_scat_data()
238 sg_init_table(sg, scat_req->scat_entries); in ath6kl_sdio_setup_scat_data()
241 for (i = 0; i < scat_req->scat_entries; i++, sg++) { in ath6kl_sdio_setup_scat_data()
[all …]
Dhif.c234 struct hif_scatter_req *scat_req, bool read) in ath6kl_hif_submit_scat_req() argument
239 scat_req->req = HIF_RD_SYNC_BLOCK_FIX; in ath6kl_hif_submit_scat_req()
240 scat_req->addr = dev->ar->mbox_info.htc_addr; in ath6kl_hif_submit_scat_req()
242 scat_req->req = HIF_WR_ASYNC_BLOCK_INC; in ath6kl_hif_submit_scat_req()
244 scat_req->addr = in ath6kl_hif_submit_scat_req()
245 (scat_req->len > HIF_MBOX_WIDTH) ? in ath6kl_hif_submit_scat_req()
252 scat_req->scat_entries, scat_req->len, in ath6kl_hif_submit_scat_req()
253 scat_req->addr, !read ? "async" : "sync", in ath6kl_hif_submit_scat_req()
256 if (!read && scat_req->virt_scat) { in ath6kl_hif_submit_scat_req()
257 status = ath6kl_hif_cp_scat_dma_buf(scat_req, false); in ath6kl_hif_submit_scat_req()
[all …]
Dhtc.c455 struct hif_scatter_req *scat_req) in htc_async_tx_scat_complete() argument
466 scat_req->len, scat_req->scat_entries); in htc_async_tx_scat_complete()
468 if (scat_req->status) in htc_async_tx_scat_complete()
469 ath6kl_err("send scatter req failed: %d\n", scat_req->status); in htc_async_tx_scat_complete()
471 packet = scat_req->scat_list[0].packet; in htc_async_tx_scat_complete()
475 for (i = 0; i < scat_req->scat_entries; i++) { in htc_async_tx_scat_complete()
476 packet = scat_req->scat_list[i].packet; in htc_async_tx_scat_complete()
482 packet->status = scat_req->status; in htc_async_tx_scat_complete()
488 hif_scatter_req_add(target->dev->ar, scat_req); in htc_async_tx_scat_complete()
668 struct hif_scatter_req *scat_req, in ath6kl_htc_tx_setup_scat_list() argument
[all …]
Dhif.h89 struct hif_scatter_req *scat_req; member
248 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()