Lines Matching defs:mlx
311 mlx_inb(struct mlx_softc *mlx, int off)
314 bus_space_barrier(mlx->mlx_iot, mlx->mlx_ioh, off, 1,
316 return (bus_space_read_1(mlx->mlx_iot, mlx->mlx_ioh, off));
320 mlx_inw(struct mlx_softc *mlx, int off)
323 bus_space_barrier(mlx->mlx_iot, mlx->mlx_ioh, off, 2,
325 return (bus_space_read_2(mlx->mlx_iot, mlx->mlx_ioh, off));
329 mlx_inl(struct mlx_softc *mlx, int off)
332 bus_space_barrier(mlx->mlx_iot, mlx->mlx_ioh, off, 4,
334 return (bus_space_read_4(mlx->mlx_iot, mlx->mlx_ioh, off));
338 mlx_outb(struct mlx_softc *mlx, int off, u_int8_t val)
341 bus_space_write_1(mlx->mlx_iot, mlx->mlx_ioh, off, val);
342 bus_space_barrier(mlx->mlx_iot, mlx->mlx_ioh, off, 1,
347 mlx_outw(struct mlx_softc *mlx, int off, u_int16_t val)
350 bus_space_write_2(mlx->mlx_iot, mlx->mlx_ioh, off, val);
351 bus_space_barrier(mlx->mlx_iot, mlx->mlx_ioh, off, 2,
356 mlx_outl(struct mlx_softc *mlx, int off, u_int32_t val)
359 bus_space_write_4(mlx->mlx_iot, mlx->mlx_ioh, off, val);
360 bus_space_barrier(mlx->mlx_iot, mlx->mlx_ioh, off, 4,