Searched refs:data (Results 1 - 25 of 1579) sorted by relevance

1234567891011>>

/u-boot/include/net/
H A Dudp.h17 * @data: pointer to store private data (used by prereq and start)
20 int (*prereq)(void *data);
21 int (*start)(void *data);
22 void *data; member in struct:udp_ops
/u-boot/arch/arm/mach-k3/r5/am62px/
H A DMakefile5 obj-y += clk-data.o
6 obj-y += dev-data.o
/u-boot/arch/arm/mach-k3/r5/am62x/
H A DMakefile5 obj-y += clk-data.o
6 obj-y += dev-data.o
/u-boot/arch/arm/mach-k3/r5/j7200/
H A DMakefile4 obj-y += clk-data.o
5 obj-y += dev-data.o
/u-boot/arch/arm/mach-k3/r5/j721e/
H A DMakefile4 obj-y += clk-data.o
5 obj-y += dev-data.o
/u-boot/arch/arm/mach-k3/r5/j721s2/
H A DMakefile4 obj-y += clk-data.o
5 obj-y += dev-data.o
/u-boot/arch/arm/mach-k3/r5/j784s4/
H A DMakefile6 obj-y += clk-data.o
7 obj-y += dev-data.o
/u-boot/arch/arm/mach-rockchip/rk3588/
H A Dsyscon_rk3588.c12 { .compatible = "rockchip,rk3588-sys-grf", .data = ROCKCHIP_SYSCON_GRF },
13 { .compatible = "rockchip,rk3588-pmugrf", .data = ROCKCHIP_SYSCON_PMUGRF },
14 { .compatible = "rockchip,rk3588-vop-grf", .data = ROCKCHIP_SYSCON_VOP_GRF },
15 { .compatible = "rockchip,rk3588-vo-grf", .data = ROCKCHIP_SYSCON_VO_GRF },
16 { .compatible = "rockchip,pcie30-phy-grf", .data = ROCKCHIP_SYSCON_PCIE30_PHY_GRF },
17 { .compatible = "rockchip,rk3588-php-grf", .data = ROCKCHIP_SYSCON_PHP_GRF },
18 { .compatible = "rockchip,pipe-phy-grf", .data = ROCKCHIP_SYSCON_PIPE_PHY0_GRF },
19 { .compatible = "rockchip,pipe-phy-grf", .data = ROCKCHIP_SYSCON_PIPE_PHY1_GRF },
20 { .compatible = "rockchip,pipe-phy-grf", .data = ROCKCHIP_SYSCON_PIPE_PHY2_GRF },
21 { .compatible = "rockchip,rk3588-pmu", .data
[all...]
/u-boot/drivers/input/
H A Dtwl4030.c12 u8 data; local
15 TWL4030_PM_MASTER_STS_HW_CONDITIONS, &data);
17 if (data & TWL4030_PM_MASTER_STS_HW_CONDITIONS_PWON)
25 u8 data; local
28 TWL4030_PM_MASTER_STS_HW_CONDITIONS, &data);
30 if (data & TWL4030_PM_MASTER_STS_HW_CONDITIONS_CHG)
38 u8 data; local
41 TWL4030_PM_MASTER_STS_HW_CONDITIONS, &data);
43 if (data & TWL4030_PM_MASTER_STS_HW_CONDITIONS_USB ||
44 data
52 u8 data; local
[all...]
/u-boot/lib/
H A Dcrc8.c13 static unsigned char _crc8(unsigned short data) argument
18 if (data & 0x8000)
19 data = data ^ POLY;
20 data = data << 1;
23 return (unsigned char)(data >> 8);
/u-boot/board/phytec/common/
H A Dam6_som_detection.c22 int phytec_am6_detect(struct phytec_eeprom_data *data) argument
27 if (!data)
28 data = &eeprom_data;
31 if (!data->valid || data->payload.api_rev < PHYTEC_API_REV2)
34 som = data->payload.data.data_api2.som_no;
37 opt = phytec_get_opt(data);
50 static u8 phytec_check_opt(struct phytec_eeprom_data *data, u8 option) argument
54 if (!data)
76 phytec_get_am62_ddr_size(struct phytec_eeprom_data *data) argument
92 phytec_get_am62_spi(struct phytec_eeprom_data *data) argument
108 phytec_get_am62_eth(struct phytec_eeprom_data *data) argument
124 phytec_get_am62_rtc(struct phytec_eeprom_data *data) argument
134 phytec_am62_detect(struct phytec_eeprom_data *data) argument
140 phytec_get_am62_ddr_size(struct phytec_eeprom_data *data) argument
145 phytec_get_am62_spi(struct phytec_eeprom_data *data) argument
150 phytec_get_am62_eth(struct phytec_eeprom_data *data) argument
155 phytec_get_am62_rtc(struct phytec_eeprom_data *data) argument
[all...]
H A Dam6_som_detection.h17 int __maybe_unused phytec_am6_detect(struct phytec_eeprom_data *data);
18 u8 __maybe_unused phytec_get_am6_ddr_size(struct phytec_eeprom_data *data);
19 u8 __maybe_unused phytec_get_am6_spi(struct phytec_eeprom_data *data);
20 u8 __maybe_unused phytec_get_am6_eth(struct phytec_eeprom_data *data);
21 u8 __maybe_unused phytec_get_am6_rtc(struct phytec_eeprom_data *data);
23 static inline int phytec_am6_is_qspi(struct phytec_eeprom_data *data) argument
25 u8 spi = phytec_get_am6_spi(data);
32 static inline int phytec_am6_is_ospi(struct phytec_eeprom_data *data) argument
34 return phytec_get_am6_spi(data) > PHYTEC_EEPROM_NOR_FLASH_64MB_QSPI;
H A Dimx8m_som_detection.h16 int __maybe_unused phytec_imx8m_detect(struct phytec_eeprom_data *data);
17 u8 __maybe_unused phytec_get_imx8m_ddr_size(struct phytec_eeprom_data *data);
18 u8 __maybe_unused phytec_get_imx8mp_rtc(struct phytec_eeprom_data *data);
19 u8 __maybe_unused phytec_get_imx8m_spi(struct phytec_eeprom_data *data);
20 u8 __maybe_unused phytec_get_imx8m_eth(struct phytec_eeprom_data *data);
H A Dimx8m_som_detection.c28 int __maybe_unused phytec_imx8m_detect(struct phytec_eeprom_data *data) argument
33 if (!data)
34 data = &eeprom_data;
37 if (!data->valid || data->payload.api_rev < PHYTEC_API_REV2)
40 som = data->payload.data.data_api2.som_no;
43 opt = phytec_get_opt(data);
62 pr_err("%s: SoM ID does not match. Wrong EEPROM data?\n", __func__);
70 u8 __maybe_unused phytec_get_imx8m_ddr_size(struct phytec_eeprom_data *data) argument
97 phytec_get_imx8m_spi(struct phytec_eeprom_data *data) argument
124 phytec_get_imx8m_eth(struct phytec_eeprom_data *data) argument
152 phytec_get_imx8mp_rtc(struct phytec_eeprom_data *data) argument
177 phytec_imx8m_detect(struct phytec_eeprom_data *data) argument
183 phytec_get_imx8m_ddr_size(struct phytec_eeprom_data *data) argument
188 phytec_get_imx8mp_rtc(struct phytec_eeprom_data *data) argument
193 phytec_get_imx8m_spi(struct phytec_eeprom_data *data) argument
198 phytec_get_imx8m_eth(struct phytec_eeprom_data *data) argument
[all...]
/u-boot/tools/binman/test/
H A Delf_sections.c8 int __attribute__((section(".sram_data"))) data[29]; variable
12 data[0] = x;
/u-boot/board/freescale/common/
H A Di2c_common.h15 #define I2C_READ(dev, register, data, length) \
16 dm_i2c_read(dev, register, data, length)
17 #define I2C_WRITE(dev, register, data, length) \
18 dm_i2c_write(dev, register, data, length)
22 #define I2C_READ(dev, register, data, length) \
23 i2c_read(dev, register, 1, data, length)
24 #define I2C_WRITE(dev, register, data, length) \
25 i2c_write(dev, register, 1, data, length)
/u-boot/tools/
H A Dlpc32xximage.c32 uint32_t data[129]; member in struct:nand_page_0_boot_header
37 * Default ICC (interface configuration data [sic]) if none specified
92 if (hdr->data[0] != (0xff & LPC32XX_BOOT_ICR))
94 if (hdr->data[1] != (0xff & ~LPC32XX_BOOT_ICR))
96 if (hdr->data[2] != (0xff & LPC32XX_BOOT_ICR))
98 if (hdr->data[3] != (0xff & ~LPC32XX_BOOT_ICR))
100 if (hdr->data[4] != (0xff & image_size_in_pages))
102 if (hdr->data[5] != (0xff & ~image_size_in_pages))
104 if (hdr->data[6] != (0xff & image_size_in_pages))
106 if (hdr->data[
[all...]
/u-boot/drivers/clk/uniphier/
H A Dclk-uniphier-core.c19 * struct uniphier_clk_priv - private data for UniPhier clock driver
22 * @data: SoC specific data
27 const struct uniphier_clk_data *data; member in struct:uniphier_clk_priv
81 const struct uniphier_clk_data *data; local
83 for (data = priv->data; data->type != UNIPHIER_CLK_TYPE_END; data++)
84 if (data
92 uniphier_clk_get_parent_data( struct uniphier_clk_priv *priv, const struct uniphier_clk_data *data) argument
120 __uniphier_clk_enable(struct uniphier_clk_priv *priv, const struct uniphier_clk_data *data) argument
138 const struct uniphier_clk_data *data; local
149 __uniphier_clk_get_rate( struct uniphier_clk_priv *priv, const struct uniphier_clk_data *data) argument
168 const struct uniphier_clk_data *data; local
177 __uniphier_clk_set_rate( struct uniphier_clk_priv *priv, const struct uniphier_clk_data *data, unsigned long rate, bool set) argument
236 const struct uniphier_clk_data *data; local
[all...]
/u-boot/fs/yaffs2/
H A Dyaffs_ecc.h21 * The ECC can correct single bit errors in a 256-byte page of data.
35 void yaffs_ecc_calc(const unsigned char *data, unsigned char *ecc);
36 int yaffs_ecc_correct(unsigned char *data, unsigned char *read_ecc,
39 void yaffs_ecc_calc_other(const unsigned char *data, unsigned n_bytes,
41 int yaffs_ecc_correct_other(unsigned char *data, unsigned n_bytes,
/u-boot/arch/sandbox/include/asm/
H A Dfuzzing_engine.h10 /** Function to get fuzzing engine input data. */
15 * The function will return a pointer to the input data and the size of the
16 * data pointed to. The pointer will remain valid until the next invocation of
19 * @data: output pointer to input data
20 * @size output size of input data
23 int sandbox_fuzzing_engine_get_input(const uint8_t **data, size_t *size);
/u-boot/arch/arm/mach-k3/r5/am62ax/
H A DMakefile5 obj-y += clk-data.o
6 obj-y += dev-data.o
/u-boot/test/dm/
H A Di2s.c19 u8 data[3]; local
23 data[0] = 1;
24 data[1] = 4;
25 data[2] = 6;
26 ut_assertok(i2s_tx_data(dev, data, ARRAY_SIZE(data)));
28 ut_assertok(i2s_tx_data(dev, data, 1));
/u-boot/arch/arm/cpu/armv8/
H A Dlinux-kernel-image-header-vars.h35 #define DATA_LE32(data) \
36 ((((data) & 0x000000ff) << 24) | \
37 (((data) & 0x0000ff00) << 8) | \
38 (((data) & 0x00ff0000) >> 8) | \
39 (((data) & 0xff000000) >> 24))
41 #define DATA_LE32(data) ((data) & 0xffffffff)
44 #define DEFINE_IMAGE_LE64(sym, data) \
45 sym##_lo32 = DATA_LE32((data) & 0xffffffff); \
46 sym##_hi32 = DATA_LE32((data) >> 3
[all...]
/u-boot/board/ge/common/
H A Dvpd_reader.c51 static int verify_bch(int ecc_bits, unsigned int prim_poly, u8 *data, argument
71 int errors = decode_bch(bch, data, data_length, ecc, NULL, NULL,
84 * n-th error located in ecc (no need for data
88 /* n-th error located in data */
89 data[errloc[n] / 8] ^= 1 << (errloc[n] % 8);
113 int vpd_reader(size_t size, u8 *data, struct vpd_cache *userdata, argument
115 size_t size, u8 const *data))
117 if (size < HEADER_BLOCK_LEN || !data || !fn)
122 * | header block | data block | ... | ecc block |
139 bch_configuration.prim_poly, data,
203 read_i2c_vpd(struct vpd_cache *cache, int (*process_block)(struct vpd_cache *, u8 id, u8 version, u8 type, size_t size, u8 const *data)) argument
209 u8 *data; local
[all...]
/u-boot/tools/binman/etype/
H A Dcollection.py22 base class for entry types which need to process data from elsewhere in
38 required: True if the data must be present, False if it is OK to
44 # Join up all the data
46 data = bytearray()
54 data += entry_data
56 self.Info('Returning contents size %x' % len(data))
58 return data
61 data = self.GetContents(False)
62 if data is None:
64 self.SetContents(data)
[all...]

Completed in 197 milliseconds

1234567891011>>