Searched refs:SRAM_PAGESIZE (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/drivers/isdn/sc/ |
D | shmem.c | 38 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 …]
|
D | init.c | 166 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()
|
D | hardware.h | 70 #define SRAM_PAGESIZE 0x4000 /* Size of one RAM page (16K) */ macro
|