Home
last modified time | relevance | path

Searched refs:ar_sdio (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/wireless/ath/ath6kl/
Dsdio.c190 static struct bus_request *ath6kl_sdio_alloc_busreq(struct ath6kl_sdio *ar_sdio) in ath6kl_sdio_alloc_busreq() argument
194 spin_lock_bh(&ar_sdio->lock); in ath6kl_sdio_alloc_busreq()
196 if (list_empty(&ar_sdio->bus_req_freeq)) { in ath6kl_sdio_alloc_busreq()
197 spin_unlock_bh(&ar_sdio->lock); in ath6kl_sdio_alloc_busreq()
201 bus_req = list_first_entry(&ar_sdio->bus_req_freeq, in ath6kl_sdio_alloc_busreq()
205 spin_unlock_bh(&ar_sdio->lock); in ath6kl_sdio_alloc_busreq()
212 static void ath6kl_sdio_free_bus_req(struct ath6kl_sdio *ar_sdio, in ath6kl_sdio_free_bus_req() argument
218 spin_lock_bh(&ar_sdio->lock); in ath6kl_sdio_free_bus_req()
219 list_add_tail(&bus_req->list, &ar_sdio->bus_req_freeq); in ath6kl_sdio_free_bus_req()
220 spin_unlock_bh(&ar_sdio->lock); in ath6kl_sdio_free_bus_req()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dsdio.c34 static inline int ath10k_sdio_calc_txrx_padded_len(struct ath10k_sdio *ar_sdio, in ath10k_sdio_calc_txrx_padded_len() argument
37 return __ALIGN_MASK((len), ar_sdio->mbox_info.block_mask); in ath10k_sdio_calc_txrx_padded_len()
134 struct ath10k_sdio *ar_sdio = ath10k_sdio_priv(ar); in ath10k_sdio_config() local
135 struct sdio_func *func = ar_sdio->func; in ath10k_sdio_config()
205 ret = sdio_set_block_size(func, ar_sdio->mbox_info.block_size); in ath10k_sdio_config()
208 ar_sdio->mbox_info.block_size, ret); in ath10k_sdio_config()
219 struct ath10k_sdio *ar_sdio = ath10k_sdio_priv(ar); in ath10k_sdio_write32() local
220 struct sdio_func *func = ar_sdio->func; in ath10k_sdio_write32()
243 struct ath10k_sdio *ar_sdio = ath10k_sdio_priv(ar); in ath10k_sdio_writesb32() local
244 struct sdio_func *func = ar_sdio->func; in ath10k_sdio_writesb32()
[all …]