Searched refs:p_ca_message (Results 1 – 1 of 1) sorted by relevance
/linux-4.1.27/drivers/media/pci/bt8xx/ |
D | dst_ca.c | 269 static int ca_get_slot_descr(struct dst_state *state, struct ca_msg *p_ca_message, void __user *arg) in ca_get_slot_descr() argument 315 static int ca_get_message(struct dst_state *state, struct ca_msg *p_ca_message, void __user *arg) in ca_get_message() argument 320 if (copy_from_user(p_ca_message, arg, sizeof (struct ca_msg))) in ca_get_message() 323 if (p_ca_message->msg) { in ca_get_message() 325 3, p_ca_message->msg); in ca_get_message() 328 command = command | p_ca_message->msg[i]; in ca_get_message() 336 memcpy(p_ca_message->msg, state->messages, 128); in ca_get_message() 337 if (copy_to_user(arg, p_ca_message, sizeof (struct ca_msg)) ) in ca_get_message() 341 memcpy(p_ca_message->msg, state->messages, 128); in ca_get_message() 342 if (copy_to_user(arg, p_ca_message, sizeof (struct ca_msg)) ) in ca_get_message() [all …]
|