Home
last modified time | relevance | path

Searched refs:spi (Results 1 – 25 of 220) sorted by relevance

123456789

/arch/arm/mach-u300/
Ddummyspichip.c39 struct spi_device *spi = to_spi_device(dev); in dummy_looptest() local
40 struct dummy *p_dummy = dev_get_drvdata(&spi->dev); in dummy_looptest()
74 spi->bits_per_word = 8; in dummy_looptest()
76 spi->master->setup(spi); in dummy_looptest()
81 status = spi_w8r8(spi, 0xAA); in dummy_looptest()
90 status = spi_write_then_read(spi, &txbuf[0], 8, &rxbuf[0], 8); in dummy_looptest()
99 status = spi_write_then_read(spi, &txbuf[0], 14, &rxbuf[0], 14); in dummy_looptest()
108 status = spi_write(spi, &txbuf[0], 8); in dummy_looptest()
114 status = spi_read(spi, &rxbuf[0], 8); in dummy_looptest()
123 status = spi_write(spi, &txbuf[0], 14); in dummy_looptest()
[all …]
/arch/mips/txx9/generic/
Dspi_eeprom.c54 static int __init early_seeprom_probe(struct spi_device *spi) in early_seeprom_probe() argument
62 dev_info(&spi->dev, "spiclk %u KHz.\n", in early_seeprom_probe()
63 (spi->max_speed_hz + 500) / 1000); in early_seeprom_probe()
64 if (read_param->busid != spi->master->bus_num || in early_seeprom_probe()
65 read_param->chipid != spi->chip_select) in early_seeprom_probe()
72 stat = spi_write_then_read(spi, cmd, sizeof(cmd), buf, c); in early_seeprom_probe()
/arch/arm/boot/dts/
Dtegra114.dtsi220 spi@7000d400 {
221 compatible = "nvidia,tegra114-spi";
228 clock-names = "spi";
232 spi@7000d600 {
233 compatible = "nvidia,tegra114-spi";
240 clock-names = "spi";
244 spi@7000d800 {
245 compatible = "nvidia,tegra114-spi";
252 clock-names = "spi";
256 spi@7000da00 {
[all …]
Datlas6-evb.dts27 spi@b00d0000 {
31 spi@0 {
34 spi-max-frequency = <1000000>;
37 spi@b0170000 {
Dmarco-evb.dts36 spi1: spi@cc170000 {
40 spi@0 {
43 spi-max-frequency = <1000000>;
Ddove-cm-a510.dts29 spi-flash@0 {
31 spi-max-frequency = <20000000>;
Ddove-dove-db.dts29 spi-flash@0 {
31 spi-max-frequency = <20000000>;
Dprima2-evb.dts27 spi@b00d0000 {
31 spi@b0170000 {
Dkirkwood-98dx4122.dtsi13 pmx_spi: pmx-spi {
15 marvell,function = "spi";
Dimx28-cfa10049.dts261 compatible = "spi-gpio";
276 spi-max-frequency = <100000>;
277 spi-cpol;
278 spi-cpha;
285 compatible = "spi-gpio";
302 spi-max-frequency = <100000>;
311 spi-max-frequency = <100000>;
317 spi-max-frequency = <100000>;
Dbcm2835.dtsi73 spi: spi@20204000 { label
74 compatible = "brcm,bcm2835-spi";
127 clk_spi: spi {
Dspear1310-evb.dts345 spi0: spi@e0100000 {
355 spi-max-frequency = <1000000>;
356 spi-cpha;
387 spi-max-frequency = <12000000>;
388 spi-cpol;
389 spi-cpha;
404 spi-max-frequency = <25000000>;
405 spi-cpha;
Dkirkwood-ts219.dtsi34 spi@10600 {
42 spi-max-frequency = <20000000>;
Dkirkwood-6281.dtsi21 pmx_spi: pmx-spi {
23 marvell,function = "spi";
Dkirkwood-ns2-common.dtsi29 spi@10600 {
37 spi-max-frequency = <20000000>;
Dexynos4.dtsi294 spi_0: spi@13920000 {
295 compatible = "samsung,exynos4210-spi";
303 clock-names = "spi", "spi_busclk0";
309 spi_1: spi@13930000 {
310 compatible = "samsung,exynos4210-spi";
318 clock-names = "spi", "spi_busclk0";
324 spi_2: spi@13940000 {
325 compatible = "samsung,exynos4210-spi";
333 clock-names = "spi", "spi_busclk0";
Dexynos5250-smdk5250.dts154 spi_0: spi@12d20000 {
158 spi_1: spi@12d30000 {
164 spi-max-frequency = <1000000>;
168 samsung,spi-feedback-delay = <0>;
184 spi_2: spi@12d40000 {
Dkirkwood-cloudbox.dts41 spi@10600 {
49 spi-max-frequency = <20000000>;
/arch/arm/mach-ep93xx/
Dvision_ep9307.c198 static int vision_spi_flash_hw_setup(struct spi_device *spi) in vision_spi_flash_hw_setup() argument
201 spi->modalias); in vision_spi_flash_hw_setup()
204 static void vision_spi_flash_hw_cleanup(struct spi_device *spi) in vision_spi_flash_hw_cleanup() argument
209 static void vision_spi_flash_hw_cs_control(struct spi_device *spi, int value) in vision_spi_flash_hw_cs_control() argument
285 static int vision_spi_mmc_hw_setup(struct spi_device *spi) in vision_spi_mmc_hw_setup() argument
288 spi->modalias); in vision_spi_mmc_hw_setup()
291 static void vision_spi_mmc_hw_cleanup(struct spi_device *spi) in vision_spi_mmc_hw_cleanup() argument
296 static void vision_spi_mmc_hw_cs_control(struct spi_device *spi, int value) in vision_spi_mmc_hw_cs_control() argument
Dedb93xx.c109 static int edb93xx_cs4271_hw_setup(struct spi_device *spi) in edb93xx_cs4271_hw_setup() argument
112 GPIOF_OUT_INIT_HIGH, spi->modalias); in edb93xx_cs4271_hw_setup()
115 static void edb93xx_cs4271_hw_cleanup(struct spi_device *spi) in edb93xx_cs4271_hw_cleanup() argument
120 static void edb93xx_cs4271_hw_cs_control(struct spi_device *spi, int value) in edb93xx_cs4271_hw_cs_control() argument
/arch/mips/include/asm/mach-au1x00/
Dau1550_spi.h11 void (*activate_cs)(struct au1550_spi_info *spi, int cs, int polarity);
12 void (*deactivate_cs)(struct au1550_spi_info *spi, int cs, int polarity);
/arch/mips/cavium-octeon/executive/
DMakefile13 obj-y += cvmx-pko.o cvmx-spi.o cvmx-cmd-queue.o \
16 cvmx-helper-loop.o cvmx-helper-spi.o cvmx-helper-util.o \
/arch/powerpc/boot/dts/
Dlite5200b.dts80 // PSC6 in spi mode example
81 //spi@2c00 { // PSC6
82 // compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
Dac14xx.dts303 compatible = "fsl,mpc5121-psc-spi", "fsl,mpc5121-psc";
313 spi-max-frequency = <20000000>;
319 label = "spi-flash0";
327 compatible = "fsl,mpc5121-psc-spi", "fsl,mpc5121-psc";
328 fsl,mode = "spi-master";
337 spi-max-frequency = <100000>;
338 spi-cpol;
339 spi-cpha;
Dp1022ds.dtsi158 spi@7000 {
164 spi-max-frequency = <40000000>; /* input clock */
167 label = "u-boot-spi";
172 label = "kernel-spi";
177 label = "dtb-spi";
182 label = "file system-spi";

123456789