Lines Matching refs:f_hid_opts
706 static inline struct f_hid_opts *to_f_hid_opts(struct config_item *item) in to_f_hid_opts()
708 return container_of(to_config_group(item), struct f_hid_opts, in to_f_hid_opts()
712 CONFIGFS_ATTR_STRUCT(f_hid_opts);
713 CONFIGFS_ATTR_OPS(f_hid_opts);
717 struct f_hid_opts *opts = to_f_hid_opts(item); in hid_attr_release()
729 static ssize_t f_hid_opts_##name##_show(struct f_hid_opts *opts, char *page)\
740 static ssize_t f_hid_opts_##name##_store(struct f_hid_opts *opts, \
776 static ssize_t f_hid_opts_report_desc_show(struct f_hid_opts *opts, char *page) in f_hid_opts_report_desc_show()
788 static ssize_t f_hid_opts_report_desc_store(struct f_hid_opts *opts, in f_hid_opts_report_desc_store()
843 struct f_hid_opts *opts; in hidg_free_inst()
845 opts = container_of(f, struct f_hid_opts, func_inst); in hidg_free_inst()
863 struct f_hid_opts *opts; in hidg_alloc_inst()
903 struct f_hid_opts *opts; in hidg_free()
906 opts = container_of(f->fi, struct f_hid_opts, func_inst); in hidg_free()
932 struct f_hid_opts *opts; in hidg_alloc()
939 opts = container_of(fi, struct f_hid_opts, func_inst); in hidg_alloc()