Searched refs:TCIC_WR_MCTL_N (Results 1 – 2 of 2) sorted by relevance
/openbsd/sys/dev/ic/ |
H A D | tcic2.c | 871 reg = tcic_read_ind_2(h, TCIC_WR_MCTL_N(hwwin)) & TCIC_MCTL_WSCNT_MASK; in tcic_chip_do_mem_map() 886 reg2 = tcic_read_ind_2(h, TCIC_WR_MCTL_N(7-hwwin)); in tcic_chip_do_mem_map() 889 tcic_write_ind_2(h, TCIC_WR_MCTL_N(7-hwwin), reg2); in tcic_chip_do_mem_map() 893 tcic_write_ind_2(h, TCIC_WR_MCTL_N(hwwin), reg); in tcic_chip_do_mem_map() 901 r3 = tcic_read_ind_2(h, TCIC_WR_MCTL_N(hwwin)); in tcic_chip_do_mem_map() 988 reg = tcic_read_ind_2(h, TCIC_WR_MCTL_N(hwwin)); in tcic_chip_mem_unmap() 990 tcic_write_ind_2(h, TCIC_WR_MCTL_N(hwwin), reg); in tcic_chip_mem_unmap()
|
H A D | tcic2reg.h | 83 #define TCIC_WR_MCTL_N(n) ((TCIC_WR_MEM_BASE+((n)<<TCIC_WR_MEM_SHFT))+6) macro
|