Home
last modified time | relevance | path

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

/drivers/input/misc/
Datmel_captouch.c83 static int atmel_read(struct atmel_captouch_device *capdev, in atmel_read() argument
86 struct i2c_client *client = capdev->client; in atmel_read()
91 if (len > sizeof(capdev->xfer_buf) - 2) in atmel_read()
94 capdev->xfer_buf[0] = reg; in atmel_read()
95 capdev->xfer_buf[1] = len; in atmel_read()
99 msg[0].buf = capdev->xfer_buf; in atmel_read()
104 msg[1].buf = capdev->xfer_buf; in atmel_read()
111 if (capdev->xfer_buf[0] != reg) { in atmel_read()
114 capdev->xfer_buf[0], reg); in atmel_read()
118 memcpy(data, &capdev->xfer_buf[2], len); in atmel_read()
[all …]
/drivers/staging/greybus/Documentation/firmware/
Dauthenticate.c32 char *capdev; in main() local
41 capdev = argv[1]; in main()
43 printf("Opening %s authentication device\n", capdev); in main()
45 fd = open(capdev, O_RDWR); in main()
47 printf("Failed to open: %s\n", capdev); in main()
56 printf("Failed to get UID: %s (%d)\n", capdev, ret); in main()
68 printf("Failed to get IMS certificate: %s (%d)\n", capdev, ret); in main()
82 printf("Failed to authenticate module: %s (%d)\n", capdev, ret); in main()