Home
last modified time | relevance | path

Searched refs:cur_speed (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
Dpcie.c118 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()
Dgf106.c38 .pcie.cur_speed = g84_pcie_cur_speed,
Dg94.c38 .pcie.cur_speed = g84_pcie_cur_speed,
Dg92.c46 .pcie.cur_speed = g84_pcie_cur_speed,
Dpriv.h22 enum nvkm_pcie_speed (*cur_speed)(struct nvkm_pci *); member
Dgf100.c91 .pcie.cur_speed = g84_pcie_cur_speed,
Dg84.c145 .pcie.cur_speed = g84_pcie_cur_speed,
Dgk104.c217 .pcie.cur_speed = g84_pcie_cur_speed,
/Linux-v5.10/drivers/spi/
Dspi-s3c64xx.c189 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 …]
Dspi-pic32-sqi.c151 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()
Dspi-tegra20-sflash.c112 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()
Dspi-stm32.c303 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()
Dspi-tegra20-slink.c162 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()
Dspi-tegra114.c176 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/
Ddw_mmc-k3.c57 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()
Ddw_mmc-exynos.c41 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/
Dftgmac100.c96 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/
Divtv-ioctl.c197 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/
Dqla_gs.c1894 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()
Dqla_def.h2812 __be32 cur_speed; member