Home
last modified time | relevance | path

Searched refs:image_ptr (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.7.0/include/zephyr/drivers/
Dfpga.h32 typedef int (*fpga_api_load)(const struct device *dev, uint32_t *image_ptr,
101 static inline int fpga_load(const struct device *dev, uint32_t *image_ptr, in fpga_load() argument
111 return api->load(dev, image_ptr, img_size); in fpga_load()
/Zephyr-Core-3.7.0/drivers/fpga/
Dfpga_zynqmp.c124 static uint32_t *parse_header(const struct device *dev, uint32_t *image_ptr, in parse_header() argument
127 unsigned char *header = (unsigned char *)image_ptr; in parse_header()
285 static int zynqmp_fpga_load(const struct device *dev, uint32_t *image_ptr, in zynqmp_fpga_load() argument
288 uint32_t *addr = parse_header(dev, image_ptr, &img_size); in zynqmp_fpga_load()
Dfpga_eos_s3.c100 static int eos_s3_fpga_load(const struct device *dev, uint32_t *image_ptr, uint32_t img_size) in eos_s3_fpga_load() argument
106 volatile uint32_t *bitstream = (volatile uint32_t *)image_ptr; in eos_s3_fpga_load()
Dfpga_ice40.c209 static int fpga_ice40_load_gpio(const struct device *dev, uint32_t *image_ptr, uint32_t img_size) in fpga_ice40_load_gpio() argument
228 crc = crc32_ieee((uint8_t *)image_ptr, img_size); in fpga_ice40_load_gpio()
275 (uint8_t *)image_ptr, img_size); in fpga_ice40_load_gpio()
311 static int fpga_ice40_load_spi(const struct device *dev, uint32_t *image_ptr, uint32_t img_size) in fpga_ice40_load_spi() argument
326 crc = crc32_ieee((uint8_t *)image_ptr, img_size); in fpga_ice40_load_spi()
398 tx_buf.buf = image_ptr; in fpga_ice40_load_spi()
450 static int fpga_ice40_load(const struct device *dev, uint32_t *image_ptr, uint32_t img_size) in fpga_ice40_load() argument
454 return config->load(dev, image_ptr, img_size); in fpga_ice40_load()
Dfpga_mpfs.c309 static int mpfs_fpga_load(const struct device *dev, uint32_t *image_ptr, uint32_t img_size) in mpfs_fpga_load() argument
328 if (image_ptr == NULL) { in mpfs_fpga_load()
334 program_new_image(flash_dev, (uint8_t *)image_ptr, img_size); in mpfs_fpga_load()