/freebsd-10.3-release/sys/sparc64/sparc64/ |
H A D | counter.c | 61 bus_space_handle_t sc_handle; member in struct:ct_softc 92 sc->sc_handle = handle; 109 return (bus_space_read_8(sc->sc_tag, sc->sc_handle, sc->sc_offset));
|
/freebsd-10.3-release/sys/dev/nand/ |
H A D | nfc_mv.c | 63 bus_space_handle_t sc_handle; member in struct:mv_nand_softc 129 sc->sc_handle = rman_get_bushandle(sc->res); 146 bus_space_write_1(sc->sc_tag, sc->sc_handle, MV_NAND_COMMAND, command); 158 bus_space_write_1(sc->sc_tag, sc->sc_handle, MV_NAND_ADDRESS, addr); 169 data = bus_space_read_1(sc->sc_tag, sc->sc_handle, MV_NAND_DATA); 186 b[i] = bus_space_read_1(sc->sc_tag, sc->sc_handle, 215 bus_space_write_1(sc->sc_tag, sc->sc_handle, MV_NAND_DATA,
|
/freebsd-10.3-release/sys/boot/uboot/lib/ |
H A D | net.c | 83 int sc_handle; /* device handle for ub_dev_xxx */ member in struct:uboot_softc 223 uboot_softc.sc_handle = i; 254 rv = ub_dev_send(sc->sc_handle, sc->sc_txbufp, sendlen); 280 err = ub_dev_recv(sc->sc_handle, sc->sc_rxbuf, len, &rlen); 317 if ((err = ub_dev_open(sc->sc_handle)) != 0) 322 di = ub_dev_get(sc->sc_handle); 352 if ((err = ub_dev_close(sc->sc_handle)) != 0)
|
/freebsd-10.3-release/sys/dev/cfi/ |
H A D | cfi_core.c | 74 val = bus_space_read_1(sc->sc_tag, sc->sc_handle, ofs); 77 val = bus_space_read_2(sc->sc_tag, sc->sc_handle, ofs); 80 val = bus_space_read_4(sc->sc_tag, sc->sc_handle, ofs); 98 val = bus_space_read_1(sc->sc_tag, sc->sc_handle, ofs); 101 sval = bus_space_read_2(sc->sc_tag, sc->sc_handle, ofs); 105 val = bus_space_read_4(sc->sc_tag, sc->sc_handle, ofs); 122 bus_space_write_1(sc->sc_tag, sc->sc_handle, ofs, val); 125 bus_space_write_2(sc->sc_tag, sc->sc_handle, ofs, htole16(val)); 128 bus_space_write_4(sc->sc_tag, sc->sc_handle, ofs, htole32(val)); 189 sc->sc_handle [all...] |
H A D | cfi_var.h | 56 bus_space_handle_t sc_handle; member in struct:cfi_softc
|
/freebsd-10.3-release/sys/dev/vt/hw/ofwfb/ |
H A D | ofwfb.c | 55 ihandle_t sc_handle; member in struct:ofwfb_softc 272 OF_call_method("color!", sc->sc_handle, 4, 1, 327 OF_getprop(chosen, "stdout", &sc->sc_handle, sizeof(ihandle_t)); 328 node = OF_instance_to_package(sc->sc_handle); 335 sc->sc_handle = OF_open("screen"); 349 OF_call_method("set-depth", sc->sc_handle, 1, 1, (cell_t)32, &i);
|
/freebsd-10.3-release/sys/powerpc/wii/ |
H A D | wii_bus.c | 63 bus_space_handle_t sc_handle; member in struct:wiibus_softc 120 return (bus_space_read_4(sc->sc_tag, sc->sc_handle, reg)); 128 bus_space_write_4(sc->sc_tag, sc->sc_handle, reg, val); 227 sc->sc_handle = (bus_space_handle_t)pmap_mapdev(WIIBUS_CSR_ADDR,
|