/freebsd/sys/dev/cfi/ |
H A D | cfi_core.c | 72 val = bus_space_read_1(sc->sc_tag, sc->sc_handle, ofs); in cfi_read_raw() 75 val = bus_space_read_2(sc->sc_tag, sc->sc_handle, ofs); in cfi_read_raw() 78 val = bus_space_read_4(sc->sc_tag, sc->sc_handle, ofs); in cfi_read_raw() 96 val = bus_space_read_1(sc->sc_tag, sc->sc_handle, ofs); in cfi_read() 99 sval = bus_space_read_2(sc->sc_tag, sc->sc_handle, ofs); in cfi_read() 107 val = bus_space_read_4(sc->sc_tag, sc->sc_handle, ofs); in cfi_read() 126 bus_space_write_1(sc->sc_tag, sc->sc_handle, ofs, val); in cfi_write() 130 bus_space_write_2(sc->sc_tag, sc->sc_handle, ofs, val); in cfi_write() 132 bus_space_write_2(sc->sc_tag, sc->sc_handle, ofs, htole16(val)); in cfi_write() 138 bus_space_write_4(sc->sc_tag, sc->sc_handle, ofs, val); in cfi_write() [all …]
|
H A D | cfi_var.h | 56 bus_space_handle_t sc_handle; member
|
/freebsd/stand/uboot/ |
H A D | net.c | 80 int sc_handle; /* device handle for ub_dev_xxx */ member 227 uboot_softc.sc_handle = i; in net_probe() 258 rv = ub_dev_send(sc->sc_handle, sc->sc_txbufp, sendlen); in net_put() 287 err = ub_dev_recv(sc->sc_handle, sc->sc_rxbuf, len, &rlen); in net_get() 323 if ((err = ub_dev_open(sc->sc_handle)) != 0) in net_init() 328 di = ub_dev_get(sc->sc_handle); in net_init() 358 if ((err = ub_dev_close(sc->sc_handle)) != 0) in net_end()
|
/freebsd/sys/dev/dpaa/ |
H A D | fman_mdio.c | 57 bus_space_write_4(&bs_be_tag, sc->sc_handle, sc->sc_offset + r, v) 59 bus_space_read_4(&bs_be_tag, sc->sc_handle, sc->sc_offset + r) 79 bus_space_handle_t sc_handle; member 130 fman_get_bushandle(device_get_parent(dev), &sc->sc_handle); in pqmdio_fdt_attach()
|
/freebsd/sys/dev/atopcase/ |
H A D | atopcase_acpi.c | 121 AcpiEvaluateObject(sc->sc_handle, prop, &args, NULL))) in atopcase_acpi_set_comm_enabled() 226 sc->sc_handle = acpi_get_handle(dev); in atopcase_acpi_attach() 228 if (atopcase_acpi_test_comm_enabled(sc->sc_handle, "SIST", in atopcase_acpi_attach() 259 if (ACPI_FAILURE(AcpiGetObjectInfo(sc->sc_handle, &device_info))) in atopcase_acpi_attach() 313 if (ACPI_FAILURE(acpi_GetInteger(sc->sc_handle, "_GPE", in atopcase_acpi_attach()
|
H A D | atopcase_var.h | 65 ACPI_HANDLE sc_handle; member
|
/freebsd/sys/dev/vt/hw/ofwfb/ |
H A D | ofwfb.c | 53 ihandle_t sc_handle; member 435 err = OF_call_method("color!", sc->sc_handle, 4, 1, in ofwfb_initialize() 508 if (OF_getencprop(chosen, "stdout", &sc->sc_handle, in ofwfb_init() 510 node = OF_instance_to_package(sc->sc_handle); in ofwfb_init() 516 sc->sc_handle = OF_open(buf); in ofwfb_init() 524 sc->sc_handle = OF_open("screen"); in ofwfb_init() 547 OF_call_method("set-depth", sc->sc_handle, 1, 1, (cell_t)32, &i); in ofwfb_init()
|
/freebsd/sys/dev/gpio/ |
H A D | chvgpio.c | 90 ACPI_HANDLE sc_handle; member 365 sc->sc_handle = acpi_get_handle(dev); in chvgpio_attach() 367 status = acpi_GetInteger(sc->sc_handle, "_UID", &uid); in chvgpio_attach()
|
H A D | bytgpio.c | 72 ACPI_HANDLE sc_handle; member 564 sc->sc_handle = acpi_get_handle(dev); in bytgpio_attach() 565 status = acpi_GetInteger(sc->sc_handle, "_UID", &uid); in bytgpio_attach()
|
/freebsd/sys/powerpc/powernv/ |
H A D | opal_sensor.c | 49 uint32_t sc_handle; member 205 sc->sc_handle = sensor_id; in opal_sensor_attach()
|
/freebsd/sys/dev/intel/ |
H A D | spi.h | 45 ACPI_HANDLE sc_handle; member
|
H A D | spi_acpi.c | 68 sc->sc_handle = acpi_get_handle(dev); in intelspi_acpi_probe()
|
H A D | spi_pci.c | 75 sc->sc_handle = acpi_get_handle(dev); in intelspi_pci_probe()
|
/freebsd/sys/dev/amdgpio/ |
H A D | amdgpio.h | 311 ACPI_HANDLE sc_handle; member
|
H A D | amdgpio.c | 370 sc->sc_handle = acpi_get_handle(dev); in amdgpio_attach()
|