Searched refs:sram_address (Results 1 – 1 of 1) sorted by relevance
212 static u32 ns_read_sram(ns_dev *card, u32 sram_address);213 static void ns_write_sram(ns_dev *card, u32 sram_address, u32 *value, int count);424 static u32 ns_read_sram(ns_dev *card, u32 sram_address) in ns_read_sram() argument428 sram_address <<= 2; in ns_read_sram()429 sram_address &= 0x0007FFFC; /* address must be dword aligned */ in ns_read_sram()430 sram_address |= 0x50000000; /* SRAM read command */ in ns_read_sram()433 writel(sram_address, card->membase + CMD); in ns_read_sram()442 static void ns_write_sram(ns_dev *card, u32 sram_address, u32 *value, int count) in ns_write_sram() argument455 sram_address <<= 2; in ns_write_sram()456 sram_address &= 0x0007FFFC; in ns_write_sram()[all …]