Home
last modified time | relevance | path

Searched +full:convert +full:- +full:channels (Results 1 – 25 of 128) sorted by relevance

123456

/freebsd-src/sys/contrib/device-tree/Bindings/sound/
H A Dsimple-card.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/sound/simple-card.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
14 frame-master:
15 description: Indicates dai-link frame master.
18 bitclock-master:
19 description: Indicates dai-link bit clock master
22 frame-inversion:
[all …]
H A Ddai-params.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/dai-params.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
15 convert-channels:
16 description: Number of audio channels used by DAI
21 convert-sample-format:
25 - s8
26 - s16_le
[all …]
H A Daudio-graph-card.txt3 Audio Graph Card specifies audio DAI connections of SoC <-> codec.
8 see ${LINUX}/Documentation/devicetree/bindings/sound/simple-card.yaml
10 Below are same as Simple-Card.
12 - label
13 - widgets
14 - routing
15 - dai-format
16 - frame-master
17 - bitclock-master
18 - bitclock-inversion
[all …]
H A Drenesas,rsnd.txt1 Renesas R-Car sound
7 Renesas R-Car and RZ/G sound is constructed from below modules
11 - SRC : Sampling Rate Converter
12 - CMD
13 - CTU : Channel Transfer Unit
14 - MIX : Mixer
15 - DVC : Digital Volume and Mute Function
19 See detail of each module's channels, connection, limitation on datasheet
25 Multi channel is supported by Multi-SSI, or TDM-SSI.
27 Multi-SSI : 6ch case, you can use stereo x 3 SSI
[all …]
/freebsd-src/contrib/wpa/src/p2p/
H A Dp2p_utils.c2 * P2P - generic helper functions
18 * p2p_random - Generate random string for SSID and passphrase
21 * Returns: 0 on success, -1 on failure
24 * 'A'-'Z', 'a'-'z', '0'-'9'.
30 u8 letters = 'Z' - 'A' + 1; in p2p_random()
34 return -1; in p2p_random()
35 /* Character set: 'A'-'Z', 'a'-' in p2p_random()
254 p2p_channels_includes(const struct p2p_channels * channels,u8 reg_class,u8 channel) p2p_channels_includes() argument
271 p2p_channels_includes_freq(const struct p2p_channels * channels,unsigned int freq) p2p_channels_includes_freq() argument
321 p2p_get_pref_freq(struct p2p_data * p2p,const struct p2p_channels * channels) p2p_get_pref_freq() argument
374 p2p_channel_pick_random(const u8 * channels,unsigned int num_channels) p2p_channel_pick_random() argument
459 p2p_channels_to_freqs(const struct p2p_channels * channels,int * freq_list,unsigned int max_len) p2p_channels_to_freqs() argument
[all...]
/freebsd-src/sys/contrib/device-tree/Bindings/hwmon/
H A Dmoortec,mr75203.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rahul Tanwar <rtanwar@maxlinear.com>
19 *) Temperature Sensor (TS) - used to monitor core temperature (e.g. mr74137).
20 *) Voltage Monitor (VM) - used to monitor voltage levels (e.g. mr74138).
21 *) Process Detector (PD) - used to assess silicon speed (e.g. mr74139).
22 *) Delay Chain - ring oscillator connected to the PD, used to measure IO
25 *) Pre Scaler - provides divide-by-X scaling of input voltage, which can then
26 be presented for VM for measurement within its range (e.g. mr76006 -
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/iio/afe/
H A Dtemperature-transducer.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/afe/temperature-transducer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liam Beguin <liambeguin@gmail.com>
19 When an io-channel measures the output voltage of a temperature analog front
35 -----
37 +---+---+
39 +---+---+ -----
41 V proportional to T +----+----+
[all …]
/freebsd-src/share/examples/sound/
H A Dossinit.h
/freebsd-src/lib/libifconfig/
H A Dlibifconfig_sfp.h1 /*-
61 valid range -40.0 to 125.0 */
99 * @return 0 if successful, -1 with error info set in the handle otherwise
104 /** Get the number of channels present on the given module
106 * @return The number of channels or 0 if unknown
114 * @return A bool true if QSFP-type sfp_id otherwise false
155 * @return 0 if successful, -1 with error info set in the handle otherwise
165 * @return 0 if successful, -1 with error info set in the handle otherwise
183 * @return 0 if successful, -1 with error info set in the handle otherwise
194 /** Convert channel power to milliwatts power
[all …]
/freebsd-src/contrib/wpa/src/common/
H A Dieee802_11_common.c3 * Copyright (c) 2002-2019, Jouni Malinen <j@w1.fi>
15 #include "qca-vendor.h"
28 * sub-type. */ in ieee802_11_parse_vendor_specific()
35 return -1; in ieee802_11_parse_vendor_specific()
41 /* Microsoft/Wi-Fi information elements are further typed and in ieee802_11_parse_vendor_specific()
47 elems->wpa_ie = pos; in ieee802_11_parse_vendor_specific()
48 elems->wpa_ie_len = elen; in ieee802_11_parse_vendor_specific()
57 return -1; in ieee802_11_parse_vendor_specific()
68 elems->wmm = pos; in ieee802_11_parse_vendor_specific()
69 elems->wmm_le in ieee802_11_parse_vendor_specific()
[all...]
/freebsd-src/sys/contrib/device-tree/Bindings/iio/adc/
H A Dbrcm,iproc-static-adc.txt3 Broadcom iProc ADC controller has 8 channels 10bit ADC.
4 Allows user to convert analog input voltage values to digital.
8 - compatible: Must be "brcm,iproc-static-adc"
10 - adc-syscon: Handler of syscon node defining physical base address of the
13 - #io-channel-cells = <1>; As ADC has multiple outputs
14 refer to Documentation/devicetree/bindings/iio/iio-bindings.txt for details.
16 - io-channel-ranges:
17 refer to Documentation/devicetree/bindings/iio/iio-bindings.txt for details.
19 - clocks: Clock used for this block.
21 - clock-names: Clock name should be given as tsc_clk.
[all …]
/freebsd-src/contrib/opencsd/decoder/include/opencsd/stm/
H A Dtrc_cmp_cfg_stm.h53 * with values of 256 masters, 65536 channels, HW event trace not present / disabled.
63 STMConfig(); //!< Constructor - creates a default configuration
67 // operations to convert to and from C-API structure
94 m_cfg.reg_feat3r = 0x10000; // default to 65536 channels. in STMConfig()
110 setHWTraceFeat(p_cfg->hw_event);
141 return (uint16_t)(m_cfg.reg_feat3r - 1); in getMaxChannelIdx()
/freebsd-src/sys/contrib/device-tree/Bindings/net/
H A Dcpsw.txt2 ------------------------------------------------------
5 - compatible : Should be one of the below:-
7 "ti,am335x-cpsw" for AM335x controllers
8 "ti,am4372-cpsw" for AM437x controllers
9 "ti,dra7-cpsw" for DRA7x controllers
10 - reg : physical base address and size of the cpsw
12 - interrupts : property with a value describing the interrupt
14 - cpdma_channels : Specifies number of channels in CPDMA
15 - ale_entries : Specifies No of entries ALE can hold
16 - bd_ram_size : Specifies internal descriptor RAM size
[all …]
/freebsd-src/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dinit.c1 // SPDX-License-Identifier: ISC
14 int err = -EINVAL, power = hw->conf.power_level * 2; in mt76x2_set_sar_specs()
15 struct mt76x02_dev *dev = hw->priv; in mt76x2_set_sar_specs()
16 struct mt76_phy *mphy = &dev->mphy; in mt76x2_set_sar_specs()
18 mutex_lock(&dev->mt76.mutex); in mt76x2_set_sar_specs()
19 if (!cfg80211_chandef_valid(&mphy->chandef)) in mt76x2_set_sar_specs()
26 dev->txpower_conf = mt76_get_sar_power(mphy, mphy->chandef.chan, in mt76x2_set_sar_specs()
28 /* convert to per-chain power for 2x2 devices */ in mt76x2_set_sar_specs()
29 dev->txpower_conf -= 6; in mt76x2_set_sar_specs()
31 if (test_bit(MT76_STATE_RUNNING, &mphy->state)) in mt76x2_set_sar_specs()
[all …]
/freebsd-src/sys/dev/iicbus/adc/
H A Dads111x.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
72 * On config write, the operational-state bit starts a measurement, on read it
79 * The default values for config items that are not per-channel. Mostly, this
90 * Per-channel defaults. The chip only has one control register, and we load
91 * per-channel values into it every time we make a measurement on that channel.
93 * values we maintain on a per-channel basis.
99 * Full-scale ranges for each available amplifier setting, in microvolts. The
100 * ADS1x13 chips are fixed-range, the other chips contain a programmable gain
111 #define ADS101x_RANGEDIV ((1 << 15) - 15)
[all …]
/freebsd-src/sys/dev/cxgbe/firmware/
H A Dt4fw_cfg_uwire.txt3 # Copyright (C) 2010-2017 Chelsio Communications. All rights reserved.
6 # THIS FILE WILL RESULT IN A NON-FUNCTIONAL T4 ADAPTER AND MAY RESULT
9 # This file provides the default, power-on configuration for 4-port T4-based
22 # 2. Ingress Queues with Free Lists: 1024. PCI-E SR-IOV Virtual Functions
24 # 3. Egress Queues: 128K. PCI-E SR-IOV Virtual Functions must use a
26 # 4. MSI-X Vectors: 1088. A complication here is that the PCI-E SR-IOV
28 # same umber of MSI-X Vectors as the base Physical Function.
30 # not, their MSI-X "needs" are counted by the PCI-E implementation.
32 # Functions (PF0-3) must have the same number of configured TotalVFs in
33 # their SR-IOV Capabilities.
[all …]
H A Dt5fw_cfg_uwire.txt3 # Copyright (C) 2010-2017 Chelsio Communications. All rights reserved.
6 # WILL RESULT IN A NON-FUNCTIONAL ADAPTER AND MAY RESULT IN PHYSICAL DAMAGE
10 # This file provides the default, power-on configuration for 4-port T5-based
25 # 4. MSI-X Vectors: 1088.
26 # 5. Multi-Port Support (MPS) TCAM: 336 entries to support MAC destination
34 # functions for ports 0-3 on PF0-3, FCoE on PF4, iSCSI on PF5, etc.
39 # Ingress Queues and MSI-X Vectors to allow up to some number of CPUs
47 # 8 Ingress Queue/MSI-X Vectors per application function
49 # for a total of 96 Ingress Queues and MSI-X Vectors on the Unified PF.
52 # 9. Some customers will want to use PCI-E SR-IOV Capability to allow Virtual
[all …]
H A Dt6fw_cfg_uwire.txt3 # Copyright (C) 2014-2015 Chelsio Communications. All rights reserved.
6 # WILL RESULT IN A NON-FUNCTIONAL ADAPTER AND MAY RESULT IN PHYSICAL DAMAGE
10 # This file provides the default, power-on configuration for 2-port T6-based
25 # 4. MSI-X Vectors: 1088.
26 # 5. Multi-Port Support (MPS) TCAM: 336 entries to support MAC destination
34 # functions for ports 0-1 on PF0-1, FCoE on PF4, iSCSI on PF5, etc.
39 # Ingress Queues and MSI-X Vectors to allow up to some number of CPUs
47 # 16 Ingress Queue/MSI-X Vectors per application function
49 # for a total of 96 Ingress Queues and MSI-X Vectors on the Unified PF.
52 # 9. Some customers will want to use PCI-E SR-IOV Capability to allow Virtual
[all …]
H A Dt5fw_cfg_fpga.txt3 # Copyright (C) 2010-2013 Chelsio Communications. All rights reserved.
6 # THIS FILE WILL RESULT IN A NON-FUNCTIONAL T4 ADAPTER AND MAY RESULT
9 # This file provides the default, power-on configuration for 4-port T4-based
22 # 2. Ingress Queues with Free Lists: 1024. PCI-E SR-IOV Virtual Functions
24 # 3. Egress Queues: 128K. PCI-E SR-IOV Virtual Functions must use a
26 # 4. MSI-X Vectors: 1088. A complication here is that the PCI-E SR-IOV
28 # same umber of MSI-X Vectors as the base Physical Function.
30 # not, their MSI-X "needs" are counted by the PCI-E implementation.
32 # Functions (PF0-3) must have the same number of configured TotalVFs in
33 # their SR-IOV Capabilities.
[all …]
H A Dt6fw_cfg_fpga.txt3 # Copyright (C) 2014-2015 Chelsio Communications. All rights reserved.
6 # WILL RESULT IN A NON-FUNCTIONAL ADAPTER AND MAY RESULT IN PHYSICAL DAMAGE
10 # This file provides the default, power-on configuration for 2-port T6-based
25 # 4. MSI-X Vectors: 1088.
26 # 5. Multi-Port Support (MPS) TCAM: 336 entries to support MAC destination
34 # functions for ports 0-1 on PF0-1, FCoE on PF4, iSCSI on PF5, etc.
39 # Ingress Queues and MSI-X Vectors to allow up to some number of CPUs
47 # 16 Ingress Queue/MSI-X Vectors per application function
49 # for a total of 96 Ingress Queues and MSI-X Vectors on the Unified PF.
52 # 9. Some customers will want to use PCI-E SR-IOV Capability to allow Virtual
[all …]
/freebsd-src/contrib/sqlite3/
H A DReplace.cs13 ** using the standard input and output channels.
32 [assembly: Guid("95a0513f-8863-48cd-a76f-cb80868cb578")]
94 /// Non-zero to display the command line usage information.
117 /// This is the entry-point for this tool. It handles processing the
126 /// Zero upon success; non-zero on failure. This will be one of the
159 // NOTE: Attempt to convert the third argument to a boolean. in Main()
170 // NOTE: Grab the standard input and output channels from the in Main()
177 // NOTE: Loop until end-of-file is hit on the standard input in Main()
/freebsd-src/sys/net80211/
H A Dieee80211.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
128 * all available channels as active, and pick
135 if (ic->ic_sup_rates[m].rs_nrates == 0) \ in ieee80211_chan_init()
136 ic->ic_sup_rates[m] = def; \ in ieee80211_chan_init()
141 KASSERT(0 < ic->ic_nchan in ieee80211_chan_init()
[all...]
/freebsd-src/sys/contrib/device-tree/src/arm64/renesas/
H A Dulcb-kf-simple-audio-card-mix+split.dtsi1 // SPDX-License-Identifier: GPL-2.0
12 * (A) CPU0 (2ch) <----> (2ch) (X) ak4613 (MIX-0)
13 * (B) CPU1 (2ch) --/ (MIX-1)
14 * (C) CPU3 (2ch) ----> (8ch) (Y) PCM3168A-p (TDM-0 : 0,1ch)
15 * (D) CPU2 (2ch) --/ (TDM-1 : 2,3ch)
16 * (E) CPU4 (2ch) --/ (TDM-2 : 4,5ch)
17 * (F) CPU5 (2ch) --/ (TDM-3 : 6,7ch)
18 * (G) CPU6 (6ch) <---- (6ch) (Z) PCM3168A-c
20 * (A) aplay -D plughw:0,0 xxx.wav (MIX-0)
21 * (B) aplay -D plughw:0,1 xxx.wav (MIX-1)
[all …]
H A Dulcb-kf-audio-graph-card-mix+split.dtsi1 // SPDX-License-Identifier: GPL-2.0
12 * (A) CPU0 (2ch) <----> (2ch) (X) ak4613 (MIX-0)
13 * (B) CPU1 (2ch) --/ (MIX-1)
14 * (C) CPU2 (2ch) ----> (8ch) (Y) PCM3168A-p (TDM-0 : 0,1ch)
15 * (D) CPU3 (2ch) --/ (TDM-1 : 2,3ch)
16 * (E) CPU4 (2ch) --/ (TDM-2 : 4,5ch)
17 * (F) CPU5 (2ch) --/ (TDM-3 : 6,7ch)
18 * (G) CPU6 (6ch) <---- (6ch) (Z) PCM3168A-c
20 * (A) aplay -D plughw:0,0 xxx.wav (MIX-0)
21 * (B) aplay -D plughw:0,1 xxx.wav (MIX-1)
[all …]
/freebsd-src/sys/contrib/dev/athk/ath10k/
H A Dwmi.h1 /* SPDX-License-Identifier: ISC */
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
28 * 1. Add new WMI commands ONLY within the specified range - 0x9000 - 0x9fff
44 * variable is already 4-byte aligned by virtue of being a u32
526 * for wmi_services is 64 as target is using only 4-bits of each 32-bit
532 __le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 28]) & \
533 BIT(((((svc_id) - (len)) % 28) & 0x1f) + 4))
1159 /** DFS-specific commands */
[all …]

123456