Lines Matching refs:payload
12 struct i3c_ccc_payload *payload) in z_vrfy_i3c_do_ccc() argument
15 K_OOPS(K_SYSCALL_MEMORY_READ(payload, sizeof(*payload))); in z_vrfy_i3c_do_ccc()
16 K_OOPS(K_SYSCALL_MEMORY_WRITE(payload, sizeof(*payload))); in z_vrfy_i3c_do_ccc()
18 if (payload->ccc.data != NULL) { in z_vrfy_i3c_do_ccc()
19 K_OOPS(K_SYSCALL_MEMORY_ARRAY_READ(payload->ccc.data, in z_vrfy_i3c_do_ccc()
20 payload->ccc.data_len, in z_vrfy_i3c_do_ccc()
21 sizeof(*payload->ccc.data))); in z_vrfy_i3c_do_ccc()
22 K_OOPS(K_SYSCALL_MEMORY_ARRAY_WRITE(payload->ccc.data, in z_vrfy_i3c_do_ccc()
23 payload->ccc.data_len, in z_vrfy_i3c_do_ccc()
24 sizeof(*payload->ccc.data))); in z_vrfy_i3c_do_ccc()
27 if (payload->targets.payloads != NULL) { in z_vrfy_i3c_do_ccc()
28 K_OOPS(K_SYSCALL_MEMORY_ARRAY_READ(payload->targets.payloads, in z_vrfy_i3c_do_ccc()
29 payload->targets.num_targets, in z_vrfy_i3c_do_ccc()
30 sizeof(*payload->targets.payloads))); in z_vrfy_i3c_do_ccc()
31 K_OOPS(K_SYSCALL_MEMORY_ARRAY_WRITE(payload->targets.payloads, in z_vrfy_i3c_do_ccc()
32 payload->targets.num_targets, in z_vrfy_i3c_do_ccc()
33 sizeof(*payload->targets.payloads))); in z_vrfy_i3c_do_ccc()
36 return z_impl_i3c_do_ccc(dev, payload); in z_vrfy_i3c_do_ccc()