/linux/Documentation/devicetree/bindings/display/tilcdc/ |
H A D | panel.txt | 1 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/arch/arm64/boot/dts/qcom/ |
H A D | sc7180-idp.dts | 1 // 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 …]
|
H A D | sc7180-acer-aspire1.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/sound/qcom,q6asm.h> 7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 14 /delete-node/ &tz_mem; 15 /delete-node/ &ipa_fw_mem; 20 chassis-type = "laptop"; 30 stdout-path = "serial0:115200n8"; 33 reserved-memory { [all …]
|
H A D | sc7180-trogdor.dtsi | 1 // 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/drivers/media/usb/gspca/m5602/ |
H A D | m5602_ov9650.c | 1 // 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/drivers/media/i2c/s5c73m3/ |
H A D | s5c73m3-ctrls.c | 1 // 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/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_util.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. 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() [all …]
|
/linux/drivers/media/i2c/ |
H A D | ov9650.c | 1 // 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 …]
|
H A D | ar0521.c | 1 // 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> 143 static inline struct v4l2_subdev *ctrl_to_sd(struct v4l2_ctrl *ctrl) in ctrl_to_sd() argument 145 return &container_of(ctrl->handler, struct ar0521_dev, in ctrl_to_sd() 146 ctrls.handler)->sd; in ctrl_to_sd() 156 return div_u64(v + d - 1, d); in div64_round_up() 161 switch (sensor->fmt.code) { in ar0521_code_to_bpp() [all …]
|
H A D | tda1997x.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/v4l2-dv-timings.h> 19 #include <media/v4l2-ctrls.h> 20 #include <media/v4l2-device.h> 21 #include <media/v4l2-dv-timings.h> 22 #include <media/v4l2-event.h> 23 #include <media/v4l2-fwnode.h> 31 #include <dt-bindings/media/tda1997x.h> 40 MODULE_PARM_DESC(debug, "debug level (0-2)"); 46 "OBA", /* One-Bit Audio */ [all …]
|
/linux/sound/soc/codecs/ |
H A D | wm8985.c | 1 // 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 - Audi [all...] |
H A D | wm8983.c | 1 // 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 …]
|
H A D | wm9713.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9713.c -- ALSA Soc WM9713 codec support 5 * Copyright 2006-10 Wolfson Microelectronics PLC. 8 * Features:- 92 static const DECLARE_TLV_DB_SCALE(out_tlv, -4650, 150, 0); 93 static const DECLARE_TLV_DB_SCALE(main_tlv, -3450, 150, 0); 94 static const DECLARE_TLV_DB_SCALE(misc_tlv, -1500, 300, 0); 181 SOC_SINGLE("Bass Cut-off Switch", AC97_GENERAL_PURPOSE, 12, 1, 1), 182 SOC_SINGLE("Tone Cut-off Switch", AC97_GENERAL_PURPOSE, 4, 1, 1), 183 SOC_SINGLE("Playback Attenuate (-6dB) Switch", AC97_GENERAL_PURPOSE, 6, 1, 0), [all …]
|
/linux/drivers/phy/qualcomm/ |
H A D | phy-qcom-qusb2.c | 1 // 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 */ 316 /* true if TUNE1 register must be updated by fused value, els 384 u8 value; global() member 965 u32 value; qusb2_phy_probe() local [all...] |
/linux/sound/pci/ |
H A D | ens1370.c | 1 // 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-als 376 unsigned int ctrl; /* control register */ global() member 1521 unsigned int ctrl; snd_es1373_line_put() local [all...] |
/linux/arch/m68k/ifpsp060/src/ |
H A D | pfpsp.S | 3 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 D | fplsp.S | 3 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 …]
|
H A D | fpsp.S | 3 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/arch/arm/boot/dts/ti/omap/ |
H A D | am335x-sl50.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2015 Toby Churchill - https://www.toby-churchill.com/ 6 /dts-v1/; 9 #include <dt-bindings/pwm/pwm.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 14 compatible = "tcl,am335x-sl50", "ti,am33xx"; 18 cpu0-supply = <&dcdc2_reg>; 28 stdout-path = &uart0; 32 compatible = "gpio-leds"; 33 pinctrl-names = "default"; [all …]
|
/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_hw.h | 1 /* 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> 58 * struct hantro_aux_buf - auxiliary DMA buffer for hardware data 110 * @dpb_longterm: DPB long-term 229 * @tile_r_info: per-tile information array 230 * @tile_c_info: per-tile information array 296 * @db_ctrl_col: db tile col ctrl buffer [all …]
|
/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | phy.c | 1 // 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/drivers/net/ethernet/intel/igb/ |
H A D | e1000_phy.c | 1 // 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/drivers/media/pci/cx18/ |
H A D | cx18-av-core.c | 1 // 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 …]
|
/linux/drivers/media/usb/gspca/ |
H A D | sonixb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2009-2011 Jean-François Moine <http://moinejf.free.fr> 17 0x05 red gain 0-127 18 0x06 blue gain 0-127 19 0x07 green gain 0-127 21 0x08-0x0f i2c / 3wire registers 24 0x15 hsize (hsize = register-value * 16) 25 0x16 vsize (vsize = register-value * 16) 27 0x18 bit 7 enables compression, bit 4-5 set image down scaling: 29 0x19 high-nibble is sensor clock divider, changes exposure on sensors which [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | eeprom_def.c | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 49 while (pcdac > ah->originalGain[i] && in ath9k_get_txgain_index() 50 i < (AR9280_TX_GAIN_TABLE_SIZE - 1)) in ath9k_get_txgain_index() 82 u16 version = le16_to_cpu(ah->eeprom.def.baseEepHeader.version); in ath9k_hw_def_get_eeprom_ver() 90 u16 version = le16_to_cpu(ah->eeprom.def.baseEepHeader.version); in ath9k_hw_def_get_eeprom_rev() 99 u16 *eep_data = (u16 *)&ah->eeprom.def; in __ath9k_hw_def_fill_eeprom() 113 u16 *eep_data = (u16 *)&ah->eeprom.def; in __ath9k_hw_usb_def_fill_eeprom() 128 if (common->bus_ops->ath_bus_type == ATH_USB) in ath9k_hw_def_fill_eeprom() 138 PR_EEP("Chain0 Ant. Control", le32_to_cpu(modal_hdr->antCtrlChain[0])); in ath9k_def_dump_modal_eeprom() 139 PR_EEP("Chain1 Ant. Control", le32_to_cpu(modal_hdr->antCtrlChain[1])); in ath9k_def_dump_modal_eeprom() [all …]
|