Searched +full:direction +full:- +full:duty +full:- +full:cycle +full:- +full:ns (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | pwm-vibrator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/pwm-vibrator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 14 strength increases based on the duty cycle of the enable PWM channel 15 (100% duty cycle meaning strongest vibration, 0% meaning no vibration). 17 The binding supports an optional direction PWM channel, that can be 18 driven at fixed duty cycle. If available this is can be used to increase 23 const: pwm-vibrator [all …]
|
/openbmc/linux/drivers/input/misc/ |
H A D | pwm-vibra.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> 40 struct device *pdev = vibrator->input->dev.parent; in pwm_vibrator_start() 44 if (!vibrator->vcc_on) { in pwm_vibrator_start() 45 err = regulator_enable(vibrator->vcc); in pwm_vibrator_start() 50 vibrator->vcc_on = true; in pwm_vibrator_start() 53 gpiod_set_value_cansleep(vibrator->enable_gpio, 1); in pwm_vibrator_start() 55 pwm_get_state(vibrator->pwm, &state); in pwm_vibrator_start() 56 pwm_set_relative_duty_cycle(&state, vibrator->level, 0xffff); in pwm_vibrator_start() 59 err = pwm_apply_might_sleep(vibrator->pwm, &state); in pwm_vibrator_start() [all …]
|
/openbmc/u-boot/arch/x86/cpu/quark/ |
H A D | mrc_util.c | 1 // SPDX-License-Identifier: Intel 56 void delay_n(uint32_t ns) in delay_n() argument 58 /* 1000 MHz clock has 1ns period --> no conversion required */ in delay_n() 61 final_tsc += ((get_tbclk_mhz() * ns) / 1000); in delay_n() 70 /* 64-bit math is not an option, just use loops */ in delay_u() 71 while (ms--) in delay_u() 116 /* Send DRAM wake command using special MCU side-band WAKE opcode */ 151 * BL0 -> B01PTRCTL0[11:08] (0x0-0xF) in set_rcvn() 152 * BL1 -> B01PTRCTL0[23:20] (0x0-0xF) in set_rcvn() 162 pi_count -= ((pi_count / HALF_CLK) & 0xf) * HALF_CLK; in set_rcvn() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | comedi.h | 1 /* SPDX-License-Identifier: LGPL-2.0+ WITH Linux-syscall-note */ 6 * COMEDI - Linux Control and Measurement Device Interface 7 * Copyright (C) 1998-2001 David A. Schleef <ds@schleef.org> 32 * NOTE: 'comedi_config --init-data' is deprecated 40 /* length of nth chunk of firmware data -*/ 78 /* counters -- these are arbitrary values */ 120 /* try to use a real-time interrupt while performing command */ 123 /* wake up on end-of-scan events */ 160 #define TRIG_NOW 0x00000002 /* trigger now + N ns */ 162 #define TRIG_TIME 0x00000008 /* trigger at time N ns */ [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | motorola-mapphone-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 6 #include "motorola-cpcap-mapphone.dtsi" 10 stdout-path = &uart3; 19 * We seem to have only 1021 MB accessible, 1021 - 1022 is locked, 20 * then 1023 - 1024 seems to contain mbm. 28 gpio-poweroff { 29 compatible = "gpio-poweroff"; 30 pinctrl-0 = <&poweroff_gpio>; [all …]
|
/openbmc/linux/drivers/net/dsa/microchip/ |
H A D | ksz_ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 24 /* Sub-nanoseconds-adj,max * sub-nanoseconds / 40ns * 1ns 25 * = (2^30-1) * (2 ^ 32) / 40 ns * 1 ns = 6249999 30 #define KSZ_PTP_INC_NS 40ULL /* HW clock is incremented every 40 ns (by 40) */ 75 /* Clear reset and set GPIO direction */ in ksz_ptp_tou_reset() 85 return -EINVAL; in ksz_ptp_tou_pulse_verify() 89 return -ERANGE; in ksz_ptp_tou_pulse_verify() 100 if ((ts->tv_sec & 0xffffffff) != ts->tv_sec) in ksz_ptp_tou_target_time_set() 101 return -EINVAL; in ksz_ptp_tou_target_time_set() 103 ret = ksz_write32(dev, REG_TRIG_TARGET_NANOSEC, ts->tv_nsec); in ksz_ptp_tou_target_time_set() [all …]
|
/openbmc/qemu/docs/devel/ |
H A D | clocks.rst | 5 ---------------- 28 +---------+ +----------------------+ +--------------+ 30 | | | +-------+ +-------+ | | +-------+ | 31 | |>>-+-->>|Clock 2| |Clock 3|>>--->>|Clock 6| | 32 +---------+ | | | (in) | | (out) | | | | (in) | | 33 | | +-------+ +-------+ | | +-------+ | 34 | | +-------+ | +--------------+ 36 | | | (out) | | +--------------+ 37 | | +-------+ | | Device D | 38 | | +-------+ | | +-------+ | [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/ |
H A D | lan743x_ptp.c | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 37 return -EINVAL; in lan743x_get_channel() 42 struct lan743x_gpio *gpio = &adapter->gpio; in lan743x_gpio_init() 44 spin_lock_init(&gpio->gpio_lock); in lan743x_gpio_init() 46 gpio->gpio_cfg0 = 0; /* set all direction to input, data = 0 */ in lan743x_gpio_init() 47 gpio->gpio_cfg1 = 0x0FFF0000;/* disable all gpio, set to open drain */ in lan743x_gpio_init() 48 gpio->gpio_cfg2 = 0;/* set all to 1588 low polarity level */ in lan743x_gpio_init() 49 gpio->gpio_cfg3 = 0;/* disable all 1588 output */ in lan743x_gpio_init() 50 lan743x_csr_write(adapter, GPIO_CFG0, gpio->gpio_cfg0); in lan743x_gpio_init() 51 lan743x_csr_write(adapter, GPIO_CFG1, gpio->gpio_cfg1); in lan743x_gpio_init() [all …]
|
/openbmc/linux/drivers/net/phy/ |
H A D | micrel.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright (c) 2010-2013 Micrel, Inc. 119 * The value is calculated as following: (1/1000000)/((2^-32)/4) 429 const struct kszphy_type *type = phydev->drv->driver_data; in kszphy_config_intr() 433 if (type && type->interrupt_level_mask) in kszphy_config_intr() 434 mask = type->interrupt_level_mask; in kszphy_config_intr() 446 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) { in kszphy_config_intr() 509 return -EINVAL; in kszphy_setup_led() 529 * unique (non-broadcast) address on a shared bus. 570 struct kszphy_priv *priv = phydev->priv; in kszphy_config_reset() [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-pxa/ |
H A D | pxa-regs.h | 2 * linux/include/asm-arm/arch-pxa/pxa-regs.h 12 * - 2003/01/20: Robert Schwebel <r.schwebel@pengutronix.de 13 * Original file taken from linux-2.4.19-rmk4-pxa1. Added some definitions. 22 /* FIXME hack so that SA-1111.h will work [cb] */ 134 #define DCSR_NODESC (1 << 30) /* No-Descriptor Fetch (read / write) */ 147 #define DCSR_REQPEND (1 << 8) /* Request Pending (read-only) */ 148 #define DCSR_STOPSTATE (1 << 3) /* Stop State (read-only) */ 302 #define DCMD_ENDIAN (1 << 18) /* Device Endian-ness. */ 309 #define DCMD_LENGTH 0x01fff /* length mask (max = 8K - 1) */ 354 #define SACR1 0x40400004 /* Serial Audio I 2 S/MSB-Justified Control Register */ [all …]
|
/openbmc/linux/include/media/ |
H A D | v4l2-subdev.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * V4L2 sub-device support header. 12 #include <linux/v4l2-subdev.h> 13 #include <media/media-entity.h> 14 #include <media/v4l2-async.h> 15 #include <media/v4l2-common.h> 16 #include <media/v4l2-dev.h> 17 #include <media/v4l2-fh.h> 18 #include <media/v4l2-mediabus.h> 44 * struct v4l2_decode_vbi_line - used to decode_vbi_line [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | libata-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * libata-core.c - helper library for ATA 5 * Copyright 2003-2004 Red Hat, Inc. All rights reserved. 6 * Copyright 2003-2004 Jeff Garzik 9 * as Documentation/driver-api/libata.rst 12 * http://www.sata-io.org/ 16 * http://www.t10.org (SCSI MMC - for ATAPI MMC) 17 * http://www.sata-io.org (SATA) 19 * http://www.qic.org (QIC157 - Tape and DSC) 20 * http://www.ce-ata.org (CE-ATA: not supported) [all …]
|
/openbmc/linux/ |
H A D | opengrok1.0.log | 1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' 2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms) 3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa [all...] |