Searched refs:register_base (Results 1 – 13 of 13) sorted by relevance
/linux-6.3-rc2/drivers/net/mdio/ |
A D | mdio-cavium.c | 21 smi_clk.u64 = oct_mdio_readq(p->register_base + SMI_CLK); in cavium_mdiobus_set_mode() 24 oct_mdio_writeq(smi_clk.u64, p->register_base + SMI_CLK); in cavium_mdiobus_set_mode() 39 oct_mdio_writeq(smi_wr.u64, p->register_base + SMI_WR_DAT); in cavium_mdiobus_c45_addr() 45 oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); in cavium_mdiobus_c45_addr() 52 smi_wr.u64 = oct_mdio_readq(p->register_base + SMI_WR_DAT); in cavium_mdiobus_c45_addr() 73 oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); in cavium_mdiobus_read_c22() 80 smi_rd.u64 = oct_mdio_readq(p->register_base + SMI_RD_DAT); in cavium_mdiobus_read_c22() 107 oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); in cavium_mdiobus_read_c45() 136 oct_mdio_writeq(smi_wr.u64, p->register_base + SMI_WR_DAT); in cavium_mdiobus_write_c22() 142 oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); in cavium_mdiobus_write_c22() [all …]
|
A D | mdio-octeon.c | 47 bus->register_base = devm_ioremap(&pdev->dev, mdio_phys, regsize); in octeon_mdiobus_probe() 48 if (!bus->register_base) { in octeon_mdiobus_probe() 55 oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); in octeon_mdiobus_probe() 58 snprintf(bus->mii_bus->id, MII_BUS_ID_SIZE, "%px", bus->register_base); in octeon_mdiobus_probe() 77 oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); in octeon_mdiobus_probe() 90 oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); in octeon_mdiobus_remove()
|
A D | mdio-thunder.c | 87 bus->register_base = nexus->bar0 + in thunder_mdiobus_pci_probe() 92 oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); in thunder_mdiobus_pci_probe() 131 oct_mdio_writeq(0, bus->register_base + SMI_EN); in thunder_mdiobus_pci_remove()
|
A D | mdio-cavium.h | 93 void __iomem *register_base; member
|
/linux-6.3-rc2/drivers/gpio/ |
A D | gpio-thunderx.c | 54 u8 __iomem *register_base; member 113 txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_dir_in() 125 void __iomem *reg = txgpio->register_base + in thunderx_gpio_set() 150 writeq(bit_cfg, txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_dir_out() 169 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_get_direction() 199 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_set_config() 293 txgpio->register_base + intr_reg(irqd_to_hwirq(d))); in thunderx_gpio_irq_ack() 302 txgpio->register_base + intr_reg(irqd_to_hwirq(d))); in thunderx_gpio_irq_mask() 453 txgpio->register_base = tbl[0]; in thunderx_gpio_probe() 454 if (!txgpio->register_base) { in thunderx_gpio_probe() [all …]
|
A D | gpio-octeon.c | 39 u64 register_base; member 46 cvmx_write_csr(gpio->register_base + bit_cfg_reg(offset), 0); in octeon_gpio_dir_in() 54 u64 reg = gpio->register_base + (value ? TX_SET : TX_CLEAR); in octeon_gpio_set() 69 cvmx_write_csr(gpio->register_base + bit_cfg_reg(offset), cfgx.u64); in octeon_gpio_dir_out() 76 u64 read_bits = cvmx_read_csr(gpio->register_base + RX_DAT); in octeon_gpio_get() 97 gpio->register_base = (u64)reg_base; in octeon_gpio_probe()
|
/linux-6.3-rc2/drivers/spi/ |
A D | spi-cavium.c | 24 mpi_sts.u64 = readq(p->register_base + OCTEON_SPI_STS(p)); in octeon_spi_wait_ready() 66 writeq(mpi_cfg.u64, p->register_base + OCTEON_SPI_CFG(p)); in octeon_spi_do_transfer() 78 writeq(d, p->register_base + OCTEON_SPI_DAT0(p) + (8 * i)); in octeon_spi_do_transfer() 85 writeq(mpi_tx.u64, p->register_base + OCTEON_SPI_TX(p)); in octeon_spi_do_transfer() 90 u64 v = readq(p->register_base + OCTEON_SPI_DAT0(p) + (8 * i)); in octeon_spi_do_transfer() 102 writeq(d, p->register_base + OCTEON_SPI_DAT0(p) + (8 * i)); in octeon_spi_do_transfer() 113 writeq(mpi_tx.u64, p->register_base + OCTEON_SPI_TX(p)); in octeon_spi_do_transfer() 118 u64 v = readq(p->register_base + OCTEON_SPI_DAT0(p) + (8 * i)); in octeon_spi_do_transfer()
|
A D | spi-cavium-thunderx.c | 41 p->register_base = pcim_iomap(pdev, 0, pci_resource_len(pdev, 0)); in thunderx_spi_probe() 42 if (!p->register_base) { in thunderx_spi_probe() 103 writeq(0, p->register_base + OCTEON_SPI_CFG(p)); in thunderx_spi_remove()
|
A D | spi-cavium-octeon.c | 38 p->register_base = reg_base; in octeon_spi_probe() 78 writeq(0, p->register_base + OCTEON_SPI_CFG(p)); in octeon_spi_remove()
|
A D | spi-cavium.h | 18 void __iomem *register_base; member
|
/linux-6.3-rc2/arch/x86/math-emu/ |
A D | fpu_emu.h | 145 #define register_base ((u_char *) registers ) macro 146 #define fpu_register(x) ( * ((FPU_REG *)( register_base + 10 * (x & 7) )) ) 147 #define st(x) ( * ((FPU_REG *)( register_base + 10 * ((top+x) & 7) )) )
|
A D | reg_ld_str.c | 1129 FPU_copy_from_user(register_base + offset, s, other); in FPU_frstor() 1131 FPU_copy_from_user(register_base, s + other, offset); in FPU_frstor() 1210 if (__copy_to_user(d, register_base + offset, other)) in fsave() 1213 if (__copy_to_user(d + other, register_base, offset)) in fsave()
|
/linux-6.3-rc2/drivers/scsi/aic7xxx/ |
A D | aic79xx.reg | 3567 * Reading this register is equivalent to reading (register_base + SINDEX) and 3578 * Writing this register is equivalent to writing to (register_base + DINDEX)
|
Completed in 21 milliseconds