Searched refs:alloc_nbytes (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | pci.c | 907 unsigned int completed_nbytes, alloc_nbytes, remaining_bytes; in ath10k_pci_diag_read_mem() local 924 alloc_nbytes = min_t(unsigned int, nbytes, DIAG_TRANSFER_LIMIT); in ath10k_pci_diag_read_mem() 926 data_buf = dma_alloc_coherent(ar->dev, alloc_nbytes, &ce_data_base, in ath10k_pci_diag_read_mem() 1000 dma_free_coherent(ar->dev, alloc_nbytes, data_buf, in ath10k_pci_diag_read_mem() 1053 unsigned int completed_nbytes, alloc_nbytes, remaining_bytes; in ath10k_pci_diag_write_mem() local 1068 alloc_nbytes = min_t(unsigned int, nbytes, DIAG_TRANSFER_LIMIT); in ath10k_pci_diag_write_mem() 1070 data_buf = dma_alloc_coherent(ar->dev, alloc_nbytes, &ce_data_base, in ath10k_pci_diag_write_mem() 1150 dma_free_coherent(ar->dev, alloc_nbytes, data_buf, in ath10k_pci_diag_write_mem()
|