| /include/ |
| A D | p2sb.h | 79 uint pcr_read32(struct udevice *dev, uint offset); 80 uint pcr_read16(struct udevice *dev, uint offset); 81 uint pcr_read8(struct udevice *dev, uint offset); 94 void pcr_write8(struct udevice *dev, uint offset, uint data); 116 return pcr_clrsetbits32(dev, offset, 0, set); in pcr_setbits32() 121 return pcr_clrsetbits16(dev, offset, 0, set); in pcr_setbits16() 126 return pcr_clrsetbits8(dev, offset, 0, set); in pcr_setbits8() 131 return pcr_clrsetbits32(dev, offset, clr, 0); in pcr_clrbits32() 136 return pcr_clrsetbits16(dev, offset, clr, 0); in pcr_clrbits16() 141 return pcr_clrsetbits8(dev, offset, clr, 0); in pcr_clrbits8() [all …]
|
| A D | spi_flash.h | 20 int (*read)(struct udevice *dev, u32 offset, size_t len, void *buf); 21 int (*write)(struct udevice *dev, u32 offset, size_t len, 23 int (*erase)(struct udevice *dev, u32 offset, size_t len); 63 int spi_flash_write_dm(struct udevice *dev, u32 offset, size_t len, 119 return spi_flash_read_dm(flash->dev, offset, len, buf); in spi_flash_read() 125 return spi_flash_write_dm(flash->dev, offset, len, buf); in spi_flash_write() 131 return spi_flash_erase_dm(flash->dev, offset, len); in spi_flash_erase() 190 return mtd->_read(mtd, offset, len, &retlen, buf); in spi_flash_read() 202 return mtd->_write(mtd, offset, len, &retlen, buf); in spi_flash_write() 211 if (offset % mtd->erasesize || len % mtd->erasesize) { in spi_flash_erase() [all …]
|
| A D | i2c_eeprom.h | 15 int (*read)(struct udevice *dev, int offset, uint8_t *buf, int size); 16 int (*write)(struct udevice *dev, int offset, const uint8_t *buf, 39 int i2c_eeprom_read(struct udevice *dev, int offset, uint8_t *buf, int size); 51 int i2c_eeprom_write(struct udevice *dev, int offset, const uint8_t *buf, 65 static inline int i2c_eeprom_read(struct udevice *dev, int offset, uint8_t *buf, in i2c_eeprom_read() argument 71 static inline int i2c_eeprom_write(struct udevice *dev, int offset, in i2c_eeprom_write() argument
|
| A D | eeprom.h | 14 int eeprom_read(uint dev_addr, uint offset, uchar *buffer, uint cnt); 15 int eeprom_write(uint dev_addr, uint offset, uchar *buffer, uint cnt); 22 #define eeprom_read(dev_addr, offset, buffer, cnt) (-ENOSYS) argument 23 #define eeprom_write(dev_addr, offset, buffer, cnt) (-ENOSYS) argument
|
| A D | spl_load.h | 16 size_t offset) in _spl_load() argument 24 read = info->read(info, offset, ALIGN(sizeof(*header), in _spl_load() 44 read = info->read(info, offset, in _spl_load() 55 return spl_load_simple_fit(spl_image, info, offset, in _spl_load() 63 return spl_load_imx_container(spl_image, info, offset); in _spl_load() 73 return spl_load_legacy_lzma(spl_image, info, offset); in _spl_load() 80 base_offset = spl_image->offset; in _spl_load() 89 read = info->read(info, offset + image_offset, size, in _spl_load() 142 size_t size, size_t offset); 147 size_t offset) in spl_load() argument [all …]
|
| A D | sl28cpld.h | 11 int sl28cpld_read(struct udevice *dev, uint offset); 12 int sl28cpld_write(struct udevice *dev, uint offset, uint8_t value); 13 int sl28cpld_update(struct udevice *dev, uint offset, uint8_t clear,
|
| A D | misc.h | 20 int misc_read(struct udevice *dev, int offset, void *buf, int size); 31 int misc_write(struct udevice *dev, int offset, const void *buf, int size); 97 int (*read)(struct udevice *dev, int offset, void *buf, int size); 108 int (*write)(struct udevice *dev, int offset, const void *buf,
|
| A D | virtio.h | 553 unsigned int offset, in __virtio_cread_many() argument 565 virtio_get_config(vdev, offset + bytes * i, in __virtio_cread_many() 573 unsigned int offset, in virtio_cread_bytes() argument 576 __virtio_cread_many(vdev, offset, buf, len, 1); in virtio_cread_bytes() 588 unsigned int offset, u8 val) in virtio_cwrite8() argument 594 unsigned int offset) in virtio_cread16() argument 603 unsigned int offset, u16 val) in virtio_cwrite16() argument 610 unsigned int offset) in virtio_cread32() argument 619 unsigned int offset, u32 val) in virtio_cwrite32() argument 626 unsigned int offset) in virtio_cread64() argument [all …]
|
| A D | w1-eeprom.h | 21 int (*read_buf)(struct udevice *dev, unsigned int offset, 25 int w1_eeprom_read_buf(struct udevice *dev, unsigned int offset,
|
| A D | regmap.h | 131 int regmap_write(struct regmap *map, uint offset, uint val); 143 int regmap_read(struct regmap *map, uint offset, uint *valp); 160 int regmap_raw_write(struct regmap *map, uint offset, const void *val, 179 int regmap_raw_read(struct regmap *map, uint offset, void *valp, 194 int regmap_raw_write_range(struct regmap *map, uint range_num, uint offset, 210 int regmap_raw_read_range(struct regmap *map, uint range_num, uint offset, 362 int regmap_update_bits(struct regmap *map, uint offset, uint mask, uint val); 373 static inline int regmap_set_bits(struct regmap *map, uint offset, uint bits) in regmap_set_bits() argument 375 return regmap_update_bits(map, offset, bits, bits); in regmap_set_bits() 387 static inline int regmap_clear_bits(struct regmap *map, uint offset, uint bits) in regmap_clear_bits() argument [all …]
|
| A D | avb_verify.h | 62 static inline uint64_t calc_offset(struct mmc_part *part, int64_t offset) in calc_offset() argument 66 if (offset < 0) in calc_offset() 67 return part_size + offset; in calc_offset() 69 return offset; in calc_offset()
|
| A D | semihostingfs.h | 16 int smh_fs_read(const char *filename, void *buf, loff_t offset, loff_t len, 18 int smh_fs_write(const char *filename, void *buf, loff_t offset,
|
| A D | fdt_region.h | 8 int offset; member 58 int offset; /* Offset of node */ member 258 int (*h_include)(void *priv, const void *fdt, int offset, 274 int (*h_include)(void *priv, const void *fdt, int offset,
|
| A D | pci.h | 97 #define pci_offset_to_barnum(offset) \ argument 98 (((offset) - PCI_BASE_ADDRESS_0) / sizeof(u32)) 891 uint offset, ulong *valuep, enum pci_size_t size); 1150 uint offset, 1176 uint offset, 1204 return pci_write_config32(pcidev, offset, value); in pci_write_config_dword() 1211 return pci_write_config16(pcidev, offset, value); in pci_write_config_word() 1218 return pci_write_config8(pcidev, offset, value); in pci_write_config_byte() 1225 return pci_read_config32(pcidev, offset, valuep); in pci_read_config_dword() 1232 return pci_read_config16(pcidev, offset, valuep); in pci_read_config_word() [all …]
|
| A D | nand.h | 69 loff_t offset; /* first address in NAND to erase */ member 84 int nand_read_skip_bad(struct mtd_info *mtd, loff_t offset, size_t *length, 90 int nand_write_skip_bad(struct mtd_info *mtd, loff_t offset, size_t *length, 94 int nand_torture(struct mtd_info *mtd, loff_t offset); 105 int nand_get_lock_status(struct mtd_info *mtd, loff_t offset); 109 int nand_spl_read_block(int block, int offset, int len, void *dst);
|
| A D | ubi_uboot.h | 51 extern int ubi_volume_write(char *volume, void *buf, loff_t offset, size_t size); 52 extern int ubi_volume_read(char *volume, char *buf, loff_t offset, size_t size);
|
| A D | sandboxfs.h | 35 int fs_read_sandbox(const char *filename, void *buf, loff_t offset, loff_t len, 37 int fs_write_sandbox(const char *filename, void *buf, loff_t offset,
|
| A D | exfat.h | 12 int exfat_fs_read(const char *filename, void *buf, loff_t offset, 21 int exfat_fs_write(const char *filename, void *buf, loff_t offset,
|
| A D | fsl_devdis.h | 11 u32 offset; member
|
| /include/cavium/ |
| A D | atf.h | 9 ssize_t atf_read_mmc(uintptr_t offset, void *buffer, size_t size); 10 ssize_t atf_read_nor(uintptr_t offset, void *buffer, size_t size); 13 ssize_t atf_erase_nor(uintptr_t offset, size_t size); 14 ssize_t atf_write_nor(uintptr_t offset, const void *buffer, size_t size); 15 ssize_t atf_write_mmc(uintptr_t offset, const void *buffer, size_t size);
|
| /include/dt-bindings/gpio/ |
| A D | tegra186-gpio.h | 43 #define TEGRA_MAIN_GPIO(port, offset) \ argument 44 ((TEGRA_MAIN_GPIO_PORT_##port * 8) + offset) 56 #define TEGRA_AON_GPIO(port, offset) \ argument 57 ((TEGRA_AON_GPIO_PORT_##port * 8) + offset)
|
| /include/linux/ |
| A D | io.h | 59 static inline void __iomem *ioremap(resource_size_t offset, in ioremap() argument 62 return (void __iomem *)(unsigned long)offset; in ioremap() 70 #define devm_ioremap(dev, offset, size) ioremap(offset, size) argument
|
| /include/linux/mtd/ |
| A D | ubi.h | 255 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset, 258 int offset, int len, int check); 260 int offset, int len); 275 int offset, int len) in ubi_read() argument 277 return ubi_leb_read(desc, lnum, buf, offset, len, 0); in ubi_read() 285 struct ubi_sgl *sgl, int offset, int len) in ubi_read_sg() argument 287 return ubi_leb_read_sg(desc, lnum, sgl, offset, len, 0); in ubi_read_sg()
|
| /include/asm-generic/ |
| A D | gpio.h | 138 uint offset; /* GPIO offset within the device */ member 193 int gpio_get_function(struct udevice *dev, int offset, const char **namep); 270 int (*request)(struct udevice *dev, unsigned offset, const char *label); 271 int (*rfree)(struct udevice *dev, unsigned int offset); 278 int (*direction_input)(struct udevice *dev, unsigned offset); 286 int (*direction_output)(struct udevice *dev, unsigned offset, 289 int (*get_value)(struct udevice *dev, unsigned offset); 298 int (*set_value)(struct udevice *dev, unsigned offset, int value); 306 int (*get_function)(struct udevice *dev, unsigned offset); 366 int (*set_flags)(struct udevice *dev, unsigned int offset, ulong flags); [all …]
|
| /include/cramfs/ |
| A D | cramfs_fs.h | 41 u32 namelen:CRAMFS_NAMELEN_WIDTH, offset:CRAMFS_OFFSET_WIDTH; member 91 #define CRAMFS_GET_OFFSET(x) ((x)->offset) 92 #define CRAMFS_SET_OFFSET(x,y) ((x)->offset = (y))
|