Home
last modified time | relevance | path

Searched refs:to_f_serial_opts (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/usb/gadget/function/
H A Df_serial.c250 static inline struct f_serial_opts *to_f_serial_opts(struct config_item *item) in to_f_serial_opts() function
258 struct f_serial_opts *opts = to_f_serial_opts(item); in serial_attr_release()
272 return gserial_set_console(to_f_serial_opts(item)->port_num, in f_serial_console_store()
278 return gserial_get_console(to_f_serial_opts(item)->port_num, page); in f_serial_console_show()
287 return sprintf(page, "%u\n", to_f_serial_opts(item)->port_num); in f_serial_port_num_show()
H A Df_acm.c773 static inline struct f_serial_opts *to_f_serial_opts(struct config_item *item) in to_f_serial_opts() function
781 struct f_serial_opts *opts = to_f_serial_opts(item); in acm_attr_release()
795 return gserial_set_console(to_f_serial_opts(item)->port_num, in f_acm_console_store()
801 return gserial_get_console(to_f_serial_opts(item)->port_num, page); in f_acm_console_show()
810 return sprintf(page, "%u\n", to_f_serial_opts(item)->port_num); in f_acm_port_num_show()
H A Df_obex.c380 static inline struct f_serial_opts *to_f_serial_opts(struct config_item *item) in to_f_serial_opts() function
388 struct f_serial_opts *opts = to_f_serial_opts(item); in obex_attr_release()
399 return sprintf(page, "%u\n", to_f_serial_opts(item)->port_num); in f_obex_port_num_show()