Home
last modified time | relevance | path

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

1234567891011

/freebsd/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-maste
[all...]
H A Daudio-graph.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/audio-grap
[all...]
H A Drenesas,rsnd.txt1 Renesas R-Car sound
7 Renesas R-Car and RZ/G sound is constructed from below modules
10 SCU : Sampling Rate Converter Unit
11 - SRC : Sampling Rate Converter
12 - CMD
13 - CTU : Channel Transfer Unit
14 - MIX : Mixer
15 - DVC : Digital Volume and Mute Function
25 Multi channel is supported by Multi-SS
[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 …]
/freebsd/contrib/ofed/libibverbs/man/
H A Dibv_rate_to_mult.31 .\" -*- nroff -*-
2 .\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md
4 .TH IBV_RATE_TO_MULT 3 2006-10-31 libibverbs "Libibverbs Programmer's Manual"
7 ibv_rate_to_mult \- convert IB rate enumeration to multiplier of 2.5 Gbit/sec
9 mult_to_ibv_rate \- convert multiplier of 2.5 Gbit/sec to an IB rate enumeration
14 .BI "int ibv_rate_to_mult(enum ibv_rate " "rate" ");
20 converts the IB transmission rate enumeration
21 .I rate
22 to a multiple of 2.5 Gbit/sec (the base rate). For example, if
23 .I rate
[all …]
H A Dibv_rate_to_mbps.31 .\" -*- nroff -*-
2 .\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md
4 .TH IBV_RATE_TO_MBPS 3 2012-03-31 libibverbs "Libibverbs Programmer's Manual"
7 ibv_rate_to_mbps \- convert IB rate enumeration to Mbit/sec
9 mbps_to_ibv_rate \- convert Mbit/sec to an IB rate enumeration
14 .BI "int ibv_rate_to_mbps(enum ibv_rate " "rate" ");
20 converts the IB transmission rate enumeration
21 .I rate
23 .I rate
31 to an IB transmission rate enumeration. For example, if
[all …]
/freebsd/sys/net80211/
H A Dieee80211_phy.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting
33 * IEEE 802.11 PHY-related definitions.
57 * For drivers that don't implement per-VAP slot time
59 * between VAPs to program a single radio) - return
63 ((ic->ic_flags & IEEE80211_F_SHSLOT) ? \
67 * For drivers that implement per-VAP slot time; look
68 * at the per-VAP flags to determine whether this VAP
72 ((vap->iv_flags & IEEE80211_F_SHSLOT) ? \
[all …]
H A Dieee80211.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
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_nchans && ic->ic_nchans <= IEEE80211_CHAN_MAX, in ieee80211_chan_init()
142 ("invalid number of channels specified: %u", ic->ic_nchans)); in ieee80211_chan_init()
143 memset(ic->ic_chan_avail, 0, sizeof(ic->ic_chan_avail)); in ieee80211_chan_init()
144 memset(ic->ic_modecaps, 0, sizeof(ic->ic_modecaps)); in ieee80211_chan_init()
145 setbit(ic->ic_modecaps, IEEE80211_MODE_AUTO); in ieee80211_chan_init()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/fw/
H A Drs.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2021-2022 Intel Corporation
8 #include "iwl-drv.h"
9 #include "iwl-config.h"
96 int rate = rate_n_flags & RATE_LEGACY_RATE_MSK_V1; in iwl_legacy_rate_to_fw_idx() local
103 if (iwl_fw_rate_idx_to_plcp(idx) == rate) in iwl_legacy_rate_to_fw_idx()
192 rs_pretty_print_rate(char * buf,int bufsz,const u32 rate) rs_pretty_print_rate() argument
[all...]
/freebsd/sys/dev/acpica/
H A Dacpi_battery.c1 /*-
42 /* Default seconds before re-sampling the battery state. */
103 return (bst->state != ACPI_BATT_STAT_NOT_PRESENT && in acpi_battery_bst_valid()
104 bst->cap != ACPI_BATT_UNKNOWN && bst->volt != ACPI_BATT_UNKNOWN); in acpi_battery_bst_valid()
112 return (bix->lfcap != 0); in acpi_battery_bix_valid()
151 dev_idx = -1; in acpi_battery_get_battinfo()
193 * If the battery info is in terms of mA, convert to mW by in acpi_battery_get_battinfo()
198 if (bix->units == ACPI_BIX_UNITS_MA && bix->dvo in acpi_battery_get_battinfo()
[all...]
/freebsd/sys/dev/ath/
H A Dif_ath_tx_ht.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
109 (ATH_AGGR_MINPLEN - (_len) - ATH_AGGR_DELIM_SZ) : 0) >> 2)
111 #define PADBYTES(_len) ((4 - ((_len) % 4)) % 4)
170 #define NUM_SYMBOLS_PER_USEC_HALFGI(_usec) (((_usec*5)-4)/18)
178 { 104, 216 }, // 3: 16-QAM 1/2
179 { 156, 324 }, // 4: 16-QAM 3/4
180 { 208, 432 }, // 5: 64-QAM 2/3
181 { 234, 486 }, // 6: 64-QAM 3/4
182 { 260, 540 }, // 7: 64-QAM 5/6
[all …]
/freebsd/sys/dev/rtwn/
H A Dif_rtwn_rx.c3 /*-
6 * Copyright (c) 2015-2016 Andriy Voskoboinyk <avos@FreeBSD.org>
56 * Get the driver rate set for the current operating rateset(s).
58 * rates_p is set to a mask of 11abg ridx values (not HW rate values.)
59 * htrates_p is set to a mask of 11n ridx values (not HW rate values),
64 * If basic_rates is 1 then only the 11abg basic rate logic will
81 for (i = 0; i < rs->rs_nrates; i++) { in rtwn_get_rates()
82 /* Convert 802.11 rate to HW rate index. */ in rtwn_get_rates()
83 ridx = rate2ridx(IEEE80211_RV(rs->rs_rates[i])); in rtwn_get_rates()
84 if (ridx == RTWN_RIDX_UNKNOWN) /* Unknown rate, skip. */ in rtwn_get_rates()
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_misc.c1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2008 Atheros Communications, Inc.
40 OS_MEMCPY(mac, ahp->ah_macaddr, IEEE80211_ADDR_LEN); in ar5212GetMacAddress()
48 OS_MEMCPY(ahp->ah_macaddr, mac, IEEE80211_ADDR_LEN); in ar5212SetMacAddress()
57 OS_MEMCPY(mask, ahp->ah_bssidmask, IEEE80211_ADDR_LEN); in ar5212GetBssIdMask()
66 OS_MEMCPY(ahp->ah_bssidmask, mask, IEEE80211_ADDR_LEN); in ar5212SetBssIdMask()
68 OS_REG_WRITE(ah, AR_BSSMSKL, LE_READ_4(ahp->ah_bssidmask)); in ar5212SetBssIdMask()
69 OS_REG_WRITE(ah, AR_BSSMSKU, LE_READ_2(ahp->ah_bssidmask + 4)); in ar5212SetBssIdMask()
[all …]
/freebsd/share/man/man9/
H A Daltq.9120 since a non-empty queue could return
122 under rate-limiting.
141 The purge operation is needed since a non-work conserving queue cannot be
150 if the queuing discipline is non-work conserving.
154 .Fa ifq->ifq_drv_maxlen
164 even for a non-empty queue.
249 .Bd -literal
250 ##old-style## ##new-style##
268 .Bd -literal
269 ##old-style## ##new-style##
[all …]
/freebsd/sys/dev/videomode/
H A Dvesagtf.c3 /*-
43 * This has required the use of 64-bit integers in a few places, but
89 * Copyright (c) 1994, 1995, 1996 - Video Electronics Standards
110 * This program takes a desired resolution and vertical refresh rate,
120 * surrounding the addressable video); on most non-overscan type
172 * #define C_PRIME (((C - J) * K/256.0) + J)
180 #define C_PRIME256(p) (((p->C - p->J) * p->K) + (p->J * 256))
181 #define M_PRIME256(p) (p->K * p->M)
186 * print_value() - print the result of the named computation; this is
195 printf("%2d: %-27s: %u\n", n, name, val); in print_value()
[all …]
/freebsd/sys/dev/ath/ath_rate/onoe/
H A Donoe.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2002-2007 Sam Leffler, Errno Consulting
34 * Atsushi Onoe's rate control algorithm.
73 * Default parameters for the rate control algorithm. These are
74 * all tunable with sysctls. The rate controller runs periodically
78 * it gives a "raise rate credit". If transmits look to not be working
80 * the transmit rate is raised. Various error conditions force the
81 * the transmit rate to be dropped.
87 * the transmit rate is increased.
[all …]
/freebsd/contrib/ofed/libibverbs/
H A Dverbs.h3 * Copyright (c) 2004, 2011-2012 Intel Corporation. All rights reserved.
17 * - Redistributions of source code must retain the above
21 * - Redistributions in binary form must reproduce the above
72 * container_of - cast a member of a structure out to the containing structure
79 ((type *) ((uint8_t *)(ptr) - offsetof(type, member)))
84 static void *__VERBS_ABI_IS_EXTENDED = ((uint8_t *) NULL) - 1;
87 IBV_NODE_UNKNOWN = -1,
97 IBV_TRANSPORT_UNKNOWN = -1,
532 IBV_REREG_MR_FLAGS_SUPPORTED = ((IBV_REREG_MR_KEEP_VALID << 1) - 1)
603 * ibv_rate_to_mult - Convert the IB rate enum to a multiple of the
[all …]
/freebsd/contrib/ntp/adjtimed/
H A Dadjtimed.c3 /* Hewlett-Packard Laboratories. */
21 * This daemon adjusts the rate of the system clock a la BSD's adjtime().
25 * cannot be guaranteed to work in future HP-UX releases. Fortunately,
58 /* emacs cc-mode goes nuts if we split the next line... */
92 if ((mqid = msgget(KEY, 0)) != -1) { in main()
93 if (msgctl(mqid, IPC_RMID, (struct msqid_ds *)0) == -1) { in main()
118 fputs("adjtimed: -p option ignored\n", stderr); in main()
122 puts("usage: adjtimed -hkrvdf"); in main()
123 puts("-h\thelp"); in main()
124 puts("-k\tkill existing adjtimed, if any"); in main()
[all …]
/freebsd/share/man/man4/
H A Duart.41 .\"-
2 .\" SPDX-License-Identifier: BSD-2-Clause
53 .Bl -tag -compact -width 0x000000
72 EIA RS-232C (CCITT V.24) serial communications interface.
112 It contains the bus attachments and the low-level interrupt handler.
144 .Bl -bullet -compact
182 .Bl -tag -compact -offset "mmmm" -width "mmmm"
193 .Bl -tag -compact -offset "mmmm" -width "mmmm"
195 Invert the pulse (RS-232 logic low = ASSERT, high = CLEAR).
216 RFC 2783 defines an ASSERT event as a higher-voltage line level, and a CLEAR
[all …]
/freebsd/sys/dev/ath/ath_rate/amrr/
H A Damrr.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
5 * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
18 * 3. Neither the names of the above-listed copyright holders nor the names
43 * AMRR rate control. See:
44 * http://www-sop.inria.fr/rapports/sophia/RR-5208.html
45 * "IEEE 802.11 Rate Adaptation: A Practical Approach" by
83 static int ath_rateinterval = 1000; /* rate ctl interval (ms) */
88 int rate);
111 *rix = amn->amn_tx_rix0; in ath_rate_findrate()
[all …]
/freebsd/sys/dev/iwm/
H A Dif_iwm_mac_ctxt.c20 /*-
21 * Based on BSD-licensed source modules in the Linux iwlwifi driver,
34 * Copyright(c) 2007 - 2013 Intel Corporation. All rights reserved.
55 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
60 * Copyright(c) 2005 - 2013 Intel Corporation. All rights reserved.
90 /*-
91 * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
159 * BEGIN mvm/mac-ctxt.c
178 struct ieee80211_rateset *rs = &in->in_ni.ni_rates; in iwm_ack_rates()
192 ofdm |= (1 << (i - IWM_FIRST_OFDM_RATE)); in iwm_ack_rates()
[all …]
/freebsd/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 …]
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_rl.c1 /*-
2 * Copyright (c) 2016-2020 Mellanox Technologies. All rights reserved.
57 void *sqc = param->sqc; in mlx5e_rl_build_sq_param()
59 uint8_t log_sq_size = order_base_2(rl->param.tx_queue_size); in mlx5e_rl_build_sq_param()
63 MLX5_SET(wq, wq, pd, rl->priv->pdn); in mlx5e_rl_build_sq_param()
65 param->wq.linear = 1; in mlx5e_rl_build_sq_param()
72 void *cqc = param->cqc; in mlx5e_rl_build_cq_param()
73 uint8_t log_sq_size = order_base_2(rl->param.tx_queue_size); in mlx5e_rl_build_cq_param()
76 MLX5_SET(cqc, cqc, cq_period, rl->param.tx_coalesce_usecs); in mlx5e_rl_build_cq_param()
77 MLX5_SET(cqc, cqc, cq_max_count, rl->param.tx_coalesce_pkts); in mlx5e_rl_build_cq_param()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/renesas/
H A Dulcb-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) --/ (MI
[all...]
H A Dulcb-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) -
[all...]

1234567891011