Lines Matching refs:opts
258 struct f_serial_opts *opts = to_f_serial_opts(item);
260 usb_put_function_instance(&opts->func_inst);
308 struct f_serial_opts *opts;
310 opts = container_of(f, struct f_serial_opts, func_inst);
311 gserial_free_line(opts->port_num);
312 kfree(opts);
317 struct f_serial_opts *opts;
320 opts = kzalloc(sizeof(*opts), GFP_KERNEL);
321 if (!opts)
324 opts->func_inst.free_func_inst = gser_free_inst;
325 ret = gserial_alloc_line(&opts->port_num);
327 kfree(opts);
330 config_group_init_type_name(&opts->func_inst.group, "",
333 return &opts->func_inst;
370 struct f_serial_opts *opts;
377 opts = container_of(fi, struct f_serial_opts, func_inst);
379 gser->port_num = opts->port_num;