Lines Matching refs:f_serial_opts
264 static inline struct f_serial_opts *to_f_serial_opts(struct config_item *item) in to_f_serial_opts()
266 return container_of(to_config_group(item), struct f_serial_opts, in to_f_serial_opts()
270 CONFIGFS_ATTR_STRUCT(f_serial_opts);
275 struct f_serial_opts *opts = to_f_serial_opts(item); in f_serial_attr_show()
288 struct f_serial_opts *opts = to_f_serial_opts(item); in serial_attr_release()
298 static ssize_t f_serial_port_num_show(struct f_serial_opts *opts, char *page) in f_serial_port_num_show()
319 struct f_serial_opts *opts; in gser_free_inst()
321 opts = container_of(f, struct f_serial_opts, func_inst); in gser_free_inst()
328 struct f_serial_opts *opts; in gser_alloc_inst()
363 struct f_serial_opts *opts; in gser_alloc()
370 opts = container_of(fi, struct f_serial_opts, func_inst); in gser_alloc()