Searched refs:sja1105_xfer_u32 (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_mdio.c | 28 rc = sja1105_xfer_u32(priv, SPI_READ, addr, &tmp, NULL); in sja1105_pcs_mdio_read_c45() 49 return sja1105_xfer_u32(priv, SPI_WRITE, addr, &tmp, NULL); in sja1105_pcs_mdio_write_c45() 83 rc = sja1105_xfer_u32(priv, SPI_WRITE, in sja1110_pcs_mdio_read_c45() 89 rc = sja1105_xfer_u32(priv, SPI_READ, regs->pcs_base[phy] + offset, in sja1110_pcs_mdio_read_c45() 124 rc = sja1105_xfer_u32(priv, SPI_WRITE, in sja1110_pcs_mdio_write_c45() 132 return sja1105_xfer_u32(priv, SPI_WRITE, regs->pcs_base[phy] + offset, in sja1110_pcs_mdio_write_c45() 162 rc = sja1105_xfer_u32(priv, SPI_READ, addr, &tmp, NULL); in sja1105_base_t1_mdio_read_c22() 180 rc = sja1105_xfer_u32(priv, SPI_WRITE, addr, ®, NULL); in sja1105_base_t1_mdio_read_c45() 186 rc = sja1105_xfer_u32(priv, SPI_READ, addr, &tmp, NULL); in sja1105_base_t1_mdio_read_c45() 205 return sja1105_xfer_u32(priv, SPI_WRITE, addr, &tmp, NULL); in sja1105_base_t1_mdio_write_c22() [all …]
|
H A D | sja1105_spi.c | 150 int sja1105_xfer_u32(const struct sja1105_private *priv, in sja1105_xfer_u32() function 183 return sja1105_xfer_u32(priv, SPI_WRITE, regs->rgu, &cold_reset, NULL); in sja1105et_reset_cmd() 193 return sja1105_xfer_u32(priv, SPI_WRITE, regs->rgu, &cold_reset, NULL); in sja1105pqrs_reset_cmd() 207 return sja1105_xfer_u32(priv, SPI_WRITE, regs->rgu, &switch_reset, NULL); in sja1110_reset_cmd() 217 rc = sja1105_xfer_u32(priv, SPI_READ, regs->port_control, in sja1105_inhibit_tx() 227 return sja1105_xfer_u32(priv, SPI_WRITE, regs->port_control, in sja1105_inhibit_tx()
|
H A D | sja1105_ptp.c | 624 rc = sja1105_xfer_u32(priv, SPI_WRITE, regs->ptpclkrate, &clkrate32, in sja1105_ptp_adjfine() 784 rc = sja1105_xfer_u32(priv, SPI_WRITE, regs->ptppindur, in sja1105_per_out_enable()
|
H A D | sja1105.h | 330 int sja1105_xfer_u32(const struct sja1105_private *priv,
|
H A D | sja1105_tas.c | 615 return sja1105_xfer_u32(priv, SPI_WRITE, regs->ptpclkcorp, in sja1105_tas_adjust_drift()
|
H A D | sja1105_main.c | 3260 rc = sja1105_xfer_u32(priv, SPI_READ, regs->device_id, &device_id, in sja1105_check_device_id()
|