/drivers/net/wireless/realtek/rtl8xxxu/ |
D | rtl8xxxu_8188e.c | 1374 static void rtl8188e_set_tx_rpt_timing(struct rtl8xxxu_ra_info *ra, u8 timing) in rtl8188e_set_tx_rpt_timing() argument 1379 if (dynamic_tx_rpt_timing[idx] == ra->rpt_time) in rtl8188e_set_tx_rpt_timing() 1392 ra->rpt_time = dynamic_tx_rpt_timing[idx]; in rtl8188e_set_tx_rpt_timing() 1395 static void rtl8188e_rate_down(struct rtl8xxxu_ra_info *ra) in rtl8188e_rate_down() argument 1397 u8 rate_id = ra->pre_rate; in rtl8188e_rate_down() 1398 u8 lowest_rate = ra->lowest_rate; in rtl8188e_rate_down() 1399 u8 highest_rate = ra->highest_rate; in rtl8188e_rate_down() 1404 } else if (ra->rate_sgi) { in rtl8188e_rate_down() 1405 ra->rate_sgi = 0; in rtl8188e_rate_down() 1409 if (ra->ra_use_rate & BIT(i)) { in rtl8188e_rate_down() [all …]
|
/drivers/powercap/ |
D | intel_rapl_msr.c | 104 static int rapl_msr_read_raw(int cpu, struct reg_action *ra) in rapl_msr_read_raw() argument 106 if (rdmsrl_safe_on_cpu(cpu, ra->reg.msr, &ra->value)) { in rapl_msr_read_raw() 107 pr_debug("failed to read msr 0x%x on cpu %d\n", ra->reg.msr, cpu); in rapl_msr_read_raw() 110 ra->value &= ra->mask; in rapl_msr_read_raw() 116 struct reg_action *ra = info; in rapl_msr_update_func() local 119 ra->err = rdmsrl_safe(ra->reg.msr, &val); in rapl_msr_update_func() 120 if (ra->err) in rapl_msr_update_func() 123 val &= ~ra->mask; in rapl_msr_update_func() 124 val |= ra->value; in rapl_msr_update_func() 126 ra->err = wrmsrl_safe(ra->reg.msr, val); in rapl_msr_update_func() [all …]
|
D | intel_rapl_tpmi.c | 61 static int tpmi_rapl_read_raw(int id, struct reg_action *ra) in tpmi_rapl_read_raw() argument 63 if (!ra->reg.mmio) in tpmi_rapl_read_raw() 66 ra->value = readq(ra->reg.mmio); in tpmi_rapl_read_raw() 68 ra->value &= ra->mask; in tpmi_rapl_read_raw() 72 static int tpmi_rapl_write_raw(int id, struct reg_action *ra) in tpmi_rapl_write_raw() argument 76 if (!ra->reg.mmio) in tpmi_rapl_write_raw() 79 val = readq(ra->reg.mmio); in tpmi_rapl_write_raw() 81 val &= ~ra->mask; in tpmi_rapl_write_raw() 82 val |= ra->value; in tpmi_rapl_write_raw() 84 writeq(val, ra->reg.mmio); in tpmi_rapl_write_raw()
|
D | intel_rapl_common.c | 819 struct reg_action ra; in rapl_read_data_raw() local 824 ra.reg = rd->regs[rpi->id]; in rapl_read_data_raw() 825 if (!ra.reg.val) in rapl_read_data_raw() 834 ra.mask = rpi->mask; in rapl_read_data_raw() 836 if (rd->rp->priv->read_raw(get_rid(rd->rp), &ra)) { in rapl_read_data_raw() 837 pr_debug("failed to read reg 0x%llx for %s:%s\n", ra.reg.val, rd->rp->name, rd->name); in rapl_read_data_raw() 841 value = ra.value >> rpi->shift; in rapl_read_data_raw() 859 struct reg_action ra; in rapl_write_data_raw() local 869 memset(&ra, 0, sizeof(ra)); in rapl_write_data_raw() 871 ra.reg = rd->regs[rpi->id]; in rapl_write_data_raw() [all …]
|
/drivers/thermal/intel/int340x_thermal/ |
D | processor_thermal_rapl.c | 58 static int rapl_mmio_read_raw(int cpu, struct reg_action *ra) in rapl_mmio_read_raw() argument 60 if (!ra->reg.mmio) in rapl_mmio_read_raw() 63 ra->value = readq(ra->reg.mmio); in rapl_mmio_read_raw() 64 ra->value &= ra->mask; in rapl_mmio_read_raw() 68 static int rapl_mmio_write_raw(int cpu, struct reg_action *ra) in rapl_mmio_write_raw() argument 72 if (!ra->reg.mmio) in rapl_mmio_write_raw() 75 val = readq(ra->reg.mmio); in rapl_mmio_write_raw() 76 val &= ~ra->mask; in rapl_mmio_write_raw() 77 val |= ra->value; in rapl_mmio_write_raw() 78 writeq(val, ra->reg.mmio); in rapl_mmio_write_raw()
|
/drivers/net/wireless/marvell/mwifiex/ |
D | 11n.h | 36 u8 *ra); 37 void mwifiex_create_ba_tbl(struct mwifiex_private *priv, u8 *ra, int tid, 53 void mwifiex_del_tx_ba_stream_tbl_by_ra(struct mwifiex_private *priv, u8 *ra); 60 struct mwifiex_sta_node *node = mwifiex_get_sta_entry(priv, ptr->ra); in mwifiex_is_station_ampdu_allowed() 73 if (is_broadcast_ether_addr(ptr->ra)) in mwifiex_is_ampdu_allowed() 133 int *ptid, u8 *ra) in mwifiex_find_stream_to_delete() argument 146 memcpy(ra, tx_tbl->ra, ETH_ALEN); in mwifiex_find_stream_to_delete() 171 mwifiex_tdls_peer_11n_enabled(struct mwifiex_private *priv, const u8 *ra) in mwifiex_tdls_peer_11n_enabled() argument 173 struct mwifiex_sta_node *node = mwifiex_get_sta_entry(priv, ra); in mwifiex_tdls_peer_11n_enabled()
|
D | wmm.c | 98 mwifiex_wmm_allocate_ralist_node(struct mwifiex_adapter *adapter, const u8 *ra) in mwifiex_wmm_allocate_ralist_node() argument 109 memcpy(ra_list->ra, ra, ETH_ALEN); in mwifiex_wmm_allocate_ralist_node() 138 void mwifiex_ralist_add(struct mwifiex_private *priv, const u8 *ra) in mwifiex_ralist_add() argument 147 ra_list = mwifiex_wmm_allocate_ralist_node(adapter, ra); in mwifiex_ralist_add() 160 (mwifiex_get_tdls_link_status(priv, ra))) { in mwifiex_ralist_add() 163 mwifiex_tdls_peer_11n_enabled(priv, ra); in mwifiex_ralist_add() 169 node = mwifiex_get_sta_entry(priv, ra); in mwifiex_ralist_add() 634 if (!memcmp(ra_list->ra, ra_addr, ETH_ALEN)) in mwifiex_wmm_get_ralist_node() 692 if (!memcmp(ra_list->ra, mac, ETH_ALEN)) in mwifiex_update_ralist_tx_pause_in_tdls_cs() 818 u8 ra[ETH_ALEN], tid_down; in mwifiex_wmm_add_buf_txqueue() local [all …]
|
D | 11n.c | 113 tx_ba_tbl->ra); in mwifiex_ret_11n_delba() 127 mwifiex_del_ba_tbl(priv, tx_ba_tbl->tid, tx_ba_tbl->ra, in mwifiex_ret_11n_delba() 524 mwifiex_get_ba_tbl(struct mwifiex_private *priv, int tid, u8 *ra) in mwifiex_get_ba_tbl() argument 530 if (ether_addr_equal_unaligned(tx_ba_tsr_tbl->ra, ra) && in mwifiex_get_ba_tbl() 544 void mwifiex_create_ba_tbl(struct mwifiex_private *priv, u8 *ra, int tid, in mwifiex_create_ba_tbl() argument 551 if (!mwifiex_get_ba_tbl(priv, tid, ra)) { in mwifiex_create_ba_tbl() 558 ra_list = mwifiex_wmm_get_ralist_node(priv, tid_down, ra); in mwifiex_create_ba_tbl() 567 memcpy(new_node->ra, ra, ETH_ALEN); in mwifiex_create_ba_tbl() 753 memcpy(rx_reo_tbl->ra, tx_ba_tsr_tbl->ra, ETH_ALEN); in mwifiex_get_tx_ba_stream_tbl() 769 void mwifiex_del_tx_ba_stream_tbl_by_ra(struct mwifiex_private *priv, u8 *ra) in mwifiex_del_tx_ba_stream_tbl_by_ra() argument [all …]
|
D | wmm.h | 63 void mwifiex_ralist_add(struct mwifiex_private *priv, const u8 *ra); 65 struct mwifiex_ra_list_tbl *ra, int tid);
|
D | uap_txrx.c | 238 u8 ra[ETH_ALEN]; in mwifiex_handle_uap_rx_forward() local 252 memcpy(ra, rx_pkt_hdr->eth803_hdr.h_dest, ETH_ALEN); in mwifiex_handle_uap_rx_forward() 254 if (is_multicast_ether_addr(ra)) { in mwifiex_handle_uap_rx_forward() 266 if (mwifiex_get_sta_entry(priv, ra)) { in mwifiex_handle_uap_rx_forward()
|
/drivers/crypto/vmx/ |
D | ppc-xlate.pl | 136 my ($f,$ra,$rs,$n,$b) = @_; 138 " rldicl $ra,$rs,$b,$n"; 149 my ($f,$idx,$ra) = @_; 151 " or $ra,$ra,$ra"; 153 " mtspr $idx,$ra"; 167 my ($f, $vrt, $ra, $rb, $op) = @_; 168 " .long ".sprintf "0x%X",(31<<26)|($vrt<<21)|($ra<<16)|($rb<<11)|($op*2+1);
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | dm.c | 206 struct rate_adaptive *ra = &(rtlpriv->ra); in _rtl92s_dm_refresh_rateadaptive_mask() local 226 switch (ra->pre_ratr_state) { in _rtl92s_dm_refresh_rateadaptive_mask() 255 ra->ratr_state = DM_RATR_STA_HIGH; in _rtl92s_dm_refresh_rateadaptive_mask() 258 ra->ratr_state = DM_RATR_STA_LOW; in _rtl92s_dm_refresh_rateadaptive_mask() 261 ra->ratr_state = DM_RATR_STA_LOW; in _rtl92s_dm_refresh_rateadaptive_mask() 263 ra->ratr_state = DM_RATR_STA_ULTRALOW; in _rtl92s_dm_refresh_rateadaptive_mask() 266 if (ra->pre_ratr_state != ra->ratr_state) { in _rtl92s_dm_refresh_rateadaptive_mask() 269 rtlpriv->dm.undec_sm_pwdb, ra->ratr_state, in _rtl92s_dm_refresh_rateadaptive_mask() 270 ra->pre_ratr_state, ra->ratr_state); in _rtl92s_dm_refresh_rateadaptive_mask() 276 ra->ratr_state, in _rtl92s_dm_refresh_rateadaptive_mask() [all …]
|
/drivers/infiniband/hw/hfi1/ |
D | firmware.c | 1144 u8 ra = fabric_serdes_broadcast[dd->hfi1_id]; in fabric_serdes_reset() local 1147 sbus_request(dd, ra, 0x07, WRITE_SBUS_RECEIVER, 0x00000011); in fabric_serdes_reset() 1151 sbus_request(dd, ra, 0x07, WRITE_SBUS_RECEIVER, 0x00000010); in fabric_serdes_reset() 1153 sbus_request(dd, ra, 0x07, WRITE_SBUS_RECEIVER, 0x00000002); in fabric_serdes_reset() 1219 const u8 ra = fabric_serdes_broadcast[dd->hfi1_id]; /* receiver addr */ in load_fabric_serdes_firmware() local 1226 sbus_request(dd, ra, 0x07, WRITE_SBUS_RECEIVER, 0x00000011); in load_fabric_serdes_firmware() 1230 sbus_request(dd, ra, 0x07, WRITE_SBUS_RECEIVER, 0x00000010); in load_fabric_serdes_firmware() 1232 sbus_request(dd, ra, 0x00, WRITE_SBUS_RECEIVER, 0x40000000); in load_fabric_serdes_firmware() 1235 sbus_request(dd, ra, 0x0a, WRITE_SBUS_RECEIVER, in load_fabric_serdes_firmware() 1239 sbus_request(dd, ra, 0x00, WRITE_SBUS_RECEIVER, 0x00000000); in load_fabric_serdes_firmware() [all …]
|
/drivers/of/ |
D | of_reserved_mem.c | 253 const struct reserved_mem *ra = a, *rb = b; in __rmem_cmp() local 255 if (ra->base < rb->base) in __rmem_cmp() 258 if (ra->base > rb->base) in __rmem_cmp() 266 if (ra->size < rb->size) in __rmem_cmp() 268 if (ra->size > rb->size) in __rmem_cmp() 271 if (ra->fdt_node < rb->fdt_node) in __rmem_cmp() 273 if (ra->fdt_node > rb->fdt_node) in __rmem_cmp()
|
/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mcu.c | 516 struct bss_info_ra *ra; in mt7915_mcu_bss_ra_tlv() local 519 tlv = mt76_connac_mcu_add_tlv(skb, BSS_INFO_RA, sizeof(*ra)); in mt7915_mcu_bss_ra_tlv() 521 ra = (struct bss_info_ra *)tlv; in mt7915_mcu_bss_ra_tlv() 522 ra->op_mode = vif->type == NL80211_IFTYPE_AP; in mt7915_mcu_bss_ra_tlv() 523 ra->adhoc_en = vif->type == NL80211_IFTYPE_ADHOC; in mt7915_mcu_bss_ra_tlv() 524 ra->short_preamble = true; in mt7915_mcu_bss_ra_tlv() 525 ra->tx_streams = max_nss; in mt7915_mcu_bss_ra_tlv() 526 ra->rx_streams = max_nss; in mt7915_mcu_bss_ra_tlv() 527 ra->algo = 4; in mt7915_mcu_bss_ra_tlv() 528 ra->train_up_rule = 2; in mt7915_mcu_bss_ra_tlv() [all …]
|
/drivers/s390/cio/ |
D | blacklist.c | 155 range_action ra; in blacklist_parse_parameters() local 161 ra = action; in blacklist_parse_parameters() 163 if (ra == add) in blacklist_parse_parameters() 164 ra = free; in blacklist_parse_parameters() 166 ra = add; in blacklist_parse_parameters() 215 rc = blacklist_range(ra, from_ssid, to_ssid, from, to, in blacklist_parse_parameters()
|
/drivers/tty/serial/ |
D | sunhv.c | 57 unsigned long ra = __pa(xmit->buf + xmit->tail); in transmit_chars_write() local 62 status = sun4v_con_write(ra, len, &sent); in transmit_chars_write() 118 unsigned long ra = __pa(con_read_page); in receive_chars_read() local 120 long stat = sun4v_con_read(ra, PAGE_SIZE, &bytes_read); in receive_chars_read() 445 unsigned long ra = __pa(con_write_page); in sunhv_console_write_paged() local 459 stat = sun4v_con_write(ra, page_bytes, in sunhv_console_write_paged() 468 ra += written; in sunhv_console_write_paged()
|
/drivers/staging/rtl8712/ |
D | rtl871x_recv.c | 152 if (is_multicast_ether_addr(prxattrib->ra)) { in r8712_recvframe_chkmic() 181 (u8)is_multicast_ether_addr(prxattrib->ra)); in r8712_recvframe_chkmic() 186 is_multicast_ether_addr(prxattrib->ra)) in r8712_recvframe_chkmic() 346 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in sta2sta_data_frame() 413 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in ap2sta_data_frame() 482 memcpy(pattrib->ra, pda, ETH_ALEN); in validate_recv_data_frame() 487 memcpy(pattrib->ra, pda, ETH_ALEN); in validate_recv_data_frame() 492 memcpy(pattrib->ra, pbssid, ETH_ALEN); in validate_recv_data_frame() 497 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_recv_data_frame() 532 is_multicast_ether_addr(pattrib->ra)); in validate_recv_data_frame()
|
D | rtl871x_xmit.c | 240 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in r8712_update_attrib() 243 memcpy(pattrib->ra, get_bssid(pmlmepriv), ETH_ALEN); in r8712_update_attrib() 246 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in r8712_update_attrib() 257 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in r8712_update_attrib() 285 bmcast = is_multicast_ether_addr(pattrib->ra); in r8712_update_attrib() 296 psta = r8712_get_stainfo(pstapriv, pattrib->ra); in r8712_update_attrib() 381 bool bmcst = is_multicast_ether_addr(pattrib->ra); in xmitframe_addmic() 387 &pattrib->ra[0]); in xmitframe_addmic() 549 bool bmcst = is_multicast_ether_addr(pattrib->ra); in make_wlanhdr() 557 pattrib->ra); in make_wlanhdr() [all …]
|
/drivers/char/hw_random/ |
D | n2-drv.c | 109 static unsigned long n2rng_generic_read_control_v2(unsigned long ra, in n2rng_generic_read_control_v2() argument 116 hv_err = sun4v_rng_ctl_read_v2(ra, unit, &state, in n2rng_generic_read_control_v2() 149 unsigned long ra = __pa(&np->scratch_control[0]); in n2rng_control_settle_v2() local 151 return n2rng_generic_read_control_v2(ra, unit); in n2rng_control_settle_v2() 422 unsigned long ra = __pa(&np->test_data); in n2rng_data_read() local 432 int err = n2rng_generic_read_data(ra); in n2rng_data_read() 457 unsigned long ra = __pa(&np->test_data); in n2rng_guest_check() local 459 return n2rng_generic_read_data(ra); in n2rng_guest_check()
|
/drivers/soc/bcm/brcmstb/pm/ |
D | s3-mips.S | 26 sw ra, 0(t0) 127 lw ra, 0(t0) 135 jr ra
|
D | s2-mips.S | 23 sw ra, 0(sp) 182 lw ra, 0(sp) 185 jr ra
|
/drivers/net/wireless/realtek/rtw89/ |
D | phy.c | 238 struct rtw89_ra_info *ra = &rtwsta->ra; in rtw89_phy_ra_sta_update() local 256 memset(ra, 0, sizeof(*ra)); in rtw89_phy_ra_sta_update() 363 ra->dcm_cap = 1; in rtw89_phy_ra_sta_update() 371 ra->bw_cap = bw_mode; in rtw89_phy_ra_sta_update() 372 ra->er_cap = rtwsta->er_cap; in rtw89_phy_ra_sta_update() 373 ra->mode_ctrl = mode; in rtw89_phy_ra_sta_update() 374 ra->macid = rtwsta->mac_id; in rtw89_phy_ra_sta_update() 375 ra->stbc_cap = stbc_en; in rtw89_phy_ra_sta_update() 376 ra->ldpc_cap = ldpc_en; in rtw89_phy_ra_sta_update() 377 ra->ss_num = min(sta->deflink.rx_nss, rtwdev->hal.tx_nss) - 1; in rtw89_phy_ra_sta_update() [all …]
|
/drivers/net/wireless/mediatek/mt76/mt7996/ |
D | mcu.c | 569 struct bss_ra_tlv *ra; in mt7996_mcu_bss_ra_tlv() local 572 tlv = mt7996_mcu_add_uni_tlv(skb, UNI_BSS_INFO_RA, sizeof(*ra)); in mt7996_mcu_bss_ra_tlv() 574 ra = (struct bss_ra_tlv *)tlv; in mt7996_mcu_bss_ra_tlv() 575 ra->short_preamble = true; in mt7996_mcu_bss_ra_tlv() 1651 struct sta_rec_ra *ra; in mt7996_mcu_sta_rate_ctrl_tlv() local 1656 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_RA, sizeof(*ra)); in mt7996_mcu_sta_rate_ctrl_tlv() 1657 ra = (struct sta_rec_ra *)tlv; in mt7996_mcu_sta_rate_ctrl_tlv() 1659 ra->valid = true; in mt7996_mcu_sta_rate_ctrl_tlv() 1660 ra->auto_rate = true; in mt7996_mcu_sta_rate_ctrl_tlv() 1661 ra->phy_mode = mt76_connac_get_phy_mode(mphy, vif, band, sta); in mt7996_mcu_sta_rate_ctrl_tlv() [all …]
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_recv.c | 320 if (is_multicast_ether_addr(prxattrib->ra)) { in recvframe_chkmic() 355 …if ((is_multicast_ether_addr(prxattrib->ra) == true) && (prxattrib->key_index != pmlmeinfo->key_i… in recvframe_chkmic() 359 rtw_handle_tkip_mic_err(adapter, (u8)is_multicast_ether_addr(prxattrib->ra)); in recvframe_chkmic() 366 is_multicast_ether_addr(prxattrib->ra)) in recvframe_chkmic() 711 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in sta2sta_data_frame() 798 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in ap2sta_data_frame() 878 if (memcmp(pattrib->ra, myhwaddr, ETH_ALEN)) { in sta2ap_data_frame() 1256 memcpy(pattrib->ra, pda, ETH_ALEN); in validate_recv_data_frame() 1262 memcpy(pattrib->ra, pda, ETH_ALEN); in validate_recv_data_frame() 1268 memcpy(pattrib->ra, pbssid, ETH_ALEN); in validate_recv_data_frame() [all …]
|