/drivers/infiniband/hw/irdma/ |
D | hw.c | 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() 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() 213 static void irdma_process_aeq(struct irdma_pci_f *rf) in irdma_process_aeq() argument 215 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_process_aeq() 216 struct irdma_aeq *aeq = &rf->aeq; in irdma_process_aeq() 225 struct irdma_device *iwdev = rf->iwdev; in irdma_process_aeq() [all …]
|
D | main.c | 98 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 …]
|
D | i40iw_if.c | 58 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 …]
|
D | utils.c | 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() 47 ether_addr_copy(rf->arp_table[arp_index].mac_addr, mac_addr); in irdma_arp_table() [all …]
|
D | verbs.c | 16 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 …]
|
D | main.h | 194 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 …]
|
/drivers/media/test-drivers/vicodec/ |
D | codec-v4l2-fwht.c | 94 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 …]
|
/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_rf.c | 42 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 …]
|
D | zd_rf.h | 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); 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 …]
|
D | zd_rf_al7230b.c | 87 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 …]
|
D | zd_rf_al2230.c | 14 #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 …]
|
D | zd_rf_uw2453.c | 240 #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 …]
|
D | zd_rf_rf2959.c | 136 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 …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | rf.c | 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() 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 …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | rf.c | 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() 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 …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | rf.c | 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() 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 …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | rf.c | 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() 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 …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | rf.c | 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() 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 …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | rf.c | 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() 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 …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | rf.c | 197 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 …]
|
/drivers/thermal/qcom/ |
D | tsens.c | 338 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 …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | hw.c | 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() 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 …]
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2800lib.c | 1506 .rf = { 2348 if (libconf->rf.channel <= 14) { in rt2800_config_lna_gain() 2351 } else if (libconf->rf.channel <= 64) { in rt2800_config_lna_gain() 2354 } else if (libconf->rf.channel <= 128) { in rt2800_config_lna_gain() 2425 struct rf_channel *rf, in rt2800_config_channel_rf2xxx() argument 2428 rt2x00_set_field32(&rf->rf4, RF4_FREQ_OFFSET, rt2x00dev->freq_offset); in rt2800_config_channel_rf2xxx() 2431 rt2x00_set_field32(&rf->rf2, RF2_ANTENNA_TX1, 1); in rt2800_config_channel_rf2xxx() 2434 rt2x00_set_field32(&rf->rf2, RF2_ANTENNA_RX1, 1); in rt2800_config_channel_rf2xxx() 2435 rt2x00_set_field32(&rf->rf2, RF2_ANTENNA_RX2, 1); in rt2800_config_channel_rf2xxx() 2437 rt2x00_set_field32(&rf->rf2, RF2_ANTENNA_RX2, 1); in rt2800_config_channel_rf2xxx() [all …]
|
D | rt2x00.h | 167 u16 rf; member 432 struct rf_channel rf; member 891 u32 *rf; member 1060 return rt2x00dev->rf[word - 1]; in rt2x00_rf_read() 1067 rt2x00dev->rf[word - 1] = data; in rt2x00_rf_write() 1101 const u16 rt, const u16 rf, const u16 rev) in rt2x00_set_chip() argument 1104 rt2x00dev->chip.rf = rf; in rt2x00_set_chip() 1108 rt2x00dev->chip.rt, rt2x00dev->chip.rf, in rt2x00_set_chip() 1122 static inline void rt2x00_set_rf(struct rt2x00_dev *rt2x00dev, const u16 rf) in rt2x00_set_rf() argument 1124 rt2x00dev->chip.rf = rf; in rt2x00_set_rf() [all …]
|
/drivers/media/i2c/ |
D | tda7432.c | 276 u8 lf, lr, rf, rr; in tda7432_s_ctrl() local 282 rr = rf = -t->balance->val; in tda7432_s_ctrl() 286 rr = rf = TDA7432_ATTEN_0DB; in tda7432_s_ctrl() 290 rr = rf = TDA7432_ATTEN_0DB; in tda7432_s_ctrl() 296 rf |= TDA7432_MUTE; in tda7432_s_ctrl() 302 tda7432_write(sd, TDA7432_RF, rf); in tda7432_s_ctrl()
|