eem               184 drivers/usb/gadget/function/f_eem.c 	struct f_eem		*eem = func_to_eem(f);
eem               192 drivers/usb/gadget/function/f_eem.c 	if (intf == eem->ctrl_id) {
eem               194 drivers/usb/gadget/function/f_eem.c 		gether_disconnect(&eem->port);
eem               196 drivers/usb/gadget/function/f_eem.c 		if (!eem->port.in_ep->desc || !eem->port.out_ep->desc) {
eem               199 drivers/usb/gadget/function/f_eem.c 					       eem->port.in_ep) ||
eem               201 drivers/usb/gadget/function/f_eem.c 					       eem->port.out_ep)) {
eem               202 drivers/usb/gadget/function/f_eem.c 				eem->port.in_ep->desc = NULL;
eem               203 drivers/usb/gadget/function/f_eem.c 				eem->port.out_ep->desc = NULL;
eem               211 drivers/usb/gadget/function/f_eem.c 		eem->port.is_zlp_ok = 1;
eem               212 drivers/usb/gadget/function/f_eem.c 		eem->port.cdc_filter = DEFAULT_FILTER;
eem               214 drivers/usb/gadget/function/f_eem.c 		net = gether_connect(&eem->port);
eem               227 drivers/usb/gadget/function/f_eem.c 	struct f_eem		*eem = func_to_eem(f);
eem               232 drivers/usb/gadget/function/f_eem.c 	if (eem->port.in_ep->enabled)
eem               233 drivers/usb/gadget/function/f_eem.c 		gether_disconnect(&eem->port);
eem               243 drivers/usb/gadget/function/f_eem.c 	struct f_eem		*eem = func_to_eem(f);
eem               278 drivers/usb/gadget/function/f_eem.c 	eem->ctrl_id = status;
eem               287 drivers/usb/gadget/function/f_eem.c 	eem->port.in_ep = ep;
eem               292 drivers/usb/gadget/function/f_eem.c 	eem->port.out_ep = ep;
eem               314 drivers/usb/gadget/function/f_eem.c 			eem->port.in_ep->name, eem->port.out_ep->name);
eem               531 drivers/usb/gadget/function/f_eem.c USB_ETHERNET_CONFIGFS_ITEM(eem);
eem               534 drivers/usb/gadget/function/f_eem.c USB_ETHERNET_CONFIGFS_ITEM_ATTR_DEV_ADDR(eem);
eem               537 drivers/usb/gadget/function/f_eem.c USB_ETHERNET_CONFIGFS_ITEM_ATTR_HOST_ADDR(eem);
eem               540 drivers/usb/gadget/function/f_eem.c USB_ETHERNET_CONFIGFS_ITEM_ATTR_QMULT(eem);
eem               543 drivers/usb/gadget/function/f_eem.c USB_ETHERNET_CONFIGFS_ITEM_ATTR_IFNAME(eem);
eem               594 drivers/usb/gadget/function/f_eem.c 	struct f_eem *eem;
eem               597 drivers/usb/gadget/function/f_eem.c 	eem = func_to_eem(f);
eem               599 drivers/usb/gadget/function/f_eem.c 	kfree(eem);
eem               614 drivers/usb/gadget/function/f_eem.c 	struct f_eem	*eem;
eem               618 drivers/usb/gadget/function/f_eem.c 	eem = kzalloc(sizeof(*eem), GFP_KERNEL);
eem               619 drivers/usb/gadget/function/f_eem.c 	if (!eem)
eem               626 drivers/usb/gadget/function/f_eem.c 	eem->port.ioport = netdev_priv(opts->net);
eem               628 drivers/usb/gadget/function/f_eem.c 	eem->port.cdc_filter = DEFAULT_FILTER;
eem               630 drivers/usb/gadget/function/f_eem.c 	eem->port.func.name = "cdc_eem";
eem               632 drivers/usb/gadget/function/f_eem.c 	eem->port.func.bind = eem_bind;
eem               633 drivers/usb/gadget/function/f_eem.c 	eem->port.func.unbind = eem_unbind;
eem               634 drivers/usb/gadget/function/f_eem.c 	eem->port.func.set_alt = eem_set_alt;
eem               635 drivers/usb/gadget/function/f_eem.c 	eem->port.func.setup = eem_setup;
eem               636 drivers/usb/gadget/function/f_eem.c 	eem->port.func.disable = eem_disable;
eem               637 drivers/usb/gadget/function/f_eem.c 	eem->port.func.free_func = eem_free;
eem               638 drivers/usb/gadget/function/f_eem.c 	eem->port.wrap = eem_wrap;
eem               639 drivers/usb/gadget/function/f_eem.c 	eem->port.unwrap = eem_unwrap;
eem               640 drivers/usb/gadget/function/f_eem.c 	eem->port.header_len = EEM_HLEN;
eem               642 drivers/usb/gadget/function/f_eem.c 	return &eem->port.func;
eem               645 drivers/usb/gadget/function/f_eem.c DECLARE_USB_FUNCTION_INIT(eem, eem_alloc_inst, eem_alloc);