Searched refs:ar_sdio (Results 1 – 2 of 2) sorted by relevance
190 static struct bus_request *ath6kl_sdio_alloc_busreq(struct ath6kl_sdio *ar_sdio) in ath6kl_sdio_alloc_busreq() argument194 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() argument218 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 …]
34 static inline int ath10k_sdio_calc_txrx_padded_len(struct ath10k_sdio *ar_sdio, in ath10k_sdio_calc_txrx_padded_len() argument37 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() local135 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() local220 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() local244 struct sdio_func *func = ar_sdio->func; in ath10k_sdio_writesb32()[all …]