Searched refs:register_base (Results 1 - 5 of 5) sorted by relevance
/linux-4.4.14/drivers/spi/ |
H A D | spi-octeon.c | 30 u64 register_base; member in struct:octeon_spi 43 mpi_sts.u64 = cvmx_read_csr(p->register_base + OCTEON_SPI_STS); octeon_spi_wait_ready() 88 cvmx_write_csr(p->register_base + OCTEON_SPI_CFG, mpi_cfg.u64); octeon_spi_do_transfer() 100 cvmx_write_csr(p->register_base + OCTEON_SPI_DAT0 + (8 * i), d); octeon_spi_do_transfer() 107 cvmx_write_csr(p->register_base + OCTEON_SPI_TX, mpi_tx.u64); octeon_spi_do_transfer() 112 u64 v = cvmx_read_csr(p->register_base + OCTEON_SPI_DAT0 + (8 * i)); octeon_spi_do_transfer() 124 cvmx_write_csr(p->register_base + OCTEON_SPI_DAT0 + (8 * i), d); octeon_spi_do_transfer() 135 cvmx_write_csr(p->register_base + OCTEON_SPI_TX, mpi_tx.u64); octeon_spi_do_transfer() 140 u64 v = cvmx_read_csr(p->register_base + OCTEON_SPI_DAT0 + (8 * i)); octeon_spi_do_transfer() 200 p->register_base = (u64)devm_ioremap(&pdev->dev, res_mem->start, octeon_spi_probe() 233 u64 register_base = p->register_base; octeon_spi_remove() local 236 cvmx_write_csr(register_base + OCTEON_SPI_CFG, 0); octeon_spi_remove()
|
/linux-4.4.14/drivers/net/phy/ |
H A D | mdio-octeon.c | 112 u64 register_base; member in struct:octeon_mdiobus 142 smi_clk.u64 = oct_mdio_readq(p->register_base + SMI_CLK); octeon_mdiobus_set_mode() 145 oct_mdio_writeq(smi_clk.u64, p->register_base + SMI_CLK); octeon_mdiobus_set_mode() 160 oct_mdio_writeq(smi_wr.u64, p->register_base + SMI_WR_DAT); octeon_mdiobus_c45_addr() 168 oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); octeon_mdiobus_c45_addr() 175 smi_wr.u64 = oct_mdio_readq(p->register_base + SMI_WR_DAT); octeon_mdiobus_c45_addr() 207 oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); octeon_mdiobus_read() 214 smi_rd.u64 = oct_mdio_readq(p->register_base + SMI_RD_DAT); octeon_mdiobus_read() 246 oct_mdio_writeq(smi_wr.u64, p->register_base + SMI_WR_DAT); octeon_mdiobus_write() 252 oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); octeon_mdiobus_write() 259 smi_wr.u64 = oct_mdio_readq(p->register_base + SMI_WR_DAT); octeon_mdiobus_write() 294 bus->register_base = octeon_mdiobus_probe() 296 if (!bus->register_base) { octeon_mdiobus_probe() 307 oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); octeon_mdiobus_probe() 312 snprintf(bus->mii_bus->id, MII_BUS_ID_SIZE, "%llx", bus->register_base); octeon_mdiobus_probe() 331 oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); octeon_mdiobus_probe() 345 oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); octeon_mdiobus_remove()
|
/linux-4.4.14/drivers/gpio/ |
H A D | gpio-octeon.c | 39 u64 register_base; member in struct:octeon_gpio 46 cvmx_write_csr(gpio->register_base + bit_cfg_reg(offset), 0); octeon_gpio_dir_in() 54 u64 reg = gpio->register_base + (value ? TX_SET : TX_CLEAR); octeon_gpio_set() 69 cvmx_write_csr(gpio->register_base + bit_cfg_reg(offset), cfgx.u64); octeon_gpio_dir_out() 76 u64 read_bits = cvmx_read_csr(gpio->register_base + RX_DAT); octeon_gpio_get() 106 gpio->register_base = (u64)devm_ioremap(&pdev->dev, res_mem->start, octeon_gpio_probe()
|
/linux-4.4.14/arch/x86/math-emu/ |
H A D | fpu_emu.h | 144 #define register_base ((u_char *) registers ) macro 145 #define fpu_register(x) ( * ((FPU_REG *)( register_base + 10 * (x & 7) )) ) 146 #define st(x) ( * ((FPU_REG *)( register_base + 10 * ((top+x) & 7) )) )
|
H A D | reg_ld_str.c | 1128 __copy_from_user(register_base + offset, s, other); frstor() 1130 __copy_from_user(register_base, s + other, offset); frstor() 1209 if (__copy_to_user(d, register_base + offset, other)) fsave() 1212 if (__copy_to_user(d + other, register_base, offset)) fsave()
|
Completed in 197 milliseconds