obex              191 drivers/usb/gadget/function/f_obex.c 	struct f_obex		*obex = func_to_obex(f);
obex              194 drivers/usb/gadget/function/f_obex.c 	if (intf == obex->ctrl_id) {
obex              199 drivers/usb/gadget/function/f_obex.c 			"reset obex ttyGS%d control\n", obex->port_num);
obex              201 drivers/usb/gadget/function/f_obex.c 	} else if (intf == obex->data_id) {
obex              205 drivers/usb/gadget/function/f_obex.c 		if (obex->port.in->enabled) {
obex              207 drivers/usb/gadget/function/f_obex.c 				"reset obex ttyGS%d\n", obex->port_num);
obex              208 drivers/usb/gadget/function/f_obex.c 			gserial_disconnect(&obex->port);
obex              211 drivers/usb/gadget/function/f_obex.c 		if (!obex->port.in->desc || !obex->port.out->desc) {
obex              213 drivers/usb/gadget/function/f_obex.c 				"init obex ttyGS%d\n", obex->port_num);
obex              215 drivers/usb/gadget/function/f_obex.c 					       obex->port.in) ||
obex              217 drivers/usb/gadget/function/f_obex.c 					       obex->port.out)) {
obex              218 drivers/usb/gadget/function/f_obex.c 				obex->port.out->desc = NULL;
obex              219 drivers/usb/gadget/function/f_obex.c 				obex->port.in->desc = NULL;
obex              226 drivers/usb/gadget/function/f_obex.c 				"activate obex ttyGS%d\n", obex->port_num);
obex              227 drivers/usb/gadget/function/f_obex.c 			gserial_connect(&obex->port, obex->port_num);
obex              233 drivers/usb/gadget/function/f_obex.c 	obex->cur_alt = alt;
obex              243 drivers/usb/gadget/function/f_obex.c 	struct f_obex		*obex = func_to_obex(f);
obex              245 drivers/usb/gadget/function/f_obex.c 	return obex->cur_alt;
obex              250 drivers/usb/gadget/function/f_obex.c 	struct f_obex	*obex = func_to_obex(f);
obex              253 drivers/usb/gadget/function/f_obex.c 	dev_dbg(&cdev->gadget->dev, "obex ttyGS%d disable\n", obex->port_num);
obex              254 drivers/usb/gadget/function/f_obex.c 	gserial_disconnect(&obex->port);
obex              261 drivers/usb/gadget/function/f_obex.c 	struct f_obex		*obex = port_to_obex(g);
obex              269 drivers/usb/gadget/function/f_obex.c 			obex->port_num, status);
obex              274 drivers/usb/gadget/function/f_obex.c 	struct f_obex		*obex = port_to_obex(g);
obex              282 drivers/usb/gadget/function/f_obex.c 			obex->port_num, status);
obex              305 drivers/usb/gadget/function/f_obex.c 	struct f_obex		*obex = func_to_obex(f);
obex              326 drivers/usb/gadget/function/f_obex.c 	obex->ctrl_id = status;
obex              334 drivers/usb/gadget/function/f_obex.c 	obex->data_id = status;
obex              346 drivers/usb/gadget/function/f_obex.c 	obex->port.in = ep;
obex              351 drivers/usb/gadget/function/f_obex.c 	obex->port.out = ep;
obex              369 drivers/usb/gadget/function/f_obex.c 		obex->port_num,
obex              371 drivers/usb/gadget/function/f_obex.c 		obex->port.in->name, obex->port.out->name);
obex              448 drivers/usb/gadget/function/f_obex.c 	struct f_obex *obex;
obex              450 drivers/usb/gadget/function/f_obex.c 	obex = func_to_obex(f);
obex              451 drivers/usb/gadget/function/f_obex.c 	kfree(obex);
obex              461 drivers/usb/gadget/function/f_obex.c 	struct f_obex	*obex;
obex              465 drivers/usb/gadget/function/f_obex.c 	obex = kzalloc(sizeof(*obex), GFP_KERNEL);
obex              466 drivers/usb/gadget/function/f_obex.c 	if (!obex)
obex              471 drivers/usb/gadget/function/f_obex.c 	obex->port_num = opts->port_num;
obex              473 drivers/usb/gadget/function/f_obex.c 	obex->port.connect = obex_connect;
obex              474 drivers/usb/gadget/function/f_obex.c 	obex->port.disconnect = obex_disconnect;
obex              476 drivers/usb/gadget/function/f_obex.c 	obex->port.func.name = "obex";
obex              478 drivers/usb/gadget/function/f_obex.c 	obex->port.func.bind = obex_bind;
obex              479 drivers/usb/gadget/function/f_obex.c 	obex->port.func.unbind = obex_unbind;
obex              480 drivers/usb/gadget/function/f_obex.c 	obex->port.func.set_alt = obex_set_alt;
obex              481 drivers/usb/gadget/function/f_obex.c 	obex->port.func.get_alt = obex_get_alt;
obex              482 drivers/usb/gadget/function/f_obex.c 	obex->port.func.disable = obex_disable;
obex              483 drivers/usb/gadget/function/f_obex.c 	obex->port.func.free_func = obex_free;
obex              484 drivers/usb/gadget/function/f_obex.c 	obex->port.func.bind_deactivated = true;
obex              486 drivers/usb/gadget/function/f_obex.c 	return &obex->port.func;
obex              489 drivers/usb/gadget/function/f_obex.c DECLARE_USB_FUNCTION_INIT(obex, obex_alloc_inst, obex_alloc);