Home
last modified time | relevance | path

Searched refs:sc_handle (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/dev/cfi/
H A Dcfi_core.c72 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 Dcfi_var.h56 bus_space_handle_t sc_handle; member
/freebsd/stand/uboot/
H A Dnet.c80 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 Dfman_mdio.c57 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 Datopcase_acpi.c121 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 Datopcase_var.h65 ACPI_HANDLE sc_handle; member
/freebsd/sys/dev/vt/hw/ofwfb/
H A Dofwfb.c53 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 Dchvgpio.c90 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 Dbytgpio.c72 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 Dopal_sensor.c49 uint32_t sc_handle; member
205 sc->sc_handle = sensor_id; in opal_sensor_attach()
/freebsd/sys/dev/intel/
H A Dspi.h45 ACPI_HANDLE sc_handle; member
H A Dspi_acpi.c68 sc->sc_handle = acpi_get_handle(dev); in intelspi_acpi_probe()
H A Dspi_pci.c75 sc->sc_handle = acpi_get_handle(dev); in intelspi_pci_probe()
/freebsd/sys/dev/amdgpio/
H A Damdgpio.h311 ACPI_HANDLE sc_handle; member
H A Damdgpio.c370 sc->sc_handle = acpi_get_handle(dev); in amdgpio_attach()