Lines Matching refs:args_be
943 struct prom_args args_be; in vof_client_call() local
944 uint32_t args[ARRAY_SIZE(args_be.args)]; in vof_client_call()
945 uint32_t rets[ARRAY_SIZE(args_be.args)] = { 0 }, ret; in vof_client_call()
949 if (VOF_MEM_READ(args_real, &args_be, sizeof(args_be)) != MEMTX_OK) { in vof_client_call()
952 nargs = be32_to_cpu(args_be.nargs); in vof_client_call()
953 if (nargs >= ARRAY_SIZE(args_be.args)) { in vof_client_call()
957 if (VOF_MEM_READ(be32_to_cpu(args_be.service), service, sizeof(service)) != in vof_client_call()
967 args[i] = be32_to_cpu(args_be.args[i]); in vof_client_call()
970 nret = be32_to_cpu(args_be.nret); in vof_client_call()
971 if (nret > ARRAY_SIZE(args_be.args) - nargs) { in vof_client_call()
980 args_be.args[nargs] = cpu_to_be32(ret); in vof_client_call()
982 args_be.args[nargs + i] = cpu_to_be32(rets[i - 1]); in vof_client_call()
986 args_be.args + nargs, sizeof(args_be.args[0]) * nret) != in vof_client_call()