Home
last modified time | relevance | path

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

12345678

/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dethtool_lanes.sh41 local max_speed=$1; shift
54 local max_speed=$1; shift
74 local max_speed
109 local max_speed
114 max_speed=${max_values[0]}
122 ethtool_set $swp1 speed $max_speed lanes $lanes
128 check_lanes $swp1 $lanes $max_speed
134 check_unsupported_lanes $swp1 $max_speed $max_lanes 1
146 local max_speed
151 max_speed=${max_values[0]}
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
H A Dgk104.c114 u32 max_speed = nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x300000; in gk104_pcie_max_speed() local
115 switch (max_speed) { in gk104_pcie_max_speed()
152 enum nvkm_pcie_speed lnkctl_speed, max_speed, cap_speed; in gk104_pcie_init() local
159 max_speed = gk104_pcie_max_speed(pci); in gk104_pcie_init()
162 if (cap_speed != max_speed) { in gk104_pcie_init()
164 gk104_pcie_set_cap_speed(pci, max_speed); in gk104_pcie_init()
166 if (cap_speed != max_speed) in gk104_pcie_init()
170 if (lnkctl_speed != max_speed) { in gk104_pcie_init()
172 gk104_pcie_set_lnkctl_speed(pci, max_speed); in gk104_pcie_init()
174 if (lnkctl_speed != max_speed) in gk104_pcie_init()
[all …]
H A Dpcie.c82 if (pci->func->pcie.max_speed) in nvkm_pcie_oneinit()
84 nvkm_pcie_speeds[pci->func->pcie.max_speed(pci)]); in nvkm_pcie_oneinit()
118 enum nvkm_pcie_speed cur_speed, max_speed; in nvkm_pcie_set_link() local
136 max_speed = min(nvkm_pcie_speed(pci->pdev->bus->max_bus_speed), in nvkm_pcie_set_link()
137 pci->func->pcie.max_speed(pci)); in nvkm_pcie_set_link()
141 if (speed > max_speed) { in nvkm_pcie_set_link()
144 nvkm_pcie_speeds[max_speed]); in nvkm_pcie_set_link()
145 speed = max_speed; in nvkm_pcie_set_link()
H A Dg94.c37 .pcie.max_speed = g84_pcie_max_speed,
H A Dgf106.c37 .pcie.max_speed = g84_pcie_max_speed,
H A Dg92.c45 .pcie.max_speed = g84_pcie_max_speed,
/openbmc/u-boot/drivers/usb/common/
H A Dcommon.c54 const char *max_speed; in usb_get_maximum_speed() local
57 max_speed = fdt_getprop(fdt, node, "maximum-speed", NULL); in usb_get_maximum_speed()
58 if (!max_speed) { in usb_get_maximum_speed()
64 if (!strcmp(max_speed, speed_names[i])) in usb_get_maximum_speed()
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dethtool.sh226 local max_speed
239 max_speed=${speeds_arr[0]}
241 if [[ $current -gt $max_speed ]]; then
242 max_speed=$current
251 ((chosen_speed == max_speed))
/openbmc/linux/drivers/firewire/
H A Dcore-device.c484 generation, device->max_speed, offset, data, 4); in read_rom()
520 device->max_speed = SCODE_100; in read_config_rom()
541 device->max_speed = device->node->max_speed; in read_config_rom()
552 if ((rom[2] & 0x7) < device->max_speed || in read_config_rom()
553 device->max_speed == SCODE_BETA || in read_config_rom()
558 if (device->max_speed == SCODE_BETA) in read_config_rom()
559 device->max_speed = card->link_speed; in read_config_rom()
561 while (device->max_speed > SCODE_100) { in read_config_rom()
565 device->max_speed--; in read_config_rom()
896 old->max_speed = new->max_speed; in lookup_existing_device()
[all …]
H A Dcore-topology.c364 node->max_speed = parent->max_speed < node->phy_speed ? in report_found_node()
365 parent->max_speed : node->phy_speed; in report_found_node()
368 node->max_speed = node->phy_speed; in report_found_node()
/openbmc/linux/sound/firewire/
H A Dcmp.c147 c->max_speed = (mpr & MPR_SPEED_MASK) >> MPR_SPEED_SHIFT; in cmp_connection_init()
148 if (c->max_speed == SCODE_BETA) in cmp_connection_init()
149 c->max_speed += (mpr & MPR_XSPEED_MASK) >> MPR_XSPEED_SHIFT; in cmp_connection_init()
200 c->speed = min(c->max_speed, in cmp_connection_reserve()
201 fw_parent_device(c->resources.unit)->max_speed); in cmp_connection_reserve()
H A Dcmp.h34 unsigned int max_speed; member
H A Dlib.c48 device->max_speed, offset, in snd_fw_transaction()
/openbmc/linux/drivers/net/phy/
H A Dphy-core.c335 static void __set_linkmode_max_speed(u32 max_speed, unsigned long *addr) in __set_linkmode_max_speed() argument
341 if (p->speed > max_speed) in __set_linkmode_max_speed()
348 static void __set_phy_supported(struct phy_device *phydev, u32 max_speed) in __set_phy_supported() argument
350 __set_linkmode_max_speed(max_speed, phydev->supported); in __set_phy_supported()
363 void phy_set_max_speed(struct phy_device *phydev, u32 max_speed) in phy_set_max_speed() argument
365 __set_phy_supported(phydev, max_speed); in phy_set_max_speed()
374 u32 max_speed; in of_set_phy_supported() local
382 if (!of_property_read_u32(node, "max-speed", &max_speed)) in of_set_phy_supported()
383 __set_phy_supported(phydev, max_speed); in of_set_phy_supported()
/openbmc/linux/drivers/usb/cdns3/
H A Dcdnsp-gadget.c1315 enum usb_device_speed max_speed = driver->max_speed; in cdnsp_gadget_udc_start() local
1324 max_speed = min(driver->max_speed, g->max_speed); in cdnsp_gadget_udc_start()
1325 ret = cdnsp_run(pdev, max_speed); in cdnsp_gadget_udc_start()
1858 u32 max_speed; in __cdnsp_gadget_init() local
1874 switch (max_speed) { in __cdnsp_gadget_init()
1885 max_speed = USB_SPEED_SUPER_PLUS; in __cdnsp_gadget_init()
1893 pdev->gadget.max_speed = max_speed; in __cdnsp_gadget_init()
1983 enum usb_device_speed max_speed; in cdnsp_gadget_resume() local
1991 max_speed = pdev->gadget_driver->max_speed; in cdnsp_gadget_resume()
1994 max_speed = min(max_speed, pdev->gadget.max_speed); in cdnsp_gadget_resume()
[all …]
/openbmc/u-boot/drivers/net/
H A Dftgmac100.c87 u32 max_speed; member
233 if (priv->max_speed) { in ftgmac100_phy_init()
234 ret = phy_set_supported(phydev, priv->max_speed); in ftgmac100_phy_init()
561 pdata->max_speed = dev_read_u32_default(dev, "max-speed", 0); in ftgmac100_ofdata_to_platdata()
593 priv->max_speed = pdata->max_speed; in ftgmac100_probe()
H A Dsni_ave.c146 int max_speed; member
394 if (priv->max_speed) { in ave_phy_init()
395 ret = phy_set_supported(phydev, priv->max_speed); in ave_phy_init()
752 pdata->max_speed = 0; in ave_ofdata_to_platdata()
756 pdata->max_speed = fdt32_to_cpu(*valp); in ave_ofdata_to_platdata()
831 priv->max_speed = pdata->max_speed; in ave_probe()
/openbmc/linux/include/linux/usb/
H A Dgadget.h420 enum usb_device_speed max_speed; member
567 return g->max_speed >= USB_SPEED_HIGH; in gadget_is_dualspeed()
576 return g->max_speed >= USB_SPEED_SUPER; in gadget_is_superspeed()
586 return g->max_speed >= USB_SPEED_SUPER_PLUS; in gadget_is_superspeed_plus()
727 enum usb_device_speed max_speed; member
/openbmc/linux/drivers/usb/gadget/udc/
H A Dtrace.h25 __field(enum usb_device_speed, max_speed)
46 __entry->max_speed = g->max_speed;
66 __entry->speed, __entry->max_speed, __entry->state, __entry->mA,
/openbmc/openbmc-test-automation/redfish/extended/
H A Dtest_fan_operation.robot62 ${max_speed}= Set Variable ${10500}
64 # Speed criteria for passing, which is 85% of max_speed.
72 ... ${max_speed} ${min_speed} ${minutes_to_stabilize}
/openbmc/linux/drivers/usb/mtu3/
H A Dmtu3_core.c236 if (speed > mtu->max_speed) in mtu3_set_speed()
237 speed = mtu->max_speed; in mtu3_set_speed()
829 switch (mtu->max_speed) { in mtu3_check_params()
837 usb_speed_string(mtu->max_speed)); in mtu3_check_params()
841 mtu->max_speed = USB_SPEED_SUPER_PLUS; in mtu3_check_params()
845 if (!mtu->u3_capable && (mtu->max_speed > USB_SPEED_HIGH)) in mtu3_check_params()
846 mtu->max_speed = USB_SPEED_HIGH; in mtu3_check_params()
848 mtu->speed = mtu->max_speed; in mtu3_check_params()
851 usb_speed_string(mtu->max_speed)); in mtu3_check_params()
957 mtu->max_speed = usb_get_maximum_speed(dev); in ssusb_gadget_init()
/openbmc/linux/include/linux/platform_data/
H A Dpxa_sdhci.h44 unsigned int max_speed; member
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Dcore.c296 enum usb_device_speed max_speed; in ast_vhub_probe() local
352 max_speed = usb_get_maximum_speed(&pdev->dev); in ast_vhub_probe()
353 if (max_speed != USB_SPEED_UNKNOWN && max_speed < USB_SPEED_HIGH) in ast_vhub_probe()
/openbmc/u-boot/drivers/spi/
H A Dich.c163 ctlr->max_speed = 20000000; in ich_init_controller()
165 ctlr->max_speed = 33000000; in ich_init_controller()
167 plat->ich_version, ctlr->base, ctlr->max_speed); in ich_init_controller()
464 if (ctlr->speed && ctlr->max_speed >= 33000000) { in ich_spi_xfer()
613 priv->cur_speed = priv->max_speed; in ich_spi_probe()
/openbmc/linux/sound/firewire/dice/
H A Ddice-stream.c194 fw_parent_device(dice->unit)->max_speed); in keep_resources()
329 unsigned int max_speed = fw_parent_device(dice->unit)->max_speed; in start_streams() local
360 reg = cpu_to_be32(max_speed); in start_streams()
369 resources->channel, max_speed); in start_streams()

12345678