Searched refs:RXTX_BUFFER_SIZE (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/firmware/arm_ffa/ |
H A D | driver.c | 52 #define RXTX_BUFFER_SIZE SZ_4K macro 497 buffer = alloc_pages_exact(RXTX_BUFFER_SIZE, GFP_KERNEL); in ffa_memory_ops() 505 ret = ffa_setup_and_transmit(func_id, buffer, RXTX_BUFFER_SIZE, args); in ffa_memory_ops() 510 free_pages_exact(buffer, RXTX_BUFFER_SIZE); in ffa_memory_ops() 734 drv_info->rx_buffer = alloc_pages_exact(RXTX_BUFFER_SIZE, GFP_KERNEL); in ffa_init() 740 drv_info->tx_buffer = alloc_pages_exact(RXTX_BUFFER_SIZE, GFP_KERNEL); in ffa_init() 748 RXTX_BUFFER_SIZE / FFA_PAGE_SIZE); in ffa_init() 764 free_pages_exact(drv_info->tx_buffer, RXTX_BUFFER_SIZE); in ffa_init() 765 free_pages_exact(drv_info->rx_buffer, RXTX_BUFFER_SIZE); in ffa_init() 777 free_pages_exact(drv_info->tx_buffer, RXTX_BUFFER_SIZE); in ffa_exit() [all …]
|