Lines Matching defs:val
258 u_int16_t val;
261 val = 0;
270 bus_space_write_2(memt, memh, j * 2, val + j);
272 val += 0x1000;
275 val = 0;
284 if (bus_space_read_2(memt, memh, j * 2) != val + j)
291 "val 0x%04x != expected 0x%04x\n", i, j,
293 val + j);
296 val += 0x1000;
479 u_int16_t val;
483 val = bus_space_read_2(sc->sc_iot, sc->sc_ioh, SNEC_CTRL);
485 return val;
492 snc_nec16_nic_put(struct snc_softc *sc, u_int8_t reg, u_int16_t val)
497 bus_space_write_2(sc->sc_iot, sc->sc_ioh, SNEC_CTRL, val);
542 u_int16_t val)
550 bus_space_write_2(memt, memh, noffset, val);
699 u_int8_t n, val, bit;
757 val = 0;
766 val |= bit;
768 *data++ = val;
771 val = 0;
780 val |= bit;
782 *data++ = val;
813 u_int16_t val;
820 val = bus_space_read_2(iot, ioh, SNEC_CTRL);
822 printf("\n%04x ", val);
824 printf("%04x ", val);
833 val = (u_int16_t) bus_space_read_1(iot, ioh, SNEC_CTRLB);
834 printf("%04x ", val);