Searched refs:sram_address (Results 1 – 2 of 2) sorted by relevance
120 static u32 ns_read_sram(ns_dev * card, u32 sram_address);121 static void ns_write_sram(ns_dev * card, u32 sram_address, u32 * value,307 static u32 ns_read_sram(ns_dev * card, u32 sram_address) in ns_read_sram() argument311 sram_address <<= 2; in ns_read_sram()312 sram_address &= 0x0007FFFC; /* address must be dword aligned */ in ns_read_sram()313 sram_address |= 0x50000000; /* SRAM read command */ in ns_read_sram()316 writel(sram_address, card->membase + CMD); in ns_read_sram()323 static void ns_write_sram(ns_dev * card, u32 sram_address, u32 * value, in ns_write_sram() argument337 sram_address <<= 2; in ns_write_sram()338 sram_address &= 0x0007FFFC; in ns_write_sram()[all …]
249 u64 sram_address; member