FreeBSD kernel usb device Code
usb_fdt_support.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int usb_fdt_get_mac_addr (device_t dev, struct usb_ether *ue)
 
phandle_t usb_fdt_get_node (device_t dev, struct usb_device *udev)
 

Function Documentation

◆ usb_fdt_get_mac_addr()

int usb_fdt_get_mac_addr ( device_t  dev,
struct usb_ether ue 
)

Definition at line 101 of file usb_fdt_support.c.

References is_valid_mac_addr(), usb_ether::ue_dev, usb_ether::ue_eaddr, usb_ether::ue_udev, and usb_fdt_get_node().

Referenced by muge_set_mac_addr(), and smsc_attach_post().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ usb_fdt_get_node()

phandle_t usb_fdt_get_node ( device_t  dev,
struct usb_device udev 
)

Definition at line 124 of file usb_fdt_support.c.

References usb_device::bus, find_udev_in_children(), MAX_UDEV_NEST, usb_bus::parent, and usb_device::parent_hub.

Referenced by muge_set_leds(), and usb_fdt_get_mac_addr().

Here is the call graph for this function:
Here is the caller graph for this function: