Searched refs:off (Results 101 - 125 of 196) sorted by relevance

12345678

/u-boot/drivers/spi/
H A Dcv1800b_spif.c160 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(&regs->ff_port);
201 writeb(dout[off++], &regs->ff_port);
/u-boot/drivers/gpio/
H A Dmscc_sgpio.c83 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 Dfsl_liodn.h69 #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 Dext4.c143 loff_t off; local
175 &off);
/u-boot/include/
H A Dnand.h52 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 Donenand.c28 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 Dmmc.c672 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 Dubi.c425 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 Dpcie_layerscape_gen4.h94 #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 Dpcie_layerscape.h105 #define PCIE_MASK_OFFSET(flag, pf, off) ((flag) ? 0 : (0x1000 + (off) * (pf)))
/u-boot/drivers/clk/renesas/
H A Drzg2l-cpg.h184 * @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 Dimx9_eeprom.h47 u16 off[DRAM_TABLE_NUM + 1]; /* 50-0x32 - DRAM table offsets */ member in struct:var_eeprom
/u-boot/drivers/power/domain/
H A Dtegra186-power-domain.c61 .off = tegra186_power_domain_off,
H A Dsandbox-power-domain.c82 .off = sandbox_power_domain_off,
H A Dbcm6328-power-domain.c62 .off = bcm6328_power_domain_off,
H A Dzynqmp-power-domain.c65 .off = zynqmp_power_domain_off,
H A Dpower-domain-uclass.c126 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 Dmodule_fuse.c197 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 Dfdt.c286 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 Dipu_common.c47 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 Dcolibri_imx7.c141 * 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 Drkmtd.c125 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 Dpinctrl-mtk-common.c676 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 Dclk-mtk.c30 /* 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 Dvboot_evil.py24 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

Completed in 130 milliseconds

12345678