/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
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 …]
|
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 137 max_speed = min(nvkm_pcie_speed(pbus->max_bus_speed), in nvkm_pcie_set_link() 138 pci->func->pcie.max_speed(pci)); in nvkm_pcie_set_link() 142 if (speed > max_speed) { in nvkm_pcie_set_link() 145 nvkm_pcie_speeds[max_speed]); in nvkm_pcie_set_link() 146 speed = max_speed; in nvkm_pcie_set_link()
|
D | g94.c | 37 .pcie.max_speed = g84_pcie_max_speed,
|
D | gf106.c | 37 .pcie.max_speed = g84_pcie_max_speed,
|
D | g92.c | 45 .pcie.max_speed = g84_pcie_max_speed,
|
D | priv.h | 21 enum nvkm_pcie_speed (*max_speed)(struct nvkm_pci *); member
|
D | gf100.c | 90 .pcie.max_speed = g84_pcie_max_speed,
|
/drivers/firewire/ |
D | core-device.c | 486 generation, device->max_speed, offset, data, 4); in read_rom() 522 device->max_speed = SCODE_100; in read_config_rom() 543 device->max_speed = device->node->max_speed; in read_config_rom() 554 if ((rom[2] & 0x7) < device->max_speed || in read_config_rom() 555 device->max_speed == SCODE_BETA || in read_config_rom() 560 if (device->max_speed == SCODE_BETA) in read_config_rom() 561 device->max_speed = card->link_speed; in read_config_rom() 563 while (device->max_speed > SCODE_100) { in read_config_rom() 567 device->max_speed--; in read_config_rom() 898 old->max_speed = new->max_speed; in lookup_existing_device() [all …]
|
D | core-topology.c | 363 node->max_speed = parent->max_speed < node->phy_speed ? in report_found_node() 364 parent->max_speed : node->phy_speed; in report_found_node() 367 node->max_speed = node->phy_speed; in report_found_node()
|
/drivers/net/phy/ |
D | phy-core.c | 245 static int __set_linkmode_max_speed(u32 max_speed, unsigned long *addr) in __set_linkmode_max_speed() argument 251 if (p->speed > max_speed) in __set_linkmode_max_speed() 260 static int __set_phy_supported(struct phy_device *phydev, u32 max_speed) in __set_phy_supported() argument 262 return __set_linkmode_max_speed(max_speed, phydev->supported); in __set_phy_supported() 275 int phy_set_max_speed(struct phy_device *phydev, u32 max_speed) in phy_set_max_speed() argument 279 err = __set_phy_supported(phydev, max_speed); in phy_set_max_speed() 292 u32 max_speed; in of_set_phy_supported() local 300 if (!of_property_read_u32(node, "max-speed", &max_speed)) in of_set_phy_supported() 301 __set_phy_supported(phydev, max_speed); in of_set_phy_supported()
|
/drivers/usb/mtu3/ |
D | mtu3_core.c | 214 if (speed > mtu->max_speed) in mtu3_set_speed() 215 speed = mtu->max_speed; in mtu3_set_speed() 782 switch (mtu->max_speed) { in mtu3_check_params() 790 usb_speed_string(mtu->max_speed)); in mtu3_check_params() 794 mtu->max_speed = USB_SPEED_SUPER_PLUS; in mtu3_check_params() 798 if (!mtu->is_u3_ip && (mtu->max_speed > USB_SPEED_HIGH)) in mtu3_check_params() 799 mtu->max_speed = USB_SPEED_HIGH; in mtu3_check_params() 801 mtu->speed = mtu->max_speed; in mtu3_check_params() 804 usb_speed_string(mtu->max_speed)); in mtu3_check_params() 901 mtu->max_speed = usb_get_maximum_speed(dev); in ssusb_gadget_init()
|
/drivers/usb/gadget/udc/ |
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,
|
/drivers/usb/gadget/udc/aspeed-vhub/ |
D | core.c | 304 enum usb_device_speed max_speed; in ast_vhub_probe() local 361 max_speed = usb_get_maximum_speed(&pdev->dev); in ast_vhub_probe() 362 if (max_speed != USB_SPEED_UNKNOWN && max_speed < USB_SPEED_HIGH) in ast_vhub_probe()
|
D | dev.c | 235 if (d->gadget.speed > d->driver->max_speed) in ast_vhub_std_dev_request() 236 d->gadget.speed = d->driver->max_speed; in ast_vhub_std_dev_request() 583 d->gadget.max_speed = USB_SPEED_FULL; in ast_vhub_init_dev() 585 d->gadget.max_speed = USB_SPEED_HIGH; in ast_vhub_init_dev()
|
/drivers/net/ethernet/freescale/fman/ |
D | mac.c | 67 u16 max_speed; member 109 params->max_speed = priv->max_speed; in set_fman_mac_params() 234 if (priv->max_speed == SPEED_10000) in memac_initialization() 798 priv->max_speed = priv->speed; in mac_probe() 806 if (priv->max_speed == 1000) in mac_probe()
|
D | fman_tgec.c | 208 u16 max_speed; member 272 if (tgec->max_speed < SPEED_10000) { in check_init_parameters() 803 tgec->max_speed = params->max_speed; in tgec_config()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | port.c | 219 u32 max_speed = 0; in mlx5e_port_max_linkspeed() local 234 max_speed = max(max_speed, table[i]); in mlx5e_port_max_linkspeed() 236 *speed = max_speed; in mlx5e_port_max_linkspeed()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ethtool.c | 1249 u32 max_speed = 0; in mlxsw_sp1_ptys_max_speed() local 1259 mlxsw_sp1_port_link_mode[i].speed > max_speed) in mlxsw_sp1_ptys_max_speed() 1260 max_speed = mlxsw_sp1_port_link_mode[i].speed; in mlxsw_sp1_ptys_max_speed() 1263 *p_max_speed = max_speed; in mlxsw_sp1_ptys_max_speed() 1672 u32 max_speed = 0; in mlxsw_sp2_ptys_max_speed() local 1682 mlxsw_sp2_port_link_mode[i].speed > max_speed) in mlxsw_sp2_ptys_max_speed() 1683 max_speed = mlxsw_sp2_port_link_mode[i].speed; in mlxsw_sp2_ptys_max_speed() 1686 *p_max_speed = max_speed; in mlxsw_sp2_ptys_max_speed()
|
/drivers/usb/cdns3/ |
D | gadget.c | 2976 enum usb_device_speed max_speed = driver->max_speed; in cdns3_gadget_udc_start() local 2982 max_speed = min(driver->max_speed, gadget->max_speed); in cdns3_gadget_udc_start() 2984 switch (max_speed) { in cdns3_gadget_udc_start() 2997 max_speed); in cdns3_gadget_udc_start() 3001 max_speed = USB_SPEED_SUPER; in cdns3_gadget_udc_start() 3268 u32 max_speed; in cdns3_gadget_start() local 3294 max_speed = usb_get_maximum_speed(cdns->dev); in cdns3_gadget_start() 3297 switch (max_speed) { in cdns3_gadget_start() 3304 max_speed); in cdns3_gadget_start() 3308 max_speed = USB_SPEED_SUPER; in cdns3_gadget_start() [all …]
|
/drivers/usb/gadget/ |
D | configfs.c | 335 enum usb_device_speed speed = to_gadget_info(item)->composite.max_speed; in gadget_dev_desc_max_speed_show() 352 gi->composite.max_speed = USB_SPEED_SUPER_PLUS; in gadget_dev_desc_max_speed_store() 354 gi->composite.max_speed = USB_SPEED_SUPER; in gadget_dev_desc_max_speed_store() 356 gi->composite.max_speed = USB_SPEED_HIGH; in gadget_dev_desc_max_speed_store() 358 gi->composite.max_speed = USB_SPEED_FULL; in gadget_dev_desc_max_speed_store() 360 gi->composite.max_speed = USB_SPEED_LOW; in gadget_dev_desc_max_speed_store() 364 gi->composite.gadget_driver.max_speed = gi->composite.max_speed; in gadget_dev_desc_max_speed_store() 382 CONFIGFS_ATTR(gadget_dev_desc_, max_speed); 1739 .max_speed = USB_SPEED_SUPER_PLUS, 1864 gi->composite.max_speed = USB_SPEED_SUPER_PLUS; in gadgets_make()
|
/drivers/ntb/hw/intel/ |
D | ntb_hw_gen3.c | 418 int intel_ntb3_link_enable(struct ntb_dev *ntb, enum ntb_speed max_speed, in intel_ntb3_link_enable() argument 428 max_speed, max_width); in intel_ntb3_link_enable() 430 if (max_speed != NTB_SPEED_AUTO) in intel_ntb3_link_enable() 431 dev_dbg(&ntb->pdev->dev, "ignoring max_speed %d\n", max_speed); in intel_ntb3_link_enable()
|
D | ntb_hw_gen4.c | 430 enum ntb_speed max_speed, enum ntb_width max_width) in intel_ntb4_link_enable() argument 440 max_speed, max_width); in intel_ntb4_link_enable() 442 if (max_speed != NTB_SPEED_AUTO) in intel_ntb4_link_enable() 444 "ignoring max_speed %d\n", max_speed); in intel_ntb4_link_enable()
|
D | ntb_hw_gen3.h | 107 int intel_ntb3_link_enable(struct ntb_dev *ntb, enum ntb_speed max_speed,
|
/drivers/hsi/controllers/ |
D | omap_ssi.h | 149 u32 max_speed; member
|
/drivers/bluetooth/ |
D | hci_ll.c | 689 u32 max_speed = 3000000; in hci_ti_probe() local 709 of_property_read_u32(serdev->dev.of_node, "max-speed", &max_speed); in hci_ti_probe() 710 hci_uart_set_speeds(hu, 115200, max_speed); in hci_ti_probe()
|