Home
last modified time | relevance | path

Searched +full:heart +full:- +full:rate (Results 1 – 23 of 23) sorted by relevance

/linux-6.12.1/drivers/iio/health/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
9 menu "Heart Rate Monitors"
12 tristate "TI AFE4403 Heart Rate Monitor"
19 heart rate monitor and low-cost pulse oximeter.
25 tristate "TI AFE4404 heart rate and pulse oximeter sensor"
32 heart rate monitor and low-cost pulse oximeter.
38 tristate "MAX30100 heart rate and pulse oximeter sensor"
45 MAX30100 heart rate, and pulse oximeter sensor.
51 tristate "MAX30102 heart rate and pulse oximeter sensor"
58 MAX30102 heart rate, and pulse oximeter sensor.
Dmax30100.c1 // SPDX-License-Identifier: GPL-2.0+
3 * max30100.c - Support for MAX30100 heart rate and pulse oximeter sensor
76 __be16 buffer[2]; /* 2 16-bit channels */
147 .scan_index = -1,
153 return regmap_update_bits(data->regmap, MAX30100_REG_MODE_CONFIG, in max30100_set_powermode()
162 ret = regmap_write(data->regmap, MAX30100_REG_FIFO_WR_PTR, 0); in max30100_clear_fifo()
166 ret = regmap_write(data->regmap, MAX30100_REG_FIFO_OVR_CTR, 0); in max30100_clear_fifo()
170 return regmap_write(data->regmap, MAX30100_REG_FIFO_RD_PTR, 0); in max30100_clear_fifo()
202 ret = regmap_read(data->regmap, MAX30100_REG_INT_STATUS, &val); in max30100_fifo_count()
208 return MAX30100_REG_FIFO_DATA_ENTRY_COUNT - 1; in max30100_fifo_count()
[all …]
Dafe440x.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * AFE440X Heart Rate Monitors and Low-Cost Pulse Oximeters
5 * Copyright (C) 2015 Texas Instruments Incorporated - https://www.ti.com/
105 .scan_index = -1, \
125 len += scnprintf(buf + len, PAGE_SIZE - len, "%d.%06u ", \
129 buf[len - 1] = '\n'; \
Dmax30102.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * max30102.c - Support for MAX30102 heart rate and pulse oximeter sensor
8 * Copyright (C) 2017 Peter Meerwald-Stadler <pmeerw@pmeerw.net>
10 * 7-bit I2C chip address: 0x57
73 #define MAX30102_REG_MODE_CONFIG_MODE_MULTI 0x07 /* multi-LED mode */
77 #define MAX30102_REG_MODE_CONTROL_SLOT21 0x11 /* multi-LED control */
111 __be32 processed_buffer[3]; /* 3 x 18-bit (padded to 32-bits) */
154 .scan_index = -1,
166 .scan_index = -1,
172 return regmap_update_bits(data->regmap, MAX30102_REG_MODE_CONFIG, in max30102_set_power()
[all …]
Dafe4403.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * AFE4403 Heart Rate Monitors and Low-Cost Pulse Oximeters
5 * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/
60 * struct afe4403_data - AFE4403 device instance data
147 ret = regmap_field_read(afe->fields[afe440x_attr->field], &reg_val); in afe440x_show_register()
151 if (reg_val >= afe440x_attr->table_size) in afe440x_show_register()
152 return -EINVAL; in afe440x_show_register()
154 vals[0] = afe440x_attr->val_table[reg_val].integer; in afe440x_show_register()
155 vals[1] = afe440x_attr->val_table[reg_val].fract; in afe440x_show_register()
173 for (val = 0; val < afe440x_attr->table_size; val++) in afe440x_store_register()
[all …]
Dafe4404.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * AFE4404 Heart Rate Monitors and Low-Cost Pulse Oximeters
5 * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/
79 * struct afe4404_data - AFE4404 device instance data
178 ret = regmap_field_read(afe->fields[afe440x_attr->field], &reg_val); in afe440x_show_register()
182 if (reg_val >= afe440x_attr->table_size) in afe440x_show_register()
183 return -EINVAL; in afe440x_show_register()
185 vals[0] = afe440x_attr->val_table[reg_val].integer; in afe440x_show_register()
186 vals[1] = afe440x_attr->val_table[reg_val].fract; in afe440x_show_register()
204 for (val = 0; val < afe440x_attr->table_size; val++) in afe440x_store_register()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/health/
Dmaxim,max30100.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Maxim MAX30100 heart rate and pulse oximeter sensor
10 - Matt Ranostay <matt.ranostay@konsulko.com>
23 maxim,led-current-microamp:
33 - compatible
34 - reg
35 - interrupts
38 - |
[all …]
Dmaxim,max30102.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Maxim MAX30101/2 heart rate and pulse oximeter and MAX30105 particle-sensor
10 - Matt Ranostay <matt.ranostay@konsulko.com>
15 - enum:
16 - maxim,max30102
17 - maxim,max30105
18 - items:
19 - const: maxim,max30101
[all …]
Dti,afe4404.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments AFE4404 Heart rate and Pulse Oximeter
10 - Jonathan Cameron <jic23@kernel.org>
19 tx-supply:
26 reset-gpios:
32 - compatible
33 - reg
36 - |
[all …]
Dti,afe4403.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments AFE4403 Heart rate and Pulse Oximeter
10 - Jonathan Cameron <jic23@kernel.org>
19 tx-supply:
26 reset-gpios:
30 - compatible
31 - reg
34 - $ref: /schemas/spi/spi-peripheral-props.yaml#
[all …]
/linux-6.12.1/drivers/watchdog/
Drzn1_wdt.c1 // SPDX-License-Identifier: GPL-2.0
4 * This is a 12-bit timer driver from a (62.5/16384) MHz clock. It can't even
56 writel(0, wdt->base + RZN1_WDT_RETRIGGER); in rzn1_wdt_ping()
70 * fabric clock rate, so if the bus fabric clock rate is changed after in rzn1_wdt_start()
76 val |= compute_reload_value(w->max_hw_heartbeat_ms, wdt->clk_rate_khz); in rzn1_wdt_start()
77 writel(val, wdt->base + RZN1_WDT_RETRIGGER); in rzn1_wdt_start()
103 struct device *dev = &pdev->dev; in rzn1_wdt_probe()
105 struct device_node *np = dev->of_node; in rzn1_wdt_probe()
113 return -ENOMEM; in rzn1_wdt_probe()
115 wdt->base = devm_platform_ioremap_resource(pdev, 0); in rzn1_wdt_probe()
[all …]
/linux-6.12.1/drivers/misc/echo/
Decho.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * SpanDSP - a series of DSP components for telephony
5 * echo.c - A line echo canceller. This code is being developed
24 This module aims to provide G.168-2002 compliant echo cancellation, to remove
25 electrical echoes (e.g. from 2-4 wire hybrids) from voice calls.
29 The heart of the echo cancellor is FIR filter. This is adapted to match the
43 varies widely. This is quite easy to fix. If the signal level is normalised -
44 similar to applying AGC - LMS can work as well for a signal of varying
47 other algorithms exist - e.g. RLS (essentially the same as Kalman filtering),
54 high frequency content. Pre-whitening (i.e. filtering the signal to flatten its
[all …]
/linux-6.12.1/drivers/scsi/bfa/
Dbfa_defs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc.
4 * Copyright (c) 2014- QLogic Corporation.
8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter.
34 BFA_MFG_TYPE_LIGHTNING_P0 = 902, /* Lightning mezz card - old */
102 * All numerical fields are in big-endian format.
125 BFA_STATUS_ETIMER = 5, /* Timer expired - Retry, if persists,
129 BFA_STATUS_SFP_UNSUPP = 10, /* Unsupported SFP - Replace SFP */
132 BFA_STATUS_DEVBUSY = 13, /* Device busy - Retry operation */
148 BFA_STATUS_IOC_FAILURE = 56, /* IOC failure - Retry, if persists
[all …]
/linux-6.12.1/drivers/net/wireless/ath/ath6kl/
Dcore.h2 * Copyright (c) 2010-2011 Atheros Communications Inc.
3 * Copyright (c) 2011-2012 Qualcomm Atheros, Inc.
68 #define ATH6KL_FIRMWARE_MAGIC "QCA-ATH6KL"
124 /* Firmware supports TX error rate notification */
134 * Firmware capability for hang detection through heart beat
139 /* WMI_SET_TX_SELECT_RATES_CMDID uses 64 bit size rate table */
170 #define ATH6KL_FW_API2_FILE "fw-2.bin"
171 #define ATH6KL_FW_API3_FILE "fw-3.bin"
172 #define ATH6KL_FW_API4_FILE "fw-4.bin"
173 #define ATH6KL_FW_API5_FILE "fw-5.bin"
[all …]
/linux-6.12.1/crypto/
Djitterentropy.c2 * Non-physical true random number generator based on timing jitter --
5 * Copyright Stephan Mueller <smueller@chronox.de>, 2015 - 2023
32 * the restrictions contained in a BSD-style copyright.)
54 … be compiled with optimizations. See documentation. Use the compiler switch -O0 for compiling jitt…
65 /* SHA3-256 is used as conditioner */
77 unsigned int osr; /* Oversample rate */
99 #define JENT_APT_WORD_MASK (JENT_APT_LSB - 1)
113 /* -- error codes for init function -- */
138 * output entropy (that is what SP 800-90B Section 3.1.5.1.2 attempts to bound).
143 * entropy in each bit of output to at least 1-epsilon, where epsilon is
[all …]
/linux-6.12.1/drivers/scsi/megaraid/
Dmegaraid_sas.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright (c) 2003-2013 LSI Corporation
6 * Copyright (c) 2013-2016 Avago Technologies
7 * Copyright (c) 2016-2018 Broadcom Inc.
26 #define MEGASAS_VERSION "07.727.03.00-rc1"
141 * MFIMODE : Discard (possible) low MFA posted in 64-bit mode (??)
307 MFI_EVT_CLASS_DEBUG = -2,
308 MFI_EVT_CLASS_PROGRESS = -1,
342 MR_EVT_CLASS_DEBUG = -2,
343 MR_EVT_CLASS_PROGRESS = -1,
[all …]
/linux-6.12.1/drivers/scsi/lpfc/
Dlpfc_init.c4 * Copyright (C) 2017-2024 Broadcom. All Rights Reserved. The term *
6 * Copyright (C) 2004-2016 Emulex. All rights reserved. *
9 * Portions Copyright (C) 2004-2005 Christoph Hellwig *
17 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE *
26 #include <linux/dma-mapping.h>
108 * lpfc_config_port_prep - Perform lpfc initialization prior to config port
117 * 0 - success.
118 * -ERESTART - requests the SLI layer to reset the HBA and try again.
119 * Any other value - indicates an error.
124 lpfc_vpd_t *vp = &phba->vpd; in lpfc_config_port_prep()
[all …]
/linux-6.12.1/sound/oss/dmasound/
Ddmasound_core.c12 * interface and the u-law to signed byte conversion.
14 * Michael Marte (marte@informatik.uni-muenchen.de) did the sound queue,
17 * - Michael Schlueter for initial ideas and documentation on the MFP and
19 * - Therapy? for their CD 'Troublegum' which really made me rock.
33 * - Fixed atari_stram_alloc() call, the timer
36 * - After some discussion with Michael Schlueter,
38 * - Slightly speeded up U8->S8 translation by using
40 * - Added 4:3 interpolation for /dev/audio
43 * - Fixed a bug in sq_write and changed /dev/audio
47 * - Changed sq_interrupt() and sq_play() to pre-program
[all …]
/linux-6.12.1/Documentation/sound/kernel-api/
Dwriting-an-alsa-driver.rst11 Architecture) <http://www.alsa-project.org/>`__ driver. The document
19 low-level driver implementation details. It only describes the standard
26 -------
56 --------------
58 This directory contains the middle layer which is the heart of ALSA
60 sub-directories contain different modules and are dependent upon the
74 This directory and its sub-directories are for the ALSA sequencer. This
76 as snd-seq-midi, snd-seq-virmidi, etc. They are compiled only when
85 -----------------
88 to be exported to user-space, or included by several files in different
[all …]
/linux-6.12.1/drivers/infiniband/hw/qib/
Dqib_iba7220.c2 * Copyright (c) 2011 - 2017 Intel Corporation. All rights reserved.
17 * - Redistributions of source code must retain the above
21 * - Redistributions in binary form must reproduce the above
59 * This file contains almost all the chip-specific register information and
60 * access functions for the QLogic QLogic_IB 7220 PCI-Express chip, with the
64 /* Below uses machine-generated qib_chipnum_regs.h file */
67 /* Use defines to tie machine-generated names to lower-case names */
132 #define CREG_IDX(regname) ((QIB_7220_##regname##_OFFS - \
221 * qib_read_ureg32 - read 32-bit virtualized per-context register
227 * Returns -1 on errors (not distinguishable from valid contents at
[all …]
Dqib_iba7322.c2 * Copyright (c) 2012 - 2017 Intel Corporation. All rights reserved.
3 * Copyright (c) 2008 - 2012 QLogic Corporation. All rights reserved.
15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
88 #define BMASK(msb, lsb) (((1 << ((msb) + 1 - (lsb))) - 1) << (lsb))
95 /* Below is special-purpose, so only really works for the IB SerDes blocks. */
112 MODULE_PARM_DESC(num_vls, "Set number of Virtual Lanes to use (1-8)");
125 MODULE_PARM_DESC(singleport, "Use only IB port 1; more per-port buffer space");
140 MODULE_PARM_DESC(rcvhdrsize, "receive header size in 32-bit words");
144 MODULE_PARM_DESC(rcvhdrentsize, "receive header entry size in 32-bit words");
[all …]
/linux-6.12.1/Documentation/RCU/Design/Requirements/
DRequirements.rst16 ------------
18 Read-copy update (RCU) is a synchronization mechanism that is often used
19 as a replacement for reader-writer locking. RCU is unusual in that
20 updaters do not block readers, which means that RCU's read-side
28 thought of as an informal, high-level specification for RCU. It is
40 #. `Fundamental Non-Requirements`_
42 #. `Quality-of-Implementation Requirements`_
44 #. `Software-Engineering Requirements`_
53 ------------------------
58 #. `Grace-Period Guarantee`_
[all …]
/linux-6.12.1/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <media/v4l2-common.h>
16 #include "pvrusb2-std.h"
17 #include "pvrusb2-util.h"
18 #include "pvrusb2-hdw.h"
19 #include "pvrusb2-i2c-core.h"
20 #include "pvrusb2-eeprom.h"
21 #include "pvrusb2-hdw-internal.h"
22 #include "pvrusb2-encoder.h"
23 #include "pvrusb2-debug.h"
[all …]