Lines Matching defs:data
54 void *data, uint size)
68 memcpy(data, buf, size);
74 void const *data, uint size)
79 buf = kmemdup(data, size, GFP_KERNEL);
107 * Checks success after writing data to mouse
114 uint8_t data;
124 kone_command_confirm_write, &data, 1);
133 } while (data == 3);
135 if (data == 1) /* everything alright */
139 dev_err(&usb_dev->dev, "got retval %d when checking write\n", data);
173 * Reads profile data from mouse and stores it in @buf
199 * Writes profile data to mouse.
236 uint8_t data;
238 retval = kone_receive(usb_dev, kone_command_weight, &data, 1);
243 *result = (int)data;
255 uint16_t data;
258 &data, 2);
262 *result = le16_to_cpu(data);
288 * case of error the old data is still valid
299 /* I need to get my data in one piece */
355 /* Writes data only if different to stored data */
365 /* I need to get my data in one piece */
469 * Calibrating the tcu is the only action that changes settings data inside the
470 * mouse, so this data needs to be reread
512 * Reading settings too early will result in invalid data.
842 u8 *data, int size)
845 struct kone_mouse_event *event = (struct kone_mouse_event *)data;