Home
last modified time | relevance | path

Searched refs:sc_pi (Results 1 – 9 of 9) sorted by relevance

/netbsd/sys/arch/arm/acpi/
H A Dplcom_acpi.c110 sc->sc_pi.pi_type = PLCOM_TYPE_PL011; in plcom_acpi_attach()
111 sc->sc_pi.pi_flags = PLC_FLAG_32BIT_ACCESS; in plcom_acpi_attach()
118 sc->sc_pi.pi_type = PLCOM_TYPE_GENERIC_UART; in plcom_acpi_attach()
122 sc->sc_pi.pi_iot = aa->aa_memt; in plcom_acpi_attach()
123 sc->sc_pi.pi_iobase = mem->ar_base; in plcom_acpi_attach()
124 if (bus_space_map(aa->aa_memt, mem->ar_base, mem->ar_length, 0, &sc->sc_pi.pi_ioh) != 0) { in plcom_acpi_attach()
/netbsd/sys/arch/evbarm/ifpga/
H A Dplcom_ifpga.c80 sc->sc_pi.pi_type = PLCOM_TYPE_PL011; in plcom_ifpga_attach()
82 sc->sc_pi.pi_type = PLCOM_TYPE_PL010; in plcom_ifpga_attach()
84 sc->sc_pi.pi_iot = ifa->ifa_iot; in plcom_ifpga_attach()
85 sc->sc_pi.pi_iobase = ifa->ifa_addr; in plcom_ifpga_attach()
86 sc->sc_pi.pi_size = IFPGA_UART_SIZE; in plcom_ifpga_attach()
94 &sc->sc_pi.pi_ioh)) { in plcom_ifpga_attach()
/netbsd/sys/arch/arm/imx/
H A Dimx23_plcom.c96 sc->sc_pi.pi_type = PLCOM_TYPE_PL011; in imx23_plcom_attach()
97 sc->sc_pi.pi_flags = PLC_FLAG_32BIT_ACCESS; in imx23_plcom_attach()
98 sc->sc_pi.pi_iot = aaa->aa_iot; in imx23_plcom_attach()
99 sc->sc_pi.pi_iobase = aaa->aa_addr; in imx23_plcom_attach()
102 &sc->sc_pi.pi_ioh)) { in imx23_plcom_attach()
/netbsd/sys/arch/arm/fdt/
H A Dplcom_fdt.c104 sc->sc_pi.pi_periphid = be32toh(data[0]); in plcom_fdt_attach()
106 sc->sc_pi.pi_type = of_compatible_lookup(faa->faa_phandle, compat_data)->value; in plcom_fdt_attach()
107 sc->sc_pi.pi_flags = PLC_FLAG_32BIT_ACCESS; in plcom_fdt_attach()
108 sc->sc_pi.pi_iot = faa->faa_bst; in plcom_fdt_attach()
109 sc->sc_pi.pi_iobase = addr; in plcom_fdt_attach()
110 if (bus_space_map(faa->faa_bst, addr, size, 0, &sc->sc_pi.pi_ioh)) { in plcom_fdt_attach()
/netbsd/sys/arch/evbarm/dev/
H A Dplcom.c440 struct plcom_instance *pi = &sc->sc_pi; in plcom_enable_debugport()
471 struct plcom_instance *pi = &sc->sc_pi; in plcom_attach_subr()
641 struct plcom_instance *pi = &sc->sc_pi; in plcom_config()
734 struct plcom_instance *pi = &sc->sc_pi; in plcom_shutdown()
823 pi = &sc->sc_pi; in plcomopen()
1406 struct plcom_instance *pi = &sc->sc_pi; in plcomparam()
1622 struct plcom_instance *pi = &sc->sc_pi; in plcom_iflush()
1651 struct plcom_instance *pi = &sc->sc_pi; in plcom_loadchannelregs()
1737 struct plcom_instance *pi = &sc->sc_pi; in plcom_hwiflow()
1771 struct plcom_instance *pi = &sc->sc_pi; in plcomstart()
[all …]
H A Dplcomvar.h102 struct plcom_instance sc_pi; member
/netbsd/sys/dev/pci/
H A Dcs4281.c351 if ((sc->sc_pi%sc->sc_pcount) == 0) in cs4281_intr()
354 ++sc->sc_pi; in cs4281_intr()
356 if (sc->sc_pi&1) in cs4281_intr()
485 sc->sc_pi = 0; in cs4281_trigger_output()
490 ++sc->sc_pi; in cs4281_trigger_output()
H A Dcs428x.h106 int sc_pi; member
H A Dcs4280.c433 if ((sc->sc_pi%sc->sc_pcount) == 0) in cs4280_intr()
436 ++sc->sc_pi; in cs4280_intr()
438 if (sc->sc_pi&1) in cs4280_intr()
629 sc->sc_pi = 0; in cs4280_trigger_output()
634 ++sc->sc_pi; in cs4280_trigger_output()