Lines Matching refs:data
54 void *data, uint size)
68 memcpy(data, buf, size);
74 void const *data, uint size)
79 buf = kmemdup(data, size, GFP_KERNEL);
104 * Checks success after writing data to mouse
111 uint8_t data;
121 kone_command_confirm_write, &data, 1);
130 } while (data == 3);
132 if (data == 1) /* everything alright */
136 dev_err(&usb_dev->dev, "got retval %d when checking write\n", data);
170 * Reads profile data from mouse and stores it in @buf
196 * Writes profile data to mouse.
233 uint8_t data;
235 retval = kone_receive(usb_dev, kone_command_weight, &data, 1);
240 *result = (int)data;
252 uint16_t data;
255 &data, 2);
259 *result = le16_to_cpu(data);
285 * case of error the old data is still valid
296 /* I need to get my data in one piece */
352 /* Writes data only if different to stored data */
362 /* I need to get my data in one piece */
466 * Calibrating the tcu is the only action that changes settings data inside the
467 * mouse, so this data needs to be reread
509 * Reading settings too early will result in invalid data.
845 u8 *data, int size)
848 struct kone_mouse_event *event = (struct kone_mouse_event *)data;