Searched refs:phynode (Results 1 - 8 of 8) sorted by relevance

/freebsd-11-stable/sys/dev/extres/phy/
H A Dphy.h62 struct phynode *phynode_create(device_t pdev, phynode_class_t phynode_class,
64 struct phynode *phynode_register(struct phynode *phynode);
65 void *phynode_get_softc(struct phynode *phynode);
66 device_t phynode_get_device(struct phynode *phynode);
67 intptr_t phynode_get_id(struct phynode *phynode);
[all...]
H A Dphy.c53 struct phynode;
55 typedef TAILQ_HEAD(phynode_list, phynode) phynode_list_t;
59 static int phynode_method_init(struct phynode *phynode);
60 static int phynode_method_enable(struct phynode *phynode, bool disable);
61 static int phynode_method_status(struct phynode *phynode, int *status);
74 DEFINE_CLASS_0(phynode, phynode_class, phynode_methods, 0);
79 struct phynode { struct
102 struct phynode *phynode; member in struct:phy
130 phynode_method_init(struct phynode *phynode) argument
137 phynode_method_enable(struct phynode *phynode, bool enable) argument
147 phynode_method_status(struct phynode *phynode, int *status) argument
165 struct phynode *phynode; local
192 phynode_register(struct phynode *phynode) argument
241 phynode_get_softc(struct phynode *phynode) argument
248 phynode_get_device(struct phynode *phynode) argument
254 phynode_get_id(struct phynode *phynode) argument
262 phynode_get_ofw_node(struct phynode *phynode) argument
279 phynode_enable(struct phynode *phynode) argument
302 phynode_disable(struct phynode *phynode) argument
326 phynode_status(struct phynode *phynode, int *status) argument
346 phy_create(struct phynode *phynode, device_t cdev) argument
369 struct phynode *phynode; local
387 struct phynode *phynode; local
407 struct phynode *phynode; local
423 struct phynode *phynode; local
441 struct phynode *phynode; local
[all...]
/freebsd-11-stable/sys/dev/mii/
H A Dmii_fdt.c170 if ((cfg->phynode = mii_fdt_get_phynode(cfg->macnode)) == -1)
173 if (OF_getencprop(cfg->phynode, "max-speed", &val, sizeof(val)) > 0)
176 if (ofw_bus_node_is_compatible(cfg->phynode,
180 if (OF_hasprop(cfg->phynode, "broken-turn-around"))
182 if (OF_hasprop(cfg->phynode, "enet-phy-lane-swap"))
184 if (OF_hasprop(cfg->phynode, "enet-phy-lane-no-swap"))
186 if (OF_hasprop(cfg->phynode, "eee-broken-100tx"))
188 if (OF_hasprop(cfg->phynode, "eee-broken-1000t"))
190 if (OF_hasprop(cfg->phynode, "eee-broken-10gt"))
192 if (OF_hasprop(cfg->phynode, "ee
[all...]
H A Dmii_fdt.h41 phandle_t phynode; /* Node (not xref) of PHY */ member in struct:mii_fdt_phy_config
H A Dvscphy.c113 if (OF_getencprop(cfg->phynode, "rx-delay", &val, sizeof(val)) > 0)
115 if (OF_getencprop(cfg->phynode, "tx-delay", &val, sizeof(val)) > 0)
/freebsd-11-stable/sys/arm/allwinner/
H A Daw_usbphy.c76 static int awusbphy_phy_enable(struct phynode *phy, bool enable);
161 awusbphy_phy_enable(struct phynode *phynode, bool enable) argument
169 dev = phynode_get_device(phynode);
170 phy = phynode_get_id(phynode);
222 struct phynode *phynode; local
238 phynode = phynode_create(dev, &awusbphy_phynode_class,
240 if (phynode == NULL) {
244 if (phynode_register(phynode)
[all...]
/freebsd-11-stable/sys/arm/nvidia/
H A Dtegra_usbphy.c304 static int usbphy_phy_enable(struct phynode *phy, bool enable);
568 usbphy_phy_enable(struct phynode *phy, bool enable)
719 struct phynode *phynode; local
824 phynode = phynode_create(dev, &usbphy_phynode_class, &phy_init);
825 if (phynode == NULL) {
829 if (phynode_register(phynode) == NULL) {
/freebsd-11-stable/sys/arm/nvidia/tegra124/
H A Dtegra124_xusbpadctl.c356 static int xusbpadctl_phy_enable(struct phynode *phy, bool enable);
695 xusbpadctl_phy_enable(struct phynode *phy, bool enable)
869 struct phynode *phynode; local
921 phynode = phynode_create(sc->dev, &xusbpadctl_phynode_class, &phy_init);
922 if (phynode == NULL) {
927 if (phynode_register(phynode) == NULL) {

Completed in 66 milliseconds