9 #include <linux/kernel.h>
10 #include <linux/module.h>
23 static int is_valid_cs(
unsigned int cs)
46 if (size < 8 * 1024 || size > 256 * 1024 * 1024)
55 spin_unlock_irqrestore(&bcm63xx_cs_lock, flags);
66 unsigned int setup,
unsigned int hold)
83 spin_unlock_irqrestore(&bcm63xx_cs_lock, flags);
115 spin_unlock_irqrestore(&bcm63xx_cs_lock, flags);
130 if (!is_valid_cs(cs))
140 spin_unlock_irqrestore(&bcm63xx_cs_lock, flags);