Home
last modified time | relevance | path

Searched refs:gsc (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v5.10/drivers/mfd/
Dgateworks-gsc.c76 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
113 rz = sprintf(buf, "%d\n", gsc->fwver); in gsc_show()
115 rz = sprintf(buf, "0x%04x\n", gsc->fwcrc); in gsc_show()
125 struct gsc_dev *gsc = dev_get_drvdata(dev); in gsc_store() local
131 gsc_powerdown(gsc, value); in gsc_store()
[all …]
/Linux-v5.10/drivers/media/platform/exynos-gsc/
Dgsc-m2m.c30 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()
165 gsc->m2m.ctx, ctx); in gsc_m2m_device_run()
[all …]
Dgsc-core.c340 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()
868 gsc_hw_clear_irq(gsc, gsc_irq); 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
Dgsc-core.h378 void gsc_set_prefbuf(struct gsc_dev *gsc, struct gsc_frame *frm);
379 int gsc_register_m2m_device(struct gsc_dev *gsc);
380 void gsc_unregister_m2m_device(struct gsc_dev *gsc);
/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/arch/arm/boot/dts/
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-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-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-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-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-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>;
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-gw560x.dtsi106 interrupt-parent = <&gsc>;
113 interrupt-parent = <&gsc>;
120 interrupt-parent = <&gsc>;
127 interrupt-parent = <&gsc>;
134 interrupt-parent = <&gsc>;
294 gsc: gsc@20 { label
295 compatible = "gw,gsc";
304 compatible = "gw,gsc-adc";
399 interrupt-parent = <&gsc>;
Dexynos5250.dtsi732 gsc_0: gsc@13e00000 {
733 compatible = "samsung,exynos5250-gsc", "samsung,exynos5-gsc";
742 gsc_1: gsc@13e10000 {
743 compatible = "samsung,exynos5250-gsc", "samsung,exynos5-gsc";
752 gsc_2: gsc@13e20000 {
753 compatible = "samsung,exynos5250-gsc", "samsung,exynos5-gsc";
762 gsc_3: gsc@13e30000 {
763 compatible = "samsung,exynos5250-gsc", "samsung,exynos5-gsc";
/Linux-v5.10/drivers/hwmon/
Dgsc-hwmon.c26 struct gsc_dev *gsc; member
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()
/Linux-v5.10/Documentation/hwmon/
Dgsc-hwmon.rst3 Kernel driver gsc-hwmon
7 Datasheet: http://trac.gateworks.com/wiki/gsc
/Linux-v5.10/drivers/parisc/
Dgsc.h28 struct parisc_device *gsc; member
DMakefile13 obj-$(CONFIG_GSC) += gsc.o

12