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 …]
35 static inline int ath10k_sdio_calc_txrx_padded_len(struct ath10k_sdio *ar_sdio, in ath10k_sdio_calc_txrx_padded_len() argument38 return __ALIGN_MASK((len), ar_sdio->mbox_info.block_mask); in ath10k_sdio_calc_txrx_padded_len()135 struct ath10k_sdio *ar_sdio = ath10k_sdio_priv(ar); in ath10k_sdio_config() local136 struct sdio_func *func = ar_sdio->func; in ath10k_sdio_config()206 ret = sdio_set_block_size(func, ar_sdio->mbox_info.block_size); in ath10k_sdio_config()209 ar_sdio->mbox_info.block_size, ret); in ath10k_sdio_config()220 struct ath10k_sdio *ar_sdio = ath10k_sdio_priv(ar); in ath10k_sdio_write32() local221 struct sdio_func *func = ar_sdio->func; in ath10k_sdio_write32()244 struct ath10k_sdio *ar_sdio = ath10k_sdio_priv(ar); in ath10k_sdio_writesb32() local245 struct sdio_func *func = ar_sdio->func; in ath10k_sdio_writesb32()[all …]