/u-boot/drivers/usb/common/ |
A D | common.c | 62 const char *max_speed; in usb_get_maximum_speed() local 65 max_speed = ofnode_read_string(node, "maximum-speed"); in usb_get_maximum_speed() 66 if (!max_speed) { in usb_get_maximum_speed() 72 if (!strcmp(max_speed, speed_names[i])) in usb_get_maximum_speed()
|
/u-boot/drivers/usb/mtu3/ |
A D | mtu3_core.c | 187 if (speed > mtu->max_speed) in mtu3_set_speed() 188 speed = mtu->max_speed; in mtu3_set_speed() 575 mtu3_set_speed(mtu, mtu->max_speed); in mtu3_regs_init() 732 switch (mtu->max_speed) { in mtu3_check_params() 739 dev_err(mtu->dev, "invalid max_speed: %d\n", mtu->max_speed); in mtu3_check_params() 743 mtu->max_speed = USB_SPEED_SUPER; in mtu3_check_params() 747 if (!mtu->is_u3_ip && (mtu->max_speed > USB_SPEED_HIGH)) in mtu3_check_params() 748 mtu->max_speed = USB_SPEED_HIGH; in mtu3_check_params() 750 mtu->speed = mtu->max_speed; in mtu3_check_params() 805 mtu->max_speed = usb_get_maximum_speed(dev_ofnode(dev)); in ssusb_gadget_init()
|
A D | mtu3.h | 323 enum usb_device_speed max_speed; member
|
/u-boot/drivers/net/ |
A D | ftgmac100.c | 90 u32 max_speed; member 228 if (priv->max_speed) { in ftgmac100_phy_init() 229 ret = phy_set_supported(phydev, priv->max_speed); in ftgmac100_phy_init() 560 pdata->max_speed = dev_read_u32_default(dev, "max-speed", 0); in ftgmac100_of_to_plat() 581 priv->max_speed = pdata->max_speed; in ftgmac100_probe()
|
A D | sni_ave.c | 155 int max_speed; member 403 if (priv->max_speed) { in ave_phy_init() 404 ret = phy_set_supported(phydev, priv->max_speed); in ave_phy_init() 761 pdata->max_speed = 0; in ave_of_to_plat() 765 pdata->max_speed = fdt32_to_cpu(*valp); in ave_of_to_plat() 840 priv->max_speed = pdata->max_speed; in ave_probe()
|
A D | designware.c | 501 if (priv->max_speed) { in dw_phy_init() 502 ret = phy_set_supported(phydev, priv->max_speed); in dw_phy_init() 760 priv->max_speed = pdata->max_speed; in designware_eth_probe() 837 pdata->max_speed = dev_read_u32_default(dev, "max-speed", 0); in designware_eth_of_to_plat()
|
A D | zynq_gem.c | 212 u32 max_speed; member 324 if (priv->max_speed) { in zynq_phy_init() 325 ret = phy_set_supported(priv->phydev, priv->max_speed); in zynq_phy_init() 789 priv->max_speed = ofnode_read_u32_default(phandle_args.node, in zynq_gem_of_to_plat()
|
A D | designware.h | 232 u32 max_speed; member
|
A D | ravb.c | 334 if (pdata->max_speed != 1000) { in ravb_phy_config() 664 pdata->max_speed = 1000; in ravb_of_to_plat() 667 pdata->max_speed = fdt32_to_cpu(*cell); in ravb_of_to_plat()
|
A D | fsl_mcdmafec.c | 576 pdata->max_speed = 10; in mcdmafec_of_to_plat() 580 pdata->max_speed = fdt32_to_cpu(*val); in mcdmafec_of_to_plat()
|
A D | mcffec.c | 595 pdata->max_speed = 10; in mcffec_of_to_plat() 600 pdata->max_speed = fdt32_to_cpu(*val); in mcffec_of_to_plat()
|
A D | bcmgenet.c | 632 priv->speed = pdata->max_speed; in bcmgenet_eth_probe() 712 ofnode_read_s32(phy_node.node, "max-speed", &pdata->max_speed); in bcmgenet_eth_of_to_plat()
|
/u-boot/include/ |
A D | cpsw.h | 44 int max_speed; member
|
A D | smbios.h | 159 u16 max_speed; member
|
A D | phy.h | 498 int phy_set_supported(struct phy_device *phydev, u32 max_speed);
|
/u-boot/drivers/spi/ |
A D | octeon_spi.c | 88 uint max_speed = slave->max_hz; in octeon_spi_set_mpicfg() local 91 if (!max_speed) in octeon_spi_set_mpicfg() 92 max_speed = 12500000; in octeon_spi_set_mpicfg() 93 if (max_speed > OCTEON_SPI_MAX_CLOCK_HZ) in octeon_spi_set_mpicfg() 94 max_speed = OCTEON_SPI_MAX_CLOCK_HZ; in octeon_spi_set_mpicfg()
|
A D | ich.c | 331 if (ctlr->speed && ctlr->max_speed >= 33000000) { in ich_spi_exec_op_swseq() 830 ctlr->max_speed = 20000000; in ich_init_controller() 832 ctlr->max_speed = 33000000; in ich_init_controller() 834 plat->ich_version, plat->mmio_base, ctlr->max_speed); in ich_init_controller() 881 priv->cur_speed = priv->max_speed; in ich_spi_probe()
|
A D | ich.h | 227 ulong max_speed; /* Maximum bus speed in MHz */ member
|
/u-boot/drivers/net/ti/ |
A D | am65-cpsw-nuss.c | 582 if (pdata->max_speed) { in am65_cpsw_phy_init() 583 ret = phy_set_supported(phydev, pdata->max_speed); in am65_cpsw_phy_init() 620 ofnode_read_u32(port_np, "max-speed", (u32 *)&pdata->max_speed); in am65_cpsw_ofdata_parse_phy() 621 if (pdata->max_speed) in am65_cpsw_ofdata_parse_phy() 623 priv->port_id, pdata->max_speed); in am65_cpsw_ofdata_parse_phy()
|
A D | cpsw.c | 855 if (slave->data->max_speed) { in cpsw_phy_init() 856 ret = phy_set_supported(phydev, slave->data->max_speed); in cpsw_phy_init() 861 slave->slave_num + 1, slave->data->max_speed); in cpsw_phy_init() 865 slave->data->max_speed); in cpsw_phy_init() 1222 slave_data->max_speed = ofnode_read_s32_default(subnode, in cpsw_eth_of_parse_slave()
|
/u-boot/include/linux/usb/ |
A D | composite.h | 325 enum usb_device_speed max_speed; member
|
A D | gadget.h | 538 enum usb_device_speed max_speed; member 609 return g->max_speed >= USB_SPEED_SUPER; in gadget_is_superspeed()
|
/u-boot/drivers/usb/gadget/ |
A D | g_dnl.c | 289 .max_speed = USB_SPEED_SUPER,
|
/u-boot/drivers/usb/gadget/udc/ |
A D | udc-core.c | 288 s = min(speed, udc->gadget->max_speed); in usb_gadget_udc_set_speed()
|
/u-boot/drivers/usb/cdns3/ |
A D | gadget.c | 2559 u32 max_speed; in cdns3_gadget_start() local 2583 max_speed = usb_get_maximum_speed(dev_ofnode(cdns->dev)); in cdns3_gadget_start() 2586 switch (max_speed) { in cdns3_gadget_start() 2595 max_speed); in cdns3_gadget_start() 2599 max_speed = USB_SPEED_SUPER; in cdns3_gadget_start() 2604 priv_dev->gadget.max_speed = max_speed; in cdns3_gadget_start()
|