Home
last modified time | relevance | path

Searched +full:bias +full:- +full:ctrl +full:- +full:value (Results 1 – 25 of 136) sorted by relevance

123456

/OK3568_Linux_fs/u-boot/drivers/pinctrl/rockchip/
H A Dpinctrl-rockchip-core.c1 // SPDX-License-Identifier: GPL-2.0+
13 #include "pinctrl-rockchip.h"
22 struct rockchip_pin_ctrl *ctrl = priv->ctrl; in rockchip_verify_config() local
24 if (bank >= ctrl->nr_banks) { in rockchip_verify_config()
25 debug("pin conf bank %d >= nbanks %d\n", bank, ctrl->nr_banks); in rockchip_verify_config()
26 return -EINVAL; in rockchip_verify_config()
32 return -EINVAL; in rockchip_verify_config()
41 struct rockchip_pinctrl_priv *priv = bank->priv; in rockchip_get_recalced_mux()
42 struct rockchip_pin_ctrl *ctrl = priv->ctrl; in rockchip_get_recalced_mux() local
46 for (i = 0; i < ctrl->niomux_recalced; i++) { in rockchip_get_recalced_mux()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/tilcdc/
H A Dpanel.txt1 Device-Tree bindings for tilcdc DRM generic panel output driver
4 - compatible: value should be "ti,tilcdc,panel".
5 - panel-info: configuration info to configure LCDC correctly for the panel
6 - ac-bias: AC Bias Pin Frequency
7 - ac-bias-intrpt: AC Bias Pin Transitions per Interrupt
8 - dma-burst-sz: DMA burst size
9 - bpp: Bits per pixel
10 - fdd: FIFO DMA Request Delay
11 - sync-edge: Horizontal and Vertical Sync Edge: 0=rising 1=falling
12 - sync-ctrl: Horizontal and Vertical Sync: Control: 0=ignore
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/
H A Dqcom,qusb2-phy.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: "http://devicetree.org/schemas/phy/qcom,qusb2-phy.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Manu Gautam <mgautam@codeaurora.org>
19 - items:
20 - enum:
21 - qcom,ipq8074-qusb2-phy
22 - qcom,msm8996-qusb2-phy
23 - qcom,msm8998-qusb2-phy
[all …]
/OK3568_Linux_fs/kernel/drivers/media/i2c/m5mols/
H A Dm5mols.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Header for M-5MOLS 8M Pixel camera sensor with ISP
16 #include <media/v4l2-subdev.h>
20 /* An amount of data transmitted in addition to the value
35 * struct m5mols_resolution - structure for the resolution
39 * @reg: resolution preset register value
49 * struct m5mols_exif - structure for the EXIF information of M-5MOLS
50 * @exposure_time: exposure time register value
51 * @shutter_speed: speed of the shutter register value
52 * @aperture: aperture register value
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/adc/
H A Dtwl4030-madc.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * TWL4030 MADC module driver-This driver monitors the real time
8 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
9 * J Keerthy <j-keerthy@ti.com>
11 * Based on twl4030-madc.c
114 u8 ctrl; member
118 * struct twl4030_madc_request - madc request packet for channel conversion
125 * @raw: Return raw value, do not convert it
153 * struct twl4030_madc_data - a container for madc info
156 * @usb3v1: Pointer to bias regulator for madc
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/qcom/
H A Dsc7180-idp.dts1 // SPDX-License-Identifier: BSD-3-Clause
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
18 compatible = "qcom,sc7180-idp", "qcom,sc7180";
28 stdout-path = "serial0:115200n8";
40 /delete-node/ &hyp_mem;
41 /delete-node/ &xbl_mem;
42 /delete-node/ &aop_mem;
43 /delete-node/ &sec_apps_mem;
[all …]
H A Dsc7180-trogdor.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
23 /delete-node/ &hyp_mem;
24 /delete-node/ &xbl_mem;
25 /delete-node/ &aop_mem;
26 /delete-node/ &sec_apps_mem;
27 /delete-node/ &tz_mem;
35 reserved-memory {
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/gspca/m5602/
H A Dm5602_ov9650.c1 // SPDX-License-Identifier: GPL-2.0-only
20 static int ov9650_s_ctrl(struct v4l2_ctrl *ctrl);
107 /* Enable HREF at optical black, enable ADBLC bias,
110 /* Subtract 32 from the B channel bias */
112 /* Subtract 32 from the Gb channel bias */
116 /* Subtract 32 from the R channel bias */
118 /* Subtract 32 from the R channel bias */
136 /* Set horizontal column start high to default value */
151 /* Enable denoise, and white-pixel erase */
307 return -ENODEV; in ov9650_probe()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-ctrls.c1 // SPDX-License-Identifier: GPL-2.0-only
22 #include <media/media-entity.h>
23 #include <media/v4l2-ctrls.h>
24 #include <media/v4l2-device.h>
25 #include <media/v4l2-subdev.h>
26 #include <media/v4l2-mediabus.h>
31 static int s5c73m3_get_af_status(struct s5c73m3 *state, struct v4l2_ctrl *ctrl) in s5c73m3_get_af_status() argument
41 ctrl->val = V4L2_AUTO_FOCUS_STATUS_BUSY; in s5c73m3_get_af_status()
45 ctrl->val = V4L2_AUTO_FOCUS_STATUS_REACHED; in s5c73m3_get_af_status()
48 v4l2_info(&state->sensor_sd, "Unknown AF status %#x\n", reg); in s5c73m3_get_af_status()
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dehci-tegra.c3 * Copyright (c) 2009-2015 NVIDIA Corporation
6 * SPDX-License-Identifier: GPL-2.0+
13 #include <asm-generic/gpio.h>
15 #include <asm/arch-tegra/usb.h>
16 #include <asm/arch-tegra/clk_rst.h>
42 PARAM_CPCON, /* BASE PLLC CHARGE Pump setup ctrl */
43 PARAM_LFCON, /* BASE PLLC LOOP FILter setup ctrl */
44 PARAM_ENABLE_DELAY_COUNT, /* PLL-U Enable Delay Count */
45 PARAM_STABLE_COUNT, /* PLL-U STABLE count */
46 PARAM_ACTIVE_DELAY_COUNT, /* PLL-U Active delay count */
[all …]
H A Dxhci-exynos5.c8 * SPDX-License-Identifier: GPL-2.0+
12 * This file is a conglomeration for DWC3-init sequence and further
13 * exynos5 specific PHY-init sequence.
25 #include <asm/arch/xhci-exynos.h>
48 struct xhci_ctrl ctrl; member
57 const void *blob = gd->fdt_blob; in xhci_usb_ofdata_to_platdata()
64 plat->hcd_base = devfdt_get_addr(dev); in xhci_usb_ofdata_to_platdata()
65 if (plat->hcd_base == FDT_ADDR_T_NONE) { in xhci_usb_ofdata_to_platdata()
67 return -ENXIO; in xhci_usb_ofdata_to_platdata()
74 debug("XHCI: Can't get device node for usb3-phy controller\n"); in xhci_usb_ofdata_to_platdata()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dov9650.c1 // SPDX-License-Identifier: GPL-2.0-only
25 #include <media/media-entity.h>
26 #include <media/v4l2-async.h>
27 #include <media/v4l2-ctrls.h>
28 #include <media/v4l2-device.h>
29 #include <media/v4l2-event.h>
30 #include <media/v4l2-image-sizes.h>
31 #include <media/v4l2-subdev.h>
32 #include <media/v4l2-mediabus.h>
37 MODULE_PARM_DESC(debug, "Debug level (0-2)");
[all …]
H A Dov5670.c1 // SPDX-License-Identifier: GPL-2.0
26 #include <media/v4l2-async.h>
27 #include <media/media-entity.h>
28 #include <media/v4l2-common.h>
29 #include <media/v4l2-ctrls.h>
30 #include <media/v4l2-device.h>
31 #include <media/v4l2-event.h>
32 #include <media/v4l2-fwnode.h>
33 #include <media/v4l2-image-sizes.h>
34 #include <media/v4l2-mediabus.h>
[all …]
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dwm8985.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8985.c -- WM8985 / WM8758 ALSA SoC Audio driver
49 { 1, 0x0000 }, /* R1 - Power management 1 */
50 { 2, 0x0000 }, /* R2 - Power management 2 */
51 { 3, 0x0000 }, /* R3 - Power management 3 */
52 { 4, 0x0050 }, /* R4 - Audio Interface */
53 { 5, 0x0000 }, /* R5 - Companding control */
54 { 6, 0x0140 }, /* R6 - Clock Gen control */
55 { 7, 0x0000 }, /* R7 - Additional control */
56 { 8, 0x0000 }, /* R8 - GPIO Control */
[all …]
H A Dwm8983.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8983.c -- WM8983 ALSA SoC Audio driver
29 { 0x01, 0x0000 }, /* R1 - Power management 1 */
30 { 0x02, 0x0000 }, /* R2 - Power management 2 */
31 { 0x03, 0x0000 }, /* R3 - Power management 3 */
32 { 0x04, 0x0050 }, /* R4 - Audio Interface */
33 { 0x05, 0x0000 }, /* R5 - Companding control */
34 { 0x06, 0x0140 }, /* R6 - Clock Gen control */
35 { 0x07, 0x0000 }, /* R7 - Additional control */
36 { 0x08, 0x0000 }, /* R8 - GPIO Control */
[all …]
/OK3568_Linux_fs/kernel/drivers/phy/qualcomm/
H A Dphy-qcom-qusb2.c1 // SPDX-License-Identifier: GPL-2.0
13 #include <linux/nvmem-consumer.h>
23 #include <dt-bindings/phy/phy-qcom-qusb2.h>
105 * if yes, then offset gives index in the reg-layout
123 /* set of registers with offsets different per-PHY */
243 /* true if TUNE1 register must be updated by fused value, else TUNE2 */
287 "vdda-pll", "vdda-phy-dpdm",
292 /* struct override_param - structure holding qusb2 v2 phy overriding param
294 * to value
298 u8 value; member
[all …]
/OK3568_Linux_fs/u-boot/drivers/video/
H A Dam335x-fb.c3 * Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
6 * Wolfgang Denk's LCD-Framework (CONFIG_LCD, common/lcd.c)
8 * - supporting 16/24/32bit RGB/TFT raster Mode (not using palette)
9 * - sets up LCD controller as in 'am335x_lcdpanel' struct given
10 * - starts output DMA from gd->fb_base buffer
12 * SPDX-License-Identifier: GPL-2.0+
17 #include "am335x-fb.h"
20 #error "hw-base address of LCD-Controller (LCD_CNTL_BASE) not defined!"
39 #define LCD_HBPLSB(x) ((((x)-1) & 0xFF) << 24)
40 #define LCD_HFPLSB(x) ((((x)-1) & 0xFF) << 16)
[all …]
/OK3568_Linux_fs/u-boot/drivers/pinctrl/
H A Dpinctrl-rockchip.c4 * SPDX-License-Identifier: GPL-2.0+
15 #include <dt-bindings/pinctrl/rockchip.h>
53 * @offset: if initialized to -1 it will be autocalculated, by specifying
54 * an initial offset value the relevant source offset can be reset
55 * to a new value for autocalculating the following iomux registers.
102 ROUTE_TYPE_INVALID = -1,
107 * @offset: if initialized to -1 it will be autocalculated, by specifying
108 * an initial offset value the relevant source offset can be reset
109 * to a new value for autocalculating the following drive strength
149 { .offset = -1 }, \
[all …]
/OK3568_Linux_fs/kernel/sound/pci/
H A Dens1370.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /* Power-Management-Code ( CONFIG_PM )
11 * using http://www.alsa-project.org/~tiwai/writing-an-alsa-driver/
55 MODULE_SUPPORTED_DEVICE("{{Ensoniq,AudioPCI-97 ES1370},"
72 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
88 MODULE_PARM_DESC(index, "Index value for Ensoniq AudioPCI soundcard.");
104 MODULE_PARM_DESC(spdif, "S/PDIF output (-1 = none, 0 = auto, 1 = force).");
119 #define CT5880REV_CT5880_D 0x03 /* ??? -jk */
129 #define ES_REG(ensoniq, x) ((ensoniq)->port + ES_REG_##x)
143 #define ES_1371_GPIO_IN(i) (((i)>>20)&0x0f)/* GPIO in [3:0] pins - R/O */
[all …]
/OK3568_Linux_fs/kernel/arch/m68k/ifpsp060/src/
H A Dpfpsp.S3 M68000 Hi-Performance Microprocessor Division
5 Production Release P1.00 -- October 10, 1994
97 mov.l %d0,-(%sp)
98 mov.l (_060FPSP_TABLE-0x80+_off_done,%pc),%d0
99 pea.l (_060FPSP_TABLE-0x80,%pc,%d0)
105 mov.l %d0,-(%sp)
106 mov.l (_060FPSP_TABLE-0x80+_off_ovfl,%pc),%d0
107 pea.l (_060FPSP_TABLE-0x80,%pc,%d0)
113 mov.l %d0,-(%sp)
114 mov.l (_060FPSP_TABLE-0x80+_off_unfl,%pc),%d0
[all …]
H A Dfplsp.S3 M68000 Hi-Performance Microprocessor Division
5 Production Release P1.00 -- October 10, 1994
276 set LV, -LOCAL_SIZE # stack offset
285 set EXC_AREGS, -68 # offset of all address regs
286 set EXC_DREGS, -100 # offset of all data regs
287 set EXC_FPREGS, -36 # offset of all fp regs
373 set FTEMP_SGN, 2 # value saved in memory.
380 set LOCAL_SGN, 2 # value saved in memory.
387 set DST_HI, 4 # value saved in memory.
392 set SRC_HI, 4 # value saved in memory.
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-imx/mx6/
H A Dsoc.c7 * SPDX-License-Identifier: GPL-2.0+
13 #include <asm/arch/imx-regs.h>
16 #include <asm/mach-imx/boot_mode.h>
17 #include <asm/mach-imx/dma.h>
18 #include <asm/mach-imx/hab.h>
33 u32 ctrl; member
63 return readl(&scu->config) & 3; in get_nr_cpus()
69 u32 reg = readl(&anatop->digprog_sololite); in get_cpu_rev()
74 reg = readl(&anatop->digprog); in get_cpu_rev()
76 cfg = readl(&scu->config) & 3; in get_cpu_rev()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dam335x-sl50.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015 Toby Churchill - http://www.toby-churchill.com/
5 /dts-v1/;
8 #include <dt-bindings/pwm/pwm.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
13 compatible = "tcl,am335x-sl50", "ti,am33xx";
17 cpu0-supply = <&dcdc2_reg>;
27 stdout-path = &uart0;
31 compatible = "gpio-leds";
32 pinctrl-names = "default";
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_common.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */
53 * nfp_net_get_fw_version() - Read and parse the FW version
68 return dma_map_single_attrs(dp->dev, frag + NFP_NET_RX_BUF_HEADROOM, in nfp_net_dma_map_rx()
69 dp->fl_bufsz - NFP_NET_RX_BUF_NON_DATA, in nfp_net_dma_map_rx()
70 dp->rx_dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in nfp_net_dma_map_rx()
76 dma_sync_single_for_device(dp->dev, dma_addr, in nfp_net_dma_sync_dev_rx()
77 dp->fl_bufsz - NFP_NET_RX_BUF_NON_DATA, in nfp_net_dma_sync_dev_rx()
78 dp->rx_dma_dir); in nfp_net_dma_sync_dev_rx()
83 dma_unmap_single_attrs(dp->dev, dma_addr, in nfp_net_dma_unmap_rx()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/v4l2-core/
H A Dv4l2-ctrls.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #define pr_fmt(fmt) "v4l2-ctrls: " fmt
15 #include <media/v4l2-ctrls.h>
16 #include <media/v4l2-dev.h>
17 #include <media/v4l2-device.h>
18 #include <media/v4l2-event.h>
19 #include <media/v4l2-fwnode.h>
20 #include <media/v4l2-ioctl.h>
23 if (!WARN_ON(!(vdev)) && ((vdev)->dev_debug & V4L2_DEV_DEBUG_CTRL)) \
29 (master->ops && master->ops->op)
[all …]

123456