Re: Function flow at the time of USB device connection (Enumeration)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 12, 2007 7:04 PM, Srinivas G. <srinivasg@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> We are not able to find the function name that which invokes the
> ehci_urb_enqueue method. So, could any one please tell/suggest us the
> function name OR procedure to find out.
>

In usb/core/hcd.c:

int usb_hcd_submit_urb (struct urb *urb, gfp_t mem_flags)
{
...........
                status = hcd->driver->urb_enqueue(hcd, urb,
mem_flags);==> here the function ptr is executed, which is filled up
as below (just to list out some only):

./host/ohci-ep93xx.c:
        .urb_enqueue            = ohci_urb_enqueue,

./host/ohci-pnx8550.c:
        .urb_enqueue =          ohci_urb_enqueue,

./host/ehci-fsl.c:
        .urb_enqueue = ehci_urb_enqueue,

./host/ehci-ppc-soc.c:
        .urb_enqueue = ehci_urb_enqueue,

./host/ohci-at91.c:
        .urb_enqueue =          ohci_urb_enqueue,

./host/ohci-sa1111.c:
        .urb_enqueue =          ohci_urb_enqueue,

./host/ohci-ppc-of.c:
        .urb_enqueue =          ohci_urb_enqueue,

./host/ohci-pci.c:
        .urb_enqueue =          ohci_urb_enqueue,

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux