Lines Matching refs:hif_addr
91 u32 hif_addr = 0, data, count = 4; in mantis_hif_read_mem() local
95 hif_addr &= ~MANTIS_GPIF_PCMCIAREG; in mantis_hif_read_mem()
96 hif_addr &= ~MANTIS_GPIF_PCMCIAIOM; in mantis_hif_read_mem()
97 hif_addr |= MANTIS_HIF_STATUS; in mantis_hif_read_mem()
98 hif_addr |= addr; in mantis_hif_read_mem()
100 mmwrite(hif_addr, MANTIS_GPIF_BRADDR); in mantis_hif_read_mem()
103 mmwrite(hif_addr | MANTIS_GPIF_HIFRDWRN, MANTIS_GPIF_ADDR); in mantis_hif_read_mem()
120 u32 hif_addr = 0; in mantis_hif_write_mem() local
124 hif_addr &= ~MANTIS_GPIF_HIFRDWRN; in mantis_hif_write_mem()
125 hif_addr &= ~MANTIS_GPIF_PCMCIAREG; in mantis_hif_write_mem()
126 hif_addr &= ~MANTIS_GPIF_PCMCIAIOM; in mantis_hif_write_mem()
127 hif_addr |= MANTIS_HIF_STATUS; in mantis_hif_write_mem()
128 hif_addr |= addr; in mantis_hif_write_mem()
131 mmwrite(hif_addr, MANTIS_GPIF_ADDR); in mantis_hif_write_mem()
148 u32 data, hif_addr = 0; in mantis_hif_read_iom() local
152 hif_addr &= ~MANTIS_GPIF_PCMCIAREG; in mantis_hif_read_iom()
153 hif_addr |= MANTIS_GPIF_PCMCIAIOM; in mantis_hif_read_iom()
154 hif_addr |= MANTIS_HIF_STATUS; in mantis_hif_read_iom()
155 hif_addr |= addr; in mantis_hif_read_iom()
157 mmwrite(hif_addr, MANTIS_GPIF_BRADDR); in mantis_hif_read_iom()
160 mmwrite(hif_addr | MANTIS_GPIF_HIFRDWRN, MANTIS_GPIF_ADDR); in mantis_hif_read_iom()
178 u32 hif_addr = 0; in mantis_hif_write_iom() local
182 hif_addr &= ~MANTIS_GPIF_PCMCIAREG; in mantis_hif_write_iom()
183 hif_addr &= ~MANTIS_GPIF_HIFRDWRN; in mantis_hif_write_iom()
184 hif_addr |= MANTIS_GPIF_PCMCIAIOM; in mantis_hif_write_iom()
185 hif_addr |= MANTIS_HIF_STATUS; in mantis_hif_write_iom()
186 hif_addr |= addr; in mantis_hif_write_iom()
188 mmwrite(hif_addr, MANTIS_GPIF_ADDR); in mantis_hif_write_iom()