Searched refs:alloc_nbytes (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | pci.c | 908 unsigned int completed_nbytes, alloc_nbytes, remaining_bytes; in ath10k_pci_diag_read_mem() local 925 alloc_nbytes = min_t(unsigned int, nbytes, DIAG_TRANSFER_LIMIT); in ath10k_pci_diag_read_mem() 927 data_buf = dma_alloc_coherent(ar->dev, alloc_nbytes, &ce_data_base, in ath10k_pci_diag_read_mem() 1001 dma_free_coherent(ar->dev, alloc_nbytes, data_buf, in ath10k_pci_diag_read_mem() 1054 unsigned int completed_nbytes, alloc_nbytes, remaining_bytes; in ath10k_pci_diag_write_mem() local 1069 alloc_nbytes = min_t(unsigned int, nbytes, DIAG_TRANSFER_LIMIT); in ath10k_pci_diag_write_mem() 1071 data_buf = dma_alloc_coherent(ar->dev, alloc_nbytes, &ce_data_base, in ath10k_pci_diag_write_mem() 1151 dma_free_coherent(ar->dev, alloc_nbytes, data_buf, in ath10k_pci_diag_write_mem()
|