Lines Matching refs:mmio_read_32

54 	while ((mmio_read_32(reg_base + HC_COMMAND) & HC_CMD_ENABLE)  in rpi3_sdhost_waitcommand()
79 status = mmio_read_32(reg_base + HC_HOSTSTATUS); in send_command_raw()
142 while (mmio_read_32(reg_base + HC_HOSTSTATUS) & HC_HSTST_HAVEDATA) { in rpi3_drain_fifo()
143 mmio_read_32(reg_base + HC_DATAPORT); in rpi3_drain_fifo()
150 edm = mmio_read_32(reg_base + HC_DEBUG); in rpi3_drain_fifo()
181 mmio_read_32(reg_base + HC_COMMAND)); in rpi3_sdhost_print_regs()
183 mmio_read_32(reg_base + HC_ARGUMENT)); in rpi3_sdhost_print_regs()
185 mmio_read_32(reg_base + HC_TIMEOUTCOUNTER)); in rpi3_sdhost_print_regs()
187 mmio_read_32(reg_base + HC_CLOCKDIVISOR)); in rpi3_sdhost_print_regs()
189 mmio_read_32(reg_base + HC_RESPONSE_0)); in rpi3_sdhost_print_regs()
191 mmio_read_32(reg_base + HC_RESPONSE_1)); in rpi3_sdhost_print_regs()
193 mmio_read_32(reg_base + HC_RESPONSE_2)); in rpi3_sdhost_print_regs()
195 mmio_read_32(reg_base + HC_RESPONSE_3)); in rpi3_sdhost_print_regs()
197 mmio_read_32(reg_base + HC_HOSTSTATUS)); in rpi3_sdhost_print_regs()
199 mmio_read_32(reg_base + HC_POWER)); in rpi3_sdhost_print_regs()
201 mmio_read_32(reg_base + HC_DEBUG)); in rpi3_sdhost_print_regs()
203 mmio_read_32(reg_base + HC_HOSTCONFIG)); in rpi3_sdhost_print_regs()
205 mmio_read_32(reg_base + HC_BLOCKSIZE)); in rpi3_sdhost_print_regs()
207 mmio_read_32(reg_base + HC_BLOCKCOUNT)); in rpi3_sdhost_print_regs()
230 dbg = mmio_read_32(reg_base + HC_DEBUG); in rpi3_sdhost_reset()
242 tmp1 = mmio_read_32(reg_base + HC_HOSTCONFIG); in rpi3_sdhost_reset()
342 intmask = mmio_read_32(reg_base + HC_HOSTSTATUS); in rpi3_sdhost_send_cmd()
354 cmd->resp_data[0] = mmio_read_32(reg_base + HC_RESPONSE_0); in rpi3_sdhost_send_cmd()
355 cmd->resp_data[1] = mmio_read_32(reg_base + HC_RESPONSE_1); in rpi3_sdhost_send_cmd()
356 cmd->resp_data[2] = mmio_read_32(reg_base + HC_RESPONSE_2); in rpi3_sdhost_send_cmd()
357 cmd->resp_data[3] = mmio_read_32(reg_base + HC_RESPONSE_3); in rpi3_sdhost_send_cmd()
359 if (mmio_read_32(reg_base + HC_COMMAND) & HC_CMD_FAILED) { in rpi3_sdhost_send_cmd()
360 uint32_t sdhsts = mmio_read_32(reg_base + HC_HOSTSTATUS); in rpi3_sdhost_send_cmd()
377 mmio_read_32(reg_base + HC_COMMAND)); in rpi3_sdhost_send_cmd()
439 tmp1 = mmio_read_32(reg_base + HC_HOSTCONFIG); in rpi3_sdhost_set_ios()
445 tmp1 = mmio_read_32(reg_base + HC_HOSTCONFIG); in rpi3_sdhost_set_ios()
488 while ((mmio_read_32(reg_base + HC_HOSTSTATUS) in rpi3_sdhost_read()
502 uint32_t data = mmio_read_32(reg_base + HC_DATAPORT); in rpi3_sdhost_read()
504 hsts_err = mmio_read_32(reg_base + HC_HOSTSTATUS) in rpi3_sdhost_read()
509 mmio_read_32(reg_base + HC_HOSTSTATUS)); in rpi3_sdhost_read()
522 remaining_words = (mmio_read_32(reg_base + HC_DEBUG) >> 4) in rpi3_sdhost_read()
556 dbg = mmio_read_32(reg_base + HC_DEBUG); in rpi3_sdhost_write()
564 hsts_err = mmio_read_32(reg_base + HC_HOSTSTATUS) in rpi3_sdhost_write()
571 remaining_words = (mmio_read_32(reg_base + HC_DEBUG) >> 4) in rpi3_sdhost_write()