Lines Matching defs:offs
191 * @offs: register address offset from the IP block base address
195 * @v to the IP block register address offset @offs. This function is
200 static void __ssp_early_writel(u32 v, u16 offs, struct uart_port *port)
202 writel_relaxed(v, port->membase + offs);
208 * @offs: register address offset from the IP block base address
211 * contents of the IP block register located at offset @offs from the
220 static u32 __ssp_early_readl(struct uart_port *port, u16 offs)
222 return readl_relaxed(port->membase + offs);
228 * @offs: register address offset from the IP block base address
231 * Write the value @v to the IP block register located at offset @offs from the
236 static void __ssp_writel(u32 v, u16 offs, struct sifive_serial_port *ssp)
238 __ssp_early_writel(v, offs, &ssp->port);
244 * @offs: register address offset from the IP block base address
246 * Read the contents of the IP block register located at offset @offs from the
253 static u32 __ssp_readl(struct sifive_serial_port *ssp, u16 offs)
255 return __ssp_early_readl(&ssp->port, offs);