Lines Matching refs:parg
76 struct cec_caps __user *parg) in cec_adap_g_caps() argument
86 if (copy_to_user(parg, &caps, sizeof(caps))) in cec_adap_g_caps()
92 __u16 __user *parg) in cec_adap_g_phys_addr() argument
99 if (copy_to_user(parg, &phys_addr, sizeof(phys_addr))) in cec_adap_g_phys_addr()
122 bool block, __u16 __user *parg) in cec_adap_s_phys_addr() argument
129 if (copy_from_user(&phys_addr, parg, sizeof(phys_addr))) in cec_adap_s_phys_addr()
145 struct cec_log_addrs __user *parg) in cec_adap_g_log_addrs() argument
162 if (copy_to_user(parg, &log_addrs, sizeof(log_addrs))) in cec_adap_g_log_addrs()
168 bool block, struct cec_log_addrs __user *parg) in cec_adap_s_log_addrs() argument
175 if (copy_from_user(&log_addrs, parg, sizeof(log_addrs))) in cec_adap_s_log_addrs()
191 if (copy_to_user(parg, &log_addrs, sizeof(log_addrs))) in cec_adap_s_log_addrs()
197 struct cec_log_addrs __user *parg) in cec_adap_g_connector_info() argument
205 if (copy_to_user(parg, &adap->conn_info, sizeof(adap->conn_info))) in cec_adap_g_connector_info()
212 bool block, struct cec_msg __user *parg) in cec_transmit() argument
219 if (copy_from_user(&msg, parg, sizeof(msg))) in cec_transmit()
234 if (copy_to_user(parg, &msg, sizeof(msg))) in cec_transmit()
291 bool block, struct cec_msg __user *parg) in cec_receive() argument
296 if (copy_from_user(&msg, parg, sizeof(msg))) in cec_receive()
303 if (copy_to_user(parg, &msg, sizeof(msg))) in cec_receive()
309 bool block, struct cec_event __user *parg) in cec_dqevent() argument
346 if (copy_to_user(parg, &ev->ev, sizeof(ev->ev))) in cec_dqevent()
359 u32 __user *parg) in cec_g_mode() argument
363 if (copy_to_user(parg, &mode, sizeof(mode))) in cec_g_mode()
369 u32 __user *parg) in cec_s_mode() argument
377 if (copy_from_user(&mode, parg, sizeof(mode))) in cec_s_mode()
509 void __user *parg = (void __user *)arg; in cec_ioctl() local
516 return cec_adap_g_caps(adap, parg); in cec_ioctl()
519 return cec_adap_g_phys_addr(adap, parg); in cec_ioctl()
522 return cec_adap_s_phys_addr(adap, fh, block, parg); in cec_ioctl()
525 return cec_adap_g_log_addrs(adap, parg); in cec_ioctl()
528 return cec_adap_s_log_addrs(adap, fh, block, parg); in cec_ioctl()
531 return cec_adap_g_connector_info(adap, parg); in cec_ioctl()
534 return cec_transmit(adap, fh, block, parg); in cec_ioctl()
537 return cec_receive(adap, fh, block, parg); in cec_ioctl()
540 return cec_dqevent(adap, fh, block, parg); in cec_ioctl()
543 return cec_g_mode(adap, fh, parg); in cec_ioctl()
546 return cec_s_mode(adap, fh, parg); in cec_ioctl()