Home
last modified time | relevance | path

Searched refs:rf (Results 1 – 25 of 221) sorted by relevance

123456789

/linux-6.1.9/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-6.1.9/drivers/infiniband/hw/irdma/
Dhw.c74 static void irdma_puda_ce_handler(struct irdma_pci_f *rf, in irdma_puda_ce_handler() argument
77 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_puda_ce_handler()
104 static void irdma_process_ceq(struct irdma_pci_f *rf, struct irdma_ceq *ceq) in irdma_process_ceq() argument
106 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_process_ceq()
126 queue_work(rf->cqp_cmpl_wq, &rf->cqp_cmpl_work); in irdma_process_ceq()
129 irdma_puda_ce_handler(rf, cq); in irdma_process_ceq()
211 static void irdma_process_aeq(struct irdma_pci_f *rf) in irdma_process_aeq() argument
213 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_process_aeq()
214 struct irdma_aeq *aeq = &rf->aeq; in irdma_process_aeq()
224 struct irdma_device *iwdev = rf->iwdev; in irdma_process_aeq()
[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()
152 static void irdma_request_reset(struct irdma_pci_f *rf) in irdma_request_reset() argument
154 struct ice_pf *pf = rf->cdev; in irdma_request_reset()
[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.c13 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()
47 ether_addr_copy(rf->arp_table[arp_index].mac_addr, mac_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.h192 struct irdma_pci_f *rf; member
243 void (*request_reset)(struct irdma_pci_f *rf);
330 struct irdma_pci_f *rf; member
416 static inline int irdma_alloc_rsrc(struct irdma_pci_f *rf, in irdma_alloc_rsrc() argument
423 spin_lock_irqsave(&rf->rsrc_lock, flags); in irdma_alloc_rsrc()
428 spin_unlock_irqrestore(&rf->rsrc_lock, flags); in irdma_alloc_rsrc()
429 ibdev_dbg(&rf->iwdev->ibdev, in irdma_alloc_rsrc()
440 spin_unlock_irqrestore(&rf->rsrc_lock, flags); in irdma_alloc_rsrc()
451 static inline void irdma_free_rsrc(struct irdma_pci_f *rf, in irdma_free_rsrc() argument
456 spin_lock_irqsave(&rf->rsrc_lock, flags); in irdma_free_rsrc()
[all …]
/linux-6.1.9/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()
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()
67 r = zd_rf_init_rf2959(rf); in zd_rf_init_hw()
[all …]
Dzd_rf.h55 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);
64 void zd_rf_init(struct zd_rf *rf);
65 void zd_rf_clear(struct zd_rf *rf);
66 int zd_rf_init_hw(struct zd_rf *rf, u8 type);
68 int zd_rf_scnprint_id(struct zd_rf *rf, char *buffer, size_t size);
[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 …]
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_uw2453.c240 #define UW2453_PRIV(rf) ((struct uw2453_priv *) (rf)->priv) argument
296 static int uw2453_init_hw(struct zd_rf *rf) in uw2453_init_hw() argument
301 struct zd_chip *chip = zd_rf_to_chip(rf); in uw2453_init_hw()
423 UW2453_PRIV(rf)->config = found_config + 1; in uw2453_init_hw()
428 static int uw2453_set_channel(struct zd_rf *rf, u8 channel) in uw2453_set_channel() argument
432 int config = UW2453_PRIV(rf)->config; in uw2453_set_channel()
434 struct zd_chip *chip = zd_rf_to_chip(rf); in uw2453_set_channel()
469 static int uw2453_switch_radio_on(struct zd_rf *rf) in uw2453_switch_radio_on() argument
472 struct zd_chip *chip = zd_rf_to_chip(rf); in uw2453_switch_radio_on()
488 static int uw2453_switch_radio_off(struct zd_rf *rf) in uw2453_switch_radio_off() argument
[all …]
Dzd_rf_rf2959.c136 static int rf2959_init_hw(struct zd_rf *rf) in rf2959_init_hw() argument
139 struct zd_chip *chip = zd_rf_to_chip(rf); in rf2959_init_hw()
218 static int rf2959_set_channel(struct zd_rf *rf, u8 channel) in rf2959_set_channel() argument
222 struct zd_chip *chip = zd_rf_to_chip(rf); in rf2959_set_channel()
232 static int rf2959_switch_radio_on(struct zd_rf *rf) in rf2959_switch_radio_on() argument
238 struct zd_chip *chip = zd_rf_to_chip(rf); in rf2959_switch_radio_on()
243 static int rf2959_switch_radio_off(struct zd_rf *rf) in rf2959_switch_radio_off() argument
249 struct zd_chip *chip = zd_rf_to_chip(rf); in rf2959_switch_radio_off()
254 int zd_rf_init_rf2959(struct zd_rf *rf) in zd_rf_init_rf2959() argument
256 struct zd_chip *chip = zd_rf_to_chip(rf); in zd_rf_init_rf2959()
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Drf.c180 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()
190 + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in get_txpower_writeval_by_reg()
194 ((rf == 0) ? 'A' : 'B'), writeval); in get_txpower_writeval_by_reg()
198 writeval = ((index < 2) ? powerbase0[rf] : in get_txpower_writeval_by_reg()
199 powerbase1[rf]); in get_txpower_writeval_by_reg()
203 ((rf == 0) ? 'A' : 'B'), writeval); in get_txpower_writeval_by_reg()
223 [index + (rf ? 8 : 0)] + ((index < 2) ? in get_txpower_writeval_by_reg()
224 powerbase0[rf] : in get_txpower_writeval_by_reg()
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Drf.c175 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()
184 + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in _rtl92c_get_txpower_writeval_by_regulatory()
188 rf == 0 ? 'A' : 'B', writeval); in _rtl92c_get_txpower_writeval_by_regulatory()
192 writeval = ((index < 2) ? powerbase0[rf] : in _rtl92c_get_txpower_writeval_by_regulatory()
193 powerbase1[rf]); in _rtl92c_get_txpower_writeval_by_regulatory()
197 rf == 0 ? 'A' : 'B', writeval); in _rtl92c_get_txpower_writeval_by_regulatory()
213 [index + (rf ? 8 : 0)] + ((index < 2) ? in _rtl92c_get_txpower_writeval_by_regulatory()
214 powerbase0[rf] : in _rtl92c_get_txpower_writeval_by_regulatory()
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Drf.c168 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()
204 [index + (rf ? 8 : 0)] + ((index < 2) ? in get_txpower_writeval_by_regulatory()
205 powerbase0[rf] : in get_txpower_writeval_by_regulatory()
206 powerbase1[rf]); in get_txpower_writeval_by_regulatory()
210 ((rf == 0) ? 'A' : 'B'), writeval); in get_txpower_writeval_by_regulatory()
215 ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in get_txpower_writeval_by_regulatory()
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Drf.c187 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()
197 + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in _rtl8723be_get_txpower_writeval_by_regulatory()
201 ((rf == 0) ? 'A' : 'B'), writeval); in _rtl8723be_get_txpower_writeval_by_regulatory()
223 [index + (rf ? 8 : 0)] + ((index < 2) ? in _rtl8723be_get_txpower_writeval_by_regulatory()
224 powerbase0[rf] : in _rtl8723be_get_txpower_writeval_by_regulatory()
225 powerbase1[rf]); in _rtl8723be_get_txpower_writeval_by_regulatory()
229 ((rf == 0) ? 'A' : 'B'), writeval); in _rtl8723be_get_txpower_writeval_by_regulatory()
234 ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in _rtl8723be_get_txpower_writeval_by_regulatory()
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Drf.c186 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()
196 + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in _rtl88e_get_txpower_writeval_by_regulatory()
200 ((rf == 0) ? 'A' : 'B'), writeval); in _rtl88e_get_txpower_writeval_by_regulatory()
222 [index + (rf ? 8 : 0)] + ((index < 2) ? in _rtl88e_get_txpower_writeval_by_regulatory()
223 powerbase0[rf] : in _rtl88e_get_txpower_writeval_by_regulatory()
224 powerbase1[rf]); in _rtl88e_get_txpower_writeval_by_regulatory()
228 ((rf == 0) ? 'A' : 'B'), writeval); in _rtl88e_get_txpower_writeval_by_regulatory()
233 ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in _rtl88e_get_txpower_writeval_by_regulatory()
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Drf.c166 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()
174 + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in _rtl92c_get_txpower_writeval_by_regulatory()
177 rf == 0 ? 'A' : 'B', writeval); in _rtl92c_get_txpower_writeval_by_regulatory()
196 (rf ? 8 : 0)] + in _rtl92c_get_txpower_writeval_by_regulatory()
197 ((index < 2) ? powerbase0[rf] : in _rtl92c_get_txpower_writeval_by_regulatory()
198 powerbase1[rf]); in _rtl92c_get_txpower_writeval_by_regulatory()
201 rf == 0 ? 'A' : 'B', writeval); in _rtl92c_get_txpower_writeval_by_regulatory()
204 writeval = ((index < 2) ? powerbase0[rf] : in _rtl92c_get_txpower_writeval_by_regulatory()
[all …]
/linux-6.1.9/drivers/staging/r8188eu/hal/
Drtl8188e_rf6052.c186 u32 writeVal, customer_limit, rf; in get_rx_power_val_by_reg() local
191 for (rf = 0; rf < 2; rf++) { in get_rx_power_val_by_reg()
196 writeVal = pHalData->MCSTxPowerLevelOriginalOffset[chnlGroup][index + (rf ? 8 : 0)] + in get_rx_power_val_by_reg()
197 ((index < 2) ? powerBase0[rf] : powerBase1[rf]); in get_rx_power_val_by_reg()
217 writeVal = pHalData->MCSTxPowerLevelOriginalOffset[chnlGroup][index + (rf ? 8 : 0)] + in get_rx_power_val_by_reg()
218 ((index < 2) ? powerBase0[rf] : powerBase1[rf]); in get_rx_power_val_by_reg()
222 writeVal = ((index < 2) ? powerBase0[rf] : powerBase1[rf]); in get_rx_power_val_by_reg()
229 pwr_diff = pHalData->TxPwrLegacyHtDiff[rf][Channel - 1]; in get_rx_power_val_by_reg()
231 pwr_diff = pHalData->TxPwrHt20Diff[rf][Channel - 1]; in get_rx_power_val_by_reg()
234 customer_pwr_limit = pHalData->PwrGroupHT40[rf][Channel - 1]; in get_rx_power_val_by_reg()
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Drf.c197 u32 writeval = 0, customer_limit, rf; in _rtl92d_get_txpower_writeval_by_regulatory() local
199 for (rf = 0; rf < 2; rf++) { in _rtl92d_get_txpower_writeval_by_regulatory()
205 (rf ? 8 : 0)] + ((index < 2) ? in _rtl92d_get_txpower_writeval_by_regulatory()
206 powerbase0[rf] : in _rtl92d_get_txpower_writeval_by_regulatory()
207 powerbase1[rf]); in _rtl92d_get_txpower_writeval_by_regulatory()
210 rf == 0 ? 'A' : 'B', writeval); in _rtl92d_get_txpower_writeval_by_regulatory()
225 (rf ? 8 : 0)] + ((index < 2) ? in _rtl92d_get_txpower_writeval_by_regulatory()
226 powerbase0[rf] : in _rtl92d_get_txpower_writeval_by_regulatory()
227 powerbase1[rf]); in _rtl92d_get_txpower_writeval_by_regulatory()
230 rf == 0 ? 'A' : 'B', writeval); in _rtl92d_get_txpower_writeval_by_regulatory()
[all …]
/linux-6.1.9/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-6.1.9/drivers/thermal/qcom/
Dtsens.c159 ret = regmap_field_read(priv->rf[field], &temp); in tsens_hw_to_mC()
214 regmap_field_write(priv->rf[index], enable ? 0 : 1); in tsens_set_interrupt_v1()
245 regmap_field_write(priv->rf[index_mask], 0); in tsens_set_interrupt_v2()
247 regmap_field_write(priv->rf[index_mask], 1); in tsens_set_interrupt_v2()
248 regmap_field_write(priv->rf[index_clear], 1); in tsens_set_interrupt_v2()
249 regmap_field_write(priv->rf[index_clear], 0); in tsens_set_interrupt_v2()
290 ret = regmap_field_read(priv->rf[UPPER_STATUS_0 + hw_id], &d->up_viol); in tsens_threshold_violated()
293 ret = regmap_field_read(priv->rf[LOWER_STATUS_0 + hw_id], &d->low_viol); in tsens_threshold_violated()
298 ret = regmap_field_read(priv->rf[CRITICAL_STATUS_0 + hw_id], in tsens_threshold_violated()
316 ret = regmap_field_read(priv->rf[UP_INT_CLEAR_0 + hw_id], &d->up_irq_clear); in tsens_read_irq_state()
[all …]
/linux-6.1.9/arch/parisc/kernel/
Dsignal32.c36 restore_sigcontext32(struct compat_sigcontext __user *sc, struct compat_regfile __user * rf, in restore_sigcontext32() argument
47 DBG(2,"restore_sigcontext32: sc = 0x%p, rf = 0x%p, regs = 0x%p\n", sc, rf, regs); in restore_sigcontext32()
53 err |= __get_user(compat_regt,&rf->rf_gr[regn]); in restore_sigcontext32()
67 err |= __get_user(compat_regt, &rf->rf_iaoq[0]); in restore_sigcontext32()
75 err |= __get_user(compat_regt, &rf->rf_iaoq[1]); in restore_sigcontext32()
85 err |= __get_user(compat_regt, &rf->rf_iasq[0]); in restore_sigcontext32()
91 err |= __get_user(compat_regt, &rf->rf_iasq[1]); in restore_sigcontext32()
99 err |= __get_user(compat_regt, &rf->rf_sar); in restore_sigcontext32()
115 setup_sigcontext32(struct compat_sigcontext __user *sc, struct compat_regfile __user * rf, in setup_sigcontext32() argument
141 err |= __put_user(compat_reg, &rf->rf_iaoq[0]); in setup_sigcontext32()
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c1789 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()
1804 pwr2g->index_bw40_base[rf][group] = 0x2D; in _rtl8192ee_read_power_value_fromprom()
1808 pwr2g->bw20_diff[rf][0] = 0x02; in _rtl8192ee_read_power_value_fromprom()
1809 pwr2g->ofdm_diff[rf][0] = 0x04; in _rtl8192ee_read_power_value_fromprom()
1811 pwr2g->bw20_diff[rf][i] = 0xFE; in _rtl8192ee_read_power_value_fromprom()
1812 pwr2g->bw40_diff[rf][i] = 0xFE; in _rtl8192ee_read_power_value_fromprom()
1813 pwr2g->cck_diff[rf][i] = 0xFE; in _rtl8192ee_read_power_value_fromprom()
1814 pwr2g->ofdm_diff[rf][i] = 0xFE; in _rtl8192ee_read_power_value_fromprom()
[all …]

123456789