Home
last modified time | relevance | path

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

12

/Linux-v6.6/Documentation/devicetree/bindings/phy/
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 - Wesley Cheng <quic_wcheng@quicinc.com>
19 - items:
20 - enum:
21 - qcom,ipq6018-qusb2-phy
22 - qcom,ipq8074-qusb2-phy
23 - qcom,ipq9574-qusb2-phy
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/display/tilcdc/
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 …]
/Linux-v6.6/drivers/iio/adc/
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
115 u8 ctrl; member
119 * struct twl4030_madc_request - madc request packet for channel conversion
126 * @raw: Return raw value, do not convert it
154 * struct twl4030_madc_data - a container for madc info
157 * @usb3v1: Pointer to bias regulator for madc
[all …]
/Linux-v6.6/arch/arm64/boot/dts/qcom/
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>
12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
14 #include "sc7180-firmware-tfa.dtsi"
20 compatible = "qcom,sc7180-idp", "qcom,sc7180";
30 stdout-path = "serial0:115200n8";
42 /delete-node/ &hyp_mem;
43 /delete-node/ &xbl_mem;
[all …]
Dsc7180-acer-aspire1.dts1 // SPDX-License-Identifier: BSD-3-Clause
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
13 /delete-node/ &tz_mem;
14 /delete-node/ &ipa_fw_mem;
19 chassis-type = "laptop";
29 stdout-path = "serial0:115200n8";
32 reserved-memory {
33 zap_mem: zap-shader@80840000 {
[all …]
Dsc7180-trogdor.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/gpio-keys.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
13 #include <dt-bindings/sound/sc7180-lpass.h>
16 #include "sc7180-firmware-tfa.dtsi"
22 thermal-zones {
23 charger_thermal: charger-thermal {
[all …]
/Linux-v6.6/drivers/media/usb/gspca/m5602/
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 …]
/Linux-v6.6/drivers/media/i2c/s5c73m3/
Ds5c73m3-ctrls.c1 // SPDX-License-Identifier: GPL-2.0-only
21 #include <media/media-entity.h>
22 #include <media/v4l2-ctrls.h>
23 #include <media/v4l2-device.h>
24 #include <media/v4l2-subdev.h>
25 #include <media/v4l2-mediabus.h>
29 static int s5c73m3_get_af_status(struct s5c73m3 *state, struct v4l2_ctrl *ctrl) in s5c73m3_get_af_status() argument
39 ctrl->val = V4L2_AUTO_FOCUS_STATUS_BUSY; in s5c73m3_get_af_status()
43 ctrl->val = V4L2_AUTO_FOCUS_STATUS_REACHED; in s5c73m3_get_af_status()
46 v4l2_info(&state->sensor_sd, "Unknown AF status %#x\n", reg); in s5c73m3_get_af_status()
[all …]
/Linux-v6.6/drivers/media/i2c/
Dov9650.c1 // SPDX-License-Identifier: GPL-2.0-only
24 #include <media/media-entity.h>
25 #include <media/v4l2-async.h>
26 #include <media/v4l2-ctrls.h>
27 #include <media/v4l2-device.h>
28 #include <media/v4l2-event.h>
29 #include <media/v4l2-image-sizes.h>
30 #include <media/v4l2-subdev.h>
31 #include <media/v4l2-mediabus.h>
35 MODULE_PARM_DESC(debug, "Debug level (0-2)");
[all …]
Dar0521.c1 // SPDX-License-Identifier: GPL-2.0
4 * - Przemysłowy Instytut Automatyki i Pomiarów PIAP
12 #include <media/v4l2-ctrls.h>
13 #include <media/v4l2-fwnode.h>
14 #include <media/v4l2-subdev.h>
145 static inline struct v4l2_subdev *ctrl_to_sd(struct v4l2_ctrl *ctrl) in ctrl_to_sd() argument
147 return &container_of(ctrl->handler, struct ar0521_dev, in ctrl_to_sd()
148 ctrls.handler)->sd; in ctrl_to_sd()
158 return div_u64(v + d - 1, d); in div64_round_up()
163 switch (sensor->fmt.code) { in ar0521_code_to_bpp()
[all …]
/Linux-v6.6/sound/soc/codecs/
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 …]
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 …]
/Linux-v6.6/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_util.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
96 if (c->log_mask & dpu_hw_util_log_mask) in dpu_reg_write()
99 writel_relaxed(val, c->blk_addr + reg_off); in dpu_reg_write()
104 return readl_relaxed(c->blk_addr + reg_off); in dpu_reg_read()
128 lut_flags = (unsigned long) scaler3_cfg->lut_flag; in _dpu_hw_setup_scaler3_lut()
130 (scaler3_cfg->dir_len == QSEED3_DIR_LUT_SIZE)) { in _dpu_hw_setup_scaler3_lut()
131 lut[0] = scaler3_cfg->dir_lut; in _dpu_hw_setup_scaler3_lut()
135 (scaler3_cfg->y_rgb_cir_lut_idx < QSEED3_CIRCULAR_LUTS) && in _dpu_hw_setup_scaler3_lut()
136 (scaler3_cfg->cir_len == QSEED3_CIR_LUT_SIZE)) { in _dpu_hw_setup_scaler3_lut()
[all …]
/Linux-v6.6/sound/pci/
Dens1370.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /* Power-Management-Code ( CONFIG_PM )
11 * using https://www.kernel.org/doc/html/latest/sound/kernel-api/writing-an-alsa-driver.html
64 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
80 MODULE_PARM_DESC(index, "Index value for Ensoniq AudioPCI soundcard.");
96 MODULE_PARM_DESC(spdif, "S/PDIF output (-1 = none, 0 = auto, 1 = force).");
111 #define CT5880REV_CT5880_D 0x03 /* ??? -jk */
121 #define ES_REG(ensoniq, x) ((ensoniq)->port + ES_REG_##x)
135 #define ES_1371_GPIO_IN(i) (((i)>>20)&0x0f)/* GPIO in [3:0] pins - R/O */
139 #define ES_1371_GPIO_OUT(o) (((o)&0x0f)<<16)/* GPIO out [3:0] pins - W/R */
[all …]
/Linux-v6.6/drivers/phy/qualcomm/
Dphy-qcom-qusb2.c1 // SPDX-License-Identifier: GPL-2.0
13 #include <linux/nvmem-consumer.h>
22 #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 */
288 /* true if TUNE1 register must be updated by fused value, else TUNE2 */
294 /* true if PHY default clk scheme is single-ended */
373 "vdd", "vdda-pll", "vdda-phy-dpdm",
378 /* struct override_param - structure holding qusb2 v2 phy overriding param
380 * to value
[all …]
/Linux-v6.6/arch/m68k/ifpsp060/src/
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 …]
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 …]
Dfpsp.S3 M68000 Hi-Performance Microprocessor Division
5 Production Release P1.00 -- October 10, 1994
98 mov.l %d0,-(%sp)
99 mov.l (_060FPSP_TABLE-0x80+_off_done,%pc),%d0
100 pea.l (_060FPSP_TABLE-0x80,%pc,%d0)
106 mov.l %d0,-(%sp)
107 mov.l (_060FPSP_TABLE-0x80+_off_ovfl,%pc),%d0
108 pea.l (_060FPSP_TABLE-0x80,%pc,%d0)
114 mov.l %d0,-(%sp)
115 mov.l (_060FPSP_TABLE-0x80+_off_unfl,%pc),%d0
[all …]
/Linux-v6.6/drivers/staging/media/atomisp/i2c/
Datomisp-gc0310.c1 // SPDX-License-Identifier: GPL-2.0
29 #include <media/v4l2-ctrls.h>
30 #include <media/v4l2-device.h>
74 #define GC0310_START_STREAMING 0x94 /* 8-bit enable */
75 #define GC0310_STOP_STREAMING 0x0 /* 8-bit disable */
170 { 0x1e, 0x6b }, /* 3b//col bias */
243 { 0x46, 0xf0 }, /* 0xff //f0//sun value th */
274 * gc0310_write_reg_array - Initializes a list of GC0310 registers
277 * @count: number of register, value pairs in the list
287 dev_err(&client->dev, "write error: wrote 0x%x to offset 0x%x error %d", in gc0310_write_reg_array()
[all …]
/Linux-v6.6/arch/arm/boot/dts/ti/omap/
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 …]
/Linux-v6.6/drivers/media/platform/verisilicon/
Dhantro_hw.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 #include <linux/v4l2-controls.h>
14 #include <media/v4l2-ctrls.h>
15 #include <media/v4l2-vp9.h>
16 #include <media/videobuf2-core.h>
49 * struct hantro_aux_buf - auxiliary DMA buffer for hardware data
101 * @dpb_longterm: DPB long-term
218 * @tile_r_info: per-tile information array
219 * @tile_c_info: per-tile information array
285 * @db_ctrl_col: db tile col ctrl buffer
[all …]
/Linux-v6.6/drivers/net/ethernet/intel/e1000e/
Dphy.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
37 * e1000e_check_reset_block_generic - Check if PHY reset is blocked
54 * e1000e_get_phy_id - Retrieve the PHY ID and revision
62 struct e1000_phy_info *phy = &hw->phy; in e1000e_get_phy_id()
67 if (!phy->ops.read_reg) in e1000e_get_phy_id()
75 phy->id = (u32)(phy_id << 16); in e1000e_get_phy_id()
81 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); in e1000e_get_phy_id()
82 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); in e1000e_get_phy_id()
84 if (phy->id != 0 && phy->id != PHY_REVISION_MASK) in e1000e_get_phy_id()
[all …]
/Linux-v6.6/drivers/net/ethernet/intel/igb/
De1000_phy.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2007 - 2018 Intel Corporation. */
31 * igb_check_reset_block - Check if PHY reset is blocked
48 * igb_get_phy_id - Retrieve the PHY ID and revision
56 struct e1000_phy_info *phy = &hw->phy; in igb_get_phy_id()
61 if ((hw->mac.type == e1000_i210) || (hw->mac.type == e1000_i211)) in igb_get_phy_id()
62 phy->ops.write_reg(hw, I347AT4_PAGE_SELECT, 0); in igb_get_phy_id()
64 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in igb_get_phy_id()
68 phy->id = (u32)(phy_id << 16); in igb_get_phy_id()
70 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in igb_get_phy_id()
[all …]
/Linux-v6.6/drivers/pci/controller/
Dpci-tegra.c1 // SPDX-License-Identifier: GPL-2.0+
9 * Copyright (c) 2008-2009, NVIDIA Corporation.
11 * Bits taken from arch/arm/mach-dove/pcie.c
256 * Fields in PADS_REFCLK_CFG*. Those registers form an array of 16-bit
375 static inline void afi_writel(struct tegra_pcie *pcie, u32 value, in afi_writel() argument
378 writel(value, pcie->afi + offset); in afi_writel()
383 return readl(pcie->afi + offset); in afi_readl()
386 static inline void pads_writel(struct tegra_pcie *pcie, u32 value, in pads_writel() argument
389 writel(value, pcie->pads + offset); in pads_writel()
394 return readl(pcie->pads + offset); in pads_readl()
[all …]
/Linux-v6.6/drivers/media/pci/cx18/
Dcx18-av-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Derived from cx25840-core.c
11 #include "cx18-driver.h"
12 #include "cx18-io.h"
13 #include "cx18-cards.h"
15 int cx18_av_write(struct cx18 *cx, u16 addr, u8 value) in cx18_av_write() argument
22 x = (x & ~(mask << shift)) | ((u32)value << shift); in cx18_av_write()
27 int cx18_av_write_expect(struct cx18 *cx, u16 addr, u8 value, u8 eval, u8 mask) in cx18_av_write_expect() argument
33 x = (x & ~((u32)0xff << shift)) | ((u32)value << shift); in cx18_av_write_expect()
39 int cx18_av_write4(struct cx18 *cx, u16 addr, u32 value) in cx18_av_write4() argument
[all …]

12