| /kernel/linux/linux-6.6/drivers/net/ieee802154/ |
| D | fakelb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2007-2012 Siemens AG 9 * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> 31 struct ieee802154_hw *hw; member 42 static int fakelb_hw_ed(struct ieee802154_hw *hw, u8 *level) in fakelb_hw_ed() argument 50 static int fakelb_hw_channel(struct ieee802154_hw *hw, u8 page, u8 channel) in fakelb_hw_channel() argument 52 struct fakelb_phy *phy = hw->priv; in fakelb_hw_channel() 55 phy->page = page; in fakelb_hw_channel() 56 phy->channel = channel; in fakelb_hw_channel() 61 static int fakelb_hw_xmit(struct ieee802154_hw *hw, struct sk_buff *skb) in fakelb_hw_xmit() argument [all …]
|
| D | mac802154_hwsim.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright 2007-2012 Siemens AG 10 * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> 72 struct ieee802154_hw *hw; member 87 static int hwsim_hw_ed(struct ieee802154_hw *hw, u8 *level) in hwsim_hw_ed() argument 94 static int hwsim_update_pib(struct ieee802154_hw *hw, u8 page, u8 channel, in hwsim_update_pib() argument 98 struct hwsim_phy *phy = hw->priv; in hwsim_update_pib() 103 return -ENOMEM; in hwsim_update_pib() 105 pib_old = rtnl_dereference(phy->pib); in hwsim_update_pib() 107 pib->page = page; in hwsim_update_pib() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ieee802154/ |
| D | fakelb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2007-2012 Siemens AG 9 * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> 31 struct ieee802154_hw *hw; member 42 static int fakelb_hw_ed(struct ieee802154_hw *hw, u8 *level) in fakelb_hw_ed() argument 50 static int fakelb_hw_channel(struct ieee802154_hw *hw, u8 page, u8 channel) in fakelb_hw_channel() argument 52 struct fakelb_phy *phy = hw->priv; in fakelb_hw_channel() 55 phy->page = page; in fakelb_hw_channel() 56 phy->channel = channel; in fakelb_hw_channel() 61 static int fakelb_hw_xmit(struct ieee802154_hw *hw, struct sk_buff *skb) in fakelb_hw_xmit() argument [all …]
|
| D | mac802154_hwsim.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright 2007-2012 Siemens AG 10 * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> 69 struct ieee802154_hw *hw; member 84 static int hwsim_hw_ed(struct ieee802154_hw *hw, u8 *level) in hwsim_hw_ed() argument 91 static int hwsim_hw_channel(struct ieee802154_hw *hw, u8 page, u8 channel) in hwsim_hw_channel() argument 93 struct hwsim_phy *phy = hw->priv; in hwsim_hw_channel() 98 return -ENOMEM; in hwsim_hw_channel() 100 pib->page = page; in hwsim_hw_channel() 101 pib->channel = channel; in hwsim_hw_channel() [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/humidity/ |
| D | hts221_buffer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 41 struct hts221_hw *hw = iio_priv(iio_dev); in hts221_trig_set_state() local 43 return regmap_update_bits(hw->regmap, HTS221_REG_DRDY_EN_ADDR, in hts221_trig_set_state() 54 struct hts221_hw *hw = private; in hts221_trigger_handler_thread() local 57 err = regmap_read(hw->regmap, HTS221_REG_STATUS_ADDR, &status); in hts221_trigger_handler_thread() 64 * Here we can assume data channels are both available if H_DA bit in hts221_trigger_handler_thread() 70 iio_trigger_poll_chained(hw->trig); in hts221_trigger_handler_thread() 77 struct hts221_hw *hw = iio_priv(iio_dev); in hts221_allocate_trigger() local 78 struct st_sensors_platform_data *pdata = dev_get_platdata(hw->dev); in hts221_allocate_trigger() 83 irq_type = irqd_get_trigger_type(irq_get_irq_data(hw->irq)); in hts221_allocate_trigger() [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/humidity/ |
| D | hts221_buffer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 42 struct hts221_hw *hw = iio_priv(iio_dev); in hts221_trig_set_state() local 44 return regmap_update_bits(hw->regmap, HTS221_REG_DRDY_EN_ADDR, in hts221_trig_set_state() 55 struct hts221_hw *hw = private; in hts221_trigger_handler_thread() local 58 err = regmap_read(hw->regmap, HTS221_REG_STATUS_ADDR, &status); in hts221_trigger_handler_thread() 65 * Here we can assume data channels are both available if H_DA bit in hts221_trigger_handler_thread() 71 iio_trigger_poll_nested(hw->trig); in hts221_trigger_handler_thread() 78 struct hts221_hw *hw = iio_priv(iio_dev); in hts221_allocate_trigger() local 79 struct st_sensors_platform_data *pdata = dev_get_platdata(hw->dev); in hts221_allocate_trigger() 84 irq_type = irqd_get_trigger_type(irq_get_irq_data(hw->irq)); in hts221_allocate_trigger() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/ |
| D | qcom_hidma_mgmt.txt | 7 Each HIDMA HW instance consists of multiple DMA channels. These channels 9 among channels based on the priority and weight assignments. 18 - compatible: "qcom,hidma-mgmt-1.0"; 19 - reg: Address range for DMA device 20 - dma-channels: Number of channels supported by this DMA controller. 21 - max-write-burst-bytes: Maximum write burst in bytes that HIDMA can 26 - max-read-burst-bytes: Maximum read burst in bytes that HIDMA can 31 - max-write-transactions: This value is how many times a write burst is 34 - max-read-transactions: This value is how many times a read burst is 36 - channel-reset-timeout-cycles: Channel reset timeout in cycles for this SOC. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/dma/ |
| D | qcom_hidma_mgmt.txt | 7 Each HIDMA HW instance consists of multiple DMA channels. These channels 9 among channels based on the priority and weight assignments. 18 - compatible: "qcom,hidma-mgmt-1.0"; 19 - reg: Address range for DMA device 20 - dma-channels: Number of channels supported by this DMA controller. 21 - max-write-burst-bytes: Maximum write burst in bytes that HIDMA can 26 - max-read-burst-bytes: Maximum read burst in bytes that HIDMA can 31 - max-write-transactions: This value is how many times a write burst is 34 - max-read-transactions: This value is how many times a read burst is 36 - channel-reset-timeout-cycles: Channel reset timeout in cycles for this SOC. [all …]
|
| /kernel/linux/linux-5.10/sound/firewire/dice/ |
| D | dice-pcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * dice_pcm.c - a part of driver for DICE based devices 6 * Copyright (c) 2014 Takashi Sakamoto <o-takashi@sakamocchi.jp> 14 struct snd_pcm_substream *substream = rule->private; in dice_rate_constraint() 15 struct snd_dice *dice = substream->private_data; in dice_rate_constraint() 16 unsigned int index = substream->pcm->device; in dice_rate_constraint() 29 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in dice_rate_constraint() 30 pcm_channels = dice->tx_pcm_chs[index]; in dice_rate_constraint() 32 pcm_channels = dice->rx_pcm_chs[index]; in dice_rate_constraint() 52 struct snd_pcm_substream *substream = rule->private; in dice_channels_constraint() [all …]
|
| /kernel/linux/linux-6.6/sound/firewire/dice/ |
| D | dice-pcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * dice_pcm.c - a part of driver for DICE based devices 6 * Copyright (c) 2014 Takashi Sakamoto <o-takashi@sakamocchi.jp> 14 struct snd_pcm_substream *substream = rule->private; in dice_rate_constraint() 15 struct snd_dice *dice = substream->private_data; in dice_rate_constraint() 16 unsigned int index = substream->pcm->device; in dice_rate_constraint() 29 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in dice_rate_constraint() 30 pcm_channels = dice->tx_pcm_chs[index]; in dice_rate_constraint() 32 pcm_channels = dice->rx_pcm_chs[index]; in dice_rate_constraint() 52 struct snd_pcm_substream *substream = rule->private; in dice_channels_constraint() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/ |
| D | spi-sprd-adi.txt | 3 ADI is the abbreviation of Anolog-Digital interface, which is used to access 8 ADI controller has 50 channels including 2 software read/write channels and 9 48 hardware channels to access analog chip. For 2 software read/write channels, 10 users should set ADI registers to access analog chip. For hardware channels, 14 triggered by hardware components instead of ADI software channels. 16 Thus we introduce one property named "sprd,hw-channels" to configure hardware 17 channels, the first value specifies the hardware channel id which is used to 21 Since we have multi-subsystems will use unique ADI to access analog chip, when 22 one system is reading/writing data by ADI software channels, that should be under 24 data by ADI software channels at the same time, or two parallel routine of setting [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/spi/ |
| D | sprd,spi-adi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/sprd,spi-adi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Orson Zhai <orsonzhai@gmail.com> 11 - Baolin Wang <baolin.wang7@gmail.com> 12 - Chunyan Zhang <zhang.lyra@gmail.com> 15 ADI is the abbreviation of Anolog-Digital interface, which is used to access 20 ADI controller has 50 channels including 2 software read/write channels and 21 48 hardware channels to access analog chip. For 2 software read/write channels, [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
| D | rvu_cn10k.c | 1 // SPDX-License-Identifier: GPL-2.0 30 dev_err(rvu->dev, "Failed to setup lmt map table mapping!!\n"); in lmtst_map_table_ops() 31 return -ENOMEM; in lmtst_map_table_ops() 55 return ((rvu_get_pf(pcifunc) * rvu->hw->total_vfs) + in rvu_get_lmtst_tbl_index() 66 dev_err(rvu->dev, "%s Requested Null address for transulation\n", __func__); in rvu_get_lmtaddr() 67 return -EINVAL; in rvu_get_lmtaddr() 70 mutex_lock(&rvu->rsrc_lock); in rvu_get_lmtaddr() 79 dev_err(rvu->dev, "%s LMTLINE iova transulation failed\n", __func__); in rvu_get_lmtaddr() 84 dev_err(rvu->dev, "%s LMTLINE iova transulation failed err:%llx\n", __func__, val); in rvu_get_lmtaddr() 85 err = -EIO; in rvu_get_lmtaddr() [all …]
|
| /kernel/linux/linux-6.6/net/mac80211/ |
| D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 10 * Copyright 2013-2015 Intel Mobile Communications GmbH 11 * Copyright 2016-2017 Intel Deutschland GmbH 12 * Copyright (C) 2018-2024 Intel Corporation 25 #include "driver-ops.h" 37 cfg80211_put_bss(local->hw.wiphy, in ieee80211_rx_bss_put() 45 if (elems->wmm_info && elems->wmm_info_len == 7 in is_uapsd_supported() 46 && elems->wmm_info[5] == 1) in is_uapsd_supported() 47 qos_info = elems->wmm_info[6]; in is_uapsd_supported() [all …]
|
| /kernel/linux/linux-5.10/net/mac80211/ |
| D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 10 * Copyright 2013-2015 Intel Mobile Communications GmbH 11 * Copyright 2016-2017 Intel Deutschland GmbH 12 * Copyright (C) 2018-2020 Intel Corporation 25 #include "driver-ops.h" 37 cfg80211_put_bss(local->hw.wiphy, in ieee80211_rx_bss_put() 45 if (elems->wmm_info && elems->wmm_info_len == 7 in is_uapsd_supported() 46 && elems->wmm_info[5] == 1) in is_uapsd_supported() 47 qos_info = elems->wmm_info[6]; in is_uapsd_supported() [all …]
|
| /kernel/linux/linux-5.10/Documentation/sound/cards/ |
| D | audiophile-usb.rst | 2 Guide to using M-Audio Audiophile USB with ALSA and Jack 9 This document is a guide to using the M-Audio Audiophile USB (tm) device with 15 * v1.4 - Thibault Le Meur (2007-07-11) 17 - Added Low Endianness nature of 16bits-modes 19 - Modifying document structure 21 * v1.5 - Thibault Le Meur (2007-07-12) 22 - Added AC3/DTS passthru info 35 - This port supports 2 pairs of line-level audio inputs (1/4" TS and RCA) 36 - When the 1/4" TS (jack) connectors are connected, the RCA connectors 57 * 16-bit/48kHz ==> 4 channels in + 4 channels out [all …]
|
| D | cmipci.rst | 2 Brief Notes on C-Media 8338/8738/8768/8770 Driver 8 Front/Rear Multi-channel Playback 9 --------------------------------- 12 channels can be used for front/rear playbacks. Since there are two 13 DACs, both streams are handled independently unlike the 4/6ch multi- 16 As default, ALSA driver assigns the first PCM device (i.e. hw:0,0 for 18 (hw:0,1) is assigned to the second DAC for rear playback. 22 - The first DAC supports U8 and S16LE formats, while the second DAC 24 - The second DAC supports only two channel stereo. 44 on and "double DAC" mode. Actually I could hear separate 4 channels [all …]
|
| /kernel/linux/linux-6.6/Documentation/sound/cards/ |
| D | audiophile-usb.rst | 2 Guide to using M-Audio Audiophile USB with ALSA and Jack 9 This document is a guide to using the M-Audio Audiophile USB (tm) device with 15 * v1.4 - Thibault Le Meur (2007-07-11) 17 - Added Low Endianness nature of 16bits-modes 19 - Modifying document structure 21 * v1.5 - Thibault Le Meur (2007-07-12) 22 - Added AC3/DTS passthru info 35 - This port supports 2 pairs of line-level audio inputs (1/4" TS and RCA) 36 - When the 1/4" TS (jack) connectors are connected, the RCA connectors 57 * 16-bit/48kHz ==> 4 channels in + 4 channels out [all …]
|
| D | cmipci.rst | 2 Brief Notes on C-Media 8338/8738/8768/8770 Driver 8 Front/Rear Multi-channel Playback 9 --------------------------------- 12 channels can be used for front/rear playbacks. Since there are two 13 DACs, both streams are handled independently unlike the 4/6ch multi- 16 As default, ALSA driver assigns the first PCM device (i.e. hw:0,0 for 18 (hw:0,1) is assigned to the second DAC for rear playback. 22 - The first DAC supports U8 and S16LE formats, while the second DAC 24 - The second DAC supports only two channel stereo. 44 on and "double DAC" mode. Actually I could hear separate 4 channels [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/thermal/ |
| D | qcom-spmi-adc-tm5.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm5.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 14 - qcom,spmi-adc-tm5 15 - qcom,spmi-adc-tm5-gen2 16 - qcom,adc-tm7 # Incomplete / subject to change 24 "#thermal-sensor-cells": 30 "#address-cells": [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/imu/st_lsm6dsx/ |
| D | st_lsm6dsx_buffer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * LSM6DS3/LSM6DS3H/LSM6DSL/LSM6DSM/ISM330DLC/LSM6DS3TR-C: 9 * - 1st data set is reserved for gyroscope data 10 * - 2nd data set is reserved for accelerometer data 21 * source (gyroscope, accelerometer, hw timer). 24 * - BYPASS: FIFO disabled 25 * - CONTINUOUS: FIFO enabled. When the buffer is full, the FIFO index 86 u32 decimator = max_odr / sensor->odr; in st_lsm6dsx_get_decimator_val() 97 sensor->decimator = decimator; in st_lsm6dsx_get_decimator_val() 101 static void st_lsm6dsx_get_max_min_odr(struct st_lsm6dsx_hw *hw, in st_lsm6dsx_get_max_min_odr() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/imu/st_lsm6dsx/ |
| D | st_lsm6dsx_buffer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * LSM6DS3/LSM6DS3H/LSM6DSL/LSM6DSM/ISM330DLC/LSM6DS3TR-C: 9 * - 1st data set is reserved for gyroscope data 10 * - 2nd data set is reserved for accelerometer data 20 * source (gyroscope, accelerometer, hw timer). 23 * - BYPASS: FIFO disabled 24 * - CONTINUOUS: FIFO enabled. When the buffer is full, the FIFO index 85 u32 decimator = max_odr / sensor->odr; in st_lsm6dsx_get_decimator_val() 96 sensor->decimator = decimator; in st_lsm6dsx_get_decimator_val() 100 static void st_lsm6dsx_get_max_min_odr(struct st_lsm6dsx_hw *hw, in st_lsm6dsx_get_max_min_odr() argument [all …]
|
| /kernel/linux/linux-5.10/sound/firewire/motu/ |
| D | motu-pcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * motu-pcm.c - a part of driver for MOTU FireWire series 5 * Copyright (c) 2015-2017 Takashi Sakamoto <o-takashi@sakamocchi.jp> 14 struct snd_motu_packet_format *formats = rule->private; in motu_rate_constraint() 29 pcm_channels = formats->pcm_chunks[mode]; in motu_rate_constraint() 43 struct snd_motu_packet_format *formats = rule->private; in motu_channels_constraint() 49 struct snd_interval channels = { in motu_channels_constraint() local 61 pcm_channels = formats->pcm_chunks[mode]; in motu_channels_constraint() 62 channels.min = min(channels.min, pcm_channels); in motu_channels_constraint() 63 channels.max = max(channels.max, pcm_channels); in motu_channels_constraint() [all …]
|
| /kernel/linux/linux-6.6/sound/firewire/motu/ |
| D | motu-pcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * motu-pcm.c - a part of driver for MOTU FireWire series 5 * Copyright (c) 2015-2017 Takashi Sakamoto <o-takashi@sakamocchi.jp> 14 struct snd_motu_packet_format *formats = rule->private; in motu_rate_constraint() 29 pcm_channels = formats->pcm_chunks[mode]; in motu_rate_constraint() 43 struct snd_motu_packet_format *formats = rule->private; in motu_channels_constraint() 49 struct snd_interval channels = { in motu_channels_constraint() local 61 pcm_channels = formats->pcm_chunks[mode]; in motu_channels_constraint() 62 channels.min = min(channels.min, pcm_channels); in motu_channels_constraint() 63 channels.max = max(channels.max, pcm_channels); in motu_channels_constraint() [all …]
|
| /kernel/linux/linux-6.6/sound/pci/emu10k1/ |
| D | emupcm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Lee Revell <rlrevell@joe-job.com> 5 * James Courtier-Dutton <James@superbug.co.uk> 25 epcm = voice->epcm; in snd_emu10k1_pcm_interrupt() 28 if (epcm->substream == NULL) in snd_emu10k1_pcm_interrupt() 31 dev_dbg(emu->card->dev, in snd_emu10k1_pcm_interrupt() 33 epcm->substream->runtime->hw->pointer(emu, epcm->substream), in snd_emu10k1_pcm_interrupt() 34 snd_pcm_lib_period_bytes(epcm->substream), in snd_emu10k1_pcm_interrupt() 35 snd_pcm_lib_buffer_bytes(epcm->substream)); in snd_emu10k1_pcm_interrupt() 37 snd_pcm_period_elapsed(epcm->substream); in snd_emu10k1_pcm_interrupt() [all …]
|