/arch/arm/mach-u300/ |
D | dummyspichip.c | 39 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 …]
|
D | Makefile | 11 obj-$(CONFIG_SPI_PL022) += spi.o
|
/arch/arm/mach-ep93xx/include/mach/ |
D | ep93xx_spi.h | 24 int (*setup)(struct spi_device *spi); 25 void (*cleanup)(struct spi_device *spi); 26 void (*cs_control)(struct spi_device *spi, int value);
|
/arch/mips/txx9/generic/ |
D | spi_eeprom.c | 54 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/mach-ep93xx/ |
D | vision_ep9307.c | 199 static int vision_spi_flash_hw_setup(struct spi_device *spi) in vision_spi_flash_hw_setup() argument 202 spi->modalias); in vision_spi_flash_hw_setup() 205 static void vision_spi_flash_hw_cleanup(struct spi_device *spi) in vision_spi_flash_hw_cleanup() argument 210 static void vision_spi_flash_hw_cs_control(struct spi_device *spi, int value) in vision_spi_flash_hw_cs_control() argument 286 static int vision_spi_mmc_hw_setup(struct spi_device *spi) in vision_spi_mmc_hw_setup() argument 289 spi->modalias); in vision_spi_mmc_hw_setup() 292 static void vision_spi_mmc_hw_cleanup(struct spi_device *spi) in vision_spi_mmc_hw_cleanup() argument 297 static void vision_spi_mmc_hw_cs_control(struct spi_device *spi, int value) in vision_spi_mmc_hw_cs_control() argument
|
D | edb93xx.c | 110 static int edb93xx_cs4271_hw_setup(struct spi_device *spi) in edb93xx_cs4271_hw_setup() argument 113 GPIOF_OUT_INIT_HIGH, spi->modalias); in edb93xx_cs4271_hw_setup() 116 static void edb93xx_cs4271_hw_cleanup(struct spi_device *spi) in edb93xx_cs4271_hw_cleanup() argument 121 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/ |
D | au1550_spi.h | 11 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/ |
D | Makefile | 13 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/ |
D | lite5200b.dts | 65 // PSC6 in spi mode example 66 //spi@2c00 { // PSC6 67 // compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
|
D | p1022ds.dtsi | 150 spi@7000 { 156 spi-max-frequency = <40000000>; /* input clock */ 159 label = "u-boot-spi"; 164 label = "kernel-spi"; 169 label = "dtb-spi"; 174 label = "file system-spi";
|
D | motionpro.dts | 43 // PSC2 in spi master mode 45 compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
|
D | mpc8536ds.dtsi | 137 spi@7000 { 143 spi-max-frequency = <40000000>; 167 spi-max-frequency = <40000000>; 172 spi-max-frequency = <40000000>; 177 spi-max-frequency = <40000000>;
|
D | p3060qds.dts | 55 spi@110000 { 61 spi-max-frequency = <40000000>; /* input clock */ 87 spi-max-frequency = <40000000>; /* input clock */ 98 spi-max-frequency = <40000000>; /* input clock */ 109 spi-max-frequency = <40000000>; /* input clock */
|
D | lite5200.dts | 149 spi@f00 { 150 compatible = "fsl,mpc5200-spi"; 214 // PSC6 in spi mode example 215 //spi@2c00 { // PSC6 216 // compatible = "fsl,mpc5200-psc-spi";
|
D | mpc832x_rdb.dts | 248 spi@4c0 { 252 compatible = "fsl,spi"; 261 "mmc-spi-slot"; 266 spi-max-frequency = <50000000>; 270 spi@500 { 272 compatible = "fsl,spi";
|
D | p1021mds.dts | 121 spi@7000 { 128 spi-max-frequency = <40000000>; /* input clock */ 131 label = "u-boot-spi"; 136 label = "kernel-spi"; 141 label = "dtb-spi"; 146 label = "file system-spi";
|
/arch/sh/include/asm/ |
D | spi.h | 10 void (*chip_select)(struct sh_spi_info *spi, int cs, int state);
|
/arch/arm/mach-pxa/ |
D | cm-x270.c | 327 static int cm_x270_libertas_setup(struct spi_device *spi) in cm_x270_libertas_setup() argument 352 spi->bits_per_word = 16; in cm_x270_libertas_setup() 353 spi_setup(spi); in cm_x270_libertas_setup() 363 static int cm_x270_libertas_teardown(struct spi_device *spi) in cm_x270_libertas_teardown() argument
|
D | z2.c | 510 static int z2_lbs_spi_setup(struct spi_device *spi) in z2_lbs_spi_setup() argument 525 spi->bits_per_word = 16; in z2_lbs_spi_setup() 526 spi->mode = SPI_MODE_2, in z2_lbs_spi_setup() 528 spi_setup(spi); in z2_lbs_spi_setup() 538 static int z2_lbs_spi_teardown(struct spi_device *spi) in z2_lbs_spi_teardown() argument
|
/arch/arm/mach-s3c64xx/ |
D | Makefile | 35 obj-$(CONFIG_S3C64XX_DEV_SPI) += dev-spi.o 45 obj-$(CONFIG_S3C64XX_SETUP_SPI) += setup-spi.o
|
/arch/powerpc/platforms/83xx/ |
D | mpc832x_rdb.c | 126 void (*cs_control)(struct spi_device *spi, in fsl_spi_init() argument 149 static void mpc83xx_spi_cs_control(struct spi_device *spi, bool on) in mpc83xx_spi_cs_control() argument 151 pr_debug("%s %d %d\n", __func__, spi->chip_select, on); in mpc83xx_spi_cs_control()
|
/arch/arm/boot/dts/ |
D | imx53-smd.dts | 48 fsl,spi-num-chipselects = <2>; 54 spi-max-frequency = <8000000>; 62 spi-max-frequency = <20000000>;
|
D | imx53-evk.dts | 38 fsl,spi-num-chipselects = <2>; 46 spi-max-frequency = <25000000>;
|
/arch/m32r/include/asm/ |
D | assembler.h | 85 push sp ; spi (r15) 180 pop sp ; spi (r15) 201 ; switch to kernel stack (spi) 213 ;; called from kernel context: previous stack = spi
|
/arch/arm/mach-s5pc100/ |
D | Makefile | 32 obj-$(CONFIG_S5PC100_SETUP_SPI) += setup-spi.o
|