Lines Matching defs:opts
742 struct f_serial_opts *opts;
763 opts = container_of(fi, struct f_serial_opts, func_inst);
764 acm->port_num = opts->port_num;
781 struct f_serial_opts *opts = to_f_serial_opts(item);
783 usb_put_function_instance(&opts->func_inst);
831 struct f_serial_opts *opts;
833 opts = container_of(fi, struct f_serial_opts, func_inst);
834 gserial_free_line(opts->port_num);
835 kfree(opts);
840 struct f_serial_opts *opts;
843 opts = kzalloc(sizeof(*opts), GFP_KERNEL);
844 if (!opts)
846 opts->func_inst.free_func_inst = acm_free_instance;
847 ret = gserial_alloc_line(&opts->port_num);
849 kfree(opts);
852 config_group_init_type_name(&opts->func_inst.group, "",
854 return &opts->func_inst;