Home
last modified time | relevance | path

Searched refs:speed_reg (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-jcore.c39 unsigned int speed_reg; member
65 writel(hw->cs_reg | hw->speed_reg, ctrl_reg); in jcore_spi_program()
89 hw->speed_reg = 0; in jcore_spi_baudrate()
91 hw->speed_reg = ((hw->clock_freq / 2 / speed) - 1) << 27; in jcore_spi_baudrate()
94 speed, hw->speed_reg); in jcore_spi_baudrate()
114 xmit = hw->cs_reg | hw->speed_reg | JCORE_SPI_CTRL_XMIT; in jcore_spi_txrx()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_misc.c116 int speed_reg = 0; in hns_cpld_set_led() local
130 speed_reg = 1; in hns_cpld_set_led()
137 DSAF_LED_SPEED_S, speed_reg); in hns_cpld_set_led()