| /kernel/linux/linux-5.10/drivers/iio/health/ |
| D | Kconfig | 1 # 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.
|
| D | max30100.c | 1 // 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 …]
|
| D | afe440x.h | 1 /* 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'; \
|
| D | max30102.c | 1 // 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 …]
|
| D | afe4404.c | 1 // 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], ®_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 …]
|
| D | afe4403.c | 1 // 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], ®_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 …]
|
| /kernel/linux/linux-6.6/drivers/iio/health/ |
| D | Kconfig | 1 # 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.
|
| D | max30100.c | 1 // 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 …]
|
| D | afe440x.h | 1 /* 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'; \
|
| D | max30102.c | 1 // 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 …]
|
| D | afe4403.c | 1 // 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], ®_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 …]
|
| D | afe4404.c | 1 // 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], ®_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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/health/ |
| D | maxim,max30100.yaml | 1 # 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 …]
|
| D | maxim,max30102.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Maxim MAX30102 heart rate and pulse oximeter and MAX30105 particle-sensor 10 - Matt Ranostay <matt.ranostay@konsulko.com> 15 - maxim,max30102 16 - maxim,max30105 25 maxim,red-led-current-microamp: 30 maxim,ir-led-current-microamp: 35 maxim,green-led-current-microamp: [all …]
|
| D | ti,afe4404.yaml | 1 # 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 …]
|
| D | ti,afe4403.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/health/ |
| D | afe4404.txt | 1 Texas Instruments AFE4404 Heart rate and Pulse Oximeter 4 - compatible : Should be "ti,afe4404". 5 - reg : I2C address of the device. 6 - tx-supply : Regulator supply to transmitting LEDs. 7 - interrupts : The interrupt line the device ADC_RDY pin is 9 ../interrupt-controller/interrupts.txt. 12 - reset-gpios : GPIO used to reset the device. 22 tx-supply = <&vbat>; 24 interrupt-parent = <&gpio1>; 27 reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
|
| D | max30100.txt | 1 Maxim MAX30100 heart rate and pulse oximeter sensor 6 - compatible: must be "maxim,max30100" 7 - reg: the I2C address of the sensor 8 - interrupts: the sole interrupt generated by the device 10 Refer to interrupt-controller/interrupts.txt for generic 14 - maxim,led-current-microamp: configuration for LED current in microamperes 25 maxim,led-current-microamp = <24000 50000>; 26 interrupt-parent = <&gpio1>;
|
| D | afe4403.txt | 1 Texas Instruments AFE4403 Heart rate and Pulse Oximeter 4 - compatible : Should be "ti,afe4403". 5 - reg : SPI chip select address of device. 6 - tx-supply : Regulator supply to transmitting LEDs. 7 - interrupts : The interrupt line the device ADC_RDY pin is 9 ../../interrupt-controller/interrupts.txt. 12 - reset-gpios : GPIO used to reset the device. 16 please refer to ../../spi/spi-bus.txt. 24 spi-max-frequency = <10000000>; 26 tx-supply = <&vbat>; [all …]
|
| D | max30102.txt | 1 Maxim MAX30102 heart rate and pulse oximeter sensor 2 Maxim MAX30105 optical particle-sensing module 8 - compatible: must be "maxim,max30102" or "maxim,max30105" 9 - reg: the I2C address of the sensor 10 - interrupts: the sole interrupt generated by the device 12 Refer to interrupt-controller/interrupts.txt for generic 16 - maxim,red-led-current-microamp: configuration for red LED current 17 - maxim,ir-led-current-microamp: configuration for IR LED current 18 - maxim,green-led-current-microamp: configuration for green LED current 29 maxim,red-led-current-microamp = <7000>; [all …]
|
| /kernel/linux/linux-6.6/drivers/watchdog/ |
| D | rzn1_wdt.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/misc/echo/ |
| D | echo.h | 1 /* 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 …]
|
| /kernel/linux/linux-6.6/drivers/misc/echo/ |
| D | echo.h | 1 /* 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 …]
|
| /kernel/linux/linux-6.6/drivers/scsi/bfa/ |
| D | bfa_defs.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/drivers/scsi/bfa/ |
| D | bfa_defs.h | 1 /* 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 …]
|