Home
last modified time | relevance | path

Searched refs:uart_regofs (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/uart/
H A Duart.h51 #define uart_regofs(bas, reg) ((reg) << (bas)->regshft) macro
62 ret = bus_space_read_8(bas->bst, bas->bsh, uart_regofs(bas, reg)); in uart_getreg()
66 ret = bus_space_read_4(bas->bst, bas->bsh, uart_regofs(bas, reg)); in uart_getreg()
69 ret = bus_space_read_2(bas->bst, bas->bsh, uart_regofs(bas, reg)); in uart_getreg()
72 ret = bus_space_read_1(bas->bst, bas->bsh, uart_regofs(bas, reg)); in uart_getreg()
86 bus_space_write_8(bas->bst, bas->bsh, uart_regofs(bas, reg), value); in uart_setreg()
90 bus_space_write_4(bas->bst, bas->bsh, uart_regofs(bas, reg), value); in uart_setreg()
93 bus_space_write_2(bas->bst, bas->bsh, uart_regofs(bas, reg), value); in uart_setreg()
96 bus_space_write_1(bas->bst, bas->bsh, uart_regofs(bas, reg), value); in uart_setreg()
H A Duart_dev_mu.c127 bus_space_read_4((bas)->bst, (bas)->bsh, uart_regofs(bas, reg))
129 bus_space_write_4((bas)->bst, (bas)->bsh, uart_regofs(bas, reg), value)
H A Duart_dev_pl011.c148 bus_space_read_4((bas)->bst, (bas)->bsh, uart_regofs(bas, reg))
150 bus_space_write_4((bas)->bst, (bas)->bsh, uart_regofs(bas, reg), value)
/freebsd/sys/arm/xilinx/
H A Duart_dev_cdnc.c55 bus_space_read_4((bas)->bst, (bas)->bsh, uart_regofs((bas), (reg)))
57 bus_space_write_4((bas)->bst, (bas)->bsh, uart_regofs((bas), (reg)), \