Home
last modified time | relevance | path

Searched +full:gpio +full:- +full:ctrl3 (Results 1 – 25 of 29) sorted by relevance

12

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dcirrus,cs35l45.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
11 - Richard Fitzgerald <rf@opensource.cirrus.com>
18 - $ref: dai-common.yaml#
23 - cirrus,cs35l45
28 '#sound-dai-cells':
31 reset-gpios:
34 vdd-a-supply:
[all …]
/kernel/linux/linux-5.10/drivers/media/i2c/
Dov2659.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/gpio/consumer.h>
20 #include <media/v4l2-ctrls.h>
21 #include <media/v4l2-event.h>
22 #include <media/v4l2-fwnode.h>
23 #include <media/v4l2-image-sizes.h>
24 #include <media/v4l2-subdev.h>
183 u8 ctrl3; member
702 static const struct pll_ctrl_reg ctrl3[] = { variable
833 msg.addr = client->addr; in ov2659_write()
[all …]
Dov2640.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Copyright 2005-2009 Freescale Semiconductor, Inc. All Rights Reserved.
19 #include <linux/gpio.h>
20 #include <linux/gpio/consumer.h>
22 #include <linux/v4l2-mediabus.h>
25 #include <media/v4l2-device.h>
26 #include <media/v4l2-event.h>
27 #include <media/v4l2-subdev.h>
28 #include <media/v4l2-ctrls.h>
29 #include <media/v4l2-image-sizes.h>
[all …]
/kernel/linux/linux-6.6/drivers/media/i2c/
Dov2659.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/gpio/consumer.h>
20 #include <media/v4l2-ctrls.h>
21 #include <media/v4l2-event.h>
22 #include <media/v4l2-fwnode.h>
23 #include <media/v4l2-image-sizes.h>
24 #include <media/v4l2-subdev.h>
183 u8 ctrl3; member
702 static const struct pll_ctrl_reg ctrl3[] = { variable
833 msg.addr = client->addr; in ov2659_write()
[all …]
Dov2640.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Copyright 2005-2009 Freescale Semiconductor, Inc. All Rights Reserved.
19 #include <linux/gpio/consumer.h>
20 #include <linux/v4l2-mediabus.h>
23 #include <media/v4l2-device.h>
24 #include <media/v4l2-event.h>
25 #include <media/v4l2-subdev.h>
26 #include <media/v4l2-ctrls.h>
27 #include <media/v4l2-image-sizes.h>
76 #define CTRL3 0x87 /* DSP Module enable 3 */ macro
[all …]
/kernel/linux/linux-6.6/drivers/input/rmi4/
Drmi_f30.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2016 Synaptics Incorporated
89 error = rmi_read_block(fn->rmi_dev, fn->fd.control_base_addr, in rmi_f30_read_control_parameters()
90 f30->ctrl_regs, f30->ctrl_regs_size); in rmi_f30_read_control_parameters()
92 dev_err(&fn->dev, in rmi_f30_read_control_parameters()
94 __func__, fn->fd.control_base_addr, error); in rmi_f30_read_control_parameters()
106 u16 key_code = f30->gpioled_key_map[button]; in rmi_f30_report_button()
107 bool key_down = !(f30->data_regs[reg_num] & BIT(bit_num)); in rmi_f30_report_button()
109 if (f30->trackstick_buttons && in rmi_f30_report_button()
112 rmi_f03_overwrite_button(f30->f03, key_code, key_down); in rmi_f30_report_button()
[all …]
/kernel/linux/linux-5.10/drivers/input/rmi4/
Drmi_f30.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2016 Synaptics Incorporated
89 error = rmi_read_block(fn->rmi_dev, fn->fd.control_base_addr, in rmi_f30_read_control_parameters()
90 f30->ctrl_regs, f30->ctrl_regs_size); in rmi_f30_read_control_parameters()
92 dev_err(&fn->dev, in rmi_f30_read_control_parameters()
94 __func__, fn->fd.control_base_addr, error); in rmi_f30_read_control_parameters()
106 u16 key_code = f30->gpioled_key_map[button]; in rmi_f30_report_button()
107 bool key_down = !(f30->data_regs[reg_num] & BIT(bit_num)); in rmi_f30_report_button()
109 if (f30->trackstick_buttons && in rmi_f30_report_button()
112 rmi_f03_overwrite_button(f30->f03, key_code, key_down); in rmi_f30_report_button()
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dcs47l24-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
29 return regmap_register_patch(arizona->regmap, in cs47l24_patch()
183 { 0x00000008, 0x0019 }, /* R8 - Ctrl IF SPI CFG 1 */
184 { 0x00000020, 0x0000 }, /* R32 - Tone Generator 1 */
185 { 0x00000021, 0x1000 }, /* R33 - Tone Generator 2 */
186 { 0x00000022, 0x0000 }, /* R34 - Tone Generator 3 */
187 { 0x00000023, 0x1000 }, /* R35 - Tone Generator 4 */
188 { 0x00000024, 0x0000 }, /* R36 - Tone Generator 5 */
189 { 0x00000030, 0x0000 }, /* R48 - PWM Drive 1 */
190 { 0x00000031, 0x0100 }, /* R49 - PWM Drive 2 */
[all …]
Dcs47l35-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2015-2017 Cirrus Logic
55 ret = regmap_register_patch(madera->regmap, cs47l35_reva_16_patch, in cs47l35_patch()
58 dev_err(madera->dev, "Error applying patch: %d\n", ret); in cs47l35_patch()
65 { 0x00000020, 0x0000 }, /* R32 (0x20) - Tone Generator 1 */
66 { 0x00000021, 0x1000 }, /* R33 (0x21) - Tone Generator 2 */
67 { 0x00000022, 0x0000 }, /* R34 (0x22) - Tone Generator 3 */
68 { 0x00000023, 0x1000 }, /* R35 (0x23) - Tone Generator 4 */
69 { 0x00000024, 0x0000 }, /* R36 (0x24) - Tone Generator 5 */
70 { 0x00000030, 0x0000 }, /* R48 (0x30) - PWM Drive 1 */
[all …]
Dwm8998-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8998-tables.c -- data tables for wm8998-class codecs
45 return regmap_register_patch(arizona->regmap, in wm8998_patch()
177 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
178 { 0x0000000B, 0x001A }, /* R11 - Ctrl IF I2C1 CFG 2 */
179 { 0x00000020, 0x0000 }, /* R32 - Tone Generator 1 */
180 { 0x00000021, 0x1000 }, /* R33 - Tone Generator 2 */
181 { 0x00000022, 0x0000 }, /* R34 - Tone Generator 3 */
182 { 0x00000023, 0x1000 }, /* R35 - Tone Generator 4 */
183 { 0x00000024, 0x0000 }, /* R36 - Tone Generator 5 */
[all …]
Dwm8997-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8997-tables.c -- WM8997 data tables
30 switch (arizona->rev) { in wm8997_patch()
32 return regmap_register_patch(arizona->regmap, in wm8997_patch()
156 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
157 { 0x00000016, 0x0000 }, /* R22 - Write Sequencer Ctrl 0 */
158 { 0x00000017, 0x0000 }, /* R23 - Write Sequencer Ctrl 1 */
159 { 0x00000018, 0x0000 }, /* R24 - Write Sequencer Ctrl 2 */
160 { 0x00000020, 0x0000 }, /* R32 - Tone Generator 1 */
161 { 0x00000021, 0x1000 }, /* R33 - Tone Generator 2 */
[all …]
Dwm5110-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm5110-tables.c -- WM5110 data tables
262 switch (arizona->rev) { in wm5110_patch()
264 return regmap_register_patch(arizona->regmap, in wm5110_patch()
268 return regmap_register_patch(arizona->regmap, in wm5110_patch()
272 return regmap_register_patch(arizona->regmap, in wm5110_patch()
276 return regmap_register_patch(arizona->regmap, in wm5110_patch()
673 { 0x00000008, 0x0019 }, /* R8 - Ctrl IF SPI CFG 1 */
674 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
675 { 0x0000000A, 0x0001 }, /* R10 - Ctrl IF I2C2 CFG 1 */
[all …]
Dwm5102-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm5102-tables.c -- WM5102 data tables
83 switch (arizona->rev) { in wm5102_patch()
93 return regmap_multi_reg_write_bypassed(arizona->regmap, in wm5102_patch()
244 { 0x00000008, 0x0019 }, /* R8 - Ctrl IF SPI CFG 1 */
245 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
246 { 0x00000020, 0x0000 }, /* R32 - Tone Generator 1 */
247 { 0x00000021, 0x1000 }, /* R33 - Tone Generator 2 */
248 { 0x00000022, 0x0000 }, /* R34 - Tone Generator 3 */
249 { 0x00000023, 0x1000 }, /* R35 - Tone Generator 4 */
[all …]
Dcs47l85-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2015-2017 Cirrus Logic
318 switch (madera->rev) { in cs47l85_patch()
336 ret = regmap_register_patch(madera->regmap, patch16, num16); in cs47l85_patch()
338 dev_err(madera->dev, in cs47l85_patch()
339 "Error in applying 16-bit patch: %d\n", ret); in cs47l85_patch()
343 ret = regmap_register_patch(madera->regmap_32bit, patch32, num32); in cs47l85_patch()
345 dev_err(madera->dev, in cs47l85_patch()
346 "Error in applying 32-bit patch: %d\n", ret); in cs47l85_patch()
355 { 0x00000020, 0x0000 }, /* R32 (0x20) - Tone Generator 1 */
[all …]
Dcs47l90-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2015-2017 Cirrus Logic
58 ret = regmap_register_patch(madera->regmap, in cs47l90_patch()
62 dev_err(madera->dev, in cs47l90_patch()
63 "Error in applying 16-bit patch: %d\n", ret); in cs47l90_patch()
72 { 0x00000020, 0x0000 }, /* R32 (0x20) - Tone Generator 1 */
73 { 0x00000021, 0x1000 }, /* R33 (0x21) - Tone Generator 2 */
74 { 0x00000022, 0x0000 }, /* R34 (0x22) - Tone Generator 3 */
75 { 0x00000023, 0x1000 }, /* R35 (0x23) - Tone Generator 4 */
76 { 0x00000024, 0x0000 }, /* R36 (0x24) - Tone Generator 5 */
[all …]
/kernel/linux/linux-6.6/drivers/mfd/
Dcs47l24-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
29 return regmap_register_patch(arizona->regmap, in cs47l24_patch()
183 { 0x00000008, 0x0019 }, /* R8 - Ctrl IF SPI CFG 1 */
184 { 0x00000020, 0x0000 }, /* R32 - Tone Generator 1 */
185 { 0x00000021, 0x1000 }, /* R33 - Tone Generator 2 */
186 { 0x00000022, 0x0000 }, /* R34 - Tone Generator 3 */
187 { 0x00000023, 0x1000 }, /* R35 - Tone Generator 4 */
188 { 0x00000024, 0x0000 }, /* R36 - Tone Generator 5 */
189 { 0x00000030, 0x0000 }, /* R48 - PWM Drive 1 */
190 { 0x00000031, 0x0100 }, /* R49 - PWM Drive 2 */
[all …]
Dcs47l35-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2015-2017 Cirrus Logic
55 ret = regmap_register_patch(madera->regmap, cs47l35_reva_16_patch, in cs47l35_patch()
58 dev_err(madera->dev, "Error applying patch: %d\n", ret); in cs47l35_patch()
65 { 0x00000020, 0x0000 }, /* R32 (0x20) - Tone Generator 1 */
66 { 0x00000021, 0x1000 }, /* R33 (0x21) - Tone Generator 2 */
67 { 0x00000022, 0x0000 }, /* R34 (0x22) - Tone Generator 3 */
68 { 0x00000023, 0x1000 }, /* R35 (0x23) - Tone Generator 4 */
69 { 0x00000024, 0x0000 }, /* R36 (0x24) - Tone Generator 5 */
70 { 0x00000030, 0x0000 }, /* R48 (0x30) - PWM Drive 1 */
[all …]
Dwm8998-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8998-tables.c -- data tables for wm8998-class codecs
45 return regmap_register_patch(arizona->regmap, in wm8998_patch()
177 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
178 { 0x0000000B, 0x001A }, /* R11 - Ctrl IF I2C1 CFG 2 */
179 { 0x00000020, 0x0000 }, /* R32 - Tone Generator 1 */
180 { 0x00000021, 0x1000 }, /* R33 - Tone Generator 2 */
181 { 0x00000022, 0x0000 }, /* R34 - Tone Generator 3 */
182 { 0x00000023, 0x1000 }, /* R35 - Tone Generator 4 */
183 { 0x00000024, 0x0000 }, /* R36 - Tone Generator 5 */
[all …]
Dwm8997-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8997-tables.c -- WM8997 data tables
30 switch (arizona->rev) { in wm8997_patch()
32 return regmap_register_patch(arizona->regmap, in wm8997_patch()
156 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
157 { 0x00000016, 0x0000 }, /* R22 - Write Sequencer Ctrl 0 */
158 { 0x00000017, 0x0000 }, /* R23 - Write Sequencer Ctrl 1 */
159 { 0x00000018, 0x0000 }, /* R24 - Write Sequencer Ctrl 2 */
160 { 0x00000020, 0x0000 }, /* R32 - Tone Generator 1 */
161 { 0x00000021, 0x1000 }, /* R33 - Tone Generator 2 */
[all …]
Dwm5110-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm5110-tables.c -- WM5110 data tables
262 switch (arizona->rev) { in wm5110_patch()
264 return regmap_register_patch(arizona->regmap, in wm5110_patch()
268 return regmap_register_patch(arizona->regmap, in wm5110_patch()
272 return regmap_register_patch(arizona->regmap, in wm5110_patch()
276 return regmap_register_patch(arizona->regmap, in wm5110_patch()
673 { 0x00000008, 0x0019 }, /* R8 - Ctrl IF SPI CFG 1 */
674 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
675 { 0x0000000A, 0x0001 }, /* R10 - Ctrl IF I2C2 CFG 1 */
[all …]
Dwm5102-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm5102-tables.c -- WM5102 data tables
83 switch (arizona->rev) { in wm5102_patch()
93 return regmap_multi_reg_write_bypassed(arizona->regmap, in wm5102_patch()
244 { 0x00000008, 0x0019 }, /* R8 - Ctrl IF SPI CFG 1 */
245 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
246 { 0x00000020, 0x0000 }, /* R32 - Tone Generator 1 */
247 { 0x00000021, 0x1000 }, /* R33 - Tone Generator 2 */
248 { 0x00000022, 0x0000 }, /* R34 - Tone Generator 3 */
249 { 0x00000023, 0x1000 }, /* R35 - Tone Generator 4 */
[all …]
Dcs47l85-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2015-2017 Cirrus Logic
318 switch (madera->rev) { in cs47l85_patch()
336 ret = regmap_register_patch(madera->regmap, patch16, num16); in cs47l85_patch()
338 dev_err(madera->dev, in cs47l85_patch()
339 "Error in applying 16-bit patch: %d\n", ret); in cs47l85_patch()
343 ret = regmap_register_patch(madera->regmap_32bit, patch32, num32); in cs47l85_patch()
345 dev_err(madera->dev, in cs47l85_patch()
346 "Error in applying 32-bit patch: %d\n", ret); in cs47l85_patch()
355 { 0x00000020, 0x0000 }, /* R32 (0x20) - Tone Generator 1 */
[all …]
Dcs47l90-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2015-2017 Cirrus Logic
58 ret = regmap_register_patch(madera->regmap, in cs47l90_patch()
62 dev_err(madera->dev, in cs47l90_patch()
63 "Error in applying 16-bit patch: %d\n", ret); in cs47l90_patch()
72 { 0x00000020, 0x0000 }, /* R32 (0x20) - Tone Generator 1 */
73 { 0x00000021, 0x1000 }, /* R33 (0x21) - Tone Generator 2 */
74 { 0x00000022, 0x0000 }, /* R34 (0x22) - Tone Generator 3 */
75 { 0x00000023, 0x1000 }, /* R35 (0x23) - Tone Generator 4 */
76 { 0x00000024, 0x0000 }, /* R36 (0x24) - Tone Generator 5 */
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dwm5100-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm5100-tables.c -- WM5100 ALSA SoC Audio driver data
5 * Copyright 2011-2 Wolfson Microelectronics plc
815 { 0x0000, 0x0000 }, /* R0 - software reset */
816 { 0x0001, 0x0000 }, /* R1 - Device Revision */
817 { 0x0010, 0x0801 }, /* R16 - Ctrl IF 1 */
818 { 0x0020, 0x0000 }, /* R32 - Tone Generator 1 */
819 { 0x0030, 0x0000 }, /* R48 - PWM Drive 1 */
820 { 0x0031, 0x0100 }, /* R49 - PWM Drive 2 */
821 { 0x0032, 0x0100 }, /* R50 - PWM Drive 3 */
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dwm5100-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm5100-tables.c -- WM5100 ALSA SoC Audio driver data
5 * Copyright 2011-2 Wolfson Microelectronics plc
815 { 0x0000, 0x0000 }, /* R0 - software reset */
816 { 0x0001, 0x0000 }, /* R1 - Device Revision */
817 { 0x0010, 0x0801 }, /* R16 - Ctrl IF 1 */
818 { 0x0020, 0x0000 }, /* R32 - Tone Generator 1 */
819 { 0x0030, 0x0000 }, /* R48 - PWM Drive 1 */
820 { 0x0031, 0x0100 }, /* R49 - PWM Drive 2 */
821 { 0x0032, 0x0100 }, /* R50 - PWM Drive 3 */
[all …]

12