summaryrefslogtreecommitdiff
path: root/irq.h
blob: 005e22418b38976242987f578e06594485189d2b (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef IRQ_H
#define IRQ_H

extern int device_irq_number(const char *ifname);
extern void device_restore_irq_affinity_list(void);
extern int device_set_irq_affinity_list(int irq, unsigned long from,
					unsigned long to);
extern int device_set_irq_affinity(int irq, unsigned long cpu);

#endif /* IRQ_H */
d>mode:
authorThor Thayer <tthayer@opensource.altera.com>2016-10-10 09:25:24 -0500
committerMark Brown <broonie@kernel.org>2016-10-21 12:09:30 +0100
commit8eee6b9dd30d5b20a4c31886057a68bb6a2736c9 (patch)
tree8d10e86d7f5575015b7316619369d75a70b831a6 /Documentation
parent1001354ca34179f3db924eb66672442a173147dc (diff)
spi: Add Flag to Enable Slave Select with GPIO Chip Select.
Some SPI masters require slave selection before the transfer can begin [1]. The SPI framework currently selects the chip using either 1) the internal CS mechanism or 2) the GPIO CS, but not both. This patch adds a new master->flags define to indicate both the GPIO CS and the internal chip select mechanism should be used. Tested On: Altera CycloneV development kit Compile tested for build errors on x86_64 (allyesconfigs) [1] DesignWare dw_apb_ssi Databook, Version 3.20a (page 39) Signed-off-by: Thor Thayer <tthayer@opensource.altera.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')