Searched refs:value (Results 1 - 25 of 44) sorted by last modified time

12

/broadcom-cfe-1.4.2/cfe/arch/mips/cpu/bcm1480/src/
H A Dbcm1480_draminit.c653 * bcm1480_decto100ths(unsigned int value)
661 static unsigned int bcm1480_decto100ths(uint8_t value) argument
665 high_nib = (value >> 4)*100;
666 switch (value & 0x0F) {
671 default: low_nib = (value & 0x0F)*10; break;
687 * Return value:
733 * Return value:
901 * Compute the target refresh value, in Khz/32. We know
903 * to calculate what the MemClk is divided by to get that value.
919 * counter value al
[all...]
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 Dbcm1480_altcpu.S153 * Return value:
174 * Return value:
195 * Return value:
224 * Return value:
270 and t0,t1 # New value to write
315 * Return value:
365 * Return value:
419 or t0,t1 # New value to write
461 and t0,t1 # New value to write
527 * Return value
[all...]
H A Dbcm1480_l2cache.S76 * Return value:
173 * Return value:
231 * Return value:
285 * Return value:
326 # value.
466 # based on the value in t6.
/broadcom-cfe-1.4.2/cfe/dev/
H A Ddev_bcm5700.c98 in which the 570x is the target device. In theory, either value
1088 mii_write_register(t3_ether_t *sc, int phy, int index, uint16_t value) argument
1103 | V_MICOMM_DATA(value) | M_MICOMM_BUSY);
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_aic6915.c760 mii_write_register(aic_ether_t *sc, int phy, int index, uint16_t value) argument
775 WRITECSR(sc, csr, value);
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_dp83815.c311 * Return value:
341 * Return value:
363 * Return value:
463 * Return value:
1093 * Return value:
1148 * value - word to write
1152 mii_write_register(dp83815_softc *sc, unsigned int index, uint16_t value) argument
1161 mii_write_bits(sc, value, 16);
1819 * Return value:
1862 * Return value
[all...]
H A Ddev_tulip.c353 * Return value:
383 * Return value:
405 * Return value:
509 * Return value:
1149 * Return value:
1204 * value - word to write
1208 mii_write_register(tulip_softc *sc, unsigned int index, uint16_t value) argument
1217 mii_write_bits(sc, value, 16);
2528 * Return value:
2597 * Return value
[all...]
H A Ddev_bcm4401.c738 mii_write(bcm4401_softc *sc, int reg, uint16_t value) argument
746 V_MIIDATA_D(value));
901 cfe_usleep(10000); /* Delay needed; value is empirical. */
/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...]
H A Dcfe.mk33 # Override some settings based on the value of CFG_RELOC.
H A Dbcmnvram.c299 * Return value:
357 if (p != NULL) /* "name=value" */
358 return &p->binding[len + 1]; /* "value" */
364 nvram_set(const char *name, const char *value) argument
371 sizeof(nvram_tuple_t) + len + 1 + strlen(value), 4);
376 strcat(tuple->binding, value);
/broadcom-cfe-1.4.2/cfe/arch/mips/chipset/sibyte/src/
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:
/broadcom-cfe-1.4.2/cfe/arch/mips/chipset/bcmsb/src/
H A Ddev_sb_mac.c822 mii_write(bcm4401_softc *sc, int reg, uint16_t value) argument
832 V_MIIDATA_D(value));
1042 cfe_usleep(1000); /* Delay needed; value is empirical. */
/broadcom-cfe-1.4.2/cfe/arch/mips/common/src/
H A Dinit_mips.S119 * Return value:
325 * Get our GP value from A0 first, then set it back.
346 * SVR4 PIC: Load GP with our nonrelocated value. Make
744 lw t0,R_REL_OFFSET(v0) # Get symbol value
755 * need the symbol value added in when relocating. With new
760 * We use a heuristic: if the relocated value with the symbol
761 * value added in is less than the relocated object base, we
762 * recalculate without the symbol value. The theory is that no
769 lw t2,R_ELF32SYM_ST_VALUE(t1) # Symbol value
1002 * Return value
[all...]
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/arch/ppc/chipset/mpc824x/src/
H A Ddev_tulip.c283 uint16_t value);
419 * Return value:
449 * Return value:
471 * Return value:
575 * Return value:
1356 * Return value:
1411 * value - word to write
1415 mii_write_register(tulip_softc *sc, unsigned int index, uint16_t value) argument
1424 mii_write_bits(sc, value, 16);
2382 pnic_mii_write_register(tulip_softc *sc, unsigned int index, uint16_t value) 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/ui/
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 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/hosttools/
H A Dmakereg.c84 unsigned int value; member in struct:ConstInfo
208 constants[constcnt].value = val;
426 constants[idx].value);

Completed in 162 milliseconds

12