Home
last modified time | relevance | path

Searched +full:htpic +full:- +full:1 (Results 1 – 12 of 12) sorted by relevance

/freebsd-src/sys/contrib/device-tree/Bindings/interrupt-controller/
H A Dloongson,htpic.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/loongson,htpic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson-3 HyperTransport Interrupt Controller
10 - Jiaxun Yang <jiaxun.yang@flygoat.com>
13 - $ref: /schemas/interrupt-controller.yaml#
16 This interrupt controller is found in the Loongson-3 family of chips to transmit
21 const: loongson,htpic-1.0
24 maxItems: 1
[all …]
/freebsd-src/sys/contrib/device-tree/src/mips/loongson/
H A Dloongson3_8core_rs780e.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include "loongson3-package.dtsi"
6 #include "rs780e-pch.dtsi"
9 compatible = "loongson,loongson3-8core-rs780e";
13 htpic: interrupt-controller@1efdfb000080 { label
14 compatible = "loongson,htpic-1.0";
16 interrupt-controller;
17 #interrupt-cells = <1>;
19 interrupt-parent = <&liointc>;
H A Dloongson64c_8core_rs780e.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include "loongson64c-package.dtsi"
6 #include "rs780e-pch.dtsi"
9 compatible = "loongson,loongson64c-8core-rs780e";
13 htpic: interrupt-controller@1efdfb000080 { label
14 compatible = "loongson,htpic-1.0";
16 interrupt-controller;
17 #interrupt-cells = <1>;
19 interrupt-parent = <&liointc>;
H A Dloongson3_4core_rs780e.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include "loongson3-package.dtsi"
6 #include "rs780e-pch.dtsi"
9 compatible = "loongson,loongson3-4core-rs780e";
13 htpic: interrupt-controller@efdfb000080 { label
14 compatible = "loongson,htpic-1.0";
16 interrupt-controller;
17 #interrupt-cells = <1>;
19 interrupt-parent = <&liointc>;
H A Dloongson64c_4core_rs780e.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include "loongson64c-package.dtsi"
6 #include "rs780e-pch.dtsi"
9 compatible = "loongson,loongson64c-4core-rs780e";
13 htpic: interrupt-controller@efdfb000080 { label
14 compatible = "loongson,htpic-1.0";
16 interrupt-controller;
17 #interrupt-cells = <1>;
19 interrupt-parent = <&liointc>;
H A Drs780e-pch.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 compatible = "simple-bus";
6 #address-cells = <2>;
7 #size-cells = <2>;
12 pci@1a000000 {
13 compatible = "loongson,rs780e-pci";
15 #address-cells = <3>;
16 #size-cells = <2>;
26 #address-cells = <2>;
27 #size-cells = <1>;
[all …]
/freebsd-src/sys/dev/iicbus/sensor/
H A Dds1775.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
9 * 1. Redistributions of source code must retain the above copyright
95 { addr, IIC_M_WR | IIC_M_NOSTOP, 1, &reg }, in ds1775_read_2()
110 return (-1); in ds1775_read_2()
128 if (strcmp(name, "temp-monitor") != 0 || in ds1775_probe()
134 sc->sc_dev = dev; in ds1775_probe()
135 sc->sc_addr = iicbus_get_addr(dev); in ds1775_probe()
137 device_set_desc(dev, "Temp-Monitor DS1775"); in ds1775_probe()
149 sc->enum_hook.ich_func = ds1775_start; in ds1775_attach()
[all …]
H A Dds1631.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
9 * 1. Redistributions of source code must retain the above copyright
126 msg[0].len = len + 1; in ds1631_write()
128 memcpy(buf + 1, buff, len); in ds1631_write()
136 return (-1); in ds1631_write()
149 { addr, IIC_M_WR, 1, &reg }, in ds1631_read_1()
150 { addr, IIC_M_RD, 1, buf }, in ds1631_read_1()
164 return (-1); in ds1631_read_1()
177 { addr, IIC_M_WR, 1, &reg }, in ds1631_read_2()
[all …]
H A Dmax6690.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
9 * 1. Redistributions of source code must retain the above copyright
100 static MALLOC_DEFINE(M_MAX6690, "max6690", "Temp-Monitor MAX6690");
106 uint8_t busy[1], rsl; in max6690_read()
113 { addr, IIC_M_WR | IIC_M_NOSTOP, 1, &rsl }, in max6690_read()
114 { addr, IIC_M_RD, 1, busy }, in max6690_read()
115 { addr, IIC_M_WR | IIC_M_NOSTOP, 1, &reg }, in max6690_read()
116 { addr, IIC_M_RD, 1, buf }, in max6690_read()
136 return (-1); in max6690_read()
[all …]
/freebsd-src/sys/powerpc/powermac/
H A Dcpcht.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (C) 2008-2010 Nathan Whitehorn
10 * 1. Redistributions of source code must retain the above copyright
163 if (strcmp(compatible, "u3-ht") != 0) in cpcht_probe()
185 sc->pci_sc.sc_quirks = OFW_PCI_QUIRK_RANGES_ON_CHILDREN; in cpcht_attach()
186 sc->sc_populated_slots = 0; in cpcht_attach()
187 sc->sc_data = (vm_offset_t)pmap_mapdev(reg[1], reg[2]); in cpcht_attach()
190 * Set up the resource manager and the HT->MPIC mapping. For cpcht, in cpcht_attach()
197 rman_manage_region(&sc->pci_sc.sc_io_rman, 0, CPCHT_IOPORT_SIZE - 1); in cpcht_attach()
[all …]
H A Dfcu.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
10 * 1. Redistributions of source code must retain the above copyright
56 #define FCU_RPM_FAIL 0x0b /* fans states in bits 0<1-6>7 */
93 FCU_PWM_SYSCTL_PWM = 1 << 8,
144 msg[0].len = len + 1; in fcu_write()
146 memcpy(buf + 1, buff, len); in fcu_write()
150 if (iicbus_transfer(dev, msg, 1) == 0) in fcu_write()
155 return (-1); in fcu_write()
168 { addr, IIC_M_WR | IIC_M_NOSTOP, 1, &reg }, in fcu_read_1()
[all …]
/freebsd-src/sys/dev/iicbus/pwm/
H A Dadt746x.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
11 * 1. Redistributions of source code must retain the above copyright
161 memcpy(buf + 1, buff, 1); in adt746x_write()
165 if (iicbus_transfer(dev, msg, 1) == 0) in adt746x_write()
169 return (-1); in adt746x_write()
183 {addr, IIC_M_WR | IIC_M_NOSTOP, 1, &reg}, in adt746x_read()
184 {addr, IIC_M_RD, 1, buf}, in adt746x_read()
198 return (-1); in adt746x_read()
222 sc->sc_dev = dev; in adt746x_probe()
[all …]