Lines Matching refs:sram
111 void __iomem *sram; member
315 iowrite32be(op, master->sram + CMD_STAT_REG); in do_copro_command()
328 stat = ioread8(master->sram + CMD_STAT_REG); in do_copro_command()
366 iowrite32be((cmd->msg >> 32), master->sram + CMD_DATA); in send_request()
367 iowrite32be((cmd->msg & 0xffffffff), master->sram + CMD_DATA + 4); in send_request()
380 uint8_t rtag = ioread8(master->sram + STAT_RTAG) & 0xf; in read_copro_response()
381 uint8_t rcrc = ioread8(master->sram + STAT_RCRC) & 0xf; in read_copro_response()
392 rdata = ioread32be(master->sram + RSP_DATA); in read_copro_response()
448 ioread32be(master->sram + CMD_STAT_REG), in dump_ucode_trace()
449 ioread8(master->sram + STAT_RTAG), in dump_ucode_trace()
450 ioread8(master->sram + STAT_RCRC), in dump_ucode_trace()
451 ioread32be(master->sram + RSP_DATA), in dump_ucode_trace()
452 ioread32be(master->sram + INT_CNT)); in dump_ucode_trace()
458 v = ioread8(master->sram + TRACEBUF + i); in dump_ucode_trace()
937 memset_io(master->sram, 0, SRAM_SIZE); in fsi_master_acf_setup()
970 val = ioread8(master->sram + CF_STARTED); in fsi_master_acf_setup()
982 iowrite8(master->t_send_delay, master->sram + SEND_DLY_REG); in fsi_master_acf_setup()
983 iowrite8(master->t_echo_delay, master->sram + ECHO_DLY_REG); in fsi_master_acf_setup()
1019 iowrite32(0, master->sram + CF_STARTED); in fsi_master_acf_terminate()
1024 iowrite8(ARB_ARM_ACK, master->sram + ARB_REG); in fsi_master_acf_terminate()
1074 iowrite8(master->t_send_delay, master->sram + SEND_DLY_REG); in fsi_master_acf_link_config()
1075 iowrite8(master->t_echo_delay, master->sram + ECHO_DLY_REG); in fsi_master_acf_link_config()
1137 iowrite8(ARB_ARM_REQ, master->sram + ARB_REG); in fsi_master_acf_gpio_request()
1151 if (ioread32(master->sram + CF_STARTED) == 0) { in fsi_master_acf_gpio_request()
1164 val = ioread8(master->sram + ARB_REG); in fsi_master_acf_gpio_request()
1182 iowrite8(0, master->sram + ARB_REG); in fsi_master_acf_gpio_release()
1202 gen_pool_free(master->sram_pool, (unsigned long)master->sram, SRAM_SIZE); in fsi_master_acf_release()
1349 master->sram = (void __iomem *)gen_pool_alloc_algo(master->sram_pool, SRAM_SIZE, in fsi_master_acf_probe()
1351 if (!master->sram) { in fsi_master_acf_probe()
1358 (unsigned long)master->sram)); in fsi_master_acf_probe()
1405 gen_pool_free(master->sram_pool, (unsigned long)master->sram, SRAM_SIZE); in fsi_master_acf_probe()