Lines Matching defs:offs
180 * @offs: register address offset from the IP block base address
184 * @v to the IP block register address offset @offs. This function is
189 static void __ssp_early_writel(u32 v, u16 offs, struct uart_port *port)
191 writel_relaxed(v, port->membase + offs);
197 * @offs: register address offset from the IP block base address
200 * contents of the IP block register located at offset @offs from the
209 static u32 __ssp_early_readl(struct uart_port *port, u16 offs)
211 return readl_relaxed(port->membase + offs);
217 * @offs: register address offset from the IP block base address
220 * Write the value @v to the IP block register located at offset @offs from the
225 static void __ssp_writel(u32 v, u16 offs, struct sifive_serial_port *ssp)
227 __ssp_early_writel(v, offs, &ssp->port);
233 * @offs: register address offset from the IP block base address
235 * Read the contents of the IP block register located at offset @offs from the
242 static u32 __ssp_readl(struct sifive_serial_port *ssp, u16 offs)
244 return __ssp_early_readl(&ssp->port, offs);