/Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
D | twl6040.txt | 3 The TWL6040s are 8-channel high quality low-power audio codecs providing audio, 9 - compatible : "ti,twl6040" for twl6040, "ti,twl6041" for twl6041 10 - reg: must be 0x4b for i2c address 11 - interrupts: twl6040 has one interrupt line connecteded to the main SoC 12 - gpio-controller: 13 - #gpio-cells = <1>: twl6040 provides GPO lines. 14 - #clock-cells = <0>; twl6040 is a provider of pdmclk which is used by McPDM 15 - twl6040,audpwron-gpio: Power on GPIO line for the twl6040 17 - vio-supply: Regulator for the twl6040 VIO supply 18 - v2v1-supply: Regulator for the twl6040 V2V1 supply [all …]
|
D | maxim,max77693.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chanwoo Choi <cw00.choi@samsung.com> 11 - Krzysztof Kozlowski <krzk@kernel.org> 18 includes voltage current regulators, charger, LED/flash, haptic motor driver 37 max77693-muic: 43 const: maxim,max77693-muic 46 - compatible 48 motor-driver: [all …]
|
D | maxim,max77843.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 17 includes voltage current regulators, charger, fuel-gauge, haptic motor driver 33 motor-driver: 38 const: maxim,max77843-haptic 40 haptic-supply: 41 description: Power supply to the haptic motor 47 - compatible [all …]
|
/Linux-v6.1/drivers/staging/media/atomisp/pci/ |
D | atomisp_ioctl.c | 1 // SPDX-License-Identifier: GPL-2.0 24 #include <media/v4l2-ioctl.h> 25 #include <media/v4l2-event.h> 26 #include <media/videobuf-vmalloc.h> 33 #include "atomisp-regs.h" 42 static const char *DRIVER = "atomisp"; /* max size 15 */ variable 207 .minimum = -4, 215 .name = "one-time exposure zone number", 243 .minimum = -4, 370 .description = "NV12, Y-plane, CbCr interleaved", [all …]
|
D | atomisp_v4l2.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2010-2017 Intel Corporation. All Rights Reserved. 39 #include "atomisp-regs.h" 53 /* G-Min addition: pull this in from intel_mid_pm.h */ 88 driver with strange outcomes as a result. The proper way tot do this 105 * Once this driver gets into a better shape, however, the best would 438 switch (video->type) { in atomisp_video_init() 441 video->pad.flags = MEDIA_PAD_FL_SINK; in atomisp_video_init() 442 video->vdev.fops = &atomisp_fops; in atomisp_video_init() 443 video->vdev.ioctl_ops = &atomisp_ioctl_ops; in atomisp_video_init() [all …]
|
/Linux-v6.1/include/linux/mfd/ |
D | max8997.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * max8997.h - Driver for the Maxim 8997/8966 5 * Copyright (C) 2009-2010 Samsung Electrnoics 8 * This driver is based on max8998.h 12 * this mfd driver. Although the fuel gauge is included in the chip, it is 13 * excluded from the driver because a) it has a different I2C bus from 14 * others and b) it can be enabled simply by using MAX17042 driver. 117 * @type: motor type 119 * MAX8997_EXTERNAL_MODE: external PWM device is used to control motor 120 * MAX8997_INTERNAL_MODE: internal pulse generator is used to control motor [all …]
|
D | twl6040.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * MFD driver for twl6040 186 unsigned int vibldrv_res; /* left driver resistance */ 187 unsigned int vibrdrv_res; /* right driver resistance */ 188 unsigned int viblmotor_res; /* left motor resistance */ 189 unsigned int vibrmotor_res; /* right motor resistance */ 199 int audpwron_gpio; /* audio power-on gpio */ 253 return twl6040->rev; in twl6040_get_revid()
|
/Linux-v6.1/drivers/staging/greybus/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 5 tristate "Greybus Audio Class driver" 12 will be called gb-audio.ko 15 tristate "Greybus APBridge Audio codec driver" 20 bridge from an APB-I2S port to a Unipro network. 23 will be called gb-audio-codec.ko 27 tristate "Greybus Bootrom Class driver" 33 will be called gb-bootrom.ko 36 tristate "Greybus Camera Class driver" 43 will be called gb-camera.ko [all …]
|
/Linux-v6.1/drivers/staging/fieldbus/Documentation/ |
D | fieldbus_dev.txt | 1 Fieldbus-Device Subsystem 4 Part 0 - What is a Fieldbus Device ? 5 ------------------------------------ 8 for real-time distributed control, standardized as IEC 61158. 10 A complex automated industrial system -- such as manufacturing assembly line -- 11 usually needs a distributed control system -- an organized hierarchy of 12 controller systems -- to function. In this hierarchy, there is usually a 15 logic controllers (PLC) via a non-time-critical communications system 22 A "Fieldbus Device" is such an actuator, motor, console light, switch, ... 29 Part I - Why do we need this subsystem? [all …]
|
/Linux-v6.1/drivers/input/misc/ |
D | twl6040-vibra.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * twl6040-vibra.c - TWL6040 Vibrator driver 10 * Based on twl4030-vibra.c by Henrik Saari <henrik.saari@nokia.com> 12 * Jari Vanhala <ext-javi.vanhala@nokia.com> 56 struct twl6040 *twl6040 = info->twl6040; in twl6040_vib_irq_handler() 61 dev_warn(info->dev, "Left Vibrator overcurrent detected\n"); in twl6040_vib_irq_handler() 66 dev_warn(info->dev, "Right Vibrator overcurrent detected\n"); in twl6040_vib_irq_handler() 76 struct twl6040 *twl6040 = info->twl6040; in twl6040_vibra_enable() 79 ret = regulator_bulk_enable(ARRAY_SIZE(info->supplies), info->supplies); in twl6040_vibra_enable() 81 dev_err(info->dev, "failed to enable regulators %d\n", ret); in twl6040_vibra_enable() [all …]
|
/Linux-v6.1/drivers/hid/ |
D | hid-holtekff.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #include "hid-ids.h" 32 * (the difference between 04 and 06 isn't known; win driver 42 * bits 0-3: effect id: 54 * c-f: nothing 55 * bit 6: right (weak) motor enabled 56 * bit 7: left (strong) motor enabled 58 * bytes 2-3: time in milliseconds, big-endian 59 * bytes 5-6: unknown (win driver seems to use at least 10e0 with effect 1 62 * bits 0-3: effect magnitude [all …]
|
D | hid-tmff.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * on 2003-01-25 from the Logitech force feedback driver, 23 #include "hid-ids.h" 29 -1 34 -1 52 ret = (in * (maximum - minimum) / 0xffff) + minimum; in tmff_scale_u16() 60 /* Changes values from -0x80 to 0x7f into values from minimum to maximum */ 65 ret = (((in + 0x80) * (maximum - minimum)) / 0xff) + minimum; in tmff_scale_s8() 78 struct hid_field *ff_field = tmff->ff_field; in tmff_play() 82 switch (effect->type) { in tmff_play() [all …]
|
/Linux-v6.1/include/uapi/linux/ |
D | phantom.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 3 * Copyright (C) 2005-2007 Jiri Slaby <jirislaby@gmail.com> 34 /* this ioctl tells the driver, that the caller is not OpenHaptics and might 48 #define PHN_ZERO_FORCE 2048 /* zero torque on motor */
|
D | fd.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 28 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1) 35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8) 36 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \ 50 /* clear user-defined parameters */ 54 /* set user-defined parameters for current media */ 100 * ultra cheap floppies ;-) 171 * Auto-detection. Each drive type has eight formats which are 223 * (User-provided) media information is _not_ discarded after a media change 224 * if the corresponding keep_data flag is non-zero. Positive values are [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/media/i2c/ |
D | dongwoon,dw9768.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Dongwoon Anatech DW9768 Voice Coil Motor (VCM) Lens Device Tree Bindings 11 - Dongchun Zhu <dongchun.zhu@mediatek.com> 13 description: |- 14 The Dongwoon DW9768 is a single 10-bit digital-to-analog (DAC) converter 16 a linear mode driver. The DAC is controlled via a 2-wire (I2C-compatible) 24 - dongwoon,dw9768 # for DW9768 VCM 25 - giantec,gt9769 # for GT9769 VCM [all …]
|
/Linux-v6.1/arch/sparc/include/asm/ |
D | auxio_32.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 18 #define AUXIO_ORMEIN4M 0xc0 /* sun4m - All writes must set these bits. */ 21 #define AUXIO_EDGE_ON 0x10 /* sun4m - On means Jumper block is in. */ 22 #define AUXIO_FLPY_DSEL 0x08 /* Drive select/start-motor. Write only. */ 23 #define AUXIO_LINK_TEST 0x08 /* sun4m - On means TPE Carrier detect. */ 35 * NOTE: these routines are implementation dependent-- 42 * The following routines are provided for driver-compatibility 49 /* auxio_set_lte - Set Link Test Enable (TPE Link Detect) 51 * on - AUXIO_LTE_ON or AUXIO_LTE_OFF 65 /* auxio_set_led - Set system front panel LED [all …]
|
/Linux-v6.1/drivers/block/ |
D | amiflop.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Portions of this driver are based on code contributed by Brad Pepers 9 * - now no bugs(?) any more for both HD & DD 10 * - added support for 40 Track 5.25" drives, 80-track hopefully behaves 11 * like 3.5" dd (no way to test - are there any 5.25" drives out there 13 * - wrote formatting routine (maybe dirty, but works) 15 * june/july 1995 added ms-dos support by Joerg Dorchain 17 * - currently only 9 and 18 sector disks 19 * - fixed a bug with the internal trackbuffer when using multiple 21 * - made formatting a bit safer [all …]
|
D | ataflop.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * - Driver now works interrupt driven 10 * - Support for two drives; should work, but I cannot test that :-( 11 * - Reading is done in whole tracks and buffered to speed up things 12 * - Disk change detection and drive deselecting after motor-off 14 * - Autodetection of disk format (DD/HD); untested yet, because I 15 * don't have an HD drive :-( 18 * - Autodetection works now 19 * - Support for 5 1/4'' disks 20 * - Removed drive type (unknown on atari) [all …]
|
/Linux-v6.1/drivers/input/joystick/ |
D | psxpad-spi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * PlayStation 1/2 joypads via SPI interface Driver 11 * 1: DAT -> MISO (pullup with 1k owm to 3.3V) 12 * 2: CMD -> MOSI 13 * 3: 9V (for motor, if not use N.C.) 16 * 6: Attention -> CS(SS) 17 * 7: SCK -> SCK 19 * 9: ACK -> N.C. 75 .tx_buf = pad->sendbuf, in psxpad_command() 76 .rx_buf = pad->response, in psxpad_command() [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Joystick driver configuration 24 gameport. In addition to the usual PC analog joystick, this driver 33 To compile this driver as a module, choose M here: the 43 To compile this driver as a module, choose M here: the 53 To compile this driver as a module, choose M here: the 54 module will be called adc-joystick. 64 To compile this driver as a module, choose M here: the 73 To compile this driver as a module, choose M here: the 83 To compile this driver as a module, choose M here: the [all …]
|
/Linux-v6.1/drivers/platform/x86/ |
D | gpd-pocket-fan.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * GPD Pocket fan controller driver 9 #include <linux/devm-helpers.h> 57 if (speed == fan->last_speed) in gpd_pocket_fan_set_speed() 60 gpiod_direction_output(fan->gpio0, !!(speed & 1)); in gpd_pocket_fan_set_speed() 61 gpiod_direction_output(fan->gpio1, !!(speed & 2)); in gpd_pocket_fan_set_speed() 63 fan->last_speed = speed; in gpd_pocket_fan_set_speed() 80 if (thermal_zone_get_temp(fan->dts0, &t0) || in gpd_pocket_fan_worker() 81 thermal_zone_get_temp(fan->dts1, &t1)) { in gpd_pocket_fan_worker() 82 dev_warn(fan->dev, "Error getting temperature\n"); in gpd_pocket_fan_worker() [all …]
|
/Linux-v6.1/Documentation/i2c/busses/ |
D | i2c-parport.rst | 2 Kernel driver i2c-parport 7 This is a unified driver for several i2c-over-parallel-port adapters, 8 such as the ones made by Philips, Velleman or ELV. This driver is 11 * i2c-philips-par 12 * i2c-elv 13 * i2c-velleman 14 * video/i2c-parport 25 * (type=6) Barco LPT->DVI (K5800236) adapter 27 * (type=8) VCT-jig 30 the driver what you have, using the type module parameter. There is no [all …]
|
/Linux-v6.1/drivers/of/ |
D | unittest.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #define pr_fmt(fmt) "### dt-test ### " fmt 10 #include <linux/dma-direct.h> /* to test phys_to_dma/dma_to_phys */ 28 #include <linux/i2c-mux.h> 29 #include <linux/gpio/driver.h> 71 np = of_find_node_by_path("/testcase-data"); in of_unittest_find_node_by_name() 73 unittest(np && !strcmp("/testcase-data", name), in of_unittest_find_node_by_name() 74 "find /testcase-data failed\n"); in of_unittest_find_node_by_name() 79 np = of_find_node_by_path("/testcase-data/"); in of_unittest_find_node_by_name() 80 unittest(!np, "trailing '/' on /testcase-data/ should fail\n"); in of_unittest_find_node_by_name() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/iio/adc/ |
D | st,stm32-dfsdm-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/st,stm32-dfsdm-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectronics STM32 DFSDM ADC device driver 10 - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 11 - Olivier Moysan <olivier.moysan@foss.st.com> 14 STM32 DFSDM ADC is a sigma delta analog-to-digital converter dedicated to 17 - Sigma delta modulators (motor control, metering...) 18 - PDM microphones (audio digital microphone) [all …]
|
/Linux-v6.1/drivers/input/joystick/iforce/ |
D | iforce-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2000-2002 Vojtech Pavlik <vojtech@ucw.cz> 4 * Copyright (c) 2001-2002, 2007 Johann Deneux <johann.deneux@gmail.com> 6 * USB/RS232 I-Force joysticks and wheels. 30 spin_lock_irqsave(&iforce->xmit_lock, flags); in __iforce_usb_xmit() 32 if (iforce->xmit.head == iforce->xmit.tail) { in __iforce_usb_xmit() 34 spin_unlock_irqrestore(&iforce->xmit_lock, flags); in __iforce_usb_xmit() 38 ((char *)iforce_usb->out->transfer_buffer)[0] = iforce->xmit.buf[iforce->xmit.tail]; in __iforce_usb_xmit() 39 XMIT_INC(iforce->xmit.tail, 1); in __iforce_usb_xmit() 40 n = iforce->xmit.buf[iforce->xmit.tail]; in __iforce_usb_xmit() [all …]
|