Lines Matching refs:hif_addr
80 u32 hif_addr = 0, data, count = 4; in mantis_hif_read_mem() local
84 hif_addr &= ~MANTIS_GPIF_PCMCIAREG; in mantis_hif_read_mem()
85 hif_addr &= ~MANTIS_GPIF_PCMCIAIOM; in mantis_hif_read_mem()
86 hif_addr |= MANTIS_HIF_STATUS; in mantis_hif_read_mem()
87 hif_addr |= addr; in mantis_hif_read_mem()
89 mmwrite(hif_addr, MANTIS_GPIF_BRADDR); in mantis_hif_read_mem()
92 mmwrite(hif_addr | MANTIS_GPIF_HIFRDWRN, MANTIS_GPIF_ADDR); in mantis_hif_read_mem()
109 u32 hif_addr = 0; in mantis_hif_write_mem() local
113 hif_addr &= ~MANTIS_GPIF_HIFRDWRN; in mantis_hif_write_mem()
114 hif_addr &= ~MANTIS_GPIF_PCMCIAREG; in mantis_hif_write_mem()
115 hif_addr &= ~MANTIS_GPIF_PCMCIAIOM; in mantis_hif_write_mem()
116 hif_addr |= MANTIS_HIF_STATUS; in mantis_hif_write_mem()
117 hif_addr |= addr; in mantis_hif_write_mem()
120 mmwrite(hif_addr, MANTIS_GPIF_ADDR); in mantis_hif_write_mem()
137 u32 data, hif_addr = 0; in mantis_hif_read_iom() local
141 hif_addr &= ~MANTIS_GPIF_PCMCIAREG; in mantis_hif_read_iom()
142 hif_addr |= MANTIS_GPIF_PCMCIAIOM; in mantis_hif_read_iom()
143 hif_addr |= MANTIS_HIF_STATUS; in mantis_hif_read_iom()
144 hif_addr |= addr; in mantis_hif_read_iom()
146 mmwrite(hif_addr, MANTIS_GPIF_BRADDR); in mantis_hif_read_iom()
149 mmwrite(hif_addr | MANTIS_GPIF_HIFRDWRN, MANTIS_GPIF_ADDR); in mantis_hif_read_iom()
167 u32 hif_addr = 0; in mantis_hif_write_iom() local
171 hif_addr &= ~MANTIS_GPIF_PCMCIAREG; in mantis_hif_write_iom()
172 hif_addr &= ~MANTIS_GPIF_HIFRDWRN; in mantis_hif_write_iom()
173 hif_addr |= MANTIS_GPIF_PCMCIAIOM; in mantis_hif_write_iom()
174 hif_addr |= MANTIS_HIF_STATUS; in mantis_hif_write_iom()
175 hif_addr |= addr; in mantis_hif_write_iom()
177 mmwrite(hif_addr, MANTIS_GPIF_ADDR); in mantis_hif_write_iom()