Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/staging/media/atomisp/pci/
Datomisp_acc.c142 struct atomisp_acc_fw_load_to_pipe *user_fw) in atomisp_acc_load_to_pipe() argument
152 if (!user_fw->data || user_fw->size < sizeof(*acc_fw->fw)) in atomisp_acc_load_to_pipe()
156 if (!(user_fw->flags & pipeline_flags)) in atomisp_acc_load_to_pipe()
160 if (user_fw->flags & ~pipeline_flags) in atomisp_acc_load_to_pipe()
163 if (user_fw->type < ATOMISP_ACC_FW_LOAD_TYPE_OUTPUT || in atomisp_acc_load_to_pipe()
164 user_fw->type > ATOMISP_ACC_FW_LOAD_TYPE_STANDALONE) in atomisp_acc_load_to_pipe()
170 acc_fw = acc_alloc_fw(user_fw->size); in atomisp_acc_load_to_pipe()
174 if (copy_from_user(acc_fw->fw, user_fw->data, user_fw->size)) { in atomisp_acc_load_to_pipe()
185 user_fw->fw_handle = handle; in atomisp_acc_load_to_pipe()
187 acc_fw->flags = user_fw->flags; in atomisp_acc_load_to_pipe()
[all …]