Home
last modified time | relevance | path

Searched refs:fw_buff (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/accel/habanalabs/common/
H A Dhabanalabs_ioctl.c884 void *fw_buff; in send_fw_generic_request() local
900 fw_buff = hl_cpu_accessible_dma_pool_alloc(hdev, size, &dma_handle); in send_fw_generic_request()
901 if (!fw_buff) in send_fw_generic_request()
905 if (need_input_buff && copy_from_user(fw_buff, buff, size)) { in send_fw_generic_request()
915 if (copy_to_user(buff, fw_buff, min(size, info_args->return_size))) { in send_fw_generic_request()
921 hl_cpu_accessible_dma_pool_free(hdev, info_args->return_size, fw_buff); in send_fw_generic_request()