Lines Matching refs:sys_platform

164 #define	PS0_ADDR ((sys_platform == PLAT_CHALUPA19) ? 0xc0 : 0xb0)
165 #define PS1_ADDR ((sys_platform == PLAT_CHALUPA19) ? 0xc2 : 0xa4)
168 #define PS0_UNITADDR ((sys_platform == PLAT_CHALUPA19) ? "0,c0" : "0,b0")
169 #define PS1_UNITADDR ((sys_platform == PLAT_CHALUPA19) ? "0,c2" : "0,a4")
405 static int sys_platform;
413 sys_platform = PLAT_ENTS;
415 sys_platform = PLAT_CHALUPA;
417 sys_platform = PLAT_ENXS;
419 sys_platform = PLAT_ENXS;
421 sys_platform = PLAT_EN19;
423 sys_platform = PLAT_SALSA19;
425 sys_platform = PLAT_CHALUPA19;
427 sys_platform = PLAT_SEATTLE1U;
429 sys_platform = PLAT_SEATTLE2U;
431 sys_platform = PLAT_BOSTON;
433 sys_platform = PLAT_UNKNOWN;
487 if ((sys_platform == PLAT_CHALUPA) ||
488 (sys_platform == PLAT_CHALUPA19)) {
771 switch (sys_platform) {
1096 switch (sys_platform) {
1183 if ((sys_platform == PLAT_CHALUPA19) && (fanfru)) {
1190 if ((sys_platform == PLAT_CHALUPA19) && (fanfru)) {
1302 if ((sys_platform == PLAT_CHALUPA19) &&
1373 switch (sys_platform) {
1428 switch (sys_platform) {
1537 if (rmc_flag && (sys_platform != PLAT_CHALUPA) &&
1538 (sys_platform != PLAT_CHALUPA19))
1541 if ((sys_platform == PLAT_CHALUPA19) &&
1546 switch (sys_platform) {
1612 if ((sys_platform != PLAT_CHALUPA19) ||
1788 if ((sys_platform == PLAT_SEATTLE1U) ||
1789 (sys_platform == PLAT_SEATTLE2U) ||
1790 (sys_platform == PLAT_BOSTON)) {
1871 switch (sys_platform) {
2324 switch (sys_platform) {
2444 switch (sys_platform) {
2567 switch (sys_platform) {
2590 n_disks = (sys_platform == PLAT_SEATTLE1U) ?
2619 n_disks = (sys_platform == PLAT_EN19) ?
2707 switch (sys_platform) {
2721 switch (sys_platform) {
2735 switch (sys_platform) {
2745 switch (sys_platform) {
2767 switch (sys_platform) {
2780 switch (sys_platform) {
2793 switch (sys_platform) {
2802 switch (sys_platform) {
2827 if (sys_platform != PLAT_CHALUPA19)
2861 switch (sys_platform) {
2908 switch (sys_platform) {
2953 flag = rmc_flag && ((sys_platform != PLAT_CHALUPA) &&
2954 (sys_platform != PLAT_CHALUPA19));
2963 switch (sys_platform) {