Searched refs:dbgp (Results 1 - 10 of 10) sorted by relevance

/linux-4.1.27/drivers/usb/gadget/legacy/
H A Ddbgp.c2 * dbgp.c -- EHCI Debug Port device gadget
25 static struct dbgp { struct
33 } dbgp; variable in typeref:struct:dbgp
82 if (ep && ep->driver_data == dbgp.gadget) { __disable_ep()
90 __disable_ep(dbgp.i_ep); dbgp_disable_ep()
91 __disable_ep(dbgp.o_ep); dbgp_disable_ep()
100 if (ep == dbgp.i_ep) { dbgp_complete()
123 usb_ep_free_request(dbgp.o_ep, req); dbgp_complete()
126 dev_dbg(&dbgp.gadget->dev, dbgp_complete()
162 usb_ep_free_request(dbgp.o_ep, req); dbgp_enable_ep_req()
164 dev_dbg(&dbgp.gadget->dev, dbgp_enable_ep_req()
174 ep->driver_data = dbgp.gadget; __enable_ep()
182 err = __enable_ep(dbgp.i_ep, &i_desc); dbgp_enable_ep()
188 err = __enable_ep(dbgp.o_ep, &o_desc); dbgp_enable_ep()
194 err = dbgp_enable_ep_req(dbgp.o_ep); dbgp_enable_ep()
203 __disable_ep(dbgp.o_ep); dbgp_enable_ep()
205 __disable_ep(dbgp.i_ep); dbgp_enable_ep()
207 dev_dbg(&dbgp.gadget->dev, "enable ep: failure (%d:%d)\n", stp, err); dbgp_enable_ep()
217 gserial_disconnect(dbgp.serial); dbgp_disconnect()
224 kfree(dbgp.serial); dbgp_unbind()
225 dbgp.serial = NULL; dbgp_unbind()
227 if (dbgp.req) { dbgp_unbind()
228 kfree(dbgp.req->buf); dbgp_unbind()
229 usb_ep_free_request(gadget->ep0, dbgp.req); dbgp_unbind()
230 dbgp.req = NULL; dbgp_unbind()
246 dbgp.i_ep = usb_ep_autoconfig(gadget, &i_desc); dbgp_configure_endpoints()
247 if (!dbgp.i_ep) { dbgp_configure_endpoints()
252 dbgp.i_ep->driver_data = gadget; dbgp_configure_endpoints()
256 dbgp.o_ep = usb_ep_autoconfig(gadget, &o_desc); dbgp_configure_endpoints()
257 if (!dbgp.o_ep) { dbgp_configure_endpoints()
258 dbgp.i_ep->driver_data = NULL; dbgp_configure_endpoints()
263 dbgp.o_ep->driver_data = gadget; dbgp_configure_endpoints()
271 dbgp.serial->in = dbgp.i_ep; dbgp_configure_endpoints()
272 dbgp.serial->out = dbgp.o_ep; dbgp_configure_endpoints()
274 dbgp.serial->in->desc = &i_desc; dbgp_configure_endpoints()
275 dbgp.serial->out->desc = &o_desc; dbgp_configure_endpoints()
281 dbgp.i_ep->driver_data = NULL; dbgp_configure_endpoints()
283 dev_dbg(&dbgp.gadget->dev, "ep config: failure (%d)\n", stp); dbgp_configure_endpoints()
292 dbgp.gadget = gadget; dbgp_bind()
294 dbgp.req = usb_ep_alloc_request(gadget->ep0, GFP_KERNEL); dbgp_bind()
295 if (!dbgp.req) { dbgp_bind()
301 dbgp.req->buf = kmalloc(DBGP_REQ_EP0_LEN, GFP_KERNEL); dbgp_bind()
302 if (!dbgp.req->buf) { dbgp_bind()
308 dbgp.req->length = DBGP_REQ_EP0_LEN; dbgp_bind()
312 dbgp.serial = kzalloc(sizeof(struct gserial), GFP_KERNEL); dbgp_bind()
313 if (!dbgp.serial) { dbgp_bind()
332 dev_dbg(&dbgp.gadget->dev, "bind: success\n"); dbgp_bind()
344 dev_dbg(&dbgp.gadget->dev, "setup complete: %d, %d/%d\n", dbgp_setup_complete()
351 struct usb_request *req = dbgp.req; dbgp_setup()
364 dev_dbg(&dbgp.gadget->dev, "setup: desc device\n"); dbgp_setup()
370 dev_dbg(&dbgp.gadget->dev, "setup: desc debug\n"); dbgp_setup()
380 dev_dbg(&dbgp.gadget->dev, "setup: feat debug\n"); dbgp_setup()
388 err = gserial_connect(dbgp.serial, tty_line); dbgp_setup()
404 dev_dbg(&dbgp.gadget->dev, dbgp_setup()
410 .function = "dbgp",
419 .name = "dbgp"
H A DMakefile20 g_dbgp-y := dbgp.o
/linux-4.1.27/drivers/xen/
H A Ddbgp.c14 struct physdev_dbgp_op dbgp; xen_dbgp_op() local
19 dbgp.op = op; xen_dbgp_op()
25 dbgp.u.pci.seg = pci_domain_nr(pdev->bus); xen_dbgp_op()
26 dbgp.u.pci.bus = pdev->bus->number; xen_dbgp_op()
27 dbgp.u.pci.devfn = pdev->devfn; xen_dbgp_op()
28 dbgp.bus = PHYSDEVOP_DBGP_BUS_PCI; xen_dbgp_op()
31 dbgp.bus = PHYSDEVOP_DBGP_BUS_UNKNOWN; xen_dbgp_op()
33 return HYPERVISOR_physdev_op(PHYSDEVOP_dbgp_op, &dbgp); xen_dbgp_op()
H A DMakefile15 dom0-$(CONFIG_USB_SUPPORT) += dbgp.o
/linux-4.1.27/drivers/usb/early/
H A Dehci-dbgp.c38 * 1. boot args: earlyprintk=dbgp
41 * 2. boot args: earlyprintk=dbgp,keep
44 * 3. boot args: earlyprintk=dbgp console=ttyUSB0
47 * 4. boot args: earlyprintk=vga,dbgp
52 * such that you can debug the dbgp device's driver code.
80 dbgp_printk("dbgp: %s\n", str); dbgp_ehci_status()
214 * case we do not want to hang the system so the dbgp dbgp_wait_until_done()
216 * only way to recover if you unplug the dbgp device. dbgp_wait_until_done()
727 dbgp_printk("dbgp: ehci BIOS state %08x\n", cap); early_ehci_bios_handoff()
730 dbgp_printk("dbgp: BIOS handoff\n"); early_ehci_bios_handoff()
747 dbgp_printk("dbgp: BIOS handoff failed: %08x\n", cap); early_ehci_bios_handoff()
1092 kthread_run(kgdbdbgp_reader_thread, NULL, "%s", "dbgp"); kgdbdbgp_start_thread()
/linux-4.1.27/arch/x86/kernel/
H A Dearly_printk.c371 if (!strncmp(buf, "dbgp", 4) && !early_dbgp_init(buf + 4)) setup_early_printk()
/linux-4.1.27/include/linux/usb/
H A Dehci_def.h22 #include <linux/usb/ehci-dbgp.h>
/linux-4.1.27/drivers/usb/host/
H A Dfotg210.h4 #include <linux/usb/ehci-dbgp.h>
H A Dfusbh200.h4 #include <linux/usb/ehci-dbgp.h>
/linux-4.1.27/drivers/net/wireless/rtlwifi/
H A Dpci.c2231 *init dbgp flags before all rtl_pci_probe()

Completed in 342 milliseconds