/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
D | pcie.c | 118 enum nvkm_pcie_speed cur_speed, max_speed; in nvkm_pcie_set_link() local 136 cur_speed = pci->func->pcie.cur_speed(pci); in nvkm_pcie_set_link() 140 nvkm_trace(subdev, "current speed: %s\n", nvkm_pcie_speeds[cur_speed]); in nvkm_pcie_set_link() 152 if (speed == cur_speed) { in nvkm_pcie_set_link()
|
D | gf106.c | 38 .pcie.cur_speed = g84_pcie_cur_speed,
|
D | g94.c | 38 .pcie.cur_speed = g84_pcie_cur_speed,
|
D | g92.c | 46 .pcie.cur_speed = g84_pcie_cur_speed,
|
D | priv.h | 22 enum nvkm_pcie_speed (*cur_speed)(struct nvkm_pci *); member
|
D | gf100.c | 91 .pcie.cur_speed = g84_pcie_cur_speed,
|
D | g84.c | 145 .pcie.cur_speed = g84_pcie_cur_speed,
|
D | gk104.c | 217 .pcie.cur_speed = g84_pcie_cur_speed,
|
/Linux-v5.10/drivers/spi/ |
D | spi-s3c64xx.c | 189 unsigned cur_speed; member 422 if (sdd->port_conf->high_speed && sdd->cur_speed >= 30000000UL in s3c64xx_enable_datapath() 475 ms = xfer->len * 8 * 1000 / sdd->cur_speed; in s3c64xx_wait_for_dma() 522 ms = xfer->len * 8 * 1000 / sdd->cur_speed; in s3c64xx_wait_for_pio() 627 ret = clk_set_rate(sdd->src_clk, sdd->cur_speed * 2); in s3c64xx_spi_config() 630 sdd->cur_speed = clk_get_rate(sdd->src_clk) / 2; in s3c64xx_spi_config() 635 val |= ((clk_get_rate(sdd->src_clk) / sdd->cur_speed / 2 - 1) in s3c64xx_spi_config() 684 if (bpw != sdd->cur_bpw || speed != sdd->cur_speed) { in s3c64xx_spi_transfer_one() 686 sdd->cur_speed = speed; in s3c64xx_spi_transfer_one() 981 sdd->cur_speed = 0; in s3c64xx_spi_hwinit() [all …]
|
D | spi-pic32-sqi.c | 151 u32 cur_speed; member 361 if (sqi->cur_speed != spi->max_speed_hz) { in pic32_sqi_one_message() 362 sqi->cur_speed = spi->max_speed_hz; in pic32_sqi_one_message() 565 sqi->cur_speed = 0; in pic32_sqi_hw_init()
|
D | spi-tegra20-sflash.c | 112 u32 cur_speed; member 259 if (speed != tsd->cur_speed) { in tegra_sflash_start_transfer_one() 261 tsd->cur_speed = speed; in tegra_sflash_start_transfer_one()
|
D | spi-stm32.c | 303 unsigned int cur_speed; member 464 spi->cur_speed = spi->clk_rate / (1 << mbrdiv); in stm32_spi_prepare_mbr() 1549 u32 sck_period_ns = DIV_ROUND_UP(SPI_1HZ_NS, spi->cur_speed); in stm32h7_spi_data_idleness() 1621 transfer->speed_hz = spi->cur_speed; in stm32_spi_transfer_one_setup() 1652 dev_dbg(spi->dev, "speed set to %dHz\n", spi->cur_speed); in stm32_spi_transfer_one_setup()
|
D | spi-tegra20-slink.c | 162 u32 cur_speed; member 685 if (speed != tspi->cur_speed) { in tegra_slink_start_transfer_one() 687 tspi->cur_speed = speed; in tegra_slink_start_transfer_one()
|
D | spi-tegra114.c | 176 u32 cur_speed; member 788 if (speed != tspi->cur_speed) { in tegra_spi_setup_transfer_one() 790 tspi->cur_speed = speed; in tegra_spi_setup_transfer_one()
|
/Linux-v5.10/drivers/mmc/host/ |
D | dw_mmc-k3.c | 57 u32 cur_speed; member 304 if (!ios->clock || ios->clock == priv->cur_speed) in dw_mci_hi3660_set_ios() 318 priv->cur_speed = host->bus_hz; in dw_mci_hi3660_set_ios()
|
D | dw_mmc-exynos.c | 41 u32 cur_speed; member 281 if (wanted == priv->cur_speed) in dw_mci_exynos_adjust_clock() 292 priv->cur_speed = wanted; in dw_mci_exynos_adjust_clock()
|
/Linux-v5.10/drivers/net/ethernet/faraday/ |
D | ftgmac100.c | 96 int cur_speed; member 141 switch (priv->cur_speed) { in ftgmac100_reset_and_config_mac() 155 priv->cur_speed); in ftgmac100_reset_and_config_mac() 1019 if (phydev->speed == priv->cur_speed && in ftgmac100_adjust_link() 1028 if (new_speed || priv->cur_speed) in ftgmac100_adjust_link() 1031 priv->cur_speed = new_speed; in ftgmac100_adjust_link() 1449 priv->cur_speed = SPEED_100; in ftgmac100_open() 1452 priv->cur_speed = 0; in ftgmac100_open()
|
/Linux-v5.10/drivers/media/pci/ivtv/ |
D | ivtv-ioctl.c | 197 static int ivtv_validate_speed(int cur_speed, int new_speed) in ivtv_validate_speed() argument 202 if (cur_speed == 0) in ivtv_validate_speed() 203 cur_speed = 1000; in ivtv_validate_speed() 206 if (cur_speed < 0) in ivtv_validate_speed() 207 cur_speed = -cur_speed; in ivtv_validate_speed() 209 if (cur_speed <= new_speed) { in ivtv_validate_speed() 230 if (1000 / cur_speed == new_speed) in ivtv_validate_speed() 231 new_speed += (cur_speed < s) ? -1 : 1; in ivtv_validate_speed()
|
/Linux-v5.10/drivers/scsi/qla2xxx/ |
D | qla_gs.c | 1894 eiter->a.cur_speed = cpu_to_be32( in qla2x00_port_attributes() 1896 alen = sizeof(eiter->a.cur_speed); in qla2x00_port_attributes() 1901 "CURRENT SPEED = %x.\n", be32_to_cpu(eiter->a.cur_speed)); in qla2x00_port_attributes()
|
D | qla_def.h | 2812 __be32 cur_speed; member
|