/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | ethtool_lanes.sh | 41 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 D | gk104.c | 114 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 D | pcie.c | 82 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 D | g94.c | 37 .pcie.max_speed = g84_pcie_max_speed,
|
H A D | gf106.c | 37 .pcie.max_speed = g84_pcie_max_speed,
|
H A D | g92.c | 45 .pcie.max_speed = g84_pcie_max_speed,
|
/openbmc/u-boot/drivers/usb/common/ |
H A D | common.c | 54 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 D | ethtool.sh | 226 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 D | core-device.c | 484 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 D | core-topology.c | 364 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 D | cmp.c | 147 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 D | cmp.h | 34 unsigned int max_speed; member
|
H A D | lib.c | 48 device->max_speed, offset, in snd_fw_transaction()
|
/openbmc/linux/drivers/net/phy/ |
H A D | phy-core.c | 335 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 D | cdnsp-gadget.c | 1315 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 D | ftgmac100.c | 87 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 D | sni_ave.c | 146 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 D | gadget.h | 420 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 D | trace.h | 25 __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 D | test_fan_operation.robot | 62 ${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 D | mtu3_core.c | 236 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 D | pxa_sdhci.h | 44 unsigned int max_speed; member
|
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | core.c | 296 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 D | ich.c | 163 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 D | dice-stream.c | 194 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()
|