| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | mcompand.c | 2 * by Daniel Pouzzner <douzzer@mega.nu> 2002-Oct-8 9 * responsible for the consequences of using this software. 19 * in-dB1,out-dB1[,in-dB2,out-dB2...] 20 * [ gain [ initial-volume [ delay ] ] ] 22 * Beware a variety of headroom (clipping) bugaboos. 25 * The input is divided into bands using 4th order Linkwitz-Riley IIRs. 26 * This is akin to the crossover of a loudspeaker, and results in flat 29 * The outputs of the array of companders is summed, and sample truncation 33 * alignment of the outputs of the array of companders when the companders 35 * that the predictive mode of the limiter needs some TLC - in fact, a [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/ |
| H A D | lpc32xx_nand_mlc.c | 7 * SPDX-License-Identifier: GPL-2.0+ 11 * The MLC NAND flash controller provides hardware Reed-Solomon ECC 12 * covering in- and out-of-band data together. Therefore, in- and out- 13 * of-band data must be written together in order to have a valid ECC. 15 * Consequently, pages with meaningful in-band data are written with 16 * blank (all-ones) out-of-band data and a valid ECC, and any later 17 * out-of-band data write will void the ECC. 19 * Therefore, code which reads such late-written out-of-band data 63 #define ICR_ADDR4 0x00000002 /* configure for 4-word addrs */ 76 /* time-out for NAND chip / controller loops, in us */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wlcore/ |
| H A D | cmd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * This file is part of wl1271 5 * Copyright (C) 2009-2010 Nokia Corporation 37 * @len: length of the buffer 50 if (unlikely(wl->state == WLCORE_STATE_RESTARTING && in __wlcore_cmd_send() 52 return -EIO; in __wlcore_cmd_send() 55 return -EIO; in __wlcore_cmd_send() 58 cmd->id = cpu_to_le16(id); in __wlcore_cmd_send() 59 cmd->status = 0; in __wlcore_cmd_send() 62 WARN_ON(test_bit(WL1271_FLAG_IN_ELP, &wl->flags)); in __wlcore_cmd_send() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wl12xx/ |
| H A D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * This file is part of wl12xx 16 enum nl80211_band band, bool passive) in wl1271_get_scan_channels() argument 18 struct conf_scan_settings *c = &wl->conf.scan; in wl1271_get_scan_channels() 23 i < req->n_channels && j < WL1271_SCAN_MAX_CHANNELS; in wl1271_get_scan_channels() 25 flags = req->channels[i]->flags; in wl1271_get_scan_channels() 27 if (!test_bit(i, wl->scan.scanned_ch) && in wl1271_get_scan_channels() 29 (req->channels[i]->band == band) && in wl1271_get_scan_channels() 37 wl1271_debug(DEBUG_SCAN, "band %d, center_freq %d ", in wl1271_get_scan_channels() 38 req->channels[i]->band, in wl1271_get_scan_channels() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/rtl8821c/ |
| H A D | rtl8821c_phy.c | 3 * Copyright(c) 2016 - 2017 Realtek Corporation. 6 * under the terms of version 2 of the GNU General Public License as 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 33 hal->PHYRegDef[RF_PATH_A].rfintfs = rFPGA0_XAB_RFInterfaceSW; in bb_rf_register_definition() 34 hal->PHYRegDef[RF_PATH_B].rfintfs = rFPGA0_XAB_RFInterfaceSW; in bb_rf_register_definition() 37 hal->PHYRegDef[RF_PATH_A].rfintfo = rFPGA0_XA_RFInterfaceOE; in bb_rf_register_definition() 38 hal->PHYRegDef[RF_PATH_B].rfintfo = rFPGA0_XB_RFInterfaceOE; in bb_rf_register_definition() 41 hal->PHYRegDef[RF_PATH_A].rfintfe = rFPGA0_XA_RFInterfaceOE; in bb_rf_register_definition() 42 hal->PHYRegDef[RF_PATH_B].rfintfe = rFPGA0_XB_RFInterfaceOE; in bb_rf_register_definition() 44 hal->PHYRegDef[RF_PATH_A].rf3wireOffset = rA_LSSIWrite_Jaguar; in bb_rf_register_definition() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/rtl8821c/ |
| H A D | rtl8821c_phy.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2016 - 2017 Realtek Corporation. 7 * under the terms of version 2 of the GNU General Public License as 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 34 hal->PHYRegDef[RF_PATH_A].rfintfs = rFPGA0_XAB_RFInterfaceSW; in bb_rf_register_definition() 35 hal->PHYRegDef[RF_PATH_B].rfintfs = rFPGA0_XAB_RFInterfaceSW; in bb_rf_register_definition() 38 hal->PHYRegDef[RF_PATH_A].rfintfo = rFPGA0_XA_RFInterfaceOE; in bb_rf_register_definition() 39 hal->PHYRegDef[RF_PATH_B].rfintfo = rFPGA0_XB_RFInterfaceOE; in bb_rf_register_definition() 42 hal->PHYRegDef[RF_PATH_A].rfintfe = rFPGA0_XA_RFInterfaceOE; in bb_rf_register_definition() 43 hal->PHYRegDef[RF_PATH_B].rfintfe = rFPGA0_XB_RFInterfaceOE; in bb_rf_register_definition() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wl18xx/ |
| H A D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * This file is part of wl18xx 15 memcpy(cmd->passive, cmd_channels->passive, sizeof(cmd->passive)); in wl18xx_adjust_channels() 16 memcpy(cmd->active, cmd_channels->active, sizeof(cmd->active)); in wl18xx_adjust_channels() 17 cmd->dfs = cmd_channels->dfs; in wl18xx_adjust_channels() 18 cmd->passive_active = cmd_channels->passive_active; in wl18xx_adjust_channels() 20 memcpy(cmd->channels_2, cmd_channels->channels_2, in wl18xx_adjust_channels() 21 sizeof(cmd->channels_2)); in wl18xx_adjust_channels() 22 memcpy(cmd->channels_5, cmd_channels->channels_5, in wl18xx_adjust_channels() 23 sizeof(cmd->channels_5)); in wl18xx_adjust_channels() [all …]
|
| H A D | cmd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * This file is part of wl18xx 23 ch_switch->count); in wl18xx_cmd_channel_switch() 27 ret = -ENOMEM; in wl18xx_cmd_channel_switch() 28 goto out; in wl18xx_cmd_channel_switch() 31 cmd->role_id = wlvif->role_id; in wl18xx_cmd_channel_switch() 32 cmd->channel = ch_switch->chandef.chan->hw_value; in wl18xx_cmd_channel_switch() 33 cmd->switch_time = ch_switch->count; in wl18xx_cmd_channel_switch() 34 cmd->stop_tx = ch_switch->block_tx; in wl18xx_cmd_channel_switch() 36 switch (ch_switch->chandef.chan->band) { in wl18xx_cmd_channel_switch() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/phydm/ |
| H A D | phydm_hwconfig.h | 3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 6 * under the terms of version 2 of the GNU General Public License as 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * You should have received a copy of the GNU General Public License along with 26 /*--------------------------Define -------------------------------------------*/ 33 …define AGC_DIFF_CONFIG_MP(ic, band) (ODM_ReadAndConfig_MP_##ic##_AGC_TAB_DIFF(pDM_Odm, Array_MP_##… argument 34 … sizeof(Array_MP_##ic##_AGC_TAB_DIFF_##band)/sizeof(u4Byte))) 35 …define AGC_DIFF_CONFIG_TC(ic, band) (ODM_ReadAndConfig_TC_##ic##_AGC_TAB_DIFF(pDM_Odm, Array_TC_##… argument 36 … sizeof(Array_TC_##ic##_AGC_TAB_DIFF_##band)/sizeof(u4Byte))) 38 #define AGC_DIFF_CONFIG(ic, band) do {\ argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/phydm/ |
| H A D | phydm_hwconfig.h | 3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 6 * under the terms of version 2 of the GNU General Public License as 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * You should have received a copy of the GNU General Public License along with 26 /*--------------------------Define -------------------------------------------*/ 28 …define AGC_DIFF_CONFIG_MP(ic, band) (ODM_ReadAndConfig_MP_##ic##_AGC_TAB_DIFF(pDM_Odm, Array_MP_##… argument 29 … sizeof(Array_MP_##ic##_AGC_TAB_DIFF_##band)/sizeof(u4Byte))) 30 …define AGC_DIFF_CONFIG_TC(ic, band) (ODM_ReadAndConfig_TC_##ic##_AGC_TAB_DIFF(pDM_Odm, Array_TC_##… argument 31 … sizeof(Array_TC_##ic##_AGC_TAB_DIFF_##band)/sizeof(u4Byte))) 33 #define AGC_DIFF_CONFIG(ic, band) do {\ argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/hal/phydm/ |
| H A D | phydm_hwconfig.h | 3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 6 * under the terms of version 2 of the GNU General Public License as 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * You should have received a copy of the GNU General Public License along with 26 /*--------------------------Define -------------------------------------------*/ 28 …define AGC_DIFF_CONFIG_MP(ic, band) (ODM_ReadAndConfig_MP_##ic##_AGC_TAB_DIFF(pDM_Odm, Array_MP_##… argument 29 … sizeof(Array_MP_##ic##_AGC_TAB_DIFF_##band)/sizeof(u4Byte))) 30 …define AGC_DIFF_CONFIG_TC(ic, band) (ODM_ReadAndConfig_TC_##ic##_AGC_TAB_DIFF(pDM_Odm, Array_TC_##… argument 31 … sizeof(Array_TC_##ic##_AGC_TAB_DIFF_##band)/sizeof(u4Byte))) 33 #define AGC_DIFF_CONFIG(ic, band) do {\ argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/include/ |
| H A D | hal_com_phycfg.h | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 6 * under the terms of version 2 of the GNU General Public License as 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 34 /*------------------------------Define structure----------------------------*/ 54 u32 rfLSSIReadBackPi; /* LSSI RF readback data PI mode 0x8b8-8bc for Path A and B */ 59 /* ---------------------------------------------------------------------- */ 63 IN u8 Band, 74 OUT u8 *Rate, 75 OUT s8 *PwrByRateVal, 76 OUT u8 *RateNum [all …]
|
| /OK3568_Linux_fs/kernel/net/sched/ |
| H A D | sch_ets.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * ----------- 9 * discipline that merges functionality of PRIO and DRR qdiscs in one scheduler. 10 * ETS makes it easy to configure a set of strict and bandwidth-sharing bands to 14 * classes at will. Instead one specifies number of classes, how many are 15 * PRIO-like and how many DRR-like, and quanta for the latter. 18 * --------- 20 * The strict classes, if any, are tried for traffic first: first band 0, if it 21 * has no traffic then band 1, etc. 23 * When there is no traffic in any of the strict queues, the bandwidth-sharing [all …]
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/ |
| H A D | FEATURES.in | 9 ** PCM, u-law, A-law 16 * Grandstream ring-tone files 19 * LPC-10 files 22 * AMR-WB & AMR-NB (with optional libamrwb & libamrnb libraries) 32 * Yamaha TX-16W sampler files 37 ** u-law, A-law, MS ADPCM, IMA (DMI) ADPCM 41 * Psion (palmtop) A-law WVE files and Record voice notes 45 * The "null" pseudo-file that reads and writes from/to nowhere 51 ** allpass: RBJ all-pass biquad IIR filter 52 ** bandpass: RBJ band-pass biquad IIR filter [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/include/ |
| H A D | hal_com_phycfg.h | 3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 6 * under the terms of version 2 of the GNU General Public License as 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * You should have received a copy of the GNU General Public License along with 51 /*------------------------------Define structure----------------------------*/ 71 u32 rfLSSIReadBackPi; /* LSSI RF readback data PI mode 0x8b8-8bc for Path A and B */ 76 /* ---------------------------------------------------------------------- */ 80 IN u8 Band, 101 OUT u8 *Rate, 102 OUT s8 *PwrByRateVal, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| H A D | main.h | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 13 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 14 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 47 /* Macros for doing definition and get/set of bitfields 48 * Usage example, e.g. a three-bit field (bits 4-6): 52 * regval = R_REG(osh, ®s->regfoo); 55 * W_REG(osh, ®s->regfoo, regval); 58 (((unsigned)1 << (width)) - 1) 67 /* max # supported core revisions (0 .. MAXCOREREV - 1) */ [all …]
|
| H A D | main.c | 3 * Copyright (c) 2013 Hauke Mehrtens <hauke@hauke-m.de> 10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 14 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 15 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 42 /* watchdog timer, in unit of ms */ 44 /* radio monitor timer, in unit of ms */ 47 /* beacon interval, in unit of 1024TU */ 50 /* n-mode support capability */ 82 #define EDCF_ECW2CW(exp) ((1 << (exp)) - 1) [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/ |
| H A D | vidioc-enum-freq-bands.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_ENUM_FREQ_BANDS - Enumerate supported frequency bands 36 fields, and zero out the ``reserved`` array of a struct 41 of the corresponding tuner/modulator is set. 47 .. flat-table:: struct v4l2_frequency_band 48 :header-rows: 0 49 :stub-columns: 0 52 * - __u32 53 - ``tuner`` 54 - The tuner or modulator index number. This is the same value as in [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/quantenna/qtnfmac/ |
| H A D | commands.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Copyright (c) 2015-2016 Quantenna Communications. All rights reserved. */ 25 if (unlikely(le16_to_cpu(resp->cmd_id) != cmd_id)) { in qtnf_cmd_check_reply_header() 27 mac_id, vif_id, cmd_id, le16_to_cpu(resp->cmd_id)); in qtnf_cmd_check_reply_header() 28 return -EINVAL; in qtnf_cmd_check_reply_header() 31 if (unlikely(resp->macid != mac_id)) { in qtnf_cmd_check_reply_header() 33 mac_id, vif_id, cmd_id, resp->macid); in qtnf_cmd_check_reply_header() 34 return -EINVAL; in qtnf_cmd_check_reply_header() 37 if (unlikely(resp->vifid != vif_id)) { in qtnf_cmd_check_reply_header() 39 mac_id, vif_id, cmd_id, resp->vifid); in qtnf_cmd_check_reply_header() [all …]
|
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Copyright (c) 2015-2016 Quantenna Communications. All rights reserved. */ 50 mac = bus->mac[macid]; in qtnf_core_get_mac() 81 struct qtnf_vif *vif = qtnf_netdev_get_priv(skb->dev); in qtnf_packet_send_hi_pri() 83 skb_queue_tail(&vif->high_pri_tx_queue, skb); in qtnf_packet_send_hi_pri() 84 queue_work(vif->mac->bus->hprio_workqueue, &vif->high_pri_tx_work); in qtnf_packet_send_hi_pri() 97 if (unlikely(skb->dev != ndev)) { in qtnf_netdev_hard_start_xmit() 98 pr_err_ratelimited("invalid skb->dev"); in qtnf_netdev_hard_start_xmit() 103 if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED)) { in qtnf_netdev_hard_start_xmit() 104 pr_err_ratelimited("%s: VIF not initialized\n", ndev->name); in qtnf_netdev_hard_start_xmit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/include/ |
| H A D | hal_com_phycfg.h | 3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 6 * under the terms of version 2 of the GNU General Public License as 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * You should have received a copy of the GNU General Public License along with 51 /*------------------------------Define structure----------------------------*/ 71 u32 rfLSSIReadBackPi; //LSSI RF readback data PI mode 0x8b8-8bc for Path A and B 76 //---------------------------------------------------------------------- 80 IN u8 Band, 101 OUT u8 *Rate, 102 OUT s8 *PwrByRateVal, [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | max98090.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max98090.c -- MAX98090 ALSA SoC Audio driver 5 * Copyright 2011-2012 Maxim Integrated Products 11 #include <linux/of.h> 100 { 0x46, 0x00 }, /* 46 Equalizer Band 1 Coefficient B0 */ 101 { 0x47, 0x00 }, /* 47 Equalizer Band 1 Coefficient B0 */ 102 { 0x48, 0x00 }, /* 48 Equalizer Band 1 Coefficient B0 */ 103 { 0x49, 0x00 }, /* 49 Equalizer Band 1 Coefficient B1 */ 104 { 0x4A, 0x00 }, /* 4A Equalizer Band 1 Coefficient B1 */ 105 { 0x4B, 0x00 }, /* 4B Equalizer Band 1 Coefficient B1 */ [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A D | btusb.txt | 2 --------------------------------------------------- 6 - compatible : should comply with the format "usbVID,PID" specified in 7 Documentation/devicetree/bindings/usb/usb-device.txt 8 At the time of writing, the only OF supported devices 13 "usb4ca,301a" (Qualcomm QCA6174A (Lite-On)) 17 Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt 21 - interrupt-names: (see below) 22 - interrupts : The interrupt specified by the name "wakeup" is the interrupt 23 that shall be used for out-of-band wake-on-bt. Driver will 26 platform out of band. During system resume, the irq will be [all …]
|
| /OK3568_Linux_fs/kernel/net/wireless/ |
| H A D | of.c | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 #include <linux/of.h> 33 MHZ_TO_KHZ(chan->center_freq), in wiphy_freq_limits_valid_chan() 45 enum nl80211_band band; in wiphy_freq_limits_apply() local 51 for (band = 0; band < NUM_NL80211_BANDS; band++) { in wiphy_freq_limits_apply() 52 struct ieee80211_supported_band *sband = wiphy->bands[band]; in wiphy_freq_limits_apply() 57 for (i = 0; i < sband->n_channels; i++) { in wiphy_freq_limits_apply() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/include/ |
| H A D | hal_com_phycfg.h | 3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 6 * under the terms of version 2 of the GNU General Public License as 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * You should have received a copy of the GNU General Public License along with 61 /*------------------------------Define structure----------------------------*/ 81 u32 rfLSSIReadBackPi; //LSSI RF readback data PI mode 0x8b8-8bc for Path A and B 86 //---------------------------------------------------------------------- 97 IN u8 Band, 116 OUT u8* RateIndex, 117 OUT s8* PwrByRateVal, [all …]
|