Home
last modified time | relevance | path

Searched refs:max_speed (Results 1 – 25 of 35) sorted by relevance

12

/u-boot/drivers/usb/common/
A Dcommon.c62 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 Dmtu3_core.c187 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 Dmtu3.h323 enum usb_device_speed max_speed; member
/u-boot/drivers/net/
A Dftgmac100.c90 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 Dsni_ave.c155 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 Ddesignware.c501 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 Dzynq_gem.c212 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 Ddesignware.h232 u32 max_speed; member
A Dravb.c334 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 Dfsl_mcdmafec.c576 pdata->max_speed = 10; in mcdmafec_of_to_plat()
580 pdata->max_speed = fdt32_to_cpu(*val); in mcdmafec_of_to_plat()
A Dmcffec.c595 pdata->max_speed = 10; in mcffec_of_to_plat()
600 pdata->max_speed = fdt32_to_cpu(*val); in mcffec_of_to_plat()
A Dbcmgenet.c632 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 Dcpsw.h44 int max_speed; member
A Dsmbios.h159 u16 max_speed; member
A Dphy.h498 int phy_set_supported(struct phy_device *phydev, u32 max_speed);
/u-boot/drivers/spi/
A Docteon_spi.c88 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 Dich.c331 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 Dich.h227 ulong max_speed; /* Maximum bus speed in MHz */ member
/u-boot/drivers/net/ti/
A Dam65-cpsw-nuss.c582 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 Dcpsw.c855 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 Dcomposite.h325 enum usb_device_speed max_speed; member
A Dgadget.h538 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 Dg_dnl.c289 .max_speed = USB_SPEED_SUPER,
/u-boot/drivers/usb/gadget/udc/
A Dudc-core.c288 s = min(speed, udc->gadget->max_speed); in usb_gadget_udc_set_speed()
/u-boot/drivers/usb/cdns3/
A Dgadget.c2559 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()

Completed in 66 milliseconds

12