Searched refs:value (Results 1 - 25 of 44) sorted by relevance

12

/broadcom-cfe-1.4.2/cfe/ui/
H A Dui_envcmds.c63 char value[256]; local
73 vallen = sizeof(value);
74 if (env_enum(idx,varname,&varlen,value,&vallen) < 0) break;
75 xprintf("%20s %s\n",varname,value);
86 char *value; local
96 value = cmd_getarg(cmd,1);
97 if (!value) {
109 if ((res = env_setenv(varname,value,roflag)) == 0) {
155 "setenv [-ro] [-p] varname value\n\n"
H A Dui_nvramcmds.c72 const char *value; local
80 value = nvram_get(name);
81 if (value) {
82 printf("%s\n", value);
94 char *name, *eq, *value; local
100 value = cmd_getarg(cmd, 1);
105 value = cmd_getarg(cmd, 2);
110 if (!name || !value || !eq || strcmp(eq, "=") != 0) {
114 res = nvram_set(name, value);
190 char *value; local
[all...]
H A Dui_miiphycmds.c78 "Set the value of a PHY register",
79 "phy set macid reg value\n\n"
80 "Sets the value of a register on a PHY. macid is the Ethernet\n"
82 "number (0..31), and value is the 16-bit value to write to the\n"
145 unsigned int value; local
171 value = atoi(x) & 0xFFFF;
173 MII_WRITE(mii_channel,phynum,reg,value);
176 value,phynum,reg,mac);
/broadcom-cfe-1.4.2/cfe/include/
H A Dsocregs.h57 void (*reg_printfunc)(const socreg_t *reg,uint64_t value);
H A Denv_subr.h55 * TLV types. These codes are used in the "type-length-value"
68 * <type_env> <length> <flags> <name> = <value>
70 * If bit 0 (low bit) is set, the length is an 8-bit value.
71 * If bit 0 (low bit) is clear, the length is a 16-bit value
114 int env_setenv(const char *name,char *value,int flags);
H A Dbcmnvram.h65 * of <name,value> tuples. The binding of each environment variable
67 * <name>=<value>
137 int nvram_set(const char *name, const char *value);
/broadcom-cfe-1.4.2/cfe/arch/mips/chipset/sibyte/src/
H A Dui_corecmds.c100 "This command pokes the given value into cp0 register 23 select 2\n"
129 unsigned int value; local
137 value = lib_xtoi(value_str);
148 : "r" (value)
162 unsigned int value; local
166 : "=r" (value));
167 xprintf("Defeature mask is currently %08X\n", value);
H A Dui_soccmds.c80 uint64_t value = 0; local
96 res = mem_peek(&value,addr,MEM_QUADWORD);
99 value = phys_read64(addr);
103 if (res == 0) sprintf(number,"%016llX",value);
113 (*(reg->reg_printfunc))(reg,value);
H A Dui_pmcmds.c102 #define NO_COOKIE -1 // arbitrary key value
140 // must provide a seed value
413 pkt->pkt[j+0] = 0xde; // the '0xdeadbeef' init value
611 * hardware for final IVC value. Below setting of IVC really
613 * mapping value.
743 uint64_t value; local
746 value = (V_BCM1480_PM_MAP_DEST_ID0(0) |
751 WRITECSR(A_BCM1480_PM_PMO_MAPPING, value);
780 uint64_t value; local
783 value
848 uint64_t value; local
858 uint64_t value; local
868 uint64_t value; local
879 uint64_t value; local
903 uint64_t value; local
927 uint64_t value; local
946 uint64_t value; local
966 uint64_t value = 0; local
1582 uint64_t value; local
1687 WRITECSR(A_BCM1480_HSP_REGISTER(port,R_BCM1480_HSP_TX_SPI4_CFG_0),value); local
1690 WRITECSR(A_BCM1480_HSP_REGISTER(port,R_BCM1480_HSP_RX_SPI4_CFG_0),value); local
[all...]
H A Dui_swtrace.c192 uint64_t value; local
211 value = M_BCM1480_SWTRC_CFG_START;
212 if (freeze) value |= M_BCM1480_SWTRC_CFG_FREEZEFULL;
213 phys_write64(A_BCM1480_SWTRC_CFG, value);
268 * Return value:
H A Dui_phycmds.c109 "Set the value of a PHY register",
110 "phy set macid reg value\n\n"
111 "Sets the value of a register on a PHY. macid is the Ethernet\n"
113 "number (0..31), and value is the 16-bit value to write to the\n"
126 unsigned int value; local
152 value = atoi(x) & 0xFFFF;
154 phy_mii_write(&phy,phynum,reg,value);
157 value,phynum,reg,mac);
224 * Return value
[all...]
/broadcom-cfe-1.4.2/cfe/x86emu/x86emu/
H A Dprim_asm.h57 value [eax] \
68 value [ax] \
79 value [ax] \
90 value [ax] \
101 value [ax] \
112 value [al] \
123 value [ax] \
134 value [eax] \
145 value [al] \
156 value [a
[all...]
/broadcom-cfe-1.4.2/cfe/arch/mips/cpu/bcm1480/src/
H A Dbcm1480_hsp_utils.c544 uint64_t value; local
577 value = V_BCM1480_HSP_RX_CALENDAR_LEN(CALENDAR_LEN) |
581 WRITECSR(A_BCM1480_HSP_REGISTER(port,R_BCM1480_HSP_RX_SPI4_CFG_1),value); local
583 value = V_BCM1480_HSP_TX_MAXBURST1(8) |
590 WRITECSR(A_BCM1480_HSP_REGISTER(port,R_BCM1480_HSP_TX_SPI4_CFG_1),value); local
617 value = READCSR(A_BCM1480_HSP_REGISTER(port,R_BCM1480_HSP_RX_SPI4_CFG_0));
619 value &= ~(M_BCM1480_HSP_RX_PLL_MULTIPLIER | M_BCM1480_HSP_RX_PLL_DIV_4);
622 value |= V_BCM1480_HSP_RX_PLL_MULTIPLIER(spi4_pllmult*4) | M_BCM1480_HSP_RX_PLL_DIV_4;
625 value |= V_BCM1480_HSP_RX_PLL_MULTIPLIER(spi4_pllmult);
628 value
637 WRITECSR(A_BCM1480_HSP_REGISTER(port,R_BCM1480_HSP_RX_SPI4_CFG_0),value); local
651 WRITECSR(A_BCM1480_HSP_REGISTER(port,R_BCM1480_HSP_TX_SPI4_TRAINING_FMT),value); local
665 WRITECSR(A_BCM1480_HSP_REGISTER(port,R_BCM1480_HSP_TX_CALIBRATION),value); local
669 WRITECSR(A_BCM1480_HSP_REGISTER(port,R_BCM1480_HSP_RX_CALIBRATION),value); local
711 WRITECSR(A_BCM1480_HSP_REGISTER(port,R_BCM1480_HSP_TX_SPI4_CFG_0),value); local
725 WRITECSR(A_BCM1480_HSP_REGISTER(port,R_BCM1480_HSP_TX_SPI4_CFG_0),value); local
730 WRITECSR(A_BCM1480_HSP_REGISTER(port,R_BCM1480_HSP_RX_SPI4_CFG_0),value); local
[all...]
H A Dsb1_cpuinit.S72 * Return value:
138 * Return value:
145 mfc0 v0,C0_SR /* Get old SR_CU1 value */
209 * Return value:
242 # This is probably not the right init value for C0_COMPARE,
250 # Initialize all the TLB entries to some invalid value
305 * Return value:
355 * Return value:
/broadcom-cfe-1.4.2/cfe/main/
H A Denv_subr.c61 char *value; member in struct:cfe_envvar_s
62 /* name and value go here */
84 * Return value:
108 * the nth environment variable and copies its name and value
117 * val,vallen - value buffer and length
119 * Return value:
138 *vallen = xstrncpy(val,env->value,*vallen);
152 * Return value:
177 * Return value:
206 * Return value
269 env_setenv(const char *name,char *value,int flags) argument
[all...]
/broadcom-cfe-1.4.2/cfe/arch/mips/board/bcm95836cpci/src/
H A Dbcm95836cpci_devs.c94 const char *value; member in struct:initenv_s
118 * Return value:
143 * Return value:
153 /* Assign either the forced value, or the value
159 if (strcmp(ini->value, "$$NVRAM") == 0) {
163 else if (ini->value[0] == '$') {
164 txt = env_getenv(&(ini->value[1]));
168 txt = (char *) ini->value;
189 * Return value
[all...]
/broadcom-cfe-1.4.2/cfe/dev/
H A Ddev_generic_flashop.c53 #define FLASHCMD_8(base,offset,value) phys_write8((base)+(offset),(value))
54 #define FLASHCMD_16(base,offset,value) phys_write16((base)+((offset)<<1),(value))
55 #define FLASHCMD_16B(base,offset,value) phys_write8((base)+((offset)<<1),(value))
58 #define FLASHCMD_8(base,offset,value) phys_write8(((base)+(offset))^3,(value))
59 #define FLASHCMD_16(base,offset,value) phys_write16(((base)+((offset)<<1))^2,(value))
[all...]
H A Ddev_ide_frodo.c61 #define BCM_BYTESWAP32(value) \
62 ((((uint32_t)(value) & 0xFF000000) >> 24) | \
63 (((uint32_t)(value) & 0x00FF0000) >> 8) | \
64 (((uint32_t)(value) & 0x0000FF00) << 8) | \
65 (((uint32_t)(value) & 0x000000FF) << 24))
67 #define BCM_BYTESWAP16(value) \
68 ((((uint16_t)(value) & 0xFF00) >> 8) | \
69 (((uint16_t)(value) & 0x00FF) << 8))
255 * Return value:
284 * Return value
[all...]
H A Ddev_flash.c197 * Return value:
225 * Return value:
258 * Return value:
264 unsigned int value; local
277 value = READFLASH_K1(softc,offset) & 0xFF;
279 if ((value & 0x80) == (val & 0x80)) {
282 if ((value & 0x20) != 0x20) {
309 * Return value:
341 * Return value:
385 * Return value
392 unsigned int value; local
430 unsigned int value; local
[all...]
/broadcom-cfe-1.4.2/cfe/arch/mips/common/src/
H A Ddev_flash_all.S60 #define WRITEFLASH(base,offset,value) \
61 li t0,value ; \
76 * Return value:
H A Ddev_flashop_engine.S68 #define FLASHCMD_8(base,offset,value) \
69 li t0,value ; \
72 #define FLASHCMD_16(base,offset,value) \
73 li t0,value ; \
76 #define FLASHCMD_16B(base,offset,value) \
77 li t0,value ; \
83 #define FLASHCMD_8(base,offset,value) \
84 li t0,value ; \
87 #define FLASHCMD_16(base,offset,value) \
88 li t0,value ; \
[all...]
/broadcom-cfe-1.4.2/cfe/verif/
H A Dvapi.h121 #define VAPI_LOG_CONST(id,value) \
125 li a1, value ; \
130 #define VAPI_LOG_REG(id,value) \
134 move a1, value ; \
/broadcom-cfe-1.4.2/cfe/zlib/
H A Dtrees.c156 local unsigned bi_reverse OF((unsigned value, int length));
186 * Send a value on a given number of bits.
187 * IN assertion: length <= 16 and value fits in length bits.
190 local void send_bits OF((deflate_state *s, int value, int length));
192 local void send_bits(s, value, length)
194 int value; /* value to send */
197 Tracevv((stderr," l %2d v %4x ", length, value));
202 * (16 - bi_valid) bits from value, leaving (width - (16-bi_valid))
203 * unused bits in value
[all...]
/broadcom-cfe-1.4.2/cfe/arch/mips/cpu/sb1250/src/
H A Dsb1_cpuinit.S74 * Return value:
139 * Return value:
145 mfc0 v0,C0_SR /* Get old SR_CU1 value */
209 * Return value:
241 # This is probably not the right init value for C0_COMPARE,
249 # Initialize all the TLB entries to some invalid value
295 mfc0 t1, $23, 2 # get the original value of defeature reg
312 * Return value:
362 * Return value:
/broadcom-cfe-1.4.2/cfe/hosttools/
H A Dmakereg.c84 unsigned int value; member in struct:ConstInfo
208 constants[constcnt].value = val;
426 constants[idx].value);

Completed in 147 milliseconds

12