Home
last modified time | relevance | path

Searched full:gsc (Results 1 – 25 of 74) sorted by relevance

123

/Linux-v5.10/drivers/mfd/
Dgateworks-gsc.c3 * The Gateworks System Controller (GSC) is a multi-function
15 #include <linux/mfd/gsc.h>
26 * The GSC suffers from an errata where occasionally during
72 * gsc_powerdown - API to use GSC to power down board for a specific time
76 static int gsc_powerdown(struct gsc_dev *gsc, unsigned long secs) in gsc_powerdown() argument
81 dev_info(&gsc->i2c->dev, "GSC powerdown for %ld seconds\n", in gsc_powerdown()
85 ret = regmap_bulk_write(gsc->regmap, GSC_TIME_ADD, regs, 4); in gsc_powerdown()
89 ret = regmap_update_bits(gsc->regmap, GSC_CTRL_1, in gsc_powerdown()
95 ret = regmap_update_bits(gsc->regmap, GSC_CTRL_1, in gsc_powerdown()
108 struct gsc_dev *gsc = dev_get_drvdata(dev); in gsc_show() local
[all …]
/Linux-v5.10/drivers/media/platform/exynos-gsc/
Dgsc-m2m.c25 #include "gsc-core.h"
30 struct gsc_dev *gsc = ctx->gsc_dev; in gsc_m2m_ctx_stop_req() local
33 curr_ctx = v4l2_m2m_get_curr_priv(gsc->m2m.m2m_dev); in gsc_m2m_ctx_stop_req()
34 if (!gsc_m2m_pending(gsc) || (curr_ctx != ctx)) in gsc_m2m_ctx_stop_req()
38 ret = wait_event_timeout(gsc->irq_queue, in gsc_m2m_ctx_stop_req()
149 struct gsc_dev *gsc; in gsc_m2m_device_run() local
157 gsc = ctx->gsc_dev; in gsc_m2m_device_run()
158 spin_lock_irqsave(&gsc->slock, flags); in gsc_m2m_device_run()
160 set_bit(ST_M2M_PEND, &gsc->state); in gsc_m2m_device_run()
163 if (gsc->m2m.ctx != ctx) { in gsc_m2m_device_run()
[all …]
Dgsc-core.c26 #include "gsc-core.h"
340 void gsc_set_prefbuf(struct gsc_dev *gsc, struct gsc_frame *frm) in gsc_set_prefbuf() argument
392 struct gsc_dev *gsc = ctx->gsc_dev; in gsc_try_fmt_mplane() local
393 struct gsc_variant *variant = gsc->variant; in gsc_try_fmt_mplane()
521 struct gsc_dev *gsc = ctx->gsc_dev; in gsc_try_selection() local
522 struct gsc_variant *variant = gsc->variant; in gsc_try_selection()
701 struct gsc_dev *gsc = ctx->gsc_dev; in __gsc_s_ctrl() local
702 struct gsc_variant *variant = gsc->variant; in __gsc_s_ctrl()
863 struct gsc_dev *gsc = priv; in gsc_irq_handler() local
867 gsc_irq = gsc_hw_get_irq_status(gsc); in gsc_irq_handler()
[all …]
DMakefile2 exynos-gsc-objs := gsc-core.o gsc-m2m.o gsc-regs.o
4 obj-$(CONFIG_VIDEO_SAMSUNG_EXYNOS_GSC) += exynos-gsc.o
/Linux-v5.10/drivers/parisc/
DKconfig2 menu "Bus options (PCI, PCMCIA, EISA, GSC, ISA)"
4 config GSC config
5 bool "VSC/GSC/HSC bus support"
9 The VSC, GSC and HSC busses were used from the earliest 700-series
17 depends on GSC
24 depends on GSC
32 depends on GSC
43 depends on GSC
49 GSC bridge for an X.25 GSC card.
60 depends on PCI && GSC
[all …]
Dgsc.h3 * drivers/parisc/gsc.h
4 * Declarations for functions in gsc.c
28 struct parisc_device *gsc; member
Dgsc.c3 * Interrupt management for most GSC and related devices.
23 #include "gsc.h"
139 .name = "GSC-ASIC",
206 gsc_asic->gsc = parent; in gsc_common_setup()
/Linux-v5.10/Documentation/hwmon/
Dgsc-hwmon.rst3 Kernel driver gsc-hwmon
6 Supported chips: Gateworks GSC
7 Datasheet: http://trac.gateworks.com/wiki/gsc
14 various ADC's connected to the GSC, and optional FAN controller available
22 on the GSC version and firmware. The values returned by the driver do not need
33 either internally or by the driver depending on the GSC version and firmware.
43 The GSC features 1 PWM output that operates in automatic mode where the
/Linux-v5.10/Documentation/devicetree/bindings/mfd/
Dgateworks-gsc.yaml4 $id: http://devicetree.org/schemas/mfd/gateworks-gsc.yaml#
10 The Gateworks System Controller (GSC) is a device present across various
26 pattern: "gsc@[0-9a-f]{1,2}"
28 const: gw,gsc
54 const: gw,gsc-adc
120 const: gw,gsc-fan
157 gsc@20 {
158 compatible = "gw,gsc";
168 compatible = "gw,gsc-adc";
196 compatible = "gw,gsc-fan";
/Linux-v5.10/Documentation/devicetree/bindings/media/
Dexynos5-gsc.txt7 "samsung,exynos5250-gsc"
8 "samsung,exynos5420-gsc"
9 "samsung,exynos5433-gsc"
10 "samsung,exynos5-gsc" (deprecated)
20 gsc_0: gsc@13e00000 {
21 compatible = "samsung,exynos5250-gsc";
/Linux-v5.10/drivers/hwmon/
Dgsc-hwmon.c9 #include <linux/mfd/gsc.h>
26 struct gsc_dev *gsc; member
270 fan = of_find_compatible_node(dev->parent->of_node, NULL, "gw,gsc-fan"); in gsc_hwmon_get_devtree_pdata()
314 struct gsc_dev *gsc = dev_get_drvdata(pdev->dev.parent); in gsc_hwmon_probe() local
331 hwmon->gsc = gsc; in gsc_hwmon_probe()
335 gsc->i2c_hwmon, in gsc_hwmon_probe()
346 dev_err(gsc->dev, "too many temp channels\n"); in gsc_hwmon_probe()
356 dev_err(gsc->dev, "too many fan channels\n"); in gsc_hwmon_probe()
368 dev_err(gsc->dev, "too many input channels\n"); in gsc_hwmon_probe()
377 dev_err(gsc->dev, "invalid mode: %d\n", ch->mode); in gsc_hwmon_probe()
[all …]
/Linux-v5.10/sound/parisc/
DKconfig5 bool "GSC sound devices"
6 depends on GSC
9 Support for GSC sound devices on PA-RISC architectures.
18 chip found in most GSC-based PA-RISC workstations. It's frequently
/Linux-v5.10/arch/arm/boot/dts/
Dimx6qdl-gw5912.dtsi39 interrupt-parent = <&gsc>;
46 interrupt-parent = <&gsc>;
53 interrupt-parent = <&gsc>;
60 interrupt-parent = <&gsc>;
67 interrupt-parent = <&gsc>;
158 gsc: gsc@20 { label
159 compatible = "gw,gsc";
169 compatible = "gw,gsc-adc";
247 compatible = "gw,gsc-fan";
259 interrupt-parent = <&gsc>;
Dimx6qdl-gw5907.dtsi38 interrupt-parent = <&gsc>;
45 interrupt-parent = <&gsc>;
52 interrupt-parent = <&gsc>;
59 interrupt-parent = <&gsc>;
66 interrupt-parent = <&gsc>;
154 gsc: gsc@20 { label
155 compatible = "gw,gsc";
164 compatible = "gw,gsc-adc";
247 interrupt-parent = <&gsc>;
Dimx6qdl-gw5913.dtsi38 interrupt-parent = <&gsc>;
45 interrupt-parent = <&gsc>;
52 interrupt-parent = <&gsc>;
59 interrupt-parent = <&gsc>;
66 interrupt-parent = <&gsc>;
139 gsc: gsc@20 { label
140 compatible = "gw,gsc";
149 compatible = "gw,gsc-adc";
245 interrupt-parent = <&gsc>;
Dimx6qdl-gw552x.dtsi39 interrupt-parent = <&gsc>;
46 interrupt-parent = <&gsc>;
53 interrupt-parent = <&gsc>;
60 interrupt-parent = <&gsc>;
67 interrupt-parent = <&gsc>;
144 gsc: gsc@20 { label
145 compatible = "gw,gsc";
154 compatible = "gw,gsc-adc";
237 interrupt-parent = <&gsc>;
Dimx6qdl-gw51xx.dtsi36 interrupt-parent = <&gsc>;
43 interrupt-parent = <&gsc>;
50 interrupt-parent = <&gsc>;
57 interrupt-parent = <&gsc>;
64 interrupt-parent = <&gsc>;
152 gsc: gsc@20 { label
153 compatible = "gw,gsc";
162 compatible = "gw,gsc-adc";
245 interrupt-parent = <&gsc>;
Dimx6qdl-gw5910.dtsi41 interrupt-parent = <&gsc>;
48 interrupt-parent = <&gsc>;
55 interrupt-parent = <&gsc>;
62 interrupt-parent = <&gsc>;
69 interrupt-parent = <&gsc>;
163 gsc: gsc@20 { label
164 compatible = "gw,gsc";
173 compatible = "gw,gsc-adc";
276 interrupt-parent = <&gsc>;
Dimx6qdl-gw53xx.dtsi47 interrupt-parent = <&gsc>;
54 interrupt-parent = <&gsc>;
61 interrupt-parent = <&gsc>;
68 interrupt-parent = <&gsc>;
75 interrupt-parent = <&gsc>;
210 gsc: gsc@20 { label
211 compatible = "gw,gsc";
220 compatible = "gw,gsc-adc";
315 interrupt-parent = <&gsc>;
Dimx6qdl-gw551x.dtsi82 interrupt-parent = <&gsc>;
89 interrupt-parent = <&gsc>;
96 interrupt-parent = <&gsc>;
103 interrupt-parent = <&gsc>;
110 interrupt-parent = <&gsc>;
219 gsc: gsc@20 { label
220 compatible = "gw,gsc";
229 compatible = "gw,gsc-adc";
306 interrupt-parent = <&gsc>;
Dimx6qdl-gw553x.dtsi78 interrupt-parent = <&gsc>;
85 interrupt-parent = <&gsc>;
92 interrupt-parent = <&gsc>;
99 interrupt-parent = <&gsc>;
106 interrupt-parent = <&gsc>;
180 gsc: gsc@20 { label
181 compatible = "gw,gsc";
190 compatible = "gw,gsc-adc";
273 interrupt-parent = <&gsc>;
Dimx6qdl-gw54xx.dtsi48 interrupt-parent = <&gsc>;
55 interrupt-parent = <&gsc>;
62 interrupt-parent = <&gsc>;
69 interrupt-parent = <&gsc>;
76 interrupt-parent = <&gsc>;
247 gsc: gsc@20 { label
248 compatible = "gw,gsc";
258 compatible = "gw,gsc-adc";
342 compatible = "gw,gsc-fan";
354 interrupt-parent = <&gsc>;
Dimx6qdl-gw52xx.dtsi47 interrupt-parent = <&gsc>;
54 interrupt-parent = <&gsc>;
61 interrupt-parent = <&gsc>;
68 interrupt-parent = <&gsc>;
75 interrupt-parent = <&gsc>;
217 gsc: gsc@20 { label
218 compatible = "gw,gsc";
227 compatible = "gw,gsc-adc";
316 interrupt-parent = <&gsc>;
Dimx6qdl-gw5903.dtsi90 interrupt-parent = <&gsc>;
97 interrupt-parent = <&gsc>;
104 interrupt-parent = <&gsc>;
111 interrupt-parent = <&gsc>;
118 interrupt-parent = <&gsc>;
235 gsc: gsc@20 { label
236 compatible = "gw,gsc";
245 compatible = "gw,gsc-adc";
328 interrupt-parent = <&gsc>;
Dimx6qdl-gw5904.dtsi87 interrupt-parent = <&gsc>;
94 interrupt-parent = <&gsc>;
101 interrupt-parent = <&gsc>;
108 interrupt-parent = <&gsc>;
115 interrupt-parent = <&gsc>;
257 gsc: gsc@20 { label
258 compatible = "gw,gsc";
267 compatible = "gw,gsc-adc";
350 interrupt-parent = <&gsc>;

123