Home
last modified time | relevance | path

Searched refs:SRAM_PAGESIZE (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/isdn/sc/
Dshmem.c38 if (n > SRAM_PAGESIZE) in memcpy_toshmem()
44 ch = (unsigned long) dest / SRAM_PAGESIZE; in memcpy_toshmem()
51 outb(((sc_adapter[card]->shmem_magic + ch * SRAM_PAGESIZE) >> 14) | 0x80, in memcpy_toshmem()
56 ((sc_adapter[card]->shmem_magic + ch * SRAM_PAGESIZE) >> 14) | 0x80); in memcpy_toshmem()
76 if (n > SRAM_PAGESIZE) { in memcpy_fromshmem()
83 ch = (unsigned long) src / SRAM_PAGESIZE; in memcpy_fromshmem()
92 outb(((sc_adapter[card]->shmem_magic + ch * SRAM_PAGESIZE) >> 14) | 0x80, in memcpy_fromshmem()
98 ((sc_adapter[card]->shmem_magic + ch * SRAM_PAGESIZE) >> 14) | 0x80); in memcpy_fromshmem()
115 if (n > SRAM_PAGESIZE) {
122 ch = (unsigned long) dest / SRAM_PAGESIZE;
[all …]
Dinit.c166 if (request_region(ram[b], SRAM_PAGESIZE, "sc test")) { in sc_init()
169 release_region(ram[b], SRAM_PAGESIZE); in sc_init()
176 for (i = SRAM_MIN; i < SRAM_MAX; i += SRAM_PAGESIZE) { in sc_init()
178 if (request_region(i, SRAM_PAGESIZE, "sc test")) { in sc_init()
181 release_region(i, SRAM_PAGESIZE); in sc_init()
360 request_region(sc_adapter[cinst]->rambase, SRAM_PAGESIZE, in sc_init()
402 release_region(sc_adapter[i]->rambase, SRAM_PAGESIZE); in sc_exit()
Dhardware.h70 #define SRAM_PAGESIZE 0x4000 /* Size of one RAM page (16K) */ macro