| /linux/drivers/media/i2c/ |
| H A D | vpx3220.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #include <media/v4l2-device.h> 17 #include <media/v4l2-ctrls.h> 25 MODULE_PARM_DESC(debug, "Debug level (0-1)"); 30 /* ----------------------------------------------------------------------- */ 33 struct v4l2_subdev sd; member 42 static inline struct vpx3220 *to_vpx3220(struct v4l2_subdev *sd) in to_vpx3220() argument 44 return container_of(sd, struct vpx3220, sd); in to_vpx3220() 49 return &container_of(ctrl->handler, struct vpx3220, hdl)->sd; in to_sd() 54 /* ----------------------------------------------------------------------- */ [all …]
|
| H A D | ak881x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for AK8813 / AK8814 TV-ecoders from Asahi Kasei Microsystems Co., Ltd. (AKM) 16 #include <media/v4l2-common.h> 17 #include <media/v4l2-device.h> 31 unsigned int lines; member 61 static int ak881x_g_register(struct v4l2_subdev *sd, in ak881x_g_register() argument 64 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_g_register() 66 if (reg->reg > 0x26) in ak881x_g_register() 67 return -EINVAL; in ak881x_g_register() 69 reg->size = 1; in ak881x_g_register() [all …]
|
| /linux/drivers/media/usb/gspca/stv06xx/ |
| H A D | stv06xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher 4 * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland 9 * P/N 861050-0010: Sensor HDCS1000 ASIC STV0600 10 * P/N 861050-0020: Sensor Photobit PB100 ASIC STV0600-1 - QuickCam Express 11 * P/N 861055: Sensor ST VV6410 ASIC STV0610 - LEGO cam 12 * P/N 861075-0040: Sensor HDCS1000 ASIC 13 * P/N 961179-0700: Sensor ST VV6410 ASIC STV0602 - Dexxa WebCam USB 14 * P/N 861040-0000: Sensor ST VV6410 ASIC STV0610 - QuickCam Web 52 /* 1: 288 lines, 2: 144 lines */ [all …]
|
| H A D | stv06xx_st6422.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Strongly based on qc-usb-messenger, which is: 10 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher 11 * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland 20 /* Note we actually get 124 lines of data, of which we skip the 4st 32 /* Note we actually get 248 lines of data, of which we skip the 4st 34 first 240 of the 244 lines it actually gets, so that it ignores 49 static int setbrightness(struct sd *sd, s32 val); 50 static int setcontrast(struct sd *sd, s32 val); 51 static int setgain(struct sd *sd, u8 gain); [all …]
|
| H A D | stv06xx_vv6410.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher 4 * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland 9 * P/N 861050-0010: Sensor HDCS1000 ASIC STV0600 10 * P/N 861050-0020: Sensor Photobit PB100 ASIC STV0600-1 - QuickCam Express 11 * P/N 861055: Sensor ST VV6410 ASIC STV0610 - LEGO cam 12 * P/N 861075-0040: Sensor HDCS1000 ASIC 13 * P/N 961179-0700: Sensor ST VV6410 ASIC STV0602 - Dexxa WebCam USB 14 * P/N 861040-0000: Sensor ST VV6410 ASIC STV0610 - QuickCam Web 61 /* Low-power/sleep modes & video timing */ [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | qcom,lpass-cpu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/qcom,lpass-cpu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 11 - Rohit kumar <quic_rohkumar@quicinc.com> 14 Qualcomm Technologies Inc. SOC Low-Power Audio SubSystem (LPASS) that consist 16 is a module to configure Low-Power Audio Interface(LPAIF) core registers 22 - qcom,lpass-cpu 23 - qcom,apq8016-lpass-cpu [all …]
|
| H A D | qcom,q6dsp-lpass-ports.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/qcom,q6dsp-lpass-ports.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 18 - qcom,q6afe-dais 20 '#sound-dai-cells': 23 '#address-cells': 26 '#size-cells': 31 '^dai@[0-9]+$': [all …]
|
| /linux/Documentation/devicetree/bindings/mmc/ |
| H A D | mmc-controller-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-controller-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ulf Hansson <ulf.hansson@linaro.org> 14 possible slots or ports for multi-slot controllers. 17 "#address-cells": 22 "#size-cells": 29 broken-cd: 34 cd-gpios: [all …]
|
| H A D | sdhci-st.txt | 1 * STMicroelectronics sdhci-st MMC/SD controller 5 used by the sdhci-st driver. 8 - compatible: Must be "st,sdhci" and it can be compatible to "st,sdhci-stih407" 13 - clock-names: Should be "mmc" and "icn". (NB: The latter is not compulsory) 14 See: Documentation/devicetree/bindings/resource-names.txt 15 - clocks: Phandle to the clock. 16 See: Documentation/devicetree/bindings/clock/clock-bindings.txt 18 - interrupts: One mmc interrupt should be described here. 19 - interrupt-names: Should be "mmcirq". 21 - pinctrl-names: A pinctrl state names "default" must be defined. [all …]
|
| /linux/Documentation/driver-api/gpio/ |
| H A D | drivers-on-gpio.rst | 6 the right in-kernel and userspace APIs/ABIs for the job, and that these 10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO 11 lines, giving you the LED sysfs interface 13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger, 15 (and that LED may in turn use the leds-gpio as per above). 17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line 20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your 24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with 26 mouse cable and connect the wires to GPIO lines or solder a mouse connector 27 to the lines for a more permanent solution of this type. [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | sc7280-herobrine-audio-rt5682.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 /* BOARD-SPECIFIC TOP LEVEL NODES */ 13 compatible = "google,sc7280-herobrine"; 14 model = "sc7280-rt5682-max98360a-1mic"; 16 audio-routing = "Headphone Jack", "HPOL", 19 #address-cells = <1>; 20 #size-cells = <0>; 22 dai-link@0 { 23 link-name = "MAX98360"; 27 sound-dai = <&lpass_cpu MI2S_SECONDARY>; [all …]
|
| H A D | sc7280-herobrine-audio-rt5682-3mic.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 /* BOARD-SPECIFIC TOP LEVEL NODES */ 13 compatible = "google,sc7280-herobrine"; 14 model = "sc7280-rt5682-max98360a-3mic"; 16 audio-routing = "VA DMIC0", "vdd-micb", 17 "VA DMIC1", "vdd-micb", 18 "VA DMIC2", "vdd-micb", 19 "VA DMIC3", "vdd-micb", 24 #address-cells = <1>; 25 #size-cells = <0>; [all …]
|
| H A D | msm8916-samsung-gt5-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/sound/apq8016-lpass.h> 16 mmc1 = &sdhc_2; /* SD card */ 21 stdout-path = "serial0"; [all …]
|
| H A D | msm8916-modem-qdsp6.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 3 * msm8916-modem-qdsp6.dtsi describes the typical modem setup on MSM8916 devices 9 #include <dt-bindings/sound/qcom,q6afe.h> 10 #include <dt-bindings/sound/qcom,q6asm.h> 51 qcom,sd-lines = <0 1>; 55 qcom,sd-lines = <0 1>; 75 is-compress-dai; 80 compatible = "qcom,msm8916-qdsp6-sndcard"; 83 pinctrl-0 = <&cdc_pdm_default>; 84 pinctrl-1 = <&cdc_pdm_sleep>; [all …]
|
| /linux/drivers/media/usb/gspca/ |
| H A D | tv8532.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> 16 struct sd { struct 35 /* TV-8532A (ICM532A) registers (LE) */ 108 gspca_dev->usb_buf[0] = value; in reg_w1() 109 usb_control_msg(gspca_dev->dev, in reg_w1() 110 usb_sndctrlpipe(gspca_dev->dev, 0), in reg_w1() 114 index, gspca_dev->usb_buf, 1, 500); in reg_w1() 121 gspca_dev->usb_buf[0] = value; in reg_w2() 122 gspca_dev->usb_buf[1] = value >> 8; in reg_w2() [all …]
|
| H A D | pac7311.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2005 Thomas Kaiser thomas@kaiser-linux.li 6 * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> 28 * generated JPG-s are only understood by v4l-utils >= 0.8.9 35 * 0x02 Clock divider 2-63, fps =~ 60 / val. Must be a multiple of 3 on 37 * 0x0f Master gain 1-245, low value = high gain 38 * 0x10 Another gain 0-15, limited influence (1-2x gain I guess) 39 * 0x21 Bitfield: 0-1 unused, 2-3 vflip/hflip, 4-5 unknown, 6-7 unused 59 MODULE_AUTHOR("Thomas Kaiser thomas@kaiser-linux.li"); 63 struct sd { struct [all …]
|
| H A D | konica.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 * Copyright (C) 2009 Jean-Francois Moine (http://moinejf.free.fr) 36 struct sd { struct 44 0x00 -> 176x144, cropped 45 0x01 -> 176x144, cropped 46 0x02 -> 176x144, cropped 47 0x03 -> 176x144, cropped 48 0x04 -> 176x144, binned 49 0x05 -> 320x240 50 0x06 -> 320x240 [all …]
|
| /linux/arch/arm64/boot/dts/hisilicon/ |
| H A D | hi3670-hikey970.dts | 1 // SPDX-License-Identifier: GPL-2.0 10 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 14 #include "hikey970-pinctrl.dtsi" 15 #include "hikey970-pmic.dtsi" 19 compatible = "hisilicon,hi3670-hikey970", "hisilicon,hi3670"; 34 stdout-path = "serial6:115200n8"; 43 wlan_en: wlan-en-1-8v { 44 compatible = "regulator-fixed"; 45 regulator-name = "wlan-en-regulator"; [all …]
|
| H A D | hi3660-hikey960.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 12 #include "hikey960-pinctrl.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/interrupt-controller/irq.h> 16 #include <dt-bindings/usb/pd.h> 20 compatible = "hisilicon,hi3660-hikey960", "hisilicon,hi3660"; 35 stdout-path = "serial6:115200n8"; 44 reserved-memory { [all …]
|
| H A D | hi6220-hikey.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "hikey-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 16 compatible = "hisilicon,hi6220-hikey", "hisilicon,hi6220"; 26 stdout-path = "serial3:115200n8"; 32 * 0x05e0,0000 - 0x05ef,ffff: MCU firmware runtime using 33 * 0x05f0,1000 - 0x05f0,1fff: Reboot reason 34 * 0x06df,f000 - 0x06df,ffff: Mailbox message data 35 * 0x0740,f000 - 0x0740,ffff: MCU firmware section [all …]
|
| /linux/drivers/media/platform/ti/omap3isp/ |
| H A D | ispccp2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TI OMAP3 ISP - CCP2 module 62 * ccp2_print_status - Print current CCP2 module register values. 65 dev_dbg(isp->dev, "###CCP2 " #name "=0x%08x\n", \ 72 dev_dbg(isp->dev, "-------------CCP2 Register dump-------------\n"); in ccp2_print_status() 103 dev_dbg(isp->dev, "--------------------------------------------\n"); in ccp2_print_status() 107 * ccp2_reset - Reset the CCP2 122 dev_warn(isp->dev, in ccp2_reset() 130 * ccp2_pwr_cfg - Configure the power mode settings 138 ((isp->revision == ISP_REVISION_15_0 && isp->autoidle) ? in ccp2_pwr_cfg() [all …]
|
| /linux/include/linux/iio/adc/ |
| H A D | ad_sigma_delta.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Support code for Analog Devices Sigma-Delta ADCs 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 21 * struct ad_sigma_delta_calib_data - Calibration data for Sigma Delta devices 38 * struct ad_sigma_delta_info - Sigma Delta driver specific callbacks and options 50 * if there is just one read-only sample data shift register. 85 * struct ad_sigma_delta - Sigma Delta device struct 123 * transfer buffers to live in their own cache lines. 133 static inline bool ad_sigma_delta_has_spi_offload(struct ad_sigma_delta *sd) in ad_sigma_delta_has_spi_offload() argument 135 return sd->offload != NULL; in ad_sigma_delta_has_spi_offload() [all …]
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | ste-ux500-samsung-gavini.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Beam GT-I8530 also known as Gavini. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8500.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
| /linux/arch/arm64/boot/dts/amlogic/ |
| H A D | meson-sm1-khadas-vim3l.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-sm1.dtsi" 10 #include "meson-khadas-vim3.dtsi" 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 17 vddcpu: regulator-vddcpu { 21 compatible = "pwm-regulator"; 23 regulator-name = "VDDCPU"; 24 regulator-min-microvolt = <690000>; 25 regulator-max-microvolt = <1050000>; [all …]
|
| /linux/arch/arm64/boot/dts/actions/ |
| H A D | s900-bubblegum-96.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 11 compatible = "ucrobotics,bubblegum-96", "actions,s900"; 12 model = "Bubblegum-96"; 22 stdout-path = "serial5:115200n8"; 31 vcc_3v1: vcc-3v1 { 32 compatible = "regulator-fixed"; 33 regulator-name = "fixed-3.1V"; 34 regulator-min-microvolt = <3100000>; 35 regulator-max-microvolt = <3100000>; [all …]
|