Home
last modified time | relevance | path

Searched full:rf (Results 1 – 25 of 847) sorted by relevance

12345678910>>...34

/Linux-v6.6/drivers/infiniband/hw/irdma/
Dhw.c72 * @rf: RDMA PCI function
75 static void irdma_puda_ce_handler(struct irdma_pci_f *rf, in irdma_puda_ce_handler() argument
78 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_puda_ce_handler()
102 * @rf: RDMA PCI function
105 static void irdma_process_ceq(struct irdma_pci_f *rf, struct irdma_ceq *ceq) in irdma_process_ceq() argument
107 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_process_ceq()
127 queue_work(rf->cqp_cmpl_wq, &rf->cqp_cmpl_work); in irdma_process_ceq()
130 irdma_puda_ce_handler(rf, cq); in irdma_process_ceq()
211 * @rf: RDMA PCI function
213 static void irdma_process_aeq(struct irdma_pci_f *rf) in irdma_process_aeq() argument
[all …]
Dmain.c98 irdma_log_invalid_mtu(l2params.mtu, &iwdev->rf->sc_dev); in irdma_iidc_event_handler()
116 if (iwdev->rf->protocol_used != IRDMA_IWARP_PROTOCOL_ONLY) in irdma_iidc_event_handler()
125 pe_criterr = readl(iwdev->rf->sc_dev.hw_regs[IRDMA_GLPE_CRITERR]); in irdma_iidc_event_handler()
130 iwdev->rf->reset = true; in irdma_iidc_event_handler()
137 iwdev->rf->reset = true; in irdma_iidc_event_handler()
141 iwdev->rf->reset = true; in irdma_iidc_event_handler()
143 if (iwdev->rf->reset) in irdma_iidc_event_handler()
144 iwdev->rf->gen_ops.request_reset(iwdev->rf); in irdma_iidc_event_handler()
150 * @rf: RDMA PCI function
152 static void irdma_request_reset(struct irdma_pci_f *rf) in irdma_request_reset() argument
[all …]
Di40iw_if.c58 iwdev->rf->reset = true; in i40iw_close()
66 static void i40iw_request_reset(struct irdma_pci_f *rf) in i40iw_request_reset() argument
68 struct i40e_info *cdev_info = rf->cdev; in i40iw_request_reset()
75 struct irdma_pci_f *rf = iwdev->rf; in i40iw_fill_device_info() local
77 rf->rdma_ver = IRDMA_GEN_1; in i40iw_fill_device_info()
78 rf->gen_ops.request_reset = i40iw_request_reset; in i40iw_fill_device_info()
79 rf->pcidev = cdev_info->pcidev; in i40iw_fill_device_info()
80 rf->pf_id = cdev_info->fid; in i40iw_fill_device_info()
81 rf->hw.hw_addr = cdev_info->hw_addr; in i40iw_fill_device_info()
82 rf->cdev = cdev_info; in i40iw_fill_device_info()
[all …]
Dutils.c7 * @rf: RDMA PCI function
13 int irdma_arp_table(struct irdma_pci_f *rf, u32 *ip_addr, bool ipv4, in irdma_arp_table() argument
25 spin_lock_irqsave(&rf->arp_lock, flags); in irdma_arp_table()
26 for (arp_index = 0; (u32)arp_index < rf->arp_table_size; arp_index++) { in irdma_arp_table()
27 if (!memcmp(rf->arp_table[arp_index].ip_addr, ip, sizeof(ip))) in irdma_arp_table()
33 if (arp_index != rf->arp_table_size) { in irdma_arp_table()
39 if (irdma_alloc_rsrc(rf, rf->allocated_arps, rf->arp_table_size, in irdma_arp_table()
40 (u32 *)&arp_index, &rf->next_arp_index)) { in irdma_arp_table()
45 memcpy(rf->arp_table[arp_index].ip_addr, ip, in irdma_arp_table()
46 sizeof(rf->arp_table[arp_index].ip_addr)); in irdma_arp_table()
[all …]
Dverbs.c16 struct irdma_pci_f *rf = iwdev->rf; in irdma_query_device() local
17 struct pci_dev *pcidev = iwdev->rf->pcidev; in irdma_query_device()
18 struct irdma_hw_attrs *hw_attrs = &rf->sc_dev.hw_attrs; in irdma_query_device()
26 props->fw_ver = (u64)irdma_fw_major_ver(&rf->sc_dev) << 32 | in irdma_query_device()
27 irdma_fw_minor_ver(&rf->sc_dev); in irdma_query_device()
34 props->hw_ver = rf->pcidev->revision; in irdma_query_device()
37 props->max_qp = rf->max_qp - rf->used_qps; in irdma_query_device()
41 props->max_cq = rf->max_cq - rf->used_cqs; in irdma_query_device()
42 props->max_cqe = rf->max_cqe - 1; in irdma_query_device()
43 props->max_mr = rf->max_mr - rf->used_mrs; in irdma_query_device()
[all …]
Dmain.h194 struct irdma_pci_f *rf; member
246 void (*request_reset)(struct irdma_pci_f *rf);
335 struct irdma_pci_f *rf; member
421 static inline int irdma_alloc_rsrc(struct irdma_pci_f *rf, in irdma_alloc_rsrc() argument
428 spin_lock_irqsave(&rf->rsrc_lock, flags); in irdma_alloc_rsrc()
433 spin_unlock_irqrestore(&rf->rsrc_lock, flags); in irdma_alloc_rsrc()
434 ibdev_dbg(&rf->iwdev->ibdev, in irdma_alloc_rsrc()
445 spin_unlock_irqrestore(&rf->rsrc_lock, flags); in irdma_alloc_rsrc()
456 static inline void irdma_free_rsrc(struct irdma_pci_f *rf, in irdma_free_rsrc() argument
461 spin_lock_irqsave(&rf->rsrc_lock, flags); in irdma_free_rsrc()
[all …]
/Linux-v6.6/drivers/media/test-drivers/vicodec/
Dcodec-v4l2-fwht.c94 static int prepare_raw_frame(struct fwht_raw_frame *rf, in prepare_raw_frame() argument
98 rf->luma = buf; in prepare_raw_frame()
99 rf->width_div = info->width_div; in prepare_raw_frame()
100 rf->height_div = info->height_div; in prepare_raw_frame()
101 rf->luma_alpha_step = info->luma_alpha_step; in prepare_raw_frame()
102 rf->chroma_step = info->chroma_step; in prepare_raw_frame()
103 rf->alpha = NULL; in prepare_raw_frame()
104 rf->components_num = info->components_num; in prepare_raw_frame()
111 rf->luma = NULL; in prepare_raw_frame()
112 rf->cb = NULL; in prepare_raw_frame()
[all …]
/Linux-v6.6/drivers/net/wireless/zydas/zd1211rw/
Dzd_rf.c42 void zd_rf_init(struct zd_rf *rf) in zd_rf_init() argument
44 memset(rf, 0, sizeof(*rf)); in zd_rf_init()
46 /* default to update channel integration, as almost all RF's do want in zd_rf_init()
48 rf->update_channel_int = 1; in zd_rf_init()
51 void zd_rf_clear(struct zd_rf *rf) in zd_rf_clear() argument
53 if (rf->clear) in zd_rf_clear()
54 rf->clear(rf); in zd_rf_clear()
55 ZD_MEMCLEAR(rf, sizeof(*rf)); in zd_rf_clear()
58 int zd_rf_init_hw(struct zd_rf *rf, u8 type) in zd_rf_init_hw() argument
62 struct zd_chip *chip = zd_rf_to_chip(rf); in zd_rf_init_hw()
[all …]
Dzd_rf.h28 /* Provides functions of the RF transceiver. */
47 * be done for all RF's, but a bug in their code prevents but their
51 /* private RF driver data */
54 /* RF-specific functions */
55 int (*init_hw)(struct zd_rf *rf);
56 int (*set_channel)(struct zd_rf *rf, u8 channel);
57 int (*switch_radio_on)(struct zd_rf *rf);
58 int (*switch_radio_off)(struct zd_rf *rf);
59 int (*patch_6m_band_edge)(struct zd_rf *rf, u8 channel);
60 void (*clear)(struct zd_rf *rf);
[all …]
Dzd_rf_al7230b.c87 static int zd1211_al7230b_init_hw(struct zd_rf *rf) in zd1211_al7230b_init_hw() argument
90 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211_al7230b_init_hw()
192 static int zd1211b_al7230b_init_hw(struct zd_rf *rf) in zd1211b_al7230b_init_hw() argument
195 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211b_al7230b_init_hw()
313 static int zd1211_al7230b_set_channel(struct zd_rf *rf, u8 channel) in zd1211_al7230b_set_channel() argument
317 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211_al7230b_set_channel()
360 static int zd1211b_al7230b_set_channel(struct zd_rf *rf, u8 channel) in zd1211b_al7230b_set_channel() argument
364 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211b_al7230b_set_channel()
407 static int zd1211_al7230b_switch_radio_on(struct zd_rf *rf) in zd1211_al7230b_switch_radio_on() argument
409 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211_al7230b_switch_radio_on()
[all …]
Dzd_rf_al2230.c14 #define IS_AL2230S(chip) ((chip)->al2230s_bit || (chip)->rf.type == AL2230S_RF)
92 static int zd1211_al2230_init_hw(struct zd_rf *rf) in zd1211_al2230_init_hw() argument
95 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211_al2230_init_hw()
205 static int zd1211b_al2230_init_hw(struct zd_rf *rf) in zd1211b_al2230_init_hw() argument
208 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211b_al2230_init_hw()
347 static int zd1211_al2230_set_channel(struct zd_rf *rf, u8 channel) in zd1211_al2230_set_channel() argument
351 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211_al2230_set_channel()
363 static int zd1211b_al2230_set_channel(struct zd_rf *rf, u8 channel) in zd1211b_al2230_set_channel() argument
367 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211b_al2230_set_channel()
381 static int zd1211_al2230_switch_radio_on(struct zd_rf *rf) in zd1211_al2230_switch_radio_on() argument
[all …]
/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Drf.c8 #include "rf.h"
100 "CCK PWR 1M (rf-A) = 0x%x (reg 0x%x)\n", tmpval, in rtl8723e_phy_rf6052_set_cck_txpower()
110 "CCK PWR 2~11M (rf-A) = 0x%x (reg 0x%x)\n", tmpval, in rtl8723e_phy_rf6052_set_cck_txpower()
117 "CCK PWR 11M (rf-B) = 0x%x (reg 0x%x)\n", tmpval, in rtl8723e_phy_rf6052_set_cck_txpower()
124 "CCK PWR 1~5.5M (rf-B) = 0x%x (reg 0x%x)\n", tmpval, in rtl8723e_phy_rf6052_set_cck_txpower()
148 " [OFDM power base index rf(%c) = 0x%x]\n", in rtl8723e_phy_get_power_base()
165 " [MCS power base index rf(%c) = 0x%x]\n", in rtl8723e_phy_get_power_base()
180 u32 writeval, customer_limit, rf; in get_txpower_writeval_by_reg() local
182 for (rf = 0; rf < 2; rf++) { in get_txpower_writeval_by_reg()
189 (rf ? 8 : 0)] in get_txpower_writeval_by_reg()
[all …]
/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Drf.c8 #include "rf.h"
96 "CCK PWR 1M (rf-A) = 0x%x (reg 0x%x)\n", in rtl92ce_phy_rf6052_set_cck_txpower()
106 "CCK PWR 2~11M (rf-A) = 0x%x (reg 0x%x)\n", in rtl92ce_phy_rf6052_set_cck_txpower()
113 "CCK PWR 11M (rf-B) = 0x%x (reg 0x%x)\n", in rtl92ce_phy_rf6052_set_cck_txpower()
120 "CCK PWR 1~5.5M (rf-B) = 0x%x (reg 0x%x)\n", in rtl92ce_phy_rf6052_set_cck_txpower()
144 " [OFDM power base index rf(%c) = 0x%x]\n", in rtl92c_phy_get_power_base()
160 " [MCS power base index rf(%c) = 0x%x]\n", in rtl92c_phy_get_power_base()
175 u32 writeval, customer_limit, rf; in _rtl92c_get_txpower_writeval_by_regulatory() local
177 for (rf = 0; rf < 2; rf++) { in _rtl92c_get_txpower_writeval_by_regulatory()
183 (rf ? 8 : 0)] in _rtl92c_get_txpower_writeval_by_regulatory()
[all …]
/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Drf.c8 #include "rf.h"
107 "CCK PWR 1~11M (rf-A) = 0x%x (reg 0x%x)\n", tmpval, in rtl8821ae_phy_rf6052_set_cck_txpower()
114 "CCK PWR 11M (rf-B) = 0x%x (reg 0x%x)\n", tmpval, in rtl8821ae_phy_rf6052_set_cck_txpower()
136 " [OFDM power base index rf(%c) = 0x%x]\n", in rtl8821ae_phy_get_power_base()
153 " [MCS power base index rf(%c) = 0x%x]\n", in rtl8821ae_phy_get_power_base()
168 u32 writeval, customer_limit, rf; in get_txpower_writeval_by_regulatory() local
170 for (rf = 0; rf < 2; rf++) { in get_txpower_writeval_by_regulatory()
177 (rf ? 8 : 0)] in get_txpower_writeval_by_regulatory()
178 + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in get_txpower_writeval_by_regulatory()
182 ((rf == 0) ? 'A' : 'B'), writeval); in get_txpower_writeval_by_regulatory()
[all …]
/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Drf.c8 #include "rf.h"
107 "CCK PWR 1M (rf-A) = 0x%x (reg 0x%x)\n", tmpval, in rtl8723be_phy_rf6052_set_cck_txpower()
117 "CCK PWR 2~11M (rf-A) = 0x%x (reg 0x%x)\n", tmpval, in rtl8723be_phy_rf6052_set_cck_txpower()
124 "CCK PWR 11M (rf-B) = 0x%x (reg 0x%x)\n", tmpval, in rtl8723be_phy_rf6052_set_cck_txpower()
131 "CCK PWR 1~5.5M (rf-B) = 0x%x (reg 0x%x)\n", tmpval, in rtl8723be_phy_rf6052_set_cck_txpower()
154 " [OFDM power base index rf(%c) = 0x%x]\n", in rtl8723be_phy_get_power_base()
171 " [MCS power base index rf(%c) = 0x%x]\n", in rtl8723be_phy_get_power_base()
187 u32 writeval, customer_limit, rf; in _rtl8723be_get_txpower_writeval_by_regulatory() local
189 for (rf = 0; rf < 2; rf++) { in _rtl8723be_get_txpower_writeval_by_regulatory()
196 (rf ? 8 : 0)] in _rtl8723be_get_txpower_writeval_by_regulatory()
[all …]
/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Drf.c8 #include "rf.h"
108 "CCK PWR 1M (rf-A) = 0x%x (reg 0x%x)\n", tmpval, in rtl88e_phy_rf6052_set_cck_txpower()
118 "CCK PWR 2~11M (rf-A) = 0x%x (reg 0x%x)\n", tmpval, in rtl88e_phy_rf6052_set_cck_txpower()
125 "CCK PWR 11M (rf-B) = 0x%x (reg 0x%x)\n", tmpval, in rtl88e_phy_rf6052_set_cck_txpower()
132 "CCK PWR 1~5.5M (rf-B) = 0x%x (reg 0x%x)\n", tmpval, in rtl88e_phy_rf6052_set_cck_txpower()
154 " [OFDM power base index rf(%c) = 0x%x]\n", in rtl88e_phy_get_power_base()
171 " [MCS power base index rf(%c) = 0x%x]\n", in rtl88e_phy_get_power_base()
186 u32 writeval, customer_limit, rf; in _rtl88e_get_txpower_writeval_by_regulatory() local
188 for (rf = 0; rf < 2; rf++) { in _rtl88e_get_txpower_writeval_by_regulatory()
195 [chnlgroup][index + (rf ? 8 : 0)] in _rtl88e_get_txpower_writeval_by_regulatory()
[all …]
/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Drf.c8 #include "rf.h"
97 "CCK PWR 1M (rf-A) = 0x%x (reg 0x%x)\n", in rtl92cu_phy_rf6052_set_cck_txpower()
105 "CCK PWR 2~11M (rf-A) = 0x%x (reg 0x%x)\n", in rtl92cu_phy_rf6052_set_cck_txpower()
110 "CCK PWR 11M (rf-B) = 0x%x (reg 0x%x)\n", in rtl92cu_phy_rf6052_set_cck_txpower()
115 "CCK PWR 1~5.5M (rf-B) = 0x%x (reg 0x%x)\n", in rtl92cu_phy_rf6052_set_cck_txpower()
138 " [OFDM power base index rf(%c) = 0x%x]\n", in rtl92c_phy_get_power_base()
151 " [MCS power base index rf(%c) = 0x%x]\n", in rtl92c_phy_get_power_base()
166 u32 writeval, customer_limit, rf; in _rtl92c_get_txpower_writeval_by_regulatory() local
168 for (rf = 0; rf < 2; rf++) { in _rtl92c_get_txpower_writeval_by_regulatory()
173 [chnlgroup][index + (rf ? 8 : 0)] in _rtl92c_get_txpower_writeval_by_regulatory()
[all …]
/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Drf.c8 #include "rf.h"
27 "20M RF 0x18 = 0x%x\n", in rtl92d_phy_rf6052_set_bandwidth()
39 "40M RF 0x18 = 0x%x\n", in rtl92d_phy_rf6052_set_bandwidth()
103 "CCK PWR 1M (rf-A) = 0x%x (reg 0x%x)\n", in rtl92d_phy_rf6052_set_cck_txpower()
108 "CCK PWR 2~11M (rf-A) = 0x%x (reg 0x%x)\n", in rtl92d_phy_rf6052_set_cck_txpower()
113 "CCK PWR 11M (rf-B) = 0x%x (reg 0x%x)\n", in rtl92d_phy_rf6052_set_cck_txpower()
118 "CCK PWR 1~5.5M (rf-B) = 0x%x (reg 0x%x)\n", in rtl92d_phy_rf6052_set_cck_txpower()
141 " [OFDM power base index rf(%c) = 0x%x]\n", in _rtl92d_phy_get_power_base()
155 " [MCS power base index rf(%c) = 0x%x]\n", in _rtl92d_phy_get_power_base()
197 u32 writeval = 0, customer_limit, rf; in _rtl92d_get_txpower_writeval_by_regulatory() local
[all …]
/Linux-v6.6/Documentation/userspace-api/media/v4l/
Dext-ctrls-rf-tuner.rst6 RF Tuner Control Reference
9 The RF Tuner (RF_TUNER) class includes controls for common features of
10 devices having RF tuner.
12 In this context, RF tuner is radio receiver circuit between antenna and
13 demodulator. It receives radio frequency (RF) from the antenna and
22 For more information about RF tuners see
24 and `RF front end <http://en.wikipedia.org/wiki/RF_front_end>`__
59 The RF amplifier is the very first amplifier on the receiver signal
61 LNA gain and the RF gain in this document is that the LNA gain is
62 integrated in the tuner chip while the RF gain is a separate chip.
[all …]
/Linux-v6.6/drivers/net/wireless/broadcom/b43/
Dradio_2055.h67 #define B2055_RF_PLLMOD0 0x3B /* RF PLL MOD0 */
68 #define B2055_RF_PLLMOD1 0x3C /* RF PLL MOD1 */
69 #define B2055_RF_MMDIDAC1 0x3D /* RF MMD IDAC 1 */
70 #define B2055_RF_MMDIDAC0 0x3E /* RF MMD IDAC 0 */
71 #define B2055_RF_MMDSP 0x3F /* RF MMD spare */
92 #define B2055_PLL_RFVTH 0x54 /* PLL RF VTH */
110 #define B2055_C1_RX_RFSPC1 0x66 /* Core 1 RX RF SPC1 */
111 #define B2055_C1_RX_RFR1 0x67 /* Core 1 RX RF reg 1 */
112 #define B2055_C1_RX_RFR2 0x68 /* Core 1 RX RF reg 2 */
113 #define B2055_C1_RX_RFRCAL 0x69 /* Core 1 RX RF RCAL */
[all …]
/Linux-v6.6/arch/arm64/crypto/
Dsm3-neon-core.S46 #define rf w8 macro
358 ldp re, rf, [RSTATE, #16]
401 R1(ra, rb, rc, rd, re, rf, rg, rh, k_even, KL, 0, 0, IW, _, 0)
402 R1(rd, ra, rb, rc, rh, re, rf, rg, k_odd, _, 1, 1, IW, _, 0)
403 R1(rc, rd, ra, rb, rg, rh, re, rf, k_even, KL, 2, 2, IW, _, 0)
404 R1(rb, rc, rd, ra, rf, rg, rh, re, k_odd, _, 3, 3, IW, _, 0)
407 R1(ra, rb, rc, rd, re, rf, rg, rh, k_even, KL, 4, 0, IW, _, 0)
408 R1(rd, ra, rb, rc, rh, re, rf, rg, k_odd, _, 5, 1, IW, _, 0)
409 R1(rc, rd, ra, rb, rg, rh, re, rf, k_even, KL, 6, 2, IW, SCHED_W_W0W1W2W3W4W5_1, 12)
410 R1(rb, rc, rd, ra, rf, rg, rh, re, k_odd, _, 7, 3, IW, SCHED_W_W0W1W2W3W4W5_2, 12)
[all …]
/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c229 rpwm_val = (FW_PS_STATE_ALL_ON_92E | FW_PS_ACK);/* RF on */ in _rtl92ee_fwlps_leave()
237 rpwm_val = FW_PS_STATE_ALL_ON_92E; /* RF on */ in _rtl92ee_fwlps_leave()
256 rpwm_val = FW_PS_STATE_RF_OFF_LOW_PWR; /* RF off */ in _rtl92ee_fwlps_enter()
264 rpwm_val = FW_PS_STATE_RF_OFF_92E; /* RF off */ in _rtl92ee_fwlps_enter()
1245 /* In MAC power on state, BB and RF maybe in ON state, in _rtl8192ee_reset_pcie_interface_dma()
1445 "Chip RF Type: %s\n", (rtlphy->rf_type == RF_2T2R) ? in _rtl92ee_read_chip_version()
1619 /* turn off RF */ in _rtl92ee_poweroff_adapter()
1789 u32 rf, addr = EEPROM_TX_PWR_INX, group, i = 0; in _rtl8192ee_read_power_value_fromprom() local
1800 for (rf = 0 ; rf < MAX_RF_PATH ; rf++) { in _rtl8192ee_read_power_value_fromprom()
1803 pwr2g->index_cck_base[rf][group] = 0x2D; in _rtl8192ee_read_power_value_fromprom()
[all …]
/Linux-v6.6/tools/memory-model/
Dlock.cat95 (* Generate all rf relations for LF events *)
97 let rf-lf = rfe-lf | rfi-lf
115 (* Generate all rf relations for RU events *)
117 let rf-ru = rfe-ru | rfi-ru
119 (* Final rf relation *)
120 let rf = rf | rf-lf | rf-ru
134 (* Merge LKR events into rf *)
135 let rf = rf | ([IW | UL] ; singlestep(co) ; lk-rmw^-1)
136 let rfe = rf & ext
137 let rfi = rf & int
[all …]
/Linux-v6.6/drivers/media/tuners/
Dtda18218_priv.h57 #define R2C_RFCAL1 0x2c /* RF CAL byte 1 */
58 #define R2D_RFCAL2 0x2d /* RF CAL byte 2 */
59 #define R2E_RFCAL3 0x2e /* RF CAL byte 3 */
60 #define R2F_RFCAL4 0x2f /* RF CAL byte 4 */
61 #define R30_RFCAL5 0x30 /* RF CAL byte 5 */
62 #define R31_RFCAL6 0x31 /* RF CAL byte 6 */
63 #define R32_RFCAL7 0x32 /* RF CAL byte 7 */
64 #define R33_RFCAL8 0x33 /* RF CAL byte 8 */
65 #define R34_RFCAL9 0x34 /* RF CAL byte 9 */
66 #define R35_RFCAL10 0x35 /* RF CAL byte 10 */
[all …]
/Linux-v6.6/drivers/thermal/qcom/
Dtsens.c338 ret = regmap_field_read(priv->rf[field], &temp); in tsens_hw_to_mC()
393 regmap_field_write(priv->rf[index], enable ? 0 : 1); in tsens_set_interrupt_v1()
424 regmap_field_write(priv->rf[index_mask], 0); in tsens_set_interrupt_v2()
426 regmap_field_write(priv->rf[index_mask], 1); in tsens_set_interrupt_v2()
427 regmap_field_write(priv->rf[index_clear], 1); in tsens_set_interrupt_v2()
428 regmap_field_write(priv->rf[index_clear], 0); in tsens_set_interrupt_v2()
469 ret = regmap_field_read(priv->rf[UPPER_STATUS_0 + hw_id], &d->up_viol); in tsens_threshold_violated()
472 ret = regmap_field_read(priv->rf[LOWER_STATUS_0 + hw_id], &d->low_viol); in tsens_threshold_violated()
477 ret = regmap_field_read(priv->rf[CRITICAL_STATUS_0 + hw_id], in tsens_threshold_violated()
495 ret = regmap_field_read(priv->rf[UP_INT_CLEAR_0 + hw_id], &d->up_irq_clear); in tsens_read_irq_state()
[all …]

12345678910>>...34