Searched refs:touser (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/mailbox/ |
H A D | mailbox-test.c | 176 char *touser, *ptr; in mbox_test_message_read() local 182 touser = kzalloc(MBOX_HEXDUMP_MAX_LEN + 1, GFP_KERNEL); in mbox_test_message_read() 183 if (!touser) in mbox_test_message_read() 187 ret = snprintf(touser, 20, "<NO RX CAPABILITY>\n"); in mbox_test_message_read() 189 touser, ret); in mbox_test_message_read() 220 MBOX_BYTES_PER_LINE, 1, touser + l, in mbox_test_message_read() 225 *(touser + (l - 1)) = '\n'; in mbox_test_message_read() 227 *(touser + l) = '\0'; in mbox_test_message_read() 234 ret = simple_read_from_buffer(userbuf, count, ppos, touser, MBOX_HEXDUMP_MAX_LEN); in mbox_test_message_read() 239 kfree(touser); in mbox_test_message_read()
|
/linux/drivers/rtc/ |
H A D | rtc-pcf2127.c | 338 int val, touser = 0; in pcf2127_rtc_ioctl() local 348 touser |= RTC_VL_BACKUP_LOW; in pcf2127_rtc_ioctl() 351 touser |= RTC_VL_BACKUP_SWITCH; in pcf2127_rtc_ioctl() 353 return put_user(touser, (unsigned int __user *)arg); in pcf2127_rtc_ioctl()
|