Searched refs:res (Results 251 - 275 of 325) sorted by relevance

<<111213

/u-boot/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c2652 struct resource *res; local
2654 struct resource res; local
2693 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
2694 ctrl->nand_base = devm_ioremap_resource(dev, res);
2696 dev_read_resource(pdev, 0, &res);
2697 ctrl->nand_base = devm_ioremap(pdev, res.start, resource_size(&res));
2723 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "nand-cache");
2724 if (res) {
2725 ctrl->nand_fc = devm_ioremap_resource(dev, res);
[all...]
/u-boot/drivers/spi/
H A Dspi-mem.c616 static void devm_spi_mem_dirmap_release(struct udevice *dev, void *res) argument
618 struct spi_mem_dirmap_desc *desc = *(struct spi_mem_dirmap_desc **)res;
658 static int devm_spi_mem_dirmap_match(struct udevice *dev, void *res, void *data) argument
660 struct spi_mem_dirmap_desc **ptr = res;
/u-boot/drivers/net/phy/
H A Dmarvell.c659 int res; local
685 res = genphy_config_aneg(phydev);
686 if (res < 0)
687 return res;
/u-boot/arch/arm/mach-stm32mp/cmd_stm32prog/
H A Dstm32prog_serial.c723 int res; local
765 res = stm32prog_read(data, part_id, offset,
767 if (res > 0)
768 rcv_data = res;
/u-boot/common/
H A Dcli_hush.c603 int res = 0; local
625 res = -1;
633 res = 1;
637 if (res<0)
639 else if(res==0)
640 res = set_local_var(name, 1);
642 res = 0;
644 return res;
747 int res; local
760 res
[all...]
/u-boot/drivers/bios_emulator/x86emu/
H A Dops2.c752 u32 res; local
759 res = (s16)*destreg * (s16)srcval;
760 if (res > 0xFFFF) {
767 *destreg = (u16)res;
789 u32 res; local
794 res = (s16)*destreg * (s16)*srcreg;
795 if (res > 0xFFFF) {
802 *destreg = (u16)res;
/u-boot/arch/x86/cpu/i386/
H A Dinterrupt.c179 u8 res; member in struct:idt_entry
217 idt[i].res = 0;
/u-boot/scripts/kconfig/
H A Dconfdata.c913 int res, i, fd; local
924 res = 0;
989 res = 1;
994 res = 1;
1001 res = 1;
1011 return res;
H A Dqconf.cc1183 QString res = str; local
1184 for (int i = 0; (i = res.indexOf(re, i)) >= 0;) {
1185 switch (res[i].toLatin1()) {
1187 res.replace(i, 1, "&lt;");
1191 res.replace(i, 1, "&gt;");
1195 res.replace(i, 1, "&amp;");
1199 res.replace(i, 1, "&quot;");
1203 res.replace(i, 1, "<br>");
1208 return res;
/u-boot/lib/acpi/
H A Dacpigen.c731 /* Or (arg1, arg2, res) */
732 void acpigen_write_or(struct acpi_ctx *ctx, u8 arg1, u8 arg2, u8 res) argument
737 acpigen_emit_byte(ctx, res);
740 /* And (arg1, arg2, res) */
741 void acpigen_write_and(struct acpi_ctx *ctx, u8 arg1, u8 arg2, u8 res) argument
746 acpigen_emit_byte(ctx, res);
749 /* Not (arg, res) */
750 void acpigen_write_not(struct acpi_ctx *ctx, u8 arg, u8 res) argument
754 acpigen_emit_byte(ctx, res);
/u-boot/drivers/mtd/nand/raw/atmel/
H A Dpmecc.c826 struct resource res; local
836 ofnode_read_resource(dev->node_, 0, &res);
837 pmecc->regs.base = (void *)res.start;
838 ofnode_read_resource(dev->node_, 1, &res);
839 pmecc->regs.errloc = (void *)res.start;
850 static void devm_atmel_pmecc_put(struct udevice *dev, void *res) argument
/u-boot/drivers/mtd/nand/raw/
H A Dfsl_ifc_nand.c714 int i, res, bitflips; local
720 res = nand_check_erased_ecc_chunk(buf, pkt_size, ecc, ecc_size,
723 if (res < 0) {
726 } else if (res > 0) {
727 mtd->ecc_stats.corrected += res;
729 bitflips = max(res, bitflips);
/u-boot/arch/mips/include/asm/
H A Dmipsregs.h2621 int res = 0; local
2632 : "=r" (res));
2643 if ((res & _ULCAST_(1)))
2736 unsigned int res, new; \
2738 res = read_##name(); \
2739 new = res | set; \
2742 return res; \
2748 unsigned int res, new; \
2750 res = read_##name(); \
2751 new = res
[all...]
/u-boot/arch/mips/mach-octeon/
H A Dcvmx-helper-bgx.c1411 int res, cred; local
1414 res = __cvmx_helper_bgx_xaui_init(index, xiface);
1415 if (res == -1) {
1420 return res;
2015 int res; local
2042 res = __cvmx_helper_bgx_xaui_link_init(index, xiface);
2046 if (res == -1 && count[xi.node][xi.interface][index] < 5) {
2055 if (res == -1) {
2151 int res; local
2181 res
2334 int res; local
[all...]
/u-boot/fs/squashfs/
H A Dsqfs.c455 char *path, *target, **sym_tokens, *res, *rem; local
464 res = NULL;
555 res = malloc(strlen(rem) + strlen(target) + 1);
556 if (!res) {
560 strcpy(res, target);
561 res[strlen(target)] = '/';
562 strcpy(res + strlen(target) + 1, rem);
563 token_count = sqfs_count_tokens(res);
577 ret = sqfs_tokenize(sym_tokens, token_count, res);
634 free(res);
[all...]
/u-boot/scripts/
H A Dcheckpatch.pl1489 my $res = '';
1493 $res .= ' ';
1496 $res .= ' ';
1500 $res .= $c;
1504 return $res;
1507 (my $res = shift) =~ tr/\t/ /c;
1508 return $res;
1538 my $res = '';
1546 $res = substr($line, 0, 1);
1556 substr($res,
[all...]
/u-boot/drivers/video/
H A Dlogicore_dp_tx.c225 int res; local
228 res = axi_read(dev->parent, dp_tx->base + reg, &value, AXI_SIZE_32);
229 if (res < 0)
230 printf("%s() failed; res = %d\n", __func__, res);
2156 int res; local
2176 res = establish_link(dev);
2178 res ? "failed" : "ok", dp_tx->link_config.vs_level,
H A Dbroadwell_igd.c634 int res = 0; local
653 res = 1;
660 return res;
/u-boot/drivers/i2c/
H A Domap24xx_i2c.c487 int res = 1; /* default = fail */ local
490 return res;
494 return res;
522 res = 0; /* Device found */
536 return res;
/u-boot/drivers/ddr/marvell/a38x/
H A Dddr3_training_bist.c187 int res; local
193 res = ddr3_tip_bist_read_result(dev_num, i, &st_bist_result[i]);
194 if (res != MV_OK) {
H A Dddr3_debug.c1068 u32 res[MAX_INTERFACE_NUM] = { 0 }; local
1129 hws_ddr3_run_bist(dev_num, sweep_pattern, res,
1139 += res[if_id];
1215 u32 res[MAX_INTERFACE_NUM] = { 0 }; local
1308 hws_ddr3_run_bist(dev_num, sweep_pattern, res, cs);
1313 ctrl_sweepres[adll][if_id][pup] += res[if_id];
/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dcpu_init.c686 int n, res; local
692 res = hwconfig_arg_cmp_f("fsl_cpu_a011", "disable", buf);
693 if (res > 0) {
/u-boot/drivers/clk/
H A Dclk_versal.c440 u32 res; local
447 res = ret_payload[1];
448 if (!res) {
/u-boot/cmd/
H A Dmtd.c134 int res; local
136 res = ofnode_get_path(mtd_get_ofnode(mtd), buf, 256);
137 printf(" - path: %s\n", res == 0 ? buf : "unavailable");
/u-boot/arch/arm/include/asm/arch-mx27/
H A Dimx-regs.h37 u32 res[5]; member in struct:system_control_regs
157 u32 res[0x1f1]; member in struct:iim_regs

Completed in 259 milliseconds

<<111213