Home
last modified time | relevance | path

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

/linux/drivers/iio/health/
H A 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.
H A Dmax30100.c1 // SPDX-License-Identifier: GPL-2.0+
3 * max30100.c - Support for MAX30100 heart rate and pulse oximeter sensor
75 __be16 buffer[2]; /* 2 16-bit channels */
146 .scan_index = -1,
152 return regmap_update_bits(data->regmap, MAX30100_REG_MODE_CONFIG, in max30100_set_powermode()
161 ret = regmap_write(data->regmap, MAX30100_REG_FIFO_WR_PTR, 0); in max30100_clear_fifo()
165 ret = regmap_write(data->regmap, MAX30100_REG_FIFO_OVR_CTR, 0); in max30100_clear_fifo()
169 return regmap_write(data->regmap, MAX30100_REG_FIFO_RD_PTR, 0); in max30100_clear_fifo()
201 ret = regmap_read(data->regmap, MAX30100_REG_INT_STATUS, &val); in max30100_fifo_count()
207 return MAX30100_REG_FIFO_DATA_ENTRY_COUNT - 1; in max30100_fifo_count()
[all …]
H A 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'; \
H A 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
72 #define MAX30102_REG_MODE_CONFIG_MODE_MULTI 0x07 /* multi-LED mode */
76 #define MAX30102_REG_MODE_CONTROL_SLOT21 0x11 /* multi-LED control */
110 __be32 processed_buffer[3]; /* 3 x 18-bit (padded to 32-bits) */
153 .scan_index = -1,
165 .scan_index = -1,
171 return regmap_update_bits(data->regmap, MAX30102_REG_MODE_CONFIG, in max30102_set_power()
[all …]
H A 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 …]
H A 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 …]
/linux/Documentation/devicetree/bindings/iio/health/
H A 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 …]
H A 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 …]
H A 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/drivers/watchdog/
H A 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/drivers/scsi/bfa/
H A 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/drivers/net/wireless/ath/ath6kl/
H A 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/drivers/scsi/megaraid/
H A 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.734.00.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/drivers/scsi/lpfc/
H A Dlpfc_init.c4 * Copyright (C) 2017-2025 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/sound/oss/dmasound/
H A 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/Documentation/sound/kernel-api/
H A 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/Documentation/RCU/Design/Requirements/
H A 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/drivers/media/usb/pvrusb2/
H A 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 …]