Home
last modified time | relevance | path

Searched refs:f_serial_opts (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/usb/gadget/function/
Df_serial.c264 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()
[all …]
Df_obex.c411 static inline struct f_serial_opts *to_f_serial_opts(struct config_item *item) in to_f_serial_opts()
413 return container_of(to_config_group(item), struct f_serial_opts, in to_f_serial_opts()
417 CONFIGFS_ATTR_STRUCT(f_serial_opts);
422 struct f_serial_opts *opts = to_f_serial_opts(item); in f_obex_attr_show()
435 struct f_serial_opts *opts = to_f_serial_opts(item); in obex_attr_release()
445 static ssize_t f_obex_port_num_show(struct f_serial_opts *opts, char *page) in f_obex_port_num_show()
466 struct f_serial_opts *opts; in obex_free_inst()
468 opts = container_of(f, struct f_serial_opts, func_inst); in obex_free_inst()
475 struct f_serial_opts *opts; in obex_alloc_inst()
510 struct f_serial_opts *opts; in obex_alloc()
[all …]
Df_acm.c745 struct f_serial_opts *opts; in acm_alloc_func()
766 opts = container_of(fi, struct f_serial_opts, func_inst); in acm_alloc_func()
774 static inline struct f_serial_opts *to_f_serial_opts(struct config_item *item) in to_f_serial_opts()
776 return container_of(to_config_group(item), struct f_serial_opts, in to_f_serial_opts()
780 CONFIGFS_ATTR_STRUCT(f_serial_opts);
785 struct f_serial_opts *opts = to_f_serial_opts(item); in f_acm_attr_show()
797 struct f_serial_opts *opts = to_f_serial_opts(item); in acm_attr_release()
807 static ssize_t f_acm_port_num_show(struct f_serial_opts *opts, char *page) in f_acm_port_num_show()
829 struct f_serial_opts *opts; in acm_free_instance()
831 opts = container_of(fi, struct f_serial_opts, func_inst); in acm_free_instance()
[all …]
Du_serial.h20 struct f_serial_opts { struct