/trusted-firmware-a/drivers/io/ |
A D | io_storage.c | 45 return (dev != NULL) && (dev->funcs != NULL) && in is_valid_dev() 46 (dev->funcs->type != NULL) && in is_valid_dev() 181 result = dev->funcs->dev_init(dev, init_params); in io_dev_init() 198 result = dev->funcs->dev_close(dev); in io_dev_close() 222 result = dev->funcs->open(dev, spec, entity); in io_open() 225 entity->dev_handle = dev; in io_open() 244 if (dev->funcs->seek != NULL) in io_seek() 261 if (dev->funcs->size != NULL) in io_size() 281 if (dev->funcs->read != NULL) in io_read() 301 if (dev->funcs->write != NULL) { in io_write() [all …]
|
/trusted-firmware-a/include/services/ |
A D | pci_svc.h | 26 #define PCI_ADDR_FUN(dev) ((dev) & U(0x7)) argument 27 #define PCI_ADDR_DEV(dev) (((dev) >> U(3)) & U(0x001F)) argument 28 #define PCI_ADDR_BUS(dev) (((dev) >> U(8)) & U(0x00FF)) argument 29 #define PCI_ADDR_SEG(dev) (((dev) >> U(16)) & U(0xFFFF)) argument
|
/trusted-firmware-a/drivers/rambus/ |
A D | trng_ip_76.c | 97 static inline uint32_t eip76_rng_read(struct eip76_rng_dev *dev, uint16_t reg) in eip76_rng_read() argument 99 return mmio_read_32(dev->base + dev->regs[reg]); in eip76_rng_read() 102 static inline void eip76_rng_write(struct eip76_rng_dev *dev, in eip76_rng_write() argument 105 mmio_write_32(dev->base + dev->regs[reg], val); in eip76_rng_write() 108 static void eip76_rng_init(struct eip76_rng_dev *dev) in eip76_rng_init() argument 113 if (eip76_rng_read(dev, RNG_CONTROL_REG) & in eip76_rng_init() 154 eip76_rng_write(dev, RNG_CONFIG_REG, val); in eip76_rng_init() 157 eip76_rng_write(dev, RNG_FRODETUNE_REG, RNG_REG_FRO_DETUNE_MASK); in eip76_rng_init() 158 eip76_rng_write(dev, RNG_FROENABLE_REG, RNG_REG_FRO_ENABLE_MASK); in eip76_rng_init() 161 eip76_rng_write(dev, RNG_CONTROL_REG, RNG_CONTROL_ENABLE_TRNG_MASK); in eip76_rng_init()
|
/trusted-firmware-a/lib/debugfs/ |
A D | dev.h | 26 typedef struct dev dev_t; 59 struct dev { struct 67 chan_t *(*attach)(int id, int dev); argument 79 unsigned char dev; member 94 chan_t *attach(int id, int dev); 103 chan_t *devattach(int id, int dev);
|
A D | dev.c | 147 channel->dev = 0; in channel_clear() 217 chan_t *attach(int id, int dev) in attach() argument 226 return devtab[index]->attach(id, dev); in attach() 233 chan_t *devattach(int id, int dev) in devattach() argument 248 channel->dev = dev; in devattach() 362 new_channel->dev = channel->dev; in devclone() 450 dir->dev = channel->dev; in make_dir_entry()
|
A D | devfip.c | 128 if (c->dev >= nfips) { in fipgen() 132 if (clone(archives[c->dev].c, &nc) == NULL) { in fipgen() 136 fip = &archives[nc.dev]; in fipgen() 198 if ((c->dev >= nfips) || ((c->qid & CHDIR) != 0)) { in fipread() 202 fip = &archives[c->dev]; in fipread()
|
A D | devc.c | 7 typedef struct dev dev_t;
|
A D | debugfs.mk | 8 dev.c \
|
/trusted-firmware-a/plat/rpi/rpi4/ |
A D | rpi4_pci_svc.c | 49 uint32_t bus, dev, fun; in pci_segment_lib_get_base() local 67 dev = PCI_ADDR_DEV(address); in pci_segment_lib_get_base() 70 (dev << PCIE_EXT_DEV_SHIFT) | in pci_segment_lib_get_base() 74 if ((bus < 2U) && (dev > 0U)) { in pci_segment_lib_get_base()
|
/trusted-firmware-a/plat/nvidia/tegra/soc/t210/drivers/se/ |
A D | se_private.h | 636 static inline uint32_t tegra_se_read_32(const tegra_se_dev_t *dev, uint32_t offset) in tegra_se_read_32() argument 638 return mmio_read_32(dev->se_base + offset); in tegra_se_read_32() 641 static inline void tegra_se_write_32(const tegra_se_dev_t *dev, uint32_t offset, uint32_t val) in tegra_se_write_32() argument 643 mmio_write_32(dev->se_base + offset, val); in tegra_se_write_32() 646 static inline uint32_t tegra_pka_read_32(tegra_pka_dev_t *dev, uint32_t offset) in tegra_pka_read_32() argument 648 return mmio_read_32(dev->pka_base + offset); in tegra_pka_read_32() 651 static inline void tegra_pka_write_32(tegra_pka_dev_t *dev, uint32_t offset, in tegra_pka_write_32() argument 654 mmio_write_32(dev->pka_base + offset, val); in tegra_pka_write_32()
|
/trusted-firmware-a/.husky/ |
A D | commit-msg.gerrit | 54 if grep -i '^Change-Id:' "$MSG" >/dev/null 179 if parent=`git rev-parse "HEAD^0" 2>/dev/null`
|
/trusted-firmware-a/plat/nxp/common/tbbr/ |
A D | tbbr.mk | 129 openssl genrsa 2048 > $@ 2>/dev/null; \ 134 $(Q)openssl rsa -in $< -pubout -outform DER 2>/dev/null |\ 135 openssl dgst -sha256 -binary > $@ 2>/dev/null
|
/trusted-firmware-a/plat/socionext/uniphier/ |
A D | platform.mk | 110 $(Q)openssl genrsa 2048 > $@ 2>/dev/null 114 $(Q)openssl rsa -in $< -pubout -outform DER 2>/dev/null |\ 115 openssl dgst -sha256 -binary > $@ 2>/dev/null
|
/trusted-firmware-a/plat/mediatek/mt8195/drivers/mcdi/ |
A D | mt_mcdi.c | 78 static void mtk_mcupm_pwr_ctrl_setting(uint32_t dev) in mtk_mcupm_pwr_ctrl_setting() argument 80 mcdi_mbox_write(APMCU_MCUPM_MBOX_PWR_CTRL_EN, dev); in mtk_mcupm_pwr_ctrl_setting()
|
/trusted-firmware-a/plat/mediatek/mt8192/drivers/mcdi/ |
A D | mt_mcdi.c | 78 static void mtk_mcupm_pwr_ctrl_setting(uint32_t dev) in mtk_mcupm_pwr_ctrl_setting() argument 80 mcdi_mbox_write(APMCU_MCUPM_MBOX_PWR_CTRL_EN, dev); in mtk_mcupm_pwr_ctrl_setting()
|
/trusted-firmware-a/plat/imx/imx7/common/ |
A D | imx7.mk | 83 openssl genrsa 2048 > $@ 2>/dev/null; \ 88 $(Q)openssl rsa -in $< -pubout -outform DER 2>/dev/null |\ 89 openssl dgst -sha256 -binary > $@ 2>/dev/null
|
/trusted-firmware-a/drivers/renesas/common/io/ |
A D | io_memdrv.c | 20 static int32_t memdrv_dev_open(const uintptr_t dev __attribute__ ((unused)), 131 static int32_t memdrv_dev_open(const uintptr_t dev __attribute__ ((unused)), in memdrv_dev_open() argument
|
/trusted-firmware-a/plat/nxp/soc-ls1028a/ |
A D | soc.c | 122 enum boot_device dev = get_boot_dev(); in soc_early_init() local 128 if (dev == BOOT_DEVICE_EMMC || dev == BOOT_DEVICE_SDHC2_EMMC) { in soc_early_init()
|
/trusted-firmware-a/plat/imx/imx8m/imx8mm/ |
A D | platform.mk | 123 openssl genrsa 2048 > $@ 2>/dev/null; \ 128 $(Q)openssl rsa -in $< -pubout -outform DER 2>/dev/null |\ 129 openssl dgst -sha256 -binary > $@ 2>/dev/null
|
/trusted-firmware-a/plat/imx/imx8m/imx8mp/ |
A D | platform.mk | 126 openssl genrsa 2048 > $@ 2>/dev/null; \ 131 $(Q)openssl rsa -in $< -pubout -outform DER 2>/dev/null |\ 132 openssl dgst -sha256 -binary > $@ 2>/dev/null
|
/trusted-firmware-a/plat/hisilicon/hikey/ |
A D | platform.mk | 153 $(Q)openssl genrsa 2048 > $@ 2>/dev/null 157 $(Q)openssl rsa -in $< -pubout -outform DER 2>/dev/null |\ 158 openssl dgst -sha256 -binary > $@ 2>/dev/null
|
/trusted-firmware-a/plat/hisilicon/hikey960/ |
A D | platform.mk | 145 $(Q)openssl genrsa 2048 > $@ 2>/dev/null 149 $(Q)openssl rsa -in $< -pubout -outform DER 2>/dev/null |\ 150 openssl dgst -sha256 -binary > $@ 2>/dev/null
|
/trusted-firmware-a/plat/rpi/rpi3/ |
A D | platform.mk | 215 $(Q)openssl genrsa 2048 > $@ 2>/dev/null 219 $(Q)openssl rsa -in $< -pubout -outform DER 2>/dev/null |\ 220 openssl dgst -sha256 -binary > $@ 2>/dev/null
|
/trusted-firmware-a/plat/nxp/soc-lx2160a/ |
A D | soc.c | 232 enum boot_device dev = get_boot_dev(); in soc_early_init() local 237 if (dev == BOOT_DEVICE_EMMC || dev == BOOT_DEVICE_SDHC2_EMMC) { in soc_early_init()
|
/trusted-firmware-a/docs/build/TF-A_2.5/_sources/plat/ |
A D | warp7.rst.txt | 122 /dev like /dev/disk/by-id/usb-Linux_UMS_disk_0_WaRP7-0xf42400d3000001d4-0\:0 135 …sudo dd if=bl2.bin.imx of=/dev/disk/by-id/usb-Linux_UMS_disk_0_WaRP7-0xf42400d3000001d4-0\:0 bs=51… 137 …sudo dd if=./warp7.fip of=/dev/disk/by-id/usb-Linux_UMS_disk_0_WaRP7-0xf42400d3000001d4-0\:0 bs=51… 143 sudo umount /dev/disk/by-id/usb-Linux_UMS_disk_0_WaRP7-0xf42400d3000001d4-0\:0*
|