kone_profile
struct kone_profile *buf, int number)
sizeof(struct kone_profile), USB_CTRL_SET_TIMEOUT);
if (len != sizeof(struct kone_profile))
struct kone_profile const *profile, int number)
sizeof(struct kone_profile),
if (len != sizeof(struct kone_profile))
if (off >= sizeof(struct kone_profile))
if (off + count > sizeof(struct kone_profile))
count = sizeof(struct kone_profile) - off;
struct kone_profile *profile;
if (off != 0 || count != sizeof(struct kone_profile))
difference = memcmp(buf, profile, sizeof(struct kone_profile));
(struct kone_profile const *)buf,
memcpy(profile, buf, sizeof(struct kone_profile));
return sizeof(struct kone_profile);
.size = sizeof(struct kone_profile), \
struct kone_profile profiles[5];