Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/mailbox/
Dmailbox-test.c167 char *touser, *ptr; in mbox_test_message_read() local
173 touser = kzalloc(MBOX_HEXDUMP_MAX_LEN + 1, GFP_KERNEL); in mbox_test_message_read()
174 if (!touser) in mbox_test_message_read()
178 ret = snprintf(touser, 20, "<NO RX CAPABILITY>\n"); in mbox_test_message_read()
180 touser, ret); in mbox_test_message_read()
211 MBOX_BYTES_PER_LINE, 1, touser + l, in mbox_test_message_read()
216 *(touser + (l - 1)) = '\n'; in mbox_test_message_read()
218 *(touser + l) = '\0'; in mbox_test_message_read()
225 ret = simple_read_from_buffer(userbuf, count, ppos, touser, MBOX_HEXDUMP_MAX_LEN); in mbox_test_message_read()
230 kfree(touser); in mbox_test_message_read()
/Linux-v6.1/drivers/rtc/
Drtc-pcf2127.c216 int val, touser = 0; in pcf2127_rtc_ioctl() local
226 touser |= RTC_VL_BACKUP_LOW; in pcf2127_rtc_ioctl()
229 touser |= RTC_VL_BACKUP_SWITCH; in pcf2127_rtc_ioctl()
231 return put_user(touser, (unsigned int __user *)arg); in pcf2127_rtc_ioctl()