Searched refs:capdev (Results 1 – 2 of 2) sorted by relevance
/drivers/input/misc/ |
D | atmel_captouch.c | 91 static int atmel_read(struct atmel_captouch_device *capdev, in atmel_read() argument 94 struct i2c_client *client = capdev->client; in atmel_read() 99 if (len > sizeof(capdev->xfer_buf) - 2) in atmel_read() 102 capdev->xfer_buf[0] = reg; in atmel_read() 103 capdev->xfer_buf[1] = len; in atmel_read() 107 msg[0].buf = capdev->xfer_buf; in atmel_read() 112 msg[1].buf = capdev->xfer_buf; in atmel_read() 119 if (capdev->xfer_buf[0] != reg) { in atmel_read() 122 capdev->xfer_buf[0], reg); in atmel_read() 126 memcpy(data, &capdev->xfer_buf[2], len); in atmel_read() [all …]
|
/drivers/staging/greybus/Documentation/firmware/ |
D | authenticate.c | 77 char *capdev; in main() local 86 capdev = argv[1]; in main() 88 printf("Opening %s authentication device\n", capdev); in main() 90 fd = open(capdev, O_RDWR); in main() 92 printf("Failed to open: %s\n", capdev); in main() 101 printf("Failed to get UID: %s (%d)\n", capdev, ret); in main() 113 printf("Failed to get IMS certificate: %s (%d)\n", capdev, ret); in main() 127 printf("Failed to authenticate module: %s (%d)\n", capdev, ret); in main()
|