Lines Matching refs:kone_profile
176 struct kone_profile *buf, int number) in kone_get_profile()
187 sizeof(struct kone_profile), USB_CTRL_SET_TIMEOUT); in kone_get_profile()
189 if (len != sizeof(struct kone_profile)) in kone_get_profile()
202 struct kone_profile const *profile, int number) in kone_set_profile()
213 sizeof(struct kone_profile), in kone_set_profile()
216 if (len != sizeof(struct kone_profile)) in kone_set_profile()
339 if (off >= sizeof(struct kone_profile)) in kone_sysfs_read_profilex()
342 if (off + count > sizeof(struct kone_profile)) in kone_sysfs_read_profilex()
343 count = sizeof(struct kone_profile) - off; in kone_sysfs_read_profilex()
359 struct kone_profile *profile; in kone_sysfs_write_profilex()
363 if (off != 0 || count != sizeof(struct kone_profile)) in kone_sysfs_write_profilex()
369 difference = memcmp(buf, profile, sizeof(struct kone_profile)); in kone_sysfs_write_profilex()
372 (struct kone_profile const *)buf, in kone_sysfs_write_profilex()
375 memcpy(profile, buf, sizeof(struct kone_profile)); in kone_sysfs_write_profilex()
382 return sizeof(struct kone_profile); in kone_sysfs_write_profilex()
387 .size = sizeof(struct kone_profile), \