/u-boot/drivers/spi/ |
H A D | cv1800b_spif.c | 160 u32 xfer_size, off; local 187 off = 0; 188 while (off < len) { 189 xfer_size = min_t(u32, len - off, CV1800B_FIFO_CAPACITY); 199 din[off++] = readb(®s->ff_port); 201 writeb(dout[off++], ®s->ff_port);
|
/u-boot/drivers/gpio/ |
H A D | mscc_sgpio.c | 83 static inline u32 sgpio_readl(struct mscc_sgpio_priv *priv, u32 rno, u32 off) argument 85 u32 __iomem *reg = &priv->regs[priv->props->regoff[rno] + off]; 91 u32 val, u32 rno, u32 off) 93 u32 __iomem *reg = &priv->regs[priv->props->regoff[rno] + off]; 99 u32 rno, u32 off, u32 clear, u32 set) 101 u32 __iomem *reg = &priv->regs[priv->props->regoff[rno] + off]; 90 sgpio_writel(struct mscc_sgpio_priv *priv, u32 val, u32 rno, u32 off) argument 98 sgpio_clrsetbits(struct mscc_sgpio_priv *priv, u32 rno, u32 off, u32 clear, u32 set) argument
|
/u-boot/arch/powerpc/include/asm/ |
H A D | fsl_liodn.h | 69 #define SET_FMAN_LIODN_ENTRY(name1, name2, idA, off, compatoff)\ 73 .reg_offset = off + CFG_SYS_CCSRBAR, \ 77 #define SET_LIODN_ENTRY_1(name, idA, off, compatoff) \ 80 .reg_offset = off + CFG_SYS_CCSRBAR, \ 84 #define SET_LIODN_ENTRY_2(name, idA, idB, off, compatoff) \ 87 .reg_offset = off + CFG_SYS_CCSRBAR, \
|
/u-boot/env/ |
H A D | ext4.c | 143 loff_t off; local 175 &off);
|
/u-boot/include/ |
H A D | nand.h | 52 static inline int nand_erase(struct mtd_info *info, loff_t off, size_t size) argument 57 instr.addr = off;
|
/u-boot/cmd/ |
H A D | onenand.c | 28 static int arg_off_size_onenand(int argc, char *const argv[], ulong *off, argument 32 if (!(str2long(argv[0], off))) { 37 *off = 0; 46 *size = mtd->size - *off; 49 if ((*off + *size) > mtd->size) { 57 printf("offset 0x%lx, size 0x%zx\n", *off, *size); 301 static int onenand_dump(struct mtd_info *mtd, ulong off, int only_oob) argument 314 off &= ~(mtd->writesize - 1); 315 addr = (loff_t) off; 324 printf("Error (%d) reading page %08lx\n", i, off); [all...] |
H A D | mmc.c | 672 else if (!strcmp(argv[i+1], "off")) 706 else if (!strcmp(argv[i+1], "off")) 779 pconf.user.wr_rel_set ? "on" : "off"); 791 pconf.gp_part[pidx].wr_rel_set ? "on" : "off"); 1120 u32 off; local 1136 off = simple_strtoul(argv[3], NULL, 10); 1138 if (off > 3) 1140 printf("CID[%i]: 0x%08x\n", off, mmc->cid[off]); 1142 env_set_hex(argv[4], mmc->cid[off]); [all...] |
H A D | ubi.c | 425 int err, lnum, off, len, tbuf_size; local 470 off = do_div(tmp, vol->usable_leb_size); 474 if (off + len >= vol->usable_leb_size) 475 len = vol->usable_leb_size - off; 477 err = ubi_eba_read_leb(ubi, vol, lnum, tbuf, off, len, 0); 483 off += len; 484 if (off == vol->usable_leb_size) { 486 off -= vol->usable_leb_size; 829 "ubi skipcheck volume on/off - Set or clear skip_check flag in volume header\n"
|
/u-boot/drivers/pci/ |
H A D | pcie_layerscape_gen4.h | 94 #define OFFSET_TO_PAGE_IDX(off) \ 95 (((off) >> PAGE_IDX_SHIFT) & PAB_CTRL_PAGE_SEL_MASK) 97 #define OFFSET_TO_PAGE_ADDR(off) \ 98 (((off) & PAGE_ADDR_MASK) | INDIRECT_ADDR_BNDRY)
|
H A D | pcie_layerscape.h | 105 #define PCIE_MASK_OFFSET(flag, pf, off) ((flag) ? 0 : (0x1000 + (off) * (pf)))
|
/u-boot/drivers/clk/renesas/ |
H A D | rzg2l-cpg.h | 184 * @off: register offset 192 u16 off; member in struct:rzg2l_mod_clk 202 .off = (_off), \ 216 * @off: register offset 221 u16 off; member in struct:rzg2l_reset 228 .off = (_off), \
|
/u-boot/board/variscite/common/ |
H A D | imx9_eeprom.h | 47 u16 off[DRAM_TABLE_NUM + 1]; /* 50-0x32 - DRAM table offsets */ member in struct:var_eeprom
|
/u-boot/drivers/power/domain/ |
H A D | tegra186-power-domain.c | 61 .off = tegra186_power_domain_off,
|
H A D | sandbox-power-domain.c | 82 .off = sandbox_power_domain_off,
|
H A D | bcm6328-power-domain.c | 62 .off = bcm6328_power_domain_off,
|
H A D | zynqmp-power-domain.c | 65 .off = zynqmp_power_domain_off,
|
H A D | power-domain-uclass.c | 126 return ops->off ? ops->off(power_domain) : 0; 151 * off their power-domain parent. So we will get here again and
|
/u-boot/arch/arm/mach-imx/mx6/ |
H A D | module_fuse.c | 197 int rc, off; local 203 off = fdt_path_offset(blob, 206 if (off < 0) 209 rc = fdt_setprop(blob, off, "status", status,
|
/u-boot/arch/arm/mach-imx/imx8/ |
H A D | fdt.c | 286 int off; local 289 off = fdt_add_mem_rsv(blob, CONFIG_BOOTAUX_RESERVED_MEM_BASE, 291 if (off < 0) 293 fdt_strerror(off));
|
/u-boot/drivers/video/imx/ |
H A D | ipu_common.c | 47 int off = (bit) % 32; \ 48 _param_word(base, w)[i] |= (v) << off; \ 50 _param_word(base, w)[i + 1] |= (v) >> (off ? (32 - off) : 0); \ 56 int off = (bit) % 32; \ 59 temp &= ~(mask << off); \ 60 _param_word(base, w)[i] = temp | (v) << off; \ 63 temp &= ~(mask >> (32 - off)); \ 65 temp | ((v) >> (off ? (32 - off) [all...] |
/u-boot/board/toradex/colibri_imx7/ |
H A D | colibri_imx7.c | 141 * Backlight off before OS handover 308 int off; local 310 off = fdt_node_offset_by_compatible(blob, -1, 312 if (off > 0) 313 fdt_status_disabled(blob, off);
|
/u-boot/drivers/block/ |
H A D | rkmtd.c | 125 static int rkmtd_write_oob(struct rkmtd_dev *plat, ulong off, u_char *datbuf, u_char *oobbuf) argument 132 off &= ~(mtd->writesize - 1); 133 addr = (loff_t)off; 143 debug("Error (%d) writing page %08lx\n", ret, off); 150 static int rkmtd_read_oob(struct rkmtd_dev *plat, ulong off, u_char *datbuf, u_char *oobbuf) argument 157 off &= ~(mtd->writesize - 1); 158 addr = (loff_t)off; 168 debug("Error (%d) reading page %08lx\n", ret, off); 175 static int rkmtd_erase(struct rkmtd_dev *plat, ulong off) argument 182 off 233 ulong off = plat->idblock[idx].blk * plat->mtd->erasesize; local 275 ulong off = plat->idblock[idx].blk * plat->mtd->erasesize; local [all...] |
/u-boot/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtk-common.c | 676 static int mtk_gpio_get(struct udevice *dev, unsigned int off) argument 680 err = mtk_hw_get_value(dev->parent, off, PINCTRL_PIN_REG_DI, &val); 687 static int mtk_gpio_set(struct udevice *dev, unsigned int off, int val) argument 689 return mtk_hw_set_value(dev->parent, off, PINCTRL_PIN_REG_DO, !!val); 692 static int mtk_gpio_get_direction(struct udevice *dev, unsigned int off) argument 696 err = mtk_hw_get_value(dev->parent, off, PINCTRL_PIN_REG_DIR, &val); 703 static int mtk_gpio_direction_input(struct udevice *dev, unsigned int off) argument 705 return mtk_hw_set_value(dev->parent, off, PINCTRL_PIN_REG_DIR, 0); 709 unsigned int off, int val) 711 mtk_gpio_set(dev, off, va 708 mtk_gpio_direction_output(struct udevice *dev, unsigned int off, int val) argument 717 mtk_gpio_request(struct udevice *dev, unsigned int off, const char *label) argument [all...] |
/u-boot/drivers/clk/mediatek/ |
H A D | clk-mtk.c | 30 /* scpsys clock off control */ 284 static ulong mtk_topckgen_get_factor_rate(struct clk *clk, u32 off) argument 287 const struct mtk_fixed_factor *fdiv = &priv->tree->fdivs[off]; 307 static ulong mtk_infrasys_get_factor_rate(struct clk *clk, u32 off) argument 310 const struct mtk_fixed_factor *fdiv = &priv->tree->fdivs[off]; 328 static ulong mtk_topckgen_get_mux_rate(struct clk *clk, u32 off) argument 331 const struct mtk_composite *mux = &priv->tree->muxes[off]; 356 static ulong mtk_infrasys_get_mux_rate(struct clk *clk, u32 off) argument 359 const struct mtk_composite *mux = &priv->tree->muxes[off]; 440 /* enable scpsys clock off contro [all...] |
/u-boot/test/py/tests/ |
H A D | vboot_evil.py | 24 def getstr(dt_strings, off): 29 off (int): Offset of string to read 35 while dt_strings[off]: 36 output += chr(dt_strings[off]) 37 off += 1
|