31 unsigned long dest_rem = ((
unsigned long) dest) % 0x4000;
34 pr_debug(
"Invalid param: %d is not a valid card id\n", card);
56 ((
sc_adapter[card]->shmem_magic + ch * SRAM_PAGESIZE) >> 14) | 0x80);
57 pr_debug(
"%s: copying %zu bytes from %#lx to %#lx\n",
60 sc_adapter[card]->rambase + ((
unsigned long) dest % 0x4000));
72 pr_debug(
"Invalid param: %d is not a valid card id\n", card);
95 ((
unsigned long) src % 0x4000)), n);
98 ((
sc_adapter[card]->shmem_magic + ch * SRAM_PAGESIZE) >> 14) | 0x80);
105 void memset_shmem(
int card,
void *
dest,
int c,
size_t n)
111 pr_debug(
"Invalid param: %d is not a valid card id\n", card);
133 ((
unsigned long) dest % 0x4000), c, n);
136 spin_unlock_irqrestore(&
sc_adapter[card]->lock, flags);