Home
last modified time | relevance | path

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

/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()
Dg94.c38 .pcie.cur_speed = g84_pcie_cur_speed,
Dgf106.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,
/drivers/spi/
Dspi-s3c64xx.c184 unsigned cur_speed; member
403 if (sdd->port_conf->high_speed && sdd->cur_speed >= 30000000UL in s3c64xx_enable_datapath()
451 ms = xfer->len * 8 * 1000 / sdd->cur_speed; in s3c64xx_wait_for_dma()
497 ms = xfer->len * 8 * 1000 / sdd->cur_speed; in s3c64xx_wait_for_pio()
601 clk_set_rate(sdd->src_clk, sdd->cur_speed * 2); in s3c64xx_spi_config()
606 val |= ((clk_get_rate(sdd->src_clk) / sdd->cur_speed / 2 - 1) in s3c64xx_spi_config()
653 if (bpw != sdd->cur_bpw || speed != sdd->cur_speed) { in s3c64xx_spi_transfer_one()
655 sdd->cur_speed = speed; in s3c64xx_spi_transfer_one()
932 sdd->cur_speed = 0; in s3c64xx_spi_hwinit()
1276 sdd->cur_speed = 0; /* Output Clock is stopped */ in s3c64xx_spi_suspend()
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
463 spi->cur_speed = spi->clk_rate / (1 << mbrdiv); in stm32_spi_prepare_mbr()
1530 u32 sck_period_ns = DIV_ROUND_UP(SPI_1HZ_NS, spi->cur_speed); in stm32h7_spi_data_idleness()
1589 if (spi->cur_speed != transfer->speed_hz) { in stm32_spi_transfer_one_setup()
1601 transfer->speed_hz = spi->cur_speed; in stm32_spi_transfer_one_setup()
1638 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
690 if (speed != tspi->cur_speed) { in tegra_slink_start_transfer_one()
692 tspi->cur_speed = speed; in tegra_slink_start_transfer_one()
Dspi-tegra114.c176 u32 cur_speed; member
776 if (speed != tspi->cur_speed) { in tegra_spi_setup_transfer_one()
778 tspi->cur_speed = speed; in tegra_spi_setup_transfer_one()
/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
279 if (wanted == priv->cur_speed) in dw_mci_exynos_adjust_clock()
290 priv->cur_speed = wanted; in dw_mci_exynos_adjust_clock()
/drivers/net/ethernet/faraday/
Dftgmac100.c94 int cur_speed; member
139 switch (priv->cur_speed) { in ftgmac100_reset_and_config_mac()
153 priv->cur_speed); in ftgmac100_reset_and_config_mac()
1017 if (phydev->speed == priv->cur_speed && in ftgmac100_adjust_link()
1026 if (new_speed || priv->cur_speed) in ftgmac100_adjust_link()
1029 priv->cur_speed = new_speed; in ftgmac100_adjust_link()
1448 priv->cur_speed = SPEED_100; in ftgmac100_open()
1451 priv->cur_speed = 0; in ftgmac100_open()
/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()
/drivers/scsi/qla2xxx/
Dqla_gs.c1810 eiter->a.cur_speed = in qla2x00_fdmi_rpa()
1814 eiter->a.cur_speed = in qla2x00_fdmi_rpa()
1818 eiter->a.cur_speed = in qla2x00_fdmi_rpa()
1822 eiter->a.cur_speed = in qla2x00_fdmi_rpa()
1826 eiter->a.cur_speed = in qla2x00_fdmi_rpa()
1830 eiter->a.cur_speed = in qla2x00_fdmi_rpa()
1834 eiter->a.cur_speed = in qla2x00_fdmi_rpa()
1838 eiter->a.cur_speed = in qla2x00_fdmi_rpa()
1845 "Current_Speed=%x.\n", eiter->a.cur_speed); in qla2x00_fdmi_rpa()
2389 eiter->a.cur_speed = cpu_to_be32(FDMI_PORT_SPEED_1GB); in qla2x00_fdmiv2_rpa()
[all …]
Dqla_def.h2722 uint32_t cur_speed; member
2753 uint32_t cur_speed; member