/u-boot/drivers/bios_emulator/x86emu/ |
H A D | decode.c | 728 index - index value of SIB byte 731 Value of scale * index 734 Decodes scale/index of SIB byte and returns relevant offset part of 739 int index) 747 switch (index) { 750 return M.x86.R_EAX * index; 753 return M.x86.R_ECX * index; 756 return M.x86.R_EDX * index; 759 return M.x86.R_EBX * index; 737 decode_sib_si( int scale, int index) argument 792 int index = (sib >> 3) & 0x07; local [all...] |
/u-boot/drivers/phy/ |
H A D | phy-mtk-tphy.c | 258 u32 index; member in struct:mtk_phy_instance 327 dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index); 345 dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index); 363 dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index); 403 dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index); 704 u32 index; local 716 for (index = 0; index < tphy->nphys; index++) 717 if (phy_np == tphy->phys[index] 766 int index = 0; local [all...] |
/u-boot/drivers/net/ |
H A D | rswitch.c | 199 int index; member in struct:rswitch_etha 207 int index; member in struct:rswitch_gwca 322 rswitch_agent_clock_ctrl(priv, etha->index, 1); 332 rswitch_agent_clock_ctrl(priv, etha->index, 0); 345 rswitch_agent_clock_ctrl(priv, gwca->index, 1); 355 rswitch_agent_clock_ctrl(priv, gwca->index, 0); 607 setbits_le32(priv->addr + RCEC, BIT(etha->index) | BIT(gwca->index) | RCEC_RCE); 626 writel(FWPC0_DEFAULT, priv->addr + FWPC0(etha->index)); 627 writel(FWPC0_DEFAULT, priv->addr + FWPC0(gwca->index)); [all...] |
/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
H A D | cpu.c | 524 int index; local 532 for (index = 0; index < ARRAY_SIZE(final_map) - 2; index++) { 538 switch (final_map[index].virt) { 540 final_map[index].virt = gd->bd->bi_dram[0].start; 541 final_map[index].phys = gd->bd->bi_dram[0].start; 542 final_map[index].size = gd->bd->bi_dram[0].size; 547 final_map[index].virt = gd->bd->bi_dram[1].start; 548 final_map[index] [all...] |
/u-boot/arch/mips/mach-octeon/ |
H A D | cvmx-pki.c | 354 int mask, tag_idx, index; local 409 index = tag_idx * 4 + mask; 410 tag_mask.u64 = csr_rd_node(node, CVMX_PKI_TAG_INCX_MASK(index)); 412 tag_ctl.u64 = csr_rd_node(node, CVMX_PKI_TAG_INCX_CTL(index)); 420 * hardware. In Custom-Mask Tagging, all four masks use the same base index 431 int mask, index, tag_idx, mtag_en = 0; local 521 index = tag_idx * 4 + mask; 523 node, CVMX_PKI_TAG_INCX_MASK(index)); 525 csr_wr_node(node, CVMX_PKI_TAG_INCX_MASK(index), 529 node, CVMX_PKI_TAG_INCX_CTL(index)); 763 cvmx_pki_pcam_write_entry(int node, int index, uint64_t cluster_mask, struct cvmx_pki_pcam_input input, struct cvmx_pki_pcam_action action) argument [all...] |
/u-boot/include/zfs/ |
H A D | zfs.h | 106 size_t index);
|
/u-boot/arch/x86/cpu/intel_common/ |
H A D | car2_uninit.S | 9 #include <asm/msr-index.h>
|
/u-boot/arch/x86/cpu/i386/ |
H A D | call64.S | 9 #include <asm/msr-index.h>
|
/u-boot/arch/powerpc/include/asm/ |
H A D | fsl_i2c.h | 75 u32 index; member in struct:fsl_i2c_dev
|
/u-boot/include/net/ |
H A D | dsa.h | 68 * @rcv: Process the DSA tag on reception and return the port index 69 * from the h/w provided tag. Return the index via 'portp'. 92 * @index: Port index in the DSA switch, set by the uclass code. 98 u32 index; member in struct:dsa_port_pdata 155 * @port: Port index
|
/u-boot/include/acpi/ |
H A D | acpi_dp.h | 217 * @index: Index of the GPIO resource in _CRS starting from zero 223 const char *ref, int index, int pin,
|
/u-boot/include/dm/ |
H A D | uclass-internal.h | 109 * dev_get_uclass_index() - Get uclass and index of device 110 * @dev: - in - Device that we want the uclass/index of 115 * Return: the index of the device in the uclass list or -ENODEV if not found. 122 * @index: Position of the child in uclass's list 128 * Return: the uclass pointer of a child at the given index or 131 int uclass_find_device(enum uclass_id id, int index, struct udevice **devp);
|
/u-boot/drivers/usb/host/ |
H A D | ehci.h | 272 * @index: Controller number to set 276 void ehci_set_controller_priv(int index, void *priv, 282 * @index Controller number to get 283 * Return: controller pointer for this index 285 void *ehci_get_controller_priv(int index); 288 int ehci_hcd_init(int index, enum usb_init_type init, 290 int ehci_hcd_stop(int index);
|
/u-boot/arch/m68k/include/asm/ |
H A D | fsl_i2c.h | 64 u32 index; member in struct:fsl_i2c_dev
|
/u-boot/include/ |
H A D | irq.h | 233 * irq_get_by_index - Get/request an irq by integer index. 235 * This looks up and requests an irq. The index is relative to the client 242 * @index: The index of the irq to request, within the client's list of 247 int irq_get_by_index(struct udevice *dev, int index, struct irq *irq);
|
H A D | mux.h | 71 * mux_get_by_index() = Get a mux by integer index. 73 * @index: The index of the mux to get. 76 * This looks up and initializes a mux. The index is relative to the client 81 int mux_get_by_index(struct udevice *dev, int index, struct mux_control **mux);
|
H A D | clk.h | 123 * clk_get_by_index() - Get/request a clock by integer index. 125 * @index: The index of the clock to request, within the client's list of 129 * This looks up and requests a clock. The index is relative to the client 137 int clk_get_by_index(struct udevice *dev, int index, struct clk *clk); 140 * clk_get_by_index_nodev() - Get/request a clock by integer index without a 143 * @index: The index of the clock to request, within the client's list of 149 int clk_get_by_index_nodev(ofnode node, int index, struct clk *clk); 259 static inline int clk_get_by_index(struct udevice *dev, int index, argument 265 clk_get_by_index_nodev(ofnode node, int index, struct clk *clk) argument [all...] |
/u-boot/drivers/mmc/ |
H A D | nexell_dw_mmc.c | 101 int index = host->dev_index; local 106 sprintf(name, "%s.%d", DEV_NAME_SDHC, index); 124 int index = host->dev_index; local 128 sprintf(name, "%s.%d", DEV_NAME_SDHC, index); 159 val = dev_read_u32_default(dev, "index", -1); 161 debug(" 'index' missing/invalid!\n"); 177 debug(" index==%d, name==%s, ioaddr==0x%08x\n",
|
/u-boot/board/liebherr/mccmon6/ |
H A D | spl.c | 534 u32 index = 0; local 542 for (index = 0; index < CFG_SYS_FSL_USDHC_NUM; ++index) { 543 switch (index) { 557 index + 1, CFG_SYS_FSL_USDHC_NUM); 561 ret = fsl_esdhc_initialize(bis, &usdhc_cfg[index]);
|
/u-boot/drivers/pci/ |
H A D | pcie_layerscape_fixup.c | 59 * Return next available LUT index. 83 static void ls_pcie_lut_set_mapping(struct ls_pcie_rc *pcie_rc, int index, argument 87 lut_writel(pcie_rc, devid << 16, PCIE_LUT_UDR(index)); 88 lut_writel(pcie_rc, streamid | PCIE_LUT_ENABLE, PCIE_LUT_LDR(index)); 193 int streamid, index; local 204 index = ls_pcie_next_lut_index(pcie_rc); 205 if (index < 0) { 212 ls_pcie_lut_set_mapping(pcie_rc, index, bdf >> 8, streamid);
|
/u-boot/drivers/usb/musb-new/ |
H A D | musb_uboot.c | 129 int ret, index = usb_pipein(pipe) * 16 + usb_pipeendpoint(pipe); local 136 if (dev->int_pending & (1 << index)) { 155 dev->int_pending |= 1 << index; 162 int index = usb_pipein(queue->urb.pipe) * 16 + local 168 dev->int_pending &= ~(1 << index); 251 int usb_lowlevel_stop(int index) argument 304 int usb_lowlevel_init(int index, enum usb_init_type init, void **controller) argument
|
/u-boot/board/gdsys/common/ |
H A D | osd.c | 136 static unsigned int ics8n3qv01_get_fout_calc(unsigned index) argument 144 if (index > 3) 147 reg_a = i2c_reg_read(ICS8N3QV01_I2C_ADDR, 0 + index); 148 reg_b = i2c_reg_read(ICS8N3QV01_I2C_ADDR, 4 + index); 149 reg_c = i2c_reg_read(ICS8N3QV01_I2C_ADDR, 8 + index); 150 reg_d = i2c_reg_read(ICS8N3QV01_I2C_ADDR, 12 + index); 151 reg_f = i2c_reg_read(ICS8N3QV01_I2C_ADDR, 20 + index);
|
/u-boot/board/wandboard/ |
H A D | spl.c | 482 u32 index = 0; local 490 for (index = 0; index < CFG_SYS_FSL_USDHC_NUM; ++index) { 491 switch (index) { 507 index + 1, CFG_SYS_FSL_USDHC_NUM); 511 ret = fsl_esdhc_initialize(bis, &usdhc_cfg[index]);
|
/u-boot/drivers/virtio/ |
H A D | virtio_mmio.c | 192 unsigned int index) 200 writel(index, priv->base + VIRTIO_MMIO_QUEUE_SEL); 216 vq = vring_create_virtqueue(index, num, VIRTIO_MMIO_VRING_ALIGN, udev); 283 unsigned int index = vq->index; local 286 writel(index, priv->base + VIRTIO_MMIO_QUEUE_SEL); 332 writel(vq->index, priv->base + VIRTIO_MMIO_QUEUE_NOTIFY); 191 virtio_mmio_setup_vq(struct udevice *udev, unsigned int index) argument
|
H A D | virtio_pci_legacy.c | 194 unsigned int index) 202 iowrite16(index, priv->ioaddr + VIRTIO_PCI_QUEUE_SEL); 212 vq = vring_create_virtqueue(index, num, VIRTIO_PCI_VRING_ALIGN, udev); 231 unsigned int index = vq->index; local 233 iowrite16(index, priv->ioaddr + VIRTIO_PCI_QUEUE_SEL); 276 iowrite16(vq->index, priv->ioaddr + VIRTIO_PCI_QUEUE_NOTIFY); 193 virtio_pci_setup_vq(struct udevice *udev, unsigned int index) argument
|