Lines Matching defs:opts
260 struct f_serial_opts *opts = to_f_serial_opts(item);
262 usb_put_function_instance(&opts->func_inst);
310 struct f_serial_opts *opts;
312 opts = container_of(f, struct f_serial_opts, func_inst);
313 gserial_free_line(opts->port_num);
314 kfree(opts);
319 struct f_serial_opts *opts;
322 opts = kzalloc(sizeof(*opts), GFP_KERNEL);
323 if (!opts)
326 opts->func_inst.free_func_inst = gser_free_inst;
327 ret = gserial_alloc_line(&opts->port_num);
329 kfree(opts);
332 config_group_init_type_name(&opts->func_inst.group, "",
335 return &opts->func_inst;
368 struct f_serial_opts *opts;
375 opts = container_of(fi, struct f_serial_opts, func_inst);
377 gser->port_num = opts->port_num;