Home
last modified time | relevance | path

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

12345678910>>...38

/external/u-boot/drivers/video/
Dformike.c21 static int spi_write_tag_val(struct spi_slave *spi, unsigned char tag, in spi_write_tag_val() argument
29 ret = spi_xfer(spi, 8, buf, NULL, flags); in spi_write_tag_val()
32 ret = spi_xfer(spi, 8, buf, NULL, flags); in spi_write_tag_val()
44 static void spi_write_dat(struct spi_slave *spi, unsigned int val) in spi_write_dat() argument
46 spi_write_tag_val(spi, TAG_WRITE|TAG_DATA, val); in spi_write_dat()
49 static void spi_write_com(struct spi_slave *spi, unsigned int addr) in spi_write_com() argument
51 spi_write_tag_val(spi, TAG_WRITE|TAG_COMMAND|TAG_ADDR_H, in spi_write_com()
53 spi_write_tag_val(spi, TAG_WRITE|TAG_COMMAND|TAG_ADDR_L, in spi_write_com()
60 struct spi_slave *spi; in kwh043st20_f01_spi_startup() local
63 spi = spi_setup_slave(bus, cs, max_hz, spi_mode); in kwh043st20_f01_spi_startup()
[all …]
Dlg4573.c13 static int lb043wv_spi_write_u16(struct spi_slave *spi, u16 val) in lb043wv_spi_write_u16() argument
21 ret = spi_xfer(spi, 16, &buf16, NULL, flags); in lb043wv_spi_write_u16()
28 static void lb043wv_spi_write_u16_array(struct spi_slave *spi, u16 *buff, in lb043wv_spi_write_u16_array() argument
34 lb043wv_spi_write_u16(spi, buff[i]); in lb043wv_spi_write_u16_array()
37 static void lb043wv_display_mode_settings(struct spi_slave *spi) in lb043wv_display_mode_settings() argument
75 lb043wv_spi_write_u16_array(spi, display_mode_settings, in lb043wv_display_mode_settings()
79 static void lb043wv_power_settings(struct spi_slave *spi) in lb043wv_power_settings() argument
106 lb043wv_spi_write_u16_array(spi, power_settings, in lb043wv_power_settings()
110 static void lb043wv_gamma_settings(struct spi_slave *spi) in lb043wv_gamma_settings() argument
176 lb043wv_spi_write_u16_array(spi, gamma_settings, in lb043wv_gamma_settings()
[all …]
Dscf0403_lcd.c32 struct spi_slave *spi; member
150 static int scf0403_spi_read_rddid(struct spi_slave *spi, u32 *rddid) in scf0403_spi_read_rddid() argument
157 error = spi_set_wordlen(spi, 9); in scf0403_spi_read_rddid()
162 error = spi_xfer(spi, 9, &cmd, NULL, SPI_XFER_ONCE); in scf0403_spi_read_rddid()
171 error = spi_xfer(spi, 9, NULL, &dummy_buf, SPI_XFER_ONCE); in scf0403_spi_read_rddid()
175 error = spi_set_wordlen(spi, 8); in scf0403_spi_read_rddid()
180 error = spi_xfer(spi, 8, NULL, &ids_buf, SPI_XFER_ONCE); in scf0403_spi_read_rddid()
189 static int scf0403_spi_transfer(struct spi_slave *spi, struct scf0403_cmd *cmd) in scf0403_spi_transfer() argument
195 error = spi_set_wordlen(spi, 9); in scf0403_spi_transfer()
199 error = spi_xfer(spi, 9, &command, NULL, SPI_XFER_ONCE); in scf0403_spi_transfer()
[all …]
/external/tcpdump/tests/
Disakmp-no-none-np.out3 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0…
4 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0…
5 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0…
6 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0…
7 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0…
8 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0…
9 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0…
10 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0…
11 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0…
12 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0…
[all …]
Desp2.out1 IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x1), length 172: IP 192.1.2.23 > 192.0.1.1: ESP…
2 IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x2), length 172: IP 192.1.2.23 > 192.0.1.1: ESP…
3 IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x3), length 172: IP 192.1.2.23 > 192.0.1.1: ESP…
4 IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x4), length 172: IP 192.1.2.23 > 192.0.1.1: ESP…
5 IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x5), length 172: IP 192.1.2.23 > 192.0.1.1: ESP…
6 IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x6), length 172: IP 192.1.2.23 > 192.0.1.1: ESP…
7 IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x7), length 172: IP 192.1.2.23 > 192.0.1.1: ESP…
8 IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x8), length 172: IP 192.1.2.23 > 192.0.1.1: ESP…
Desp0.out1 IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x1), length 116
2 IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x2), length 116
3 IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x3), length 116
4 IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x4), length 116
5 IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x5), length 116
6 IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x6), length 116
7 IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x7), length 116
8 IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x8), length 116
Despudp1.out1 IP 192.1.2.23.4500 > 192.1.2.45.4500: UDP-encap: ESP(spi=0x12345678,seq=0x1), length 116
2 IP 192.1.2.23.4500 > 192.1.2.45.4500: UDP-encap: ESP(spi=0x12345678,seq=0x2), length 116: ip-proto…
3 IP 192.1.2.23.4500 > 192.1.2.45.4500: UDP-encap: ESP(spi=0x12345678,seq=0x3), length 116: PIMv13, l…
4 IP 192.1.2.23.4500 > 192.1.2.45.4500: UDP-encap: ESP(spi=0x12345678,seq=0x4), length 116
5 IP 192.1.2.23.4500 > 192.1.2.45.4500: UDP-encap: ESP(spi=0x12345678,seq=0x5), length 116
6 IP 192.1.2.23.4500 > 192.1.2.45.4500: UDP-encap: ESP(spi=0x12345678,seq=0x6), length 116: ip-proto…
7 IP 192.1.2.23.4500 > 192.1.2.45.4500: UDP-encap: ESP(spi=0x12345678,seq=0x7), length 116: ip-proto…
8 IP 192.1.2.23.4500 > 192.1.2.45.4500: UDP-encap: ESP(spi=0x12345678,seq=0x8), length 116: ip-proto…
/external/u-boot/drivers/spi/
Dmpc8xxx_spi.c50 volatile spi8xxx_t *spi = &((immap_t *) (CONFIG_SYS_IMMR))->spi; in spi_init() local
56 spi->mode = SPI_MODE_REV | SPI_MODE_MS | SPI_MODE_EN; in spi_init()
57 spi->mode = (spi->mode & 0xfff0ffff) | BIT(16); /* Use SYSCLK / 8 in spi_init()
59 spi->event = 0xffffffff; /* Clear all SPI events */ in spi_init()
60 spi->mask = 0x00000000; /* Mask all SPI interrupts */ in spi_init()
61 spi->com = 0; /* LST bit doesn't do anything, so disregard */ in spi_init()
77 volatile spi8xxx_t *spi = &((immap_t *) (CONFIG_SYS_IMMR))->spi; in spi_xfer() local
89 spi->event = 0xffffffff; /* Clear all SPI events */ in spi_xfer()
107 spi->mode &= ~SPI_MODE_EN; in spi_xfer()
111 spi->mode = (spi->mode & 0xff0fffff) | in spi_xfer()
[all …]
Dmpc8xx_spi.c81 spi_t __iomem *spi = (spi_t __iomem *)&cp->cp_dparam[PROFF_SPI]; in spi_init_f() local
85 out_be16(&spi->spi_rpbase, 0); in spi_init_f()
124 out_be32(&spi->spi_rstate, 0); in spi_init_f()
125 out_be32(&spi->spi_rdp, 0); in spi_init_f()
126 out_be16(&spi->spi_rbptr, 0); in spi_init_f()
127 out_be16(&spi->spi_rbc, 0); in spi_init_f()
128 out_be32(&spi->spi_rxtmp, 0); in spi_init_f()
129 out_be32(&spi->spi_tstate, 0); in spi_init_f()
130 out_be32(&spi->spi_tdp, 0); in spi_init_f()
131 out_be16(&spi->spi_tbptr, 0); in spi_init_f()
[all …]
/external/u-boot/drivers/mmc/
Dmmc_spi.c55 struct spi_slave *spi = mmc->priv; in mmc_spi_sendcmd() local
66 spi_xfer(spi, sizeof(cmdo) * 8, cmdo, NULL, 0); in mmc_spi_sendcmd()
68 spi_xfer(spi, 1 * 8, NULL, &r1, 0); in mmc_spi_sendcmd()
79 struct spi_slave *spi = mmc->priv; in mmc_spi_readdata() local
86 spi_xfer(spi, 1 * 8, NULL, &r1, 0); in mmc_spi_readdata()
92 spi_xfer(spi, bsize * 8, NULL, buf, 0); in mmc_spi_readdata()
93 spi_xfer(spi, 2 * 8, NULL, &crc, 0); in mmc_spi_readdata()
114 struct spi_slave *spi = mmc->priv; in mmc_spi_writedata() local
126 spi_xfer(spi, 2 * 8, tok, NULL, 0); in mmc_spi_writedata()
127 spi_xfer(spi, bsize * 8, buf, NULL, 0); in mmc_spi_writedata()
[all …]
/external/u-boot/drivers/mtd/spi/
Dsf_dataflash.c75 static inline int dataflash_status(struct spi_slave *spi) in dataflash_status() argument
83 ret = spi_flash_cmd(spi, OP_READ_STATUS, &status, 1); in dataflash_status()
92 static int dataflash_waitready(struct spi_slave *spi) in dataflash_waitready() argument
100 status = dataflash_status(spi); in dataflash_waitready()
118 struct spi_slave *spi; in spi_dataflash_erase() local
126 spi = spi_flash->spi; in spi_dataflash_erase()
148 status = spi_claim_bus(spi); in spi_dataflash_erase()
175 status = spi_flash_cmd_write(spi, command, 4, NULL, 0); in spi_dataflash_erase()
181 status = dataflash_waitready(spi); in spi_dataflash_erase()
196 spi_release_bus(spi); in spi_dataflash_erase()
[all …]
Dsf.c12 static int spi_flash_read_write(struct spi_slave *spi, in spi_flash_read_write() argument
23 ret = spi_xfer(spi, cmd_len * 8, cmd, NULL, flags); in spi_flash_read_write()
28 ret = spi_xfer(spi, data_len * 8, data_out, data_in, in spi_flash_read_write()
38 int spi_flash_cmd_read(struct spi_slave *spi, const u8 *cmd, in spi_flash_cmd_read() argument
41 return spi_flash_read_write(spi, cmd, cmd_len, NULL, data, data_len); in spi_flash_cmd_read()
44 int spi_flash_cmd(struct spi_slave *spi, u8 cmd, void *response, size_t len) in spi_flash_cmd() argument
46 return spi_flash_cmd_read(spi, &cmd, 1, response, len); in spi_flash_cmd()
49 int spi_flash_cmd_write(struct spi_slave *spi, const u8 *cmd, size_t cmd_len, in spi_flash_cmd_write() argument
52 return spi_flash_read_write(spi, cmd, cmd_len, data, NULL, data_len); in spi_flash_cmd_write()
Dspi_flash.c276 struct spi_slave *spi = flash->spi; in spi_flash_write_common() local
283 ret = spi_claim_bus(spi); in spi_flash_write_common()
295 ret = spi_flash_cmd_write(spi, cmd, cmd_len, buf, buf_len); in spi_flash_write_common()
309 spi_release_bus(spi); in spi_flash_write_common()
372 struct spi_slave *spi = flash->spi; in spi_flash_cmd_write_ops() local
405 if (spi->max_write_size) in spi_flash_cmd_write_ops()
407 spi->max_write_size - sizeof(cmd)); in spi_flash_cmd_write_ops()
434 struct spi_slave *spi = flash->spi; in spi_flash_read_common() local
437 ret = spi_claim_bus(spi); in spi_flash_read_common()
443 ret = spi_flash_cmd_read(spi, cmd, cmd_len, data, data_len); in spi_flash_read_common()
[all …]
/external/u-boot/doc/driver-model/
DMIGRATION.txt33 drivers/spi/cf_spi.c
34 drivers/spi/fsl_espi.c
35 drivers/spi/lpc32xx_ssp.c
36 drivers/spi/mpc8xx_spi.c
37 drivers/spi/mpc8xxx_spi.c
38 drivers/spi/mxs_spi.c
39 drivers/spi/sh_qspi.c
40 drivers/spi/sh_spi.c
41 drivers/spi/soft_spi_legacy.c
44 drivers/spi/atcspi200_spi.c
[all …]
/external/u-boot/arch/arm/dts/
Dfsl-ls2080a-qds.dts29 compatible = "spi-flash";
30 spi-max-frequency = <3000000>;
31 spi-cpol;
32 spi-cpha;
38 compatible = "spi-flash";
39 spi-max-frequency = <3000000>;
40 spi-cpol;
41 spi-cpha;
47 compatible = "spi-flash";
48 spi-max-frequency = <3000000>;
[all …]
Dfsl-ls1046a-qds.dtsi27 compatible = "spi-flash";
28 spi-max-frequency = <1000000>; /* input clock */
29 spi-cpol;
30 spi-cpha;
37 compatible = "spi-flash";
38 spi-max-frequency = <3500000>;
39 spi-cpol;
40 spi-cpha;
47 compatible = "spi-flash";
48 spi-max-frequency = <3500000>;
[all …]
Dfsl-ls1043a-qds.dtsi27 compatible = "spi-flash";
28 spi-max-frequency = <1000000>; /* input clock */
29 spi-cpol;
30 spi-cpha;
37 compatible = "spi-flash";
38 spi-max-frequency = <3500000>;
39 spi-cpol;
40 spi-cpha;
47 compatible = "spi-flash";
48 spi-max-frequency = <3500000>;
[all …]
Dkeystone-k2g.dtsi109 spi0: spi@21805400 {
110 compatible = "ti,keystone-spi", "ti,dm6441-spi";
113 ti,davinci-spi-intr-line = <0>;
120 spi1: spi@21805800 {
121 compatible = "ti,keystone-spi", "ti,dm6441-spi";
124 ti,davinci-spi-intr-line = <0>;
131 spi2: spi@21805c00 {
132 compatible = "ti,keystone-spi", "ti,dm6441-spi";
135 ti,davinci-spi-intr-line = <0>;
142 spi3: spi@21806000 {
[all …]
Dfsl-ls1088a-qds.dts65 compatible = "spi-flash";
67 spi-max-frequency = <1000000>; /* input clock */
73 compatible = "spi-flash";
74 spi-max-frequency = <3500000>;
81 compatible = "spi-flash";
82 spi-max-frequency = <3500000>;
94 compatible = "spi-flash";
95 spi-max-frequency = <50000000>;
102 compatible = "spi-flash";
103 spi-max-frequency = <50000000>;
Dfsl-ls2081a-rdb.dts31 compatible = "spi-flash";
32 spi-max-frequency = <3000000>;
33 spi-cpol;
34 spi-cpha;
46 compatible = "spi-flash";
47 spi-max-frequency = <50000000>;
54 compatible = "spi-flash";
55 spi-max-frequency = <50000000>;
Dfsl-ls2088a-rdb-qspi.dts31 compatible = "spi-flash";
32 spi-max-frequency = <3000000>;
33 spi-cpol;
34 spi-cpha;
46 compatible = "spi-flash";
47 spi-max-frequency = <50000000>;
54 compatible = "spi-flash";
55 spi-max-frequency = <50000000>;
/external/u-boot/doc/device-tree-bindings/spi/
Dspi-stm32-qspi.txt8 - spi-max-frequency : Max supported spi frequency.
13 - spi-max-frequency : Max supported spi frequency.
14 - spi-tx-bus-width : Bus width (number of lines) for writing (1-4)
15 - spi-rx-bus-width : Bus width (number of lines) for reading (1-4)
26 spi-max-frequency = <108000000>;
32 compatible = "micron,n25q128a13", "spi-flash";
33 spi-max-frequency = <108000000>;
34 spi-tx-bus-width = <4>;
35 spi-rx-bus-width = <4>;
/external/u-boot/board/renesas/sh7757lcr/
Dsh7757lcr.c33 struct spi_flash *spi; in init_pcie_bridge_from_spi() local
37 spi = spi_flash_probe(0, 0, 1000000, SPI_MODE_3); in init_pcie_bridge_from_spi()
38 if (!spi) { in init_pcie_bridge_from_spi()
48 ret = spi_flash_read(spi, pcie_addr, size, buf); in init_pcie_bridge_from_spi()
51 spi_flash_free(spi); in init_pcie_bridge_from_spi()
54 spi_flash_free(spi); in init_pcie_bridge_from_spi()
234 struct spi_flash *spi; in get_sh_eth_mac_raw() local
237 spi = spi_flash_probe(0, 0, 1000000, SPI_MODE_3); in get_sh_eth_mac_raw()
238 if (spi == NULL) { in get_sh_eth_mac_raw()
243 ret = spi_flash_read(spi, SH7757LCR_ETHERNET_MAC_BASE, size, buf); in get_sh_eth_mac_raw()
[all …]
/external/scapy/test/
Dipsec.uts22 sa = SecurityAssociation(ESP, spi=0x222,
35 assert(e[ESP].spi == sa.spi)
53 sa = SecurityAssociation(ESP, spi=0x222,
67 assert(e[ESP].spi == sa.spi)
78 # ip xfrm state add src 10.125.0.2 dst 10.125.0.1 proto esp spi 546 reqid 1 \
81 / ESP(spi=0x222,
105 sa = SecurityAssociation(ESP, spi=0x222,
119 assert(e[ESP].spi == sa.spi)
130 # ip xfrm state add src 10.125.0.2 dst 10.125.0.1 proto esp spi 546 reqid 1 \
133 / ESP(spi=0x222,
[all …]
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DTransitiveDependencyVisitor.java23 import com.google.inject.spi.ConstructorBinding;
24 import com.google.inject.spi.ConvertedConstantBinding;
25 import com.google.inject.spi.DefaultBindingTargetVisitor;
26 import com.google.inject.spi.Dependency;
27 import com.google.inject.spi.HasDependencies;
28 import com.google.inject.spi.InstanceBinding;
29 import com.google.inject.spi.LinkedKeyBinding;
30 import com.google.inject.spi.ProviderBinding;
31 import com.google.inject.spi.ProviderInstanceBinding;
32 import com.google.inject.spi.ProviderKeyBinding;

12345678910>>...38