/Linux-v6.1/drivers/mfd/ |
D | gateworks-gsc.c | 3 * 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-v6.1/drivers/media/platform/samsung/exynos-gsc/ |
D | gsc-m2m.c | 25 #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() 147 struct gsc_dev *gsc; in gsc_m2m_device_run() local 155 gsc = ctx->gsc_dev; in gsc_m2m_device_run() 156 spin_lock_irqsave(&gsc->slock, flags); in gsc_m2m_device_run() 158 set_bit(ST_M2M_PEND, &gsc->state); in gsc_m2m_device_run() 161 if (gsc->m2m.ctx != ctx) { in gsc_m2m_device_run() [all …]
|
D | gsc-core.c | 26 #include "gsc-core.h" 340 void gsc_set_prefbuf(struct gsc_dev *gsc, struct gsc_frame *frm) in gsc_set_prefbuf() argument 391 struct gsc_dev *gsc = ctx->gsc_dev; in gsc_try_fmt_mplane() local 392 struct gsc_variant *variant = gsc->variant; in gsc_try_fmt_mplane() 520 struct gsc_dev *gsc = ctx->gsc_dev; in gsc_try_selection() local 521 struct gsc_variant *variant = gsc->variant; in gsc_try_selection() 700 struct gsc_dev *gsc = ctx->gsc_dev; in __gsc_s_ctrl() local 701 struct gsc_variant *variant = gsc->variant; in __gsc_s_ctrl() 862 struct gsc_dev *gsc = priv; in gsc_irq_handler() local 866 gsc_irq = gsc_hw_get_irq_status(gsc); in gsc_irq_handler() [all …]
|
D | Makefile | 2 exynos-gsc-objs := gsc-core.o gsc-m2m.o gsc-regs.o 4 obj-$(CONFIG_VIDEO_SAMSUNG_EXYNOS_GSC) += exynos-gsc.o
|
/Linux-v6.1/drivers/gpu/drm/i915/gt/ |
D | intel_gsc.c | 41 gsc_ext_om_alloc(struct intel_gsc *gsc, struct intel_gsc_intf *intf, size_t size) in gsc_ext_om_alloc() argument 43 struct intel_gt *gt = gsc_to_gt(gsc); in gsc_ext_om_alloc() 51 drm_err(>->i915->drm, "Failed to allocate gsc memory\n"); in gsc_ext_om_alloc() 57 drm_err(>->i915->drm, "Failed to pin pages for gsc memory\n"); in gsc_ext_om_alloc() 92 /* gsc resources and definitions (HECI1 and HECI2) */ 119 .name = "mei-gsc", 140 struct intel_gsc *gsc, unsigned int intf_id) in gsc_destroy_one() argument 142 struct intel_gsc_intf *intf = &gsc->intf[intf_id]; in gsc_destroy_one() 157 static void gsc_init_one(struct drm_i915_private *i915, struct intel_gsc *gsc, in gsc_init_one() argument 164 struct intel_gsc_intf *intf = &gsc->intf[intf_id]; in gsc_init_one() [all …]
|
D | intel_gsc.h | 24 * @gem_obj: scratch memory GSC operations 25 * @intf : gsc interface 36 void intel_gsc_init(struct intel_gsc *gsc, struct drm_i915_private *dev_priv); 37 void intel_gsc_fini(struct intel_gsc *gsc);
|
/Linux-v6.1/Documentation/devicetree/bindings/media/ |
D | samsung,exynos5250-gsc.yaml | 4 $id: http://devicetree.org/schemas/media/samsung,exynos5250-gsc.yaml# 26 - samsung,exynos5250-gsc 27 - samsung,exynos5420-gsc 28 - const: samsung,exynos5-gsc 30 - samsung,exynos5433-gsc 31 - const: samsung,exynos5-gsc 72 - samsung,exynos5-gsc 73 - samsung,exynos5250-gsc 74 - samsung,exynos5420-gsc 102 compatible = "samsung,exynos5250-gsc", "samsung,exynos5-gsc";
|
/Linux-v6.1/drivers/parisc/ |
D | Kconfig | 2 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 …]
|
D | gsc.h | 3 * drivers/parisc/gsc.h 4 * Declarations for functions in gsc.c 28 struct parisc_device *gsc; member
|
/Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
D | gateworks-gsc.yaml | 4 $id: http://devicetree.org/schemas/mfd/gateworks-gsc.yaml# 10 The Gateworks System Controller (GSC) is a device present across various 25 pattern: "gsc@[0-9a-f]{1,2}" 27 const: gw,gsc 54 const: gw,gsc-adc 123 const: gw,gsc-fan 160 gsc@20 { 161 compatible = "gw,gsc"; 171 compatible = "gw,gsc-adc"; 199 compatible = "gw,gsc-fan";
|
/Linux-v6.1/Documentation/hwmon/ |
D | gsc-hwmon.rst | 3 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-v6.1/drivers/hwmon/ |
D | gsc-hwmon.c | 9 #include <linux/mfd/gsc.h> 26 struct gsc_dev *gsc; member 271 fan = of_find_compatible_node(dev->parent->of_node, NULL, "gw,gsc-fan"); in gsc_hwmon_get_devtree_pdata() 318 struct gsc_dev *gsc = dev_get_drvdata(pdev->dev.parent); in gsc_hwmon_probe() local 335 hwmon->gsc = gsc; in gsc_hwmon_probe() 339 gsc->i2c_hwmon, in gsc_hwmon_probe() 350 dev_err(gsc->dev, "too many temp channels\n"); in gsc_hwmon_probe() 360 dev_err(gsc->dev, "too many fan channels\n"); in gsc_hwmon_probe() 372 dev_err(gsc->dev, "too many input channels\n"); in gsc_hwmon_probe() 381 dev_err(gsc->dev, "invalid mode: %d\n", ch->mode); in gsc_hwmon_probe() [all …]
|
/Linux-v6.1/sound/parisc/ |
D | Kconfig | 5 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-v6.1/arch/arm64/boot/dts/freescale/ |
D | imx8mm-venice-gw700x.dtsi | 28 interrupt-parent = <&gsc>; 35 interrupt-parent = <&gsc>; 42 interrupt-parent = <&gsc>; 49 interrupt-parent = <&gsc>; 56 interrupt-parent = <&gsc>; 126 gsc: gsc@20 { label 127 compatible = "gw,gsc"; 138 compatible = "gw,gsc-adc"; 236 compatible = "gw,gsc-fan"; 246 interrupt-parent = <&gsc>;
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | imx6qdl-gw5912.dtsi | 37 interrupt-parent = <&gsc>; 44 interrupt-parent = <&gsc>; 51 interrupt-parent = <&gsc>; 58 interrupt-parent = <&gsc>; 65 interrupt-parent = <&gsc>; 156 gsc: gsc@20 { label 157 compatible = "gw,gsc"; 167 compatible = "gw,gsc-adc"; 245 compatible = "gw,gsc-fan"; 257 interrupt-parent = <&gsc>;
|
D | imx6qdl-gw5907.dtsi | 36 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>;
|
D | imx6qdl-gw5913.dtsi | 36 interrupt-parent = <&gsc>; 43 interrupt-parent = <&gsc>; 50 interrupt-parent = <&gsc>; 57 interrupt-parent = <&gsc>; 64 interrupt-parent = <&gsc>; 137 gsc: gsc@20 { label 138 compatible = "gw,gsc"; 147 compatible = "gw,gsc-adc"; 243 interrupt-parent = <&gsc>;
|
D | imx6qdl-gw552x.dtsi | 37 interrupt-parent = <&gsc>; 44 interrupt-parent = <&gsc>; 51 interrupt-parent = <&gsc>; 58 interrupt-parent = <&gsc>; 65 interrupt-parent = <&gsc>; 142 gsc: gsc@20 { label 143 compatible = "gw,gsc"; 152 compatible = "gw,gsc-adc"; 235 interrupt-parent = <&gsc>;
|
D | imx6qdl-gw5910.dtsi | 39 interrupt-parent = <&gsc>; 46 interrupt-parent = <&gsc>; 53 interrupt-parent = <&gsc>; 60 interrupt-parent = <&gsc>; 67 interrupt-parent = <&gsc>; 161 gsc: gsc@20 { label 162 compatible = "gw,gsc"; 171 compatible = "gw,gsc-adc"; 274 interrupt-parent = <&gsc>;
|
D | imx6qdl-gw51xx.dtsi | 36 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>;
|
D | imx6qdl-gw551x.dtsi | 80 interrupt-parent = <&gsc>; 87 interrupt-parent = <&gsc>; 94 interrupt-parent = <&gsc>; 101 interrupt-parent = <&gsc>; 108 interrupt-parent = <&gsc>; 217 gsc: gsc@20 { label 218 compatible = "gw,gsc"; 227 compatible = "gw,gsc-adc"; 304 interrupt-parent = <&gsc>;
|
D | imx6qdl-gw553x.dtsi | 78 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>;
|
/Linux-v6.1/drivers/gpu/drm/i915/gt/uc/ |
D | intel_huc.c | 22 * older platforms and by the GSC on newer ones. For the GuC to correctly 29 * while GSC-managed HuC will survive that. 62 #define HUC_LOAD_MODE_STRING(x) (x ? "GSC" : "legacy") 70 * The fuse for HuC load via GSC is only valid on platforms that have in check_huc_loading_mode() 85 /* make sure we can access the GSC via the mei driver if we need it */ in check_huc_loading_mode() 93 drm_dbg(>->i915->drm, "GSC loads huc=%s\n", str_yes_no(fw_needs_gsc)); in check_huc_loading_mode() 147 /* GSC will do the auth */ in intel_huc_auth()
|
/Linux-v6.1/drivers/misc/mei/ |
D | Makefile | 21 obj-$(CONFIG_INTEL_MEI_GSC) += mei-gsc.o 22 mei-gsc-objs := gsc-me.o
|
D | Kconfig | 50 tristate "Intel MEI GSC embedded device" 56 Intel auxiliary driver for GSC devices embedded in Intel graphics devices. 58 An MEI device here called GSC can be embedded in an
|