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,309 static u32 ns_read_sram(ns_dev * card, u32 sram_address) in ns_read_sram() argument313 sram_address <<= 2; in ns_read_sram()314 sram_address &= 0x0007FFFC; /* address must be dword aligned */ in ns_read_sram()315 sram_address |= 0x50000000; /* SRAM read command */ in ns_read_sram()318 writel(sram_address, card->membase + CMD); in ns_read_sram()325 static void ns_write_sram(ns_dev * card, u32 sram_address, u32 * value, in ns_write_sram() argument339 sram_address <<= 2; in ns_write_sram()340 sram_address &= 0x0007FFFC; in ns_write_sram()[all …]
248 u64 sram_address; member