Home
last modified time | relevance | path

Searched refs:dev (Results 1 – 25 of 61) sorted by relevance

123

/trusted-firmware-a/drivers/io/
A Dio_storage.c45 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 Dpci_svc.h26 #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 Dtrng_ip_76.c97 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 Ddev.h26 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 Ddev.c147 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 Ddevfip.c128 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 Ddevc.c7 typedef struct dev dev_t;
A Ddebugfs.mk8 dev.c \
/trusted-firmware-a/plat/rpi/rpi4/
A Drpi4_pci_svc.c49 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 Dse_private.h636 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 Dcommit-msg.gerrit54 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 Dtbbr.mk129 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 Dplatform.mk110 $(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 Dmt_mcdi.c78 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 Dmt_mcdi.c78 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 Dimx7.mk83 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 Dio_memdrv.c20 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 Dsoc.c122 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 Dplatform.mk123 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 Dplatform.mk126 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 Dplatform.mk153 $(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 Dplatform.mk145 $(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 Dplatform.mk215 $(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 Dsoc.c232 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 Dwarp7.rst.txt122 /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*

Completed in 25 milliseconds

123