| /OK3568_Linux_fs/kernel/Documentation/leds/ |
| H A D | ledtrig-transient.rst | 6 a one shot timer. The current support allows for setting two timers, one for 11 gets deactivated. There is no provision for one time activation to implement 15 Without one shot timer interface, user space can still use timer trigger to 20 Transient trigger addresses the need for one shot timer activation. The 56 non-transient state. When driver gets suspended, irrespective of the transient 71 - duration allows setting timer value in msecs. The initial value is 0. 72 - activate allows activating and deactivating the timer specified by 75 - state allows user to specify a transient state to be held for the specified 79 - one shot timer activate mechanism. 90 - one shot timer value. When activate is set, duration value [all …]
|
| H A D | ledtrig-oneshot.rst | 2 One-shot LED Trigger 6 no clear trap points to put standard led-on and led-off settings. Using this 16 A one-shot LED only stays in a constant state when there are no events. An 26 Documentation/ABI/testing/sysfs-class-led-trigger-oneshot 28 Example use-case: network devices, initialization:: 36 echo 1 > invert # set led as normally-on, turn the led on 40 echo 1 > shot # led starts blinking, ignored if already blinking 44 echo 0 > invert # set led as normally-off, turn the led off
|
| /OK3568_Linux_fs/kernel/drivers/iio/pressure/ |
| H A D | zpa2326.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 * ZPA2326 hardware supports 2 sampling mode: one shot and continuous. 20 * A complete one shot sampling cycle gets device out of low power mode, 34 * - get device out of low power mode, 35 * - setup hardware sampling period, 36 * - at end of period, upon data ready interrupt: pop pressure samples out of 38 * - when no longer needed, stop sampling process by putting device into 70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */ 78 * struct zpa2326_frequency - Hardware sampling frequency descriptor 102 ARRAY_SIZE(zpa2326_sampling_frequencies) - 1]; in zpa2326_highest_frequency() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/hwmon/ |
| H A D | ina3221.txt | 5 - compatible: Must be "ti,ina3221" 6 - reg: I2C address 9 - ti,single-shot: This chip has two power modes: single-shot (chip takes one 13 but the single-shot mode is more power-friendly and useful 14 for battery-powered device which cares power consumptions 16 If this property is present, the single-shot mode will be 17 used, instead of the default continuous one for monitoring. 22 - #address-cells: Required only if a child node is present. Must be 1. 23 - #size-cells: Required only if a child node is present. Must be 0. 27 - reg: Must be 0, 1 or 2, corresponding to IN1, IN2 or IN3 port of INA3221 [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/light/ |
| H A D | us5182d.txt | 4 - compatible: must be "upisemi,usd5182" 5 - reg: the I2C address of the device 8 - upisemi,glass-coef: glass attenuation factor - compensation factor of 11 - upisemi,dark-ths: array of 8 elements containing 16-bit thresholds (adc 14 - upisemi,upper-dark-gain: 8-bit dark gain compensation factor(4 int and 4 15 fractional bits - Q4.4) applied when light > threshold 17 - upisemi,lower-dark-gain: 8-bit dark gain compensation factor(4 int and 4 18 fractional bits - Q4.4) applied when light < threshold 20 - upisemi,continuous: This chip has two power modes: one-shot (chip takes one 22 chip takes continuous measurements). The one-shot mode is [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hwmon/ |
| H A D | lm75.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * lm75.c - Part of lm_sensors, Linux kernel modules for hardware 14 #include <linux/hwmon-sysfs.h> 56 * struct lm75_params - lm75 configuration parameters. 73 * than one. 114 /*-----------------------------------------------------------------------*/ 121 * In case of being supported multiple configurations, the default one must 126 .clr_mask = 1 << 5, /* not one-shot mode */ 132 .set_mask = 2 << 5, /* 11-bit mode */ 141 .set_mask = 2 << 5, /* 11-bit mode */ [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/hwmon/ |
| H A D | tmp108.rst | 19 ----------- 21 The Texas Instruments TMP108 implements one temperature sensor. An alert pin 26 The sensor is accurate to 0.75C over the range of -25 to +85 C, and to 1.0 27 degree from -40 to +125 C. Resolution of the sensor is 0.0625 degree. The 28 operating temperature has a minimum of -55 C and a maximum of +150 C. 35 the TMP108 has a one-shot mode where the device is normally shut-down. When a 36 one shot is requested the temperature is read, the result can be retrieved, 40 The driver provides the common sysfs-interface for temperatures (see 41 Documentation/hwmon/sysfs-interface.rst under Temperatures).
|
| /OK3568_Linux_fs/kernel/arch/m68k/include/asm/ |
| H A D | mac_psc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * The first seven DMA channels appear to be "one-shot" and are actually 10 * sets of two channels; one member is active while the other is being 12 * The one-shot channels are grouped together and are: 23 * to be closely tied and share one set of registers. They also seem to run 25 * not understood as there seems to be only one input and one output buffer 30 * machine with easy-to-find patterns and looking for them in the DMA 34 * 1999-05-25 (jmt) 52 * One-shot DMA control registers 69 * You're supposed to use one channel while the other runs and [all …]
|
| /OK3568_Linux_fs/kernel/drivers/leds/trigger/ |
| H A D | ledtrig-oneshot.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * One-shot LED Trigger 7 * Based on ledtrig-timer.c by Richard Purdie <rpurdie@openedhand.com> 32 &led_cdev->blink_delay_on, &led_cdev->blink_delay_off, in led_shot() 33 oneshot_data->invert); in led_shot() 43 return sprintf(buf, "%u\n", oneshot_data->invert); in led_invert_show() 58 oneshot_data->invert = !!state; in led_invert_store() 60 if (oneshot_data->invert) in led_invert_store() 73 return sprintf(buf, "%lu\n", led_cdev->blink_delay_on); in led_delay_on_show() 87 led_cdev->blink_delay_on = state; in led_delay_on_store() [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 18 For more details read Documentation/leds/leds-class.rst. 23 tristate "LED One-shot Trigger" 25 This allows LEDs to blink in one-shot pulses with parameters 53 The flash frequency is a hyperbolic function of the 1-minute 88 from there. One use case is n810's keypad LEDs that could 106 This allows one time activation of a transient state on 144 the audio mute and mic-mute changes.
|
| /OK3568_Linux_fs/kernel/kernel/time/ |
| H A D | tick-oneshot.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de> 7 * Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar 8 * Copyright(C) 2006-2007, Timesys Corp., Thomas Gleixner 18 #include "tick-internal.h" 32 dev->next_event = KTIME_MAX; in tick_program_event() 48 * tick_resume_onshot - resume oneshot mode 59 * tick_setup_oneshot - setup the event device for oneshot mode (hres or nohz) 65 newdev->event_handler = handler; in tick_setup_oneshot() 71 * tick_switch_to_oneshot - switch to oneshot mode [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/halrf/rtl8188e/ |
| H A D | halrf_8188e_ap.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2017 Realtek Corporation. 22 /*---------------------------Define Local Constant---------------------------*/ 26 /*---------------------------Define Local Constant---------------------------*/ 46 if (dm->rf_type > RF_1T1R) { in halrf_rf_lna_setting_8188e() 60 if (dm->rf_type > RF_1T1R) { in halrf_rf_lna_setting_8188e() 84 if ((iqk_result_x != 0) && (*(dm->band_type) == ODM_BAND_2_4G)) { in set_iqk_matrix_8188e() 155 dm->rf_calibrate_info.thermal_value_iqk = thermal_value; in do_iqk_8188e() 159 /*----------------------------------------------------------------------------- 175 *---------------------------------------------------------------------------*/ [all …]
|
| H A D | halrf_8188e_win.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2017 Realtek Corporation. 27 /*---------------------------Define Local Constant---------------------------*/ 31 /*---------------------------Define Local Constant---------------------------*/ 50 if (dm->rf_type > RF_1T1R) { in halrf_rf_lna_setting_8188e() 64 if (dm->rf_type > RF_1T1R) { in halrf_rf_lna_setting_8188e() 88 if ((iqk_result_x != 0) && (*(dm->band_type) == ODM_BAND_2_4G)) { in set_iqk_matrix_8188e() 159 dm->rf_calibrate_info.thermal_value_iqk = thermal_value; in do_iqk_8188e() 163 /*----------------------------------------------------------------------------- 179 *---------------------------------------------------------------------------*/ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/hal/ |
| H A D | HalPhyRf_8723B.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 14 /*---------------------------Define Local Constant---------------------------*/ 18 /* MACRO definition for pRFCalibrateInfo->TxIQC_8723B[0] */ 28 /* MACRO definition for pRFCalibrateInfo->TxIQC_8723B[1] */ 37 /*---------------------------Define Local Constant---------------------------*/ 67 OFDM_index = OFDM_TABLE_SIZE-1; in setIqkMatrix_8723B() 72 if ((IqkResult_X != 0) && (*(pDM_Odm->pBandType) == ODM_BAND_2_4G)) { in setIqkMatrix_8723B() 89 PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XATxIQImbalance, bMaskDWord, value32); in setIqkMatrix_8723B() 92 PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XCTxAFE, bMaskH4Bits, value32); in setIqkMatrix_8723B() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/host_include/openssl/ |
| H A D | evp.h | 1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 8 * This library is free for commercial and non-commercial use as long as 35 * being used are not cryptographic related :-). 84 // EVP_PKEY_new creates a new, empty public-key object and returns it or NULL 92 // EVP_PKEY_up_ref increments the reference count of |pkey| and returns one. 95 // EVP_PKEY_is_opaque returns one if |pkey| is opaque. Opaque keys are backed by 100 // EVP_PKEY_cmp compares |a| and |b| and returns one if they are equal, zero if 108 // of |from|. It returns one on success and zero on error. 111 // EVP_PKEY_missing_parameters returns one if |pkey| is missing needed 117 // the modulus. For an EC key, this returns the maximum size of a DER-encoded [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/openssl/ |
| H A D | evp.h | 1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 8 * This library is free for commercial and non-commercial use as long as 35 * being used are not cryptographic related :-). 84 // EVP_PKEY_new creates a new, empty public-key object and returns it or NULL 92 // EVP_PKEY_up_ref increments the reference count of |pkey| and returns one. 95 // EVP_PKEY_is_opaque returns one if |pkey| is opaque. Opaque keys are backed by 100 // EVP_PKEY_cmp compares |a| and |b| and returns one if they are equal, zero if 108 // of |from|. It returns one on success and zero on error. 111 // EVP_PKEY_missing_parameters returns one if |pkey| is missing needed 117 // the modulus. For an EC key, this returns the maximum size of a DER-encoded [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/timer/ |
| H A D | nvidia,tegra210-timer.txt | 3 The Tegra210 timer provides fourteen 29-bit timer counters and one 32-bit 5 from the oscillator clock (TMR0-TMR9) or directly at the oscillator clock 6 (TMR10-TMR13). Each TMR can be programmed to generate one-shot, periodic, 10 - compatible : "nvidia,tegra210-timer". 11 - reg : Specifies base physical address and size of the registers. 12 - interrupts : A list of 14 interrupts; one per each timer channels 0 through 14 - clocks : Must contain one entry, for the module clock. 15 See ../clocks/clock-bindings.txt for details. 18 compatible = "nvidia,tegra210-timer"; 35 clock-names = "timer";
|
| /OK3568_Linux_fs/kernel/include/xen/interface/ |
| H A D | vcpu.h | 35 * @extra_args == Operation-specific extra arguments (NULL if none). 40 * newly-initialised VCPU will not run until it is brought up by VCPUOP_up. 54 * Bring down a VCPU (i.e., make it non-runnable). 58 * idea to ensure that the VCPU has entered a non-critical loop before 119 * 2. Only one shared area may be registered per VCPU. The shared area is 136 * Set or stop a VCPU's periodic timer. Every VCPU has one periodic timer 137 * which can be set via these commands. Periods smaller than one millisecond 148 * Set or stop a VCPU's single-shot timer. Every VCPU has one single-shot 160 /* Require the timeout to be in the future (return -ETIME if it's passed). */ 167 * structure in a convenient place, such as in a per-cpu data area. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/halrf/rtl8188f/ |
| H A D | halrf_8188f.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2017 Realtek Corporation. 19 #if (DM_ODM_SUPPORT_TYPE == 0x08) /*[PHYDM-262] workaround for SD4 compile warning*/ 34 /* #define FAIL -1 */ 36 /*---------------------------Define Local Constant---------------------------*/ 40 /* MACRO definition for cali_info->TxIQC_8188F[0] */ 50 /* MACRO definition for cali_info->TxIQC_8188F[1] */ 58 /*---------------------------Define Local Constant---------------------------*/ 70 OFDM_index = OFDM_TABLE_SIZE - 1; in set_iqk_matrix_8188f() 77 if (iqk_result_x != 0 && (*dm->band_type == ODM_BAND_2_4G)) { in set_iqk_matrix_8188f() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/halrf/rtl8188f/ |
| H A D | halrf_8188f.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2017 Realtek Corporation. 19 #if (DM_ODM_SUPPORT_TYPE == 0x08) /*[PHYDM-262] workaround for SD4 compile warning*/ 34 /* #define FAIL -1 */ 36 /*---------------------------Define Local Constant---------------------------*/ 40 /* MACRO definition for cali_info->TxIQC_8188F[0] */ 50 /* MACRO definition for cali_info->TxIQC_8188F[1] */ 58 /*---------------------------Define Local Constant---------------------------*/ 70 OFDM_index = OFDM_TABLE_SIZE - 1; in set_iqk_matrix_8188f() 77 if (iqk_result_x != 0 && (*dm->band_type == ODM_BAND_2_4G)) { in set_iqk_matrix_8188f() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/halrf/rtl8188f/ |
| H A D | halrf_8188f.c | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 18 #if (DM_ODM_SUPPORT_TYPE == 0x08) /*[PHYDM-262] workaround for SD4 compile warning*/ 33 /* #define FAIL -1 */ 35 /*---------------------------Define Local Constant---------------------------*/ 39 /* MACRO definition for cali_info->TxIQC_8188F[0] */ 49 /* MACRO definition for cali_info->TxIQC_8188F[1] */ 57 /*---------------------------Define Local Constant---------------------------*/ 69 OFDM_index = OFDM_TABLE_SIZE - 1; in set_iqk_matrix_8188f() 76 if (iqk_result_x != 0 && (*dm->band_type == ODM_BAND_2_4G)) { in set_iqk_matrix_8188f() 145 dm->rf_calibrate_info.thermal_value_iqk = thermal_value; in do_iqk_8188f() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/halrf/rtl8188f/ |
| H A D | halrf_8188f.c | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 18 #if (DM_ODM_SUPPORT_TYPE == 0x08) /*[PHYDM-262] workaround for SD4 compile warning*/ 33 /* #define FAIL -1 */ 35 /*---------------------------Define Local Constant---------------------------*/ 39 /* MACRO definition for cali_info->TxIQC_8188F[0] */ 49 /* MACRO definition for cali_info->TxIQC_8188F[1] */ 57 /*---------------------------Define Local Constant---------------------------*/ 69 OFDM_index = OFDM_TABLE_SIZE - 1; in set_iqk_matrix_8188f() 76 if (iqk_result_x != 0 && (*dm->band_type == ODM_BAND_2_4G)) { in set_iqk_matrix_8188f() 145 dm->rf_calibrate_info.thermal_value_iqk = thermal_value; in do_iqk_8188f() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/phydm/halrf/rtl8723b/ |
| H A D | halrf_8723b_ce.c | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 21 /*---------------------------Define Local Constant---------------------------*/ 25 /* MACRO definition for p_rf_calibrate_info->tx_iqc_8723b[0] */ 35 /* MACRO definition for p_rf_calibrate_info->tx_iqc_8723b[1] */ 44 /*---------------------------Define Local Constant---------------------------*/ 94 OFDM_index = OFDM_TABLE_SIZE - 1; in set_iqk_matrix_8723b() 99 if ((iqk_result_x != 0) && (*(p_dm->p_band_type) == ODM_BAND_2_4G)) { in set_iqk_matrix_8723b() 167 if (!p_dm->rf_calibrate_info.is_cck_in_ch14) { in set_cck_filter_coefficient() 198 struct _ADAPTER *adapter = p_dm->adapter; in do_iqk_8723b() 207 platform_acquire_mutex(&p_hal_data->mx_chnl_bw_control); in do_iqk_8723b() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/can/ |
| H A D | grcan.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 * See "Documentation/ABI/testing/sysfs-class-net-grcan" for information on the 19 * See "Documentation/admin-guide/kernel-parameters.rst" for information on the module 36 #include <linux/dma-mapping.h> 42 #define GRCAN_RESERVE_SIZE(slot1, slot2) (((slot2) - (slot1)) / 4 - 1) 49 u32 smask; /* 0x18 - CanMASK */ 50 u32 scode; /* 0x1c - CanCODE */ 200 #define GRCAN_MSG_DATA_SHIFT(i) ((3 - (i) % 4) * 8) 263 * handling"-comment for grcan_start_xmit for more details. 370 return sum - size; in grcan_ring_add() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/rtc/ |
| H A D | rtc-tps65910.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * rtc-tps65910.c -- TPS65910 Real Time Clock interface 8 * Based on original TI driver rtc-twl.c 31 #define NUM_TIME_REGS (TPS65910_YEARS - TPS65910_SECONDS + 1) 34 #define NUM_COMP_REGS (TPS65910_RTC_COMP_MSB - TPS65910_RTC_COMP_LSB + 1) 37 #define MIN_OFFSET (-277761) 49 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_alarm_irq_enable() 55 return regmap_write(tps->regmap, TPS65910_RTC_INTERRUPTS, val); in tps65910_rtc_alarm_irq_enable() 64 * - Months are 1..12 vs Linux 0-11 65 * - Years are 0..99 vs Linux 1900..N (we assume 21st century) [all …]
|