Home
last modified time | relevance | path

Searched +full:chan +full:- +full:step +full:- +full:avg (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/
Dti,am3359-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/ti,am3359-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Miquel Raynal <miquel.raynal@bootlin.com>
15 - enum:
16 - ti,am3359-adc
17 - ti,am4372-adc
18 - items:
19 - enum:
[all …]
/linux-6.12.1/drivers/iio/adc/
Dti_am335x_adc.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
26 #include <linux/dma-mapping.h>
32 struct dma_chan *chan; member
56 return readl(adc->mfd_tscadc->tscadc_base + reg); in tiadc_readl()
62 writel(val, adc->mfd_tscadc->tscadc_base + reg); in tiadc_writel()
69 step_en = ((1 << adc_dev->channels) - 1); in get_adc_step_mask()
70 step_en <<= TOTAL_STEPS - adc_dev->channels + 1; in get_adc_step_mask()
75 struct iio_chan_spec const *chan) in get_adc_chan_step_mask() argument
79 for (i = 0; i < ARRAY_SIZE(adc_dev->channel_step); i++) { in get_adc_chan_step_mask()
[all …]
Dtwl4030-madc.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * TWL4030 MADC module driver-This driver monitors the real time
8 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
9 * J Keerthy <j-keerthy@ti.com>
11 * Based on twl4030-madc.c
89 /* Step size and prescaler ratio */
114 u8 avg; member
120 * struct twl4030_madc_request - madc request packet for channel conversion
155 * struct twl4030_madc_data - a container for madc info
160 * @use_second_irq: IRQ selection (main or co-processor)
[all …]
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
Dam335x-pocketbeagle.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
7 /dts-v1/;
10 #include "am335x-osd335x-common.dtsi"
11 #include <dt-bindings/leds/common.h>
15 compatible = "ti,am335x-pocketbeagle", "ti,am335x-bone", "ti,am33xx";
18 stdout-path = &uart0;
22 pinctrl-names = "default";
23 pinctrl-0 = <&usr_leds_pins>;
25 compatible = "gpio-leds";
[all …]
/linux-6.12.1/drivers/iio/imu/bmi323/
Dbmi323_core.c1 // SPDX-License-Identifier: GPL-2.0
3 * IIO core driver for Bosch BMI323 6-Axis IMU.
7 …* Datasheet: https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmi323-
83 * The accelerometer supports +-2G/4G/8G/16G ranges, and the resolution of
85 * At +-8G the scale can calculated by
86 * ((8 + 8) * 9.80665 / (2^16 - 1)) * 10^6 = 2394.23819 scale in micro
184 const struct iio_chan_spec *chan) in bmi323_get_mount_matrix() argument
188 return &data->orientation; in bmi323_get_mount_matrix()
295 .scan_index = -1,
301 .scan_index = -1,
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Dcore.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2 /* Copyright(c) 2019-2020 Realtek Corporation
45 #define RTW89_RSSI_RAW_TO_DBM(rssi) ((s8)((rssi) >> RSSI_FACTOR) - MAX_RSSI)
102 RTW89_CH_6G_BAND_IDX6, /* Ultra-high */
103 RTW89_CH_6G_BAND_IDX7, /* Ultra-high */
251 * RTW89_ADDR_CAM_SEC_ALL_UNI : 0 - 6 unicast
252 * RTW89_ADDR_CAM_SEC_NORMAL : 0 - 1 unicast, 2 - 4 group, 5 - 6 BIP
253 * RTW89_ADDR_CAM_SEC_4GROUP : 0 - 1 unicast, 2 - 5 group, 6 BIP
750 #define RTW89_MIN_VALID_POWER_CONSTRAINT (-10) /* unit: dBm */
952 /* The follow-up are derived from the above. We must ensure that it
[all …]
Dphy.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2019-2020 Realtek Corporation
5 #include "chan.h"
19 const struct rtw89_phy_gen_def *phy = rtwdev->chip->phy_def; in rtw89_phy0_phy1_offset()
21 return phy->phy0_phy1_offset(rtwdev, addr); in rtw89_phy0_phy1_offset()
27 u32 bit_rate = report->bit_rate; in get_max_amsdu_len()
34 if (report->might_fallback_legacy) in get_max_amsdu_len()
49 return rtwdev->chip->max_amsdu_limit; in get_max_amsdu_len()
65 ra_mask |= GENMASK_ULL(highest_mcs - gap, 0) << nss; in get_mcs_ra_mask()
68 ra_mask |= GENMASK_ULL(highest_mcs - gap * 2, 0) << nss; in get_mcs_ra_mask()
[all …]
/linux-6.12.1/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c1 // SPDX-License-Identifier: GPL-2.0-only
4 Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved.
9 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
12 Extensions 0.26 package and copyright (c) 1997-2003 Jean Tourrilhes
16 Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen
18 Copyright (c) 2002-2003, Jouni Malinen <j@w1.fi>
34 Tx - Commands and Data
84 There are two locks utilized. The first is the low level lock (priv->low_lock)
87 - Access to the Tx/Rx queue lists via priv->low_lock. The lists are as follows:
89 tx_free_list : Holds pre-allocated Tx buffers.
[all …]