| /OK3568_Linux_fs/kernel/Documentation/core-api/ |
| H A D | packing.rst | 6 ----------------- 10 One can memory-map a pointer to a carefully crafted struct over the hardware 15 definitions from the hardware documentation into bit field indices for the 18 (sometimes even 64 bit ones). This creates the inconvenience of having to 23 were performed byte-by-byte. Also the code can easily get cluttered, and the 24 high-level idea might get lost among the many bit shifts required. 25 Many drivers take the bit-shifting approach and then attempt to reduce the 30 ------------ 34 - Packing a CPU-usable number into a memory buffer (with hardware 36 - Unpacking a memory buffer (which has hardware constraints/quirks) [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/rtl8188f/ |
| H A D | halhwimg8188f_rf.c | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 30 u8 _board_type = ((dm->board_type & BIT(4)) >> 4) << 0 | /* _GLNA*/ in check_positive() 31 ((dm->board_type & BIT(3)) >> 3) << 1 | /* _GPA*/ in check_positive() 32 ((dm->board_type & BIT(7)) >> 7) << 2 | /* _ALNA*/ in check_positive() 33 ((dm->board_type & BIT(6)) >> 6) << 3 | /* _APA */ in check_positive() 34 ((dm->board_type & BIT(2)) >> 2) << 4 | /* _BT*/ in check_positive() 35 ((dm->board_type & BIT(1)) >> 1) << 5 | /* _NGFF*/ in check_positive() 36 ((dm->board_type & BIT(5)) >> 5) << 6; /* _TRSWT*/ in check_positive() 40 u8 cut_version_for_para = (dm->cut_version == ODM_CUT_A) ? 15 : dm->cut_version; in check_positive() 41 u8 pkg_type_for_para = (dm->package_type == 0) ? 15 : dm->package_type; in check_positive() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/rtl8188f/ |
| H A D | halhwimg8188f_rf.c | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 30 u8 _board_type = ((dm->board_type & BIT(4)) >> 4) << 0 | /* _GLNA*/ in check_positive() 31 ((dm->board_type & BIT(3)) >> 3) << 1 | /* _GPA*/ in check_positive() 32 ((dm->board_type & BIT(7)) >> 7) << 2 | /* _ALNA*/ in check_positive() 33 ((dm->board_type & BIT(6)) >> 6) << 3 | /* _APA */ in check_positive() 34 ((dm->board_type & BIT(2)) >> 2) << 4 | /* _BT*/ in check_positive() 35 ((dm->board_type & BIT(1)) >> 1) << 5 | /* _NGFF*/ in check_positive() 36 ((dm->board_type & BIT(5)) >> 5) << 6; /* _TRSWT*/ in check_positive() 40 u8 cut_version_for_para = (dm->cut_version == ODM_CUT_A) ? 15 : dm->cut_version; in check_positive() 41 u8 pkg_type_for_para = (dm->package_type == 0) ? 15 : dm->package_type; in check_positive() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/rtl8703b/ |
| H A D | halhwimg8703b_rf.c | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 30 u8 _board_type = ((dm->board_type & BIT(4)) >> 4) << 0 | /* _GLNA*/ in check_positive() 31 ((dm->board_type & BIT(3)) >> 3) << 1 | /* _GPA*/ in check_positive() 32 ((dm->board_type & BIT(7)) >> 7) << 2 | /* _ALNA*/ in check_positive() 33 ((dm->board_type & BIT(6)) >> 6) << 3 | /* _APA */ in check_positive() 34 ((dm->board_type & BIT(2)) >> 2) << 4 | /* _BT*/ in check_positive() 35 ((dm->board_type & BIT(1)) >> 1) << 5 | /* _NGFF*/ in check_positive() 36 ((dm->board_type & BIT(5)) >> 5) << 6; /* _TRSWT*/ in check_positive() 40 u8 cut_version_for_para = (dm->cut_version == ODM_CUT_A) ? 15 : dm->cut_version; in check_positive() 41 u8 pkg_type_for_para = (dm->package_type == 0) ? 15 : dm->package_type; in check_positive() [all …]
|
| /OK3568_Linux_fs/kernel/arch/alpha/kernel/ |
| H A D | sys_sable.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Code supporting the Sable, Sable-Gamma, and Lynx systems. 39 /* Note mask bit is true for DISABLED irqs. */ 42 void (*update_irq_hw)(unsigned long bit, unsigned long mask); 43 void (*ack_irq_hw)(unsigned long bit); 55 * For SABLE, which is really baroque, we manage 40 IRQ's, but the 58 * 0-7 (char at 536) 59 * 8-15 (char at 53a) 60 * 16-23 (char at 53c) 64 * Bit Meaning Kernel IRQ [all …]
|
| H A D | sys_wildfire.c | 1 // SPDX-License-Identifier: GPL-2.0 41 int qbbno = (irq >> 8) & (WILDFIRE_MAX_QBB - 1); in wildfire_update_irq_hw() 42 int pcano = (irq >> 6) & (WILDFIRE_PCA_PER_QBB - 1); in wildfire_update_irq_hw() 49 " got irq %d for non-existent PCA %d" in wildfire_update_irq_hw() 57 enable0 = (unsigned long *) &pca->pca_int[0].enable; /* ??? */ in wildfire_update_irq_hw() 72 enable0 = (unsigned long *) &pca->pca_int[0].enable; in wildfire_init_irq_hw() 73 enable1 = (unsigned long *) &pca->pca_int[1].enable; in wildfire_init_irq_hw() 74 enable2 = (unsigned long *) &pca->pca_int[2].enable; in wildfire_init_irq_hw() 75 enable3 = (unsigned long *) &pca->pca_int[3].enable; in wildfire_init_irq_hw() 77 target0 = (unsigned long *) &pca->pca_int[0].target; in wildfire_init_irq_hw() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/rtl8188f/ |
| H A D | halhwimg8188f_rf.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2017 Realtek Corporation. 31 u8 _board_type = ((dm->board_type & BIT(4)) >> 4) << 0 | /* _GLNA*/ in check_positive() 32 ((dm->board_type & BIT(3)) >> 3) << 1 | /* _GPA*/ in check_positive() 33 ((dm->board_type & BIT(7)) >> 7) << 2 | /* _ALNA*/ in check_positive() 34 ((dm->board_type & BIT(6)) >> 6) << 3 | /* _APA */ in check_positive() 35 ((dm->board_type & BIT(2)) >> 2) << 4 | /* _BT*/ in check_positive() 36 ((dm->board_type & BIT(1)) >> 1) << 5 | /* _NGFF*/ in check_positive() 37 ((dm->board_type & BIT(5)) >> 5) << 6; /* _TRSWT*/ in check_positive() 41 u8 cut_version_for_para = (dm->cut_version == ODM_CUT_A) ? 15 : dm->cut_version; in check_positive() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/rtl8188f/ |
| H A D | halhwimg8188f_rf.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2017 Realtek Corporation. 31 u8 _board_type = ((dm->board_type & BIT(4)) >> 4) << 0 | /* _GLNA*/ in check_positive() 32 ((dm->board_type & BIT(3)) >> 3) << 1 | /* _GPA*/ in check_positive() 33 ((dm->board_type & BIT(7)) >> 7) << 2 | /* _ALNA*/ in check_positive() 34 ((dm->board_type & BIT(6)) >> 6) << 3 | /* _APA */ in check_positive() 35 ((dm->board_type & BIT(2)) >> 2) << 4 | /* _BT*/ in check_positive() 36 ((dm->board_type & BIT(1)) >> 1) << 5 | /* _NGFF*/ in check_positive() 37 ((dm->board_type & BIT(5)) >> 5) << 6; /* _TRSWT*/ in check_positive() 41 u8 cut_version_for_para = (dm->cut_version == ODM_CUT_A) ? 15 : dm->cut_version; in check_positive() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/phydm/rtl8723b/ |
| H A D | halhwimg8723b_rf.c | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 30 u8 _board_type = ((p_dm->board_type & BIT(4)) >> 4) << 0 | /* _GLNA*/ in check_positive() 31 ((p_dm->board_type & BIT(3)) >> 3) << 1 | /* _GPA*/ in check_positive() 32 ((p_dm->board_type & BIT(7)) >> 7) << 2 | /* _ALNA*/ in check_positive() 33 ((p_dm->board_type & BIT(6)) >> 6) << 3 | /* _APA */ in check_positive() 34 ((p_dm->board_type & BIT(2)) >> 2) << 4 | /* _BT*/ in check_positive() 35 ((p_dm->board_type & BIT(1)) >> 1) << 5 | /* _NGFF*/ in check_positive() 36 ((p_dm->board_type & BIT(5)) >> 5) << 6; /* _TRSWT*/ in check_positive() 40 u8 cut_version_for_para = (p_dm->cut_version == ODM_CUT_A) ? 15 : p_dm->cut_version; in check_positive() 41 u8 pkg_type_for_para = (p_dm->package_type == 0) ? 15 : p_dm->package_type; in check_positive() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/ |
| H A D | nand_ids.c | 28 LEGACY_ID_NAND("NAND 1MiB 5V 8-bit", 0x6e, 1, SZ_4K, SP_OPTIONS), 29 LEGACY_ID_NAND("NAND 2MiB 5V 8-bit", 0x64, 2, SZ_4K, SP_OPTIONS), 30 LEGACY_ID_NAND("NAND 1MiB 3,3V 8-bit", 0xe8, 1, SZ_4K, SP_OPTIONS), 31 LEGACY_ID_NAND("NAND 1MiB 3,3V 8-bit", 0xec, 1, SZ_4K, SP_OPTIONS), 32 LEGACY_ID_NAND("NAND 2MiB 3,3V 8-bit", 0xea, 2, SZ_4K, SP_OPTIONS), 33 LEGACY_ID_NAND("NAND 4MiB 3,3V 8-bit", 0xd5, 4, SZ_8K, SP_OPTIONS), 35 LEGACY_ID_NAND("NAND 8MiB 3,3V 8-bit", 0xe6, 8, SZ_8K, SP_OPTIONS), 42 {"TC58NVG0S3E 1G 3.3V 8-bit", 46 {"TC58NVG2S0F 4G 3.3V 8-bit", 49 {"TC58NVG2S0H 4G 3.3V 8-bit", [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/ufs/ |
| H A D | tc-dwc-g210-pltfrm.txt | 3 DWC_UFS nodes are defined to describe on-chip UFS host controllers and MPHY. 7 - compatible : compatible list must contain the PHY type & version: 8 "snps,g210-tc-6.00-20bit" 9 "snps,g210-tc-6.00-40bit" 11 "snps,dwc-ufshcd-1.40a" 13 "jedec,ufs-1.1" 14 "jedec,ufs-2.0" 16 - reg : <registers mapping> 17 - interrupts : <interrupt mapping for UFS host controller IRQ> 19 Example for a setup using a 1.40a DWC Controller with a 6.00 G210 40-bit TC: [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/phydm/rtl8723d/ |
| H A D | halhwimg8723d_rf.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2017 Realtek Corporation. 31 u8 _board_type = ((dm->board_type & BIT(4)) >> 4) << 0 | /* _GLNA*/ in check_positive() 32 ((dm->board_type & BIT(3)) >> 3) << 1 | /* _GPA*/ in check_positive() 33 ((dm->board_type & BIT(7)) >> 7) << 2 | /* _ALNA*/ in check_positive() 34 ((dm->board_type & BIT(6)) >> 6) << 3 | /* _APA */ in check_positive() 35 ((dm->board_type & BIT(2)) >> 2) << 4 | /* _BT*/ in check_positive() 36 ((dm->board_type & BIT(1)) >> 1) << 5 | /* _NGFF*/ in check_positive() 37 ((dm->board_type & BIT(5)) >> 5) << 6; /* _TRSWT*/ in check_positive() 41 u8 cut_version_for_para = (dm->cut_version == ODM_CUT_A) ? 15 : dm->cut_version; in check_positive() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/rtl8723d/ |
| H A D | halhwimg8723d_rf.c | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 30 u8 _board_type = ((dm->board_type & BIT(4)) >> 4) << 0 | /* _GLNA*/ in check_positive() 31 ((dm->board_type & BIT(3)) >> 3) << 1 | /* _GPA*/ in check_positive() 32 ((dm->board_type & BIT(7)) >> 7) << 2 | /* _ALNA*/ in check_positive() 33 ((dm->board_type & BIT(6)) >> 6) << 3 | /* _APA */ in check_positive() 34 ((dm->board_type & BIT(2)) >> 2) << 4 | /* _BT*/ in check_positive() 35 ((dm->board_type & BIT(1)) >> 1) << 5 | /* _NGFF*/ in check_positive() 36 ((dm->board_type & BIT(5)) >> 5) << 6; /* _TRSWT*/ in check_positive() 40 u8 cut_version_for_para = (dm->cut_version == ODM_CUT_A) ? 15 : dm->cut_version; in check_positive() 41 u8 pkg_type_for_para = (dm->package_type == 0) ? 15 : dm->package_type; in check_positive() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/auxdisplay/ |
| H A D | panel.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> 5 * Copyright (C) 2016-2017 Glider bvba 10 * The LCD module may either be an HD44780-like 8-bit parallel LCD, or a 1-bit 15 * data output pins or to the ground. The combinations have to be hard-coded 22 * - the initialization/deinitialization process is very dirty and should 26 * - document 24 keys keyboard (3 rows of 8 cols, 32 diodes + 2 inputs) 27 * - make the LCD a part of a virtual screen of Vx*Vy 28 * - make the inputs list smp-safe 29 * - change the keyboard to a double mapping : signals -> key_id -> values [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/nohash/32/ |
| H A D | pte-40x.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * At present, all PowerPC 400-class processors share a similar TLB 9 * 64-entry, fully-associative TLB which is maintained totally under 11 * hardware-managed, 4-entry, fully-associative TLB which serves as a 15 * There are several potential gotchas here. The 40x hardware TLBLO 23 * - bits 20 and 21 must be cleared, because we use 4k pages (40x can 26 * - We use only zones 0 (for kernel pages) and 1 (for user pages) 27 * of the 16 available. Bit 24-26 of the TLB are cleared in the TLB 28 * miss handler. Bit 27 is PAGE_USER, thus selecting the correct 30 * - PRESENT *must* be in the bottom two bits because swap cache [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/loongson64/ |
| H A D | dma.c | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <linux/dma-direct.h> 9 /* We extract 2bit node id (bit 44~47, only bit 44~45 used now) from in phys_to_dma() 10 * Loongson-3's 48bit address space and embed it into 40bit */ in phys_to_dma() 18 /* We extract 2bit node id (bit 44~47, only bit 44~45 used now) from in dma_to_phys() 19 * Loongson-3's 48bit address space and embed it into 40bit */ in dma_to_phys()
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | pxa3xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 (gpio <= 26) ? (0x027c + 4 * (gpio - 3)) : \ 8 (gpio <= 98) ? (0x0400 + 4 * (gpio - 27)) : \ 9 (gpio <= 127) ? (0x0600 + 4 * (gpio - 99)) : \ 18 (gpio <= 26) ? (0x027c + 4 * (gpio - 3)) : \ 19 (gpio <= 29) ? (0x0400 + 4 * (gpio - 27)) : \ 20 (gpio <= 98) ? (0x0418 + 4 * (gpio - 30)) : \ 21 (gpio <= 127) ? (0x0600 + 4 * (gpio - 99)) : \ 23 (gpio <= 268) ? (0x052c + 4 * (gpio - 263)) : \ 33 (gpio <= 9) ? (0x028c + 4 * (gpio - 5)) : \ [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/octeon/ |
| H A D | cvmx.h | 7 * Copyright (c) 2003-2017 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 42 /* These macros for use when using 32 bit pointers. */ 56 #include <asm/octeon/cvmx-asm.h> 57 #include <asm/octeon/cvmx-packet.h> 58 #include <asm/octeon/cvmx-sysinfo.h> 60 #include <asm/octeon/cvmx-ciu-defs.h> 61 #include <asm/octeon/cvmx-ciu3-defs.h> 62 #include <asm/octeon/cvmx-gpio-defs.h> [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/pinctrl/ |
| H A D | pinctrl-sti.c | 7 * SPDX-License-Identifier: GPL-2.0 29 /* User-frendly defines for Pin Direction */ 61 int alt = pin_desc->alt; in sti_alternate_select() 62 int bank = pin_desc->bank; in sti_alternate_select() 63 int pin = pin_desc->pin; in sti_alternate_select() 65 sysconfreg = (unsigned long *)plat->regmap->base; in sti_alternate_select() 72 sysconfreg += bank - 10; in sti_alternate_select() 75 sysconfreg += bank - 30; in sti_alternate_select() 77 case 40 ... 42: /* in "FLASH Bank" */ in sti_alternate_select() 78 sysconfreg += bank - 40; in sti_alternate_select() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/phy/marvell/ |
| H A D | comphy_a3700.c | 2 * Copyright (C) 2015-2016 Marvell International Ltd. 4 * SPDX-License-Identifier: GPL-2.0+ 22 /* Changes to 40M1G25 mode data required for running 40M3G125 init mode */ 33 /* 40M1G25 mode init data */ 36 /*-----------------------------------------------------------*/ 46 0x3100, 0xA708, 0x2430, 0x0830, 0x1030, 0x4610, 0xFF00, 0xFF00, /* 40 */ 114 for (; timeout > 0; timeout--) { in comphy_poll_reg() 116 rval = readw(addr); /* 16 bit */ in comphy_poll_reg() 118 rval = readl(addr) ; /* 32 bit */ in comphy_poll_reg() 148 * 2. Select 20 bit SERDES interface. in comphy_pcie_power_up() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/ |
| H A D | cfp.c | 4 * Copyright 2011-2020 NXP 11 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 12 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 14 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 78 /* LGI 40M */ 82 /* SGI 40M */ 113 /* LG 40M */ 117 /* SG 40M */ 146 /* LG 40M */ 150 /* SG 40M */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-ep93xx/ |
| H A D | timer-ep93xx.c | 1 // SPDX-License-Identifier: GPL-2.0 16 * The ep93xx has four internal timers. Timers 1, 2 (both 16 bit) and 17 * 3 (32 bit) count down at 508 kHz, are self-reloading, and can generate 18 * an interrupt on underflow. Timer 4 (40 bit) counts down at 983.04 kHz, 19 * is free-running, and can't generate interrupts. 22 * most common values of HZ divide 508 kHz nicely. We pick the 32 bit 28 * a stable 40 bit time base. 115 evt->event_handler(evt); in ep93xx_timer_interrupt() 129 EP93XX_TIMER4_RATE, 200, 40, in ep93xx_timer_init() 131 sched_clock_register(ep93xx_read_sched_clock, 40, in ep93xx_timer_init()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/phydm/ |
| H A D | phydm_acs.c | 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 30 struct _ACS_ *p_acs = &p_dm->dm_acs; in odm_get_auto_channel_select_result() 36 PHYDM_DBG(p_dm, ODM_COMP_API, ("clean_CH_2g=%d\n", p_acs->clean_channel_2g)); in odm_get_auto_channel_select_result() 37 return (u8)p_acs->clean_channel_2g; in odm_get_auto_channel_select_result() 39 PHYDM_DBG(p_dm, ODM_COMP_API, ("clean_CH_5g=%d\n", p_acs->clean_channel_5g)); in odm_get_auto_channel_select_result() 40 return (u8)p_acs->clean_channel_5g; in odm_get_auto_channel_select_result() 43 return (u8)p_acs->clean_channel_2g; in odm_get_auto_channel_select_result() 55 struct _ACS_ *p_acs = &p_dm->dm_acs; in odm_auto_channel_select_init() 58 if (!(p_dm->support_ability & ODM_BB_ENV_MONITOR)) in odm_auto_channel_select_init() 61 if (p_acs->is_force_acs_result) in odm_auto_channel_select_init() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | msm8916-wcd-digital.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #define CLK_RX_RESET_B1_CTL_TX1_RESET_MASK BIT(0) 22 #define CLK_RX_RESET_B1_CTL_TX2_RESET_MASK BIT(1) 30 #define DMIC_B1_CTL_DMIC0_CLK_EN_MASK BIT(0) 31 #define DMIC_B1_CTL_DMIC0_CLK_EN_ENABLE BIT(0) 34 #define RX_I2S_CTL_RX_I2S_MODE_MASK BIT(5) 35 #define RX_I2S_CTL_RX_I2S_MODE_16 BIT(5) 45 #define TX_I2S_CTL_TX_I2S_MODE_MASK BIT(5) 46 #define TX_I2S_CTL_TX_I2S_MODE_16 BIT(5) 61 #define MCLK_CTL_MCLK_EN_MASK BIT(0) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/ |
| H A D | phydm_psd.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2017 Realtek Corporation. 37 struct psd_info *dm_psd_table = &dm->dm_psd_table; in phydm_get_psd_data() 40 if (dm->support_ic_type & ODM_IC_JGR3_SERIES) { in phydm_get_psd_data() 42 if (dm->support_ic_type & (ODM_RTL8723F)) { in phydm_get_psd_data() 43 odm_set_bb_reg(dm, dm_psd_table->psd_reg, 0x3ff80000, psd_tone_idx & 0x7ff); in phydm_get_psd_data() 45 odm_set_bb_reg(dm, dm_psd_table->psd_reg, BIT(16), 1); in phydm_get_psd_data() 46 ODM_delay_us(10 << (dm_psd_table->fft_smp_point >> 7)); in phydm_get_psd_data() 48 odm_set_bb_reg(dm, dm_psd_table->psd_reg, BIT(16), 0); in phydm_get_psd_data() 53 odm_set_bb_reg(dm, R_0x1e88, BIT(27) | BIT(26), in phydm_get_psd_data() [all …]
|