| /linux/net/mac80211/ | 
| H A D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only8  * 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-2025 Intel Corporation
 25 #include "driver-ops.h"
 37 	cfg80211_put_bss(local->h in ieee80211_rx_bss_put()
 439 __ieee80211_scan_completed(struct ieee80211_hw * hw,bool aborted) __ieee80211_scan_completed()  argument
 531 ieee80211_scan_completed(struct ieee80211_hw * hw,struct cfg80211_scan_info * info) ieee80211_scan_completed()  argument
 1197 ieee80211_request_ibss_scan(struct ieee80211_sub_if_data * sdata,const u8 * ssid,u8 ssid_len,struct ieee80211_channel ** channels,unsigned int n_channels) ieee80211_request_ibss_scan()  argument
 1421 ieee80211_sched_scan_results(struct ieee80211_hw * hw) ieee80211_sched_scan_results()  argument
 1456 ieee80211_sched_scan_stopped(struct ieee80211_hw * hw) ieee80211_sched_scan_stopped()  argument
 [all...]
 | 
| /linux/sound/firewire/dice/ | 
| H A D | dice-pcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * 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->devic in dice_rate_constraint()
 60 struct snd_interval channels = { dice_channels_constraint()  local
 92 struct snd_pcm_hardware *hw = &runtime->hw; limit_channels_and_rates()  local
 106 unsigned int rate, channels; limit_channels_and_rates()  local
 129 struct snd_pcm_hardware *hw = &runtime->hw; init_hw_info()  local
 [all...]
 | 
| /linux/Documentation/devicetree/bindings/spi/ | 
| H A 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 …]
 
 | 
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ | 
| H A D | rvu_cn10k.c | 1 // SPDX-License-Identifier: GPL-2.037 		dev_err(rvu->dev, "Failed to setup lmt map table mapping!!\n");  in lmtst_map_table_ops()
 38 		return -ENOMEM;  in lmtst_map_table_ops()
 69 	return ((rvu_get_pf(rvu->pdev, pcifunc) * LMT_MAX_VFS) +  in rvu_get_lmtst_tbl_index()
 80 		dev_err(rvu->dev, "%s Requested Null address for transulation\n", __func__);  in rvu_get_lmtaddr()
 81 		return -EINVAL;  in rvu_get_lmtaddr()
 84 	mutex_lock(&rvu->rsrc_lock);  in rvu_get_lmtaddr()
 86 	pf = rvu_get_pf(rvu->pdev, pcifunc) & RVU_OTX2_PFVF_PF_MASK;  in rvu_get_lmtaddr()
 93 		dev_err(rvu->dev, "%s LMTLINE iova transulation failed\n", __func__);  in rvu_get_lmtaddr()
 98 		dev_err(rvu->dev, "%s LMTLINE iova transulation failed err:%llx\n", __func__, val);  in rvu_get_lmtaddr()
 [all …]
 
 | 
| /linux/Documentation/sound/cards/ | 
| H A D | audiophile-usb.rst | 2 Guide to using M-Audio Audiophile USB with ALSA and Jack9 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 …]
 
 | 
| H A D | cmipci.rst | 2 Brief Notes on C-Media 8338/8738/8768/8770 Driver8 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 …]
 
 | 
| /linux/drivers/iio/imu/st_lsm6dsx/ | 
| H A D | st_lsm6dsx_buffer.c | 1 // SPDX-License-Identifier: GPL-2.0-only9  *  - 1st data set is reserved for gyroscope data
 10  *  - 2nd data set is reserved for accelerometer data
 18  * - ISM330DLC
 19  * - LSM6DS3
 20  * - LSM6DS3H
 21  * - LSM6DS3TR-C
 22  * - LSM6DSL
 23  * - LSM6DSM
 28  * source (gyroscope, accelerometer, hw timer).
 [all …]
 
 | 
| /linux/sound/pci/emu10k1/ | 
| H A D | emupcm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later4  *                   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->car in snd_emu10k1_pcm_interrupt()
 87 snd_emu10k1_pcm_channel_alloc(struct snd_emu10k1_pcm * epcm,int type,int count,int channels) snd_emu10k1_pcm_channel_alloc()  argument
 356 int type, channels, count; snd_emu10k1_playback_hw_params()  local
 584 snd_emu10k1_playback_prepare_voices(struct snd_emu10k1 * emu,struct snd_emu10k1_pcm * epcm,bool w_16,bool stereo,int channels) snd_emu10k1_playback_prepare_voices()  argument
 874 snd_emu10k1_efx_playback_voice_mask(struct snd_emu10k1_pcm * epcm,int channels) snd_emu10k1_efx_playback_voice_mask()  argument
 887 snd_emu10k1_efx_playback_freeze_voices(struct snd_emu10k1 * emu,struct snd_emu10k1_pcm * epcm,int channels) snd_emu10k1_efx_playback_freeze_voices()  argument
 898 snd_emu10k1_efx_playback_unmute_voices(struct snd_emu10k1 * emu,struct snd_emu10k1_pcm * epcm,int channels) snd_emu10k1_efx_playback_unmute_voices()  argument
 907 snd_emu10k1_efx_playback_stop_voices(struct snd_emu10k1 * emu,struct snd_emu10k1_pcm * epcm,int channels) snd_emu10k1_efx_playback_stop_voices()  argument
 [all...]
 | 
| /linux/Documentation/devicetree/bindings/thermal/ | 
| H A 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>
 11 $ref: thermal-sensor.yaml#
 16       - qcom,spmi-adc-tm5
 17       - qcom,spmi-adc-tm5-gen2
 18       - qcom,adc-tm7 # Incomplete / subject to change
 26   "#thermal-sensor-cells":
 [all …]
 
 | 
| /linux/sound/firewire/motu/ | 
| H A D | motu-pcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * 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_chunk in motu_rate_constraint()
 49 struct snd_interval channels = { motu_channels_constraint()  local
 73 struct snd_pcm_hardware *hw = &runtime->hw; limit_channels_and_rates()  local
 99 struct snd_pcm_hardware *hw = &runtime->hw; init_hw_info()  local
 [all...]
 | 
| /linux/drivers/net/ethernet/freescale/dpaa2/ | 
| H A D | dpaa2-ethtool.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)2 /* Copyright 2014-2016 Freescale Semiconductor Inc.
 3  * Copyright 2016-2022 NXP
 10 #include "dpaa2-eth.h"
 14 	"[hw] rx frames",
 15 	"[hw] rx bytes",
 16 	"[hw] rx mcast frames",
 17 	"[hw] rx mcast bytes",
 18 	"[hw] rx bcast frames",
 19 	"[hw] rx bcast bytes",
 [all …]
 
 | 
| /linux/sound/isa/sb/ | 
| H A D | emu8000_pcm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later17  * define the following if you want to use this pcm with non-interleaved mode
 21 /* NOTE: for using the non-interleaved mode with alsa-lib, you have to set
 27  *			type hw
 34  * besides, for the time being, the non-interleave
 68 emu8k_open_dram_for_pcm(struct snd_emu8000 * emu,int channels) emu8k_open_dram_for_pcm()  argument
 271 struct snd_emu8000 *hw = rec->emu; setup_voice()  local
 325 struct snd_emu8000 *hw = rec->emu; start_voice()  local
 360 struct snd_emu8000 *hw = rec->emu; stop_voice()  local
 [all...]
 | 
| /linux/sound/firewire/fireworks/ | 
| H A D | fireworks_pcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * fireworks_pcm.c - a part of driver for Fireworks based devices
 5  * Copyright (c) 2009-2010 Clemens Ladisch
 6  * Copyright (c) 2013-2014 Takashi Sakamoto
 12  * Fireworks changes its AMDTP channels for PCM data according to its sampling
 14  *  0:  32.0- 48.0 kHz then snd_efw_hwinfo.amdtp_XX_pcm_channels applied
 15  *  1:  88.2- 96.
 114 limit_channels(struct snd_pcm_hardware * hw,unsigned int * pcm_channels) limit_channels()  argument
 [all...]
 | 
| /linux/drivers/iio/buffer/ | 
| H A D | industrialio-hw-consumer.c | 1 // SPDX-License-Identifier: GPL-2.04  *  Author: Lars-Peter Clausen <lars@metafoo.de>
 14 #include <linux/iio/hw-consumer.h>
 18  * struct iio_hw_consumer - IIO hw consumer block
 20  * @channels: IIO provider channels.
 24 	struct iio_channel *channels;  member
 58 	list_for_each_entry(buf, &hwc->buffers, head) {  in iio_hw_consumer_get_buffer()
 59 		if (buf->indio_dev == indio_dev)  in iio_hw_consumer_get_buffer()
 67 	buf->buffer.access = &iio_hw_buf_access;  in iio_hw_consumer_get_buffer()
 68 	buf->indio_dev = indio_dev;  in iio_hw_consumer_get_buffer()
 [all …]
 
 | 
| /linux/drivers/pwm/ | 
| H A D | pwm-meson.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause13  * Setting the duty cycle will disable and re-enable the PWM output.
 19  * https://dl.khadas.com/Hardware/VIM2/Datasheet/S912_Datasheet_V0.220170314publicversion-Wesion.pdf
 23  * https://dn.odroid.com/S922X/ODROID-N2/Datasheet/S922X_Public_Datasheet_V0.2.pdf
 33 #include <linux/clk-provider.h>
 120 	struct meson_pwm_channel channels[MESON_NUM_PWMS];  member
 137 	struct meson_pwm_channel *channel = &meson->channels[pwm->hwpwm];  in meson_pwm_request()
 141 	err = clk_prepare_enable(channel->clk);  in meson_pwm_request()
 144 			__clk_get_name(channel->clk), err);  in meson_pwm_request()
 154 	struct meson_pwm_channel *channel = &meson->channels[pwm->hwpwm];  in meson_pwm_free()
 [all …]
 
 | 
| H A D | pwm-rz-mtu3.c | 1 // SPDX-License-Identifier: GPL-2.08 …* https://www.renesas.com/eu/en/document/mah/rzg2l-group-rzg2lc-group-users-manual-hardware-0?lang…
 11  * - When PWM is disabled, the output is driven to Hi-Z.
 12  * - While the hardware supports both polarities, the driver (for now)
 14  * - HW uses one counter and two match components to configure duty_cycle
 16  * - Multi-Function Timer Pulse Unit (a.k.a MTU) has 7 HW channels for PWM
 17  *   operations. (The channels are MTU{0..4, 6, 7}.)
 18  * - MTU{1, 2} channels have a single IO, whereas all other HW channels have
 20  * - Each IO is modelled as an independent PWM channel.
 21  * - rz_mtu3_channel_io_map table is used to map the PWM channel to the
 [all …]
 
 | 
| /linux/drivers/net/wireless/silabs/wfx/ | 
| H A D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only5  * Copyright (c) 2017-2020, Silicon Laboratories, Inc.
 6  * Copyright (c) 2010, ST-Ericsson
 15 static void wfx_ieee80211_scan_completed_compat(struct ieee80211_hw *hw, bool aborted)  in wfx_ieee80211_scan_completed_compat()  argument
 21 	ieee80211_scan_completed(hw, &info);  in wfx_ieee80211_scan_completed_compat()
 29 	skb = ieee80211_probereq_get(wvif->wdev->hw, vif->addr, NULL, 0,  in update_probe_tmpl()
 30 				     req->ie_len);  in update_probe_tmpl()
 32 		return -ENOMEM;  in update_probe_tmpl()
 34 	skb_put_data(skb, req->ie, req->ie_len);  in update_probe_tmpl()
 46 	for (i = start_idx; i < req->n_channels; i++) {  in send_scan_req()
 [all …]
 
 | 
| /linux/drivers/net/wireless/ti/wlcore/ | 
| H A D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only5  * Copyright (C) 2009-2010 Nokia Corporation
 35 	mutex_lock(&wl->mutex);  in wl1271_scan_complete_work()
 37 	if (unlikely(wl->state != WLCORE_STATE_ON))  in wl1271_scan_complete_work()
 40 	if (wl->scan.state == WL1271_SCAN_STATE_IDLE)  in wl1271_scan_complete_work()
 43 	wlvif = wl->scan_wlvif;  in wl1271_scan_complete_work()
 47 	 * prevents just-finished scans from triggering the watchdog  in wl1271_scan_complete_work()
 51 	wl->scan.state = WL1271_SCAN_STATE_IDLE;  in wl1271_scan_complete_work()
 52 	memset(wl->scan.scanned_ch, 0, sizeof(wl->scan.scanned_ch));  in wl1271_scan_complete_work()
 53 	wl->scan.req = NULL;  in wl1271_scan_complete_work()
 [all …]
 
 | 
| /linux/sound/firewire/fireface/ | 
| H A D | ff-pcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * ff-pcm.c - a part of driver for RME Fireface series
 5  * Copyright (c) 2015-2017 Takashi Sakamoto
 13 	const unsigned int *pcm_channels = rule->private; in hw_rule_rate()
 44 	const unsigned int *pcm_channels = rule->private; in hw_rule_channels()
 72 static void limit_channels_and_rates(struct snd_pcm_hardware *hw, in limit_channels_and_rates()   argument
 75 unsigned int rate, channels; limit_channels_and_rates()  local
 [all...]
 | 
| /linux/drivers/net/wireless/realtek/rtlwifi/ | 
| H A D | regd.c | 1 // SPDX-License-Identifier: GPL-2.02 /* Copyright(c) 2009-2012  Realtek Corporation.*/
 25  *Only these channels all allow active
 29 	REG_RULE(2412-10, 2462+10, 40, 0, 20, 0)
 36 	REG_RULE(2467-10, 2472+10, 40, 0, 20,\
 40 	REG_RULE(2484-10, 2484+10, 40, 0, 20, \
 44 /* 5G chan 36 - chan 64*/
 46 	REG_RULE(5150-10, 5350+10, 80, 0, 30, 0)
 47 /* 5G chan 100 - chan 165*/
 49 	REG_RULE(5470-10, 5850+10, 80, 0, 30, 0)
 [all …]
 
 | 
| /linux/sound/xen/ | 
| H A D | xen_snd_front_alsa.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT4  * Xen para-virtual sound device
 6  * Copyright (C) 2016-2018 EPAM Systems Inc.
 18 #include <xen/xen-front-pgdir-shbuf.h>
 43 	/* Current HW pointer to be reported via .period callback. */
 45 	/* Modulo of the number of processed frames - for period detection. */
 183 	return -EINVAL;  in to_sndif_format()
 214 	stream->is_open = false;  in stream_clear()
 215 	stream->be_cur_frame = 0;  in stream_clear()
 216 	stream->out_frames = 0;  in stream_clear()
 [all …]
 
 | 
| /linux/sound/firewire/oxfw/ | 
| H A D | oxfw-pcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * oxfw_pcm.c - a part of driver for OXFW970/971 based devices
 13 	u8 **formats = rule->private; in hw_rule_rate()
 44 	u8 **formats = rule->private; in hw_rule_channels()
 80 static void limit_channels_and_rates(struct snd_pcm_hardware *hw, u8 **formats) in limit_channels_and_rates()   argument
 85 	hw->channels_mi in limit_channels_and_rates()
 244 unsigned int channels = params_channels(hw_params); pcm_capture_hw_params()  local
 267 unsigned int channels = params_channels(hw_params); pcm_playback_hw_params()  local
 [all...]
 | 
| /linux/net/ncsi/ | 
| H A D | internal.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */21 	NCSI_CAP_GENERIC_HWA             = 0x01, /* HW arbitration           */
 26 	NCSI_CAP_GENERIC_HWA_UNKNOWN     = 0x00, /* Unknown HW arbitration   */
 27 	NCSI_CAP_GENERIC_HWA_SUPPORT     = 0x20, /* Supported HW arbitration */
 28 	NCSI_CAP_GENERIC_HWA_NOT_SUPPORT = 0x40, /* No HW arbitration        */
 29 	NCSI_CAP_GENERIC_HWA_RESERVED    = 0x60, /* Reserved HW arbitration  */
 30 	NCSI_CAP_GENERIC_HWA_MASK        = 0x60, /* Mask for HW arbitration  */
 40 	NCSI_CAP_MC_DHCPV6_WELL_KNOWN    = 0x08, /* DHCPv6 well-known MC     */
 49 	NCSI_CAP_VLAN_NO                 = 0x02, /* Filter VLAN and non-VLAN */
 50 	NCSI_CAP_VLAN_ANY                = 0x04, /* Filter Any-and-non-VLAN  */
 [all …]
 
 | 
| /linux/sound/pci/ctxfi/ | 
| H A D | ctatc.c | 1 // SPDX-License-Identifier: GPL-2.0-only28 #define MONO_SUM_SCALE	0x19a8	/* 2^(-0.5) in 14-bit floating format */
 101 			    .public_name = "IEC958 Non-audio"},
 109 	int (*create)(struct hw *hw, void **rmgr);
 137 	if (!apcm->substrea in ct_map_audio_buffer()
 847 struct hw *hw = atc->hw; atc_pll_init()  local
 939 struct hw *hw = atc->hw; atc_select_line_in()  local
 961 struct hw *hw = atc->hw; atc_select_mic_in()  local
 983 struct hw *hw = atc->hw; atc_capabilities()  local
 990 struct hw *hw = atc->hw; atc_output_switch_get()  local
 997 struct hw *hw = atc->hw; atc_output_switch_put()  local
 1004 struct hw *hw = atc->hw; atc_mic_source_switch_get()  local
 1011 struct hw *hw = atc->hw; atc_mic_source_switch_put()  local
 1018 struct hw *hw = atc->hw; atc_select_digit_io()  local
 1327 struct hw *hw; atc_create_hw_devs()  local
 1547 struct hw *hw = atc->hw; atc_suspend()  local
 1560 struct hw *hw = atc->hw; atc_hw_resume()  local
 [all...]
 | 
| /linux/sound/drivers/ | 
| H A D | aloop.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later8  *  More accurate positioning and full-duplex support:
 9  *  Copyright (c) Ahmet İnan <ainan at mathematik.uni-freiburg.de>
 40 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;	/* Index 0-MAX */
 42 static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0};
 43 static int pcm_substreams[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS -
 102 struct snd_pcm_hardware hw; global()  member
 124 unsigned int channels; global()  member
 554 unsigned int channels = capt->substream->runtime->channels; copy_play_buf_part_n()  local
 [all...]
 |