Lines Matching refs:mmio_nvram_len
21 static long mmio_nvram_len; variable
28 if (*index >= mmio_nvram_len) in mmio_nvram_read()
30 if (*index + count > mmio_nvram_len) in mmio_nvram_read()
31 count = mmio_nvram_len - *index; in mmio_nvram_read()
48 if (addr >= mmio_nvram_len) in mmio_nvram_read_val()
64 if (*index >= mmio_nvram_len) in mmio_nvram_write()
66 if (*index + count > mmio_nvram_len) in mmio_nvram_write()
67 count = mmio_nvram_len - *index; in mmio_nvram_write()
83 if (addr < mmio_nvram_len) { in mmio_nvram_write_val()
94 return mmio_nvram_len; in mmio_nvram_get_size()
119 mmio_nvram_len = resource_size(&r); in mmio_nvram_init()
120 if ( (!mmio_nvram_len) || (!nvram_addr) ) { in mmio_nvram_init()
126 mmio_nvram_start = ioremap(nvram_addr, mmio_nvram_len); in mmio_nvram_init()
134 mmio_nvram_len >> 10, nvram_addr, mmio_nvram_start); in mmio_nvram_init()