Lines Matching defs:val
73 u32 val;
85 (void) mdio_read(cphy, 0x1, 0x1, &val);
86 val16 = (u16) val;
104 OFFSET(SUNI1x10GEXP_REG_MSTAT_COUNTER_33_LOW), &val);
105 act_count += val;
106 val = cphy->elmer_gpo;
107 if ((val & (1 << 8)) ||
109 val |= (1 << 9);
110 (void) t1_tpi_write(adapter, A_ELMER0_GPO, val);
113 val &= ~(1 << 9);
114 (void) t1_tpi_write(adapter, A_ELMER0_GPO, val);
117 cphy->elmer_gpo = val;
134 u32 val;
143 (void) mdio_read(cphy, 0x1, 0x1, &val);
144 val16 = (u16) val;
145 val = cphy->elmer_gpo;
149 val &= ~(1 << 8);
152 val |= (1 << 8);
154 (void) t1_tpi_write(adapter, A_ELMER0_GPO, val);
155 cphy->elmer_gpo = val;
220 u32 val;
222 (void) t1_tpi_read(adapter, A_ELMER0_GPO, &val);
223 val &= ~4;
224 (void) t1_tpi_write(adapter, A_ELMER0_GPO, val);
227 (void) t1_tpi_write(adapter, A_ELMER0_GPO, val | 4);
231 (void) t1_tpi_read(adapter, A_ELMER0_GPO, &val);
232 val |= 0x8000;
233 (void) t1_tpi_write(adapter, A_ELMER0_GPO, val);