Lines Matching defs:kobj
525 static ssize_t read_rbu_data(struct file *filp, struct kobject *kobj,
579 static ssize_t read_rbu_image_type(struct file *filp, struct kobject *kobj,
589 static ssize_t write_rbu_image_type(struct file *filp, struct kobject *kobj,
650 static ssize_t read_rbu_packet_size(struct file *filp, struct kobject *kobj,
663 static ssize_t write_rbu_packet_size(struct file *filp, struct kobject *kobj,
709 rc = sysfs_create_bin_file(&rbu_device->dev.kobj, &rbu_data_attr);
712 rc = sysfs_create_bin_file(&rbu_device->dev.kobj, &rbu_image_type_attr);
715 rc = sysfs_create_bin_file(&rbu_device->dev.kobj,
724 sysfs_remove_bin_file(&rbu_device->dev.kobj, &rbu_image_type_attr);
726 sysfs_remove_bin_file(&rbu_device->dev.kobj, &rbu_data_attr);