/drivers/net/wireless/mwifiex/ |
D | 11n.h | 48 u8 *ra); 49 void mwifiex_create_ba_tbl(struct mwifiex_private *priv, u8 *ra, int tid, 65 void mwifiex_del_tx_ba_stream_tbl_by_ra(struct mwifiex_private *priv, u8 *ra); 72 struct mwifiex_sta_node *node = mwifiex_get_sta_entry(priv, ptr->ra); in mwifiex_is_station_ampdu_allowed() 87 tx_tbl = mwifiex_get_ba_tbl(priv, tid, ptr->ra); in mwifiex_is_amsdu_in_ampdu_allowed() 149 int *ptid, u8 *ra) in mwifiex_find_stream_to_delete() argument 163 memcpy(ra, tx_tbl->ra, ETH_ALEN); in mwifiex_find_stream_to_delete() 181 tx_tbl = mwifiex_get_ba_tbl(priv, tid, ptr->ra); in mwifiex_is_ba_stream_setup() 203 mwifiex_tdls_peer_11n_enabled(struct mwifiex_private *priv, const u8 *ra) in mwifiex_tdls_peer_11n_enabled() argument 205 struct mwifiex_sta_node *node = mwifiex_get_sta_entry(priv, ra); in mwifiex_tdls_peer_11n_enabled()
|
D | wmm.c | 95 mwifiex_wmm_allocate_ralist_node(struct mwifiex_adapter *adapter, const u8 *ra) in mwifiex_wmm_allocate_ralist_node() argument 106 memcpy(ra_list->ra, ra, ETH_ALEN); in mwifiex_wmm_allocate_ralist_node() 142 void mwifiex_ralist_add(struct mwifiex_private *priv, const u8 *ra) in mwifiex_ralist_add() argument 151 node = mwifiex_get_sta_entry(priv, ra); in mwifiex_ralist_add() 155 ra_list = mwifiex_wmm_allocate_ralist_node(adapter, ra); in mwifiex_ralist_add() 164 if (mwifiex_get_tdls_link_status(priv, ra) == in mwifiex_ralist_add() 168 mwifiex_tdls_peer_11n_enabled(priv, ra); in mwifiex_ralist_add() 575 if (!memcmp(ra_list->ra, ra_addr, ETH_ALEN)) in mwifiex_wmm_get_ralist_node() 638 u8 ra[ETH_ALEN], tid_down; in mwifiex_wmm_add_buf_txqueue() local 645 memcpy(ra, eth_hdr->h_dest, ETH_ALEN); in mwifiex_wmm_add_buf_txqueue() [all …]
|
D | 11n.c | 127 tx_ba_tbl->ra); in mwifiex_ret_11n_delba() 141 mwifiex_del_ba_tbl(priv, tx_ba_tbl->tid, tx_ba_tbl->ra, in mwifiex_ret_11n_delba() 492 mwifiex_get_ba_tbl(struct mwifiex_private *priv, int tid, u8 *ra) in mwifiex_get_ba_tbl() argument 499 if (ether_addr_equal_unaligned(tx_ba_tsr_tbl->ra, ra) && in mwifiex_get_ba_tbl() 514 void mwifiex_create_ba_tbl(struct mwifiex_private *priv, u8 *ra, int tid, in mwifiex_create_ba_tbl() argument 520 if (!mwifiex_get_ba_tbl(priv, tid, ra)) { in mwifiex_create_ba_tbl() 530 memcpy(new_node->ra, ra, ETH_ALEN); in mwifiex_create_ba_tbl() 691 memcpy(rx_reo_tbl->ra, tx_ba_tsr_tbl->ra, ETH_ALEN); in mwifiex_get_tx_ba_stream_tbl() 707 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 712 if (!ra) in mwifiex_del_tx_ba_stream_tbl_by_ra() [all …]
|
D | uap_txrx.c | 220 u8 ra[ETH_ALEN]; in mwifiex_handle_uap_rx_forward() local 233 memcpy(ra, rx_pkt_hdr->eth803_hdr.h_dest, ETH_ALEN); in mwifiex_handle_uap_rx_forward() 235 if (is_multicast_ether_addr(ra)) { in mwifiex_handle_uap_rx_forward() 239 if (mwifiex_get_sta_entry(priv, ra)) { in mwifiex_handle_uap_rx_forward()
|
D | wmm.h | 102 void mwifiex_ralist_add(struct mwifiex_private *priv, const u8 *ra); 104 struct mwifiex_ra_list_tbl *ra, int tid);
|
/drivers/net/wireless/rtlwifi/rtl8192se/ |
D | dm.c | 232 struct rate_adaptive *ra = &(rtlpriv->ra); in _rtl92s_dm_refresh_rateadaptive_mask() local 252 switch (ra->pre_ratr_state) { in _rtl92s_dm_refresh_rateadaptive_mask() 281 ra->ratr_state = DM_RATR_STA_HIGH; in _rtl92s_dm_refresh_rateadaptive_mask() 284 ra->ratr_state = DM_RATR_STA_LOW; in _rtl92s_dm_refresh_rateadaptive_mask() 287 ra->ratr_state = DM_RATR_STA_LOW; in _rtl92s_dm_refresh_rateadaptive_mask() 289 ra->ratr_state = DM_RATR_STA_ULTRALOW; in _rtl92s_dm_refresh_rateadaptive_mask() 292 if (ra->pre_ratr_state != ra->ratr_state) { in _rtl92s_dm_refresh_rateadaptive_mask() 295 rtlpriv->dm.undec_sm_pwdb, ra->ratr_state, in _rtl92s_dm_refresh_rateadaptive_mask() 296 ra->pre_ratr_state, ra->ratr_state); in _rtl92s_dm_refresh_rateadaptive_mask() 302 ra->ratr_state); in _rtl92s_dm_refresh_rateadaptive_mask() [all …]
|
/drivers/video/fbdev/msm/ |
D | mddi.c | 514 struct mddi_register_access *ra; in mddi_remote_write() local 520 ra = &(ll->u.r); in mddi_remote_write() 521 ra->length = 14 + 4; in mddi_remote_write() 522 ra->type = TYPE_REGISTER_ACCESS; in mddi_remote_write() 523 ra->client_id = 0; in mddi_remote_write() 524 ra->read_write_info = MDDI_WRITE | 1; in mddi_remote_write() 525 ra->crc16 = 0; in mddi_remote_write() 527 ra->register_address = reg; in mddi_remote_write() 528 ra->register_data_list = val; in mddi_remote_write() 549 struct mddi_register_access *ra; in mddi_remote_read() local [all …]
|
/drivers/staging/lustre/lustre/llite/ |
D | rw.c | 313 struct ll_ra_info *ra = &sbi->ll_ra_info; in ll_ra_count_get() local 319 ret = min(ra->ra_max_pages - atomic_read(&ra->ra_cur_pages), pages); in ll_ra_count_get() 342 if (atomic_add_return(ret, &ra->ra_cur_pages) > ra->ra_max_pages) { in ll_ra_count_get() 343 atomic_sub(ret, &ra->ra_cur_pages); in ll_ra_count_get() 353 struct ll_ra_info *ra = &sbi->ll_ra_info; in ll_ra_count_put() local 354 atomic_sub(len, &ra->ra_cur_pages); in ll_ra_count_put() 922 struct ll_ra_info *ra, in ras_stride_increase_window() argument 952 if (stride_page_count(ras, window_len) <= ra->ra_max_pages_per_file) in ras_stride_increase_window() 960 struct ll_ra_info *ra) in ras_increase_window() argument 967 ras_stride_increase_window(ras, ra, RAS_INCREASE_STEP(inode)); in ras_increase_window() [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/char/hw_random/ |
D | n2-drv.c | 108 static unsigned long n2rng_generic_read_control_v2(unsigned long ra, in n2rng_generic_read_control_v2() argument 115 hv_err = sun4v_rng_ctl_read_v2(ra, unit, &state, in n2rng_generic_read_control_v2() 148 unsigned long ra = __pa(&np->scratch_control[0]); in n2rng_control_settle_v2() local 150 return n2rng_generic_read_control_v2(ra, unit); in n2rng_control_settle_v2() 390 unsigned long ra = __pa(&np->test_data); in n2rng_data_read() local 400 int err = n2rng_generic_read_data(ra); in n2rng_data_read() 424 unsigned long ra = __pa(&np->test_data); in n2rng_guest_check() local 426 return n2rng_generic_read_data(ra); in n2rng_guest_check()
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_recv.c | 304 …prxattrib->ra[0], prxattrib->ra[1], prxattrib->ra[2], prxattrib->ra[3], prxattrib->ra[4], prxattri… in recvframe_chkmic() 308 if (IS_MCAST(prxattrib->ra)) { in recvframe_chkmic() 387 prxattrib->ra[0], prxattrib->ra[1], prxattrib->ra[2], in recvframe_chkmic() 388 prxattrib->ra[3], prxattrib->ra[4], prxattrib->ra[5], psecuritypriv->binstallGrpkey)); in recvframe_chkmic() 392 if ((IS_MCAST(prxattrib->ra) == true) && (prxattrib->key_index != pmlmeinfo->key_index)) in recvframe_chkmic() 396 rtw_handle_tkip_mic_err(adapter, (u8)IS_MCAST(prxattrib->ra)); in recvframe_chkmic() 406 if ((!psecuritypriv->bcheck_grpkey) && (IS_MCAST(prxattrib->ra))) { in recvframe_chkmic() 777 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in sta2sta_data_frame() 875 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in ap2sta_data_frame() 954 if (memcmp(pattrib->ra, myhwaddr, ETH_ALEN)) { in sta2ap_data_frame() [all …]
|
D | rtw_xmit.c | 455 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in update_attrib() 458 memcpy(pattrib->ra, get_bssid(pmlmepriv), ETH_ALEN); in update_attrib() 461 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in update_attrib() 496 bmcast = IS_MCAST(pattrib->ra); in update_attrib() 502 psta = rtw_get_stainfo(pstapriv, pattrib->ra); in update_attrib() 504 …_rtl871x_xmit_c_, _drv_alert_, ("\nupdate_attrib => get sta_info fail, ra: %pM\n", (pattrib->ra))); in update_attrib() 519 …e_rtl871x_xmit_c_, _drv_alert_, ("\nupdate_attrib => get sta_info fail, ra:%pM\n", (pattrib->ra))); in update_attrib() 638 int bmcst = IS_MCAST(pattrib->ra); in xmitframe_addmic() 643 stainfo = rtw_get_stainfo(&padapter->stapriv , &pattrib->ra[0]); in xmitframe_addmic() 789 int bmcst = IS_MCAST(pattrib->ra); in rtw_make_wlanhdr() [all …]
|
/drivers/staging/rtl8723au/core/ |
D | rtw_recv.c | 303 "0x%02x:0x%02x\n", prxattrib->ra[0], in recvframe_chkmic() 304 prxattrib->ra[1], prxattrib->ra[2], prxattrib->ra[3], in recvframe_chkmic() 305 prxattrib->ra[4], prxattrib->ra[5])); in recvframe_chkmic() 309 if (is_multicast_ether_addr(prxattrib->ra)) { in recvframe_chkmic() 409 prxattrib->ra[0], prxattrib->ra[1], in recvframe_chkmic() 410 prxattrib->ra[2], prxattrib->ra[3], in recvframe_chkmic() 411 prxattrib->ra[4], prxattrib->ra[5], in recvframe_chkmic() 418 if ((is_multicast_ether_addr(prxattrib->ra)) && in recvframe_chkmic() 425 rtw_handle_tkip_mic_err23a(adapter, (u8)is_multicast_ether_addr(prxattrib->ra)); in recvframe_chkmic() 445 is_multicast_ether_addr(prxattrib->ra)) { in recvframe_chkmic() [all …]
|
D | rtw_xmit.c | 261 psta = rtw_get_stainfo23a(&padapter->stapriv, &pattrib->ra[0]); in update_attrib_vcs_info() 446 ether_addr_copy(pattrib->ra, pattrib->dst); in update_attrib() 449 ether_addr_copy(pattrib->ra, get_bssid(pmlmepriv)); in update_attrib() 452 ether_addr_copy(pattrib->ra, pattrib->dst); in update_attrib() 496 bmcast = is_multicast_ether_addr(pattrib->ra); in update_attrib() 502 psta = rtw_get_stainfo23a(pstapriv, pattrib->ra); in update_attrib() 506 MAC_FMT"\n", MAC_ARG(pattrib->ra))); in update_attrib() 524 "\n", MAC_ARG(pattrib->ra))); in update_attrib() 659 int bmcst = is_multicast_ether_addr(pattrib->ra); in xmitframe_addmic() 665 stainfo = rtw_get_stainfo23a(&padapter->stapriv, &pattrib->ra[0]); in xmitframe_addmic() [all …]
|
/drivers/tty/serial/ |
D | sunhv.c | 62 unsigned long ra = __pa(xmit->buf + xmit->tail); in transmit_chars_write() local 67 status = sun4v_con_write(ra, len, &sent); in transmit_chars_write() 124 unsigned long ra = __pa(con_read_page); in receive_chars_read() local 126 long stat = sun4v_con_read(ra, PAGE_SIZE, &bytes_read); in receive_chars_read() 439 unsigned long ra = __pa(con_write_page); in sunhv_console_write_paged() local 453 stat = sun4v_con_write(ra, page_bytes, in sunhv_console_write_paged() 462 ra += written; in sunhv_console_write_paged()
|
/drivers/staging/rtl8712/ |
D | rtl871x_recv.c | 175 if (IS_MCAST(prxattrib->ra)) { in r8712_recvframe_chkmic() 203 (u8)IS_MCAST(prxattrib->ra)); in r8712_recvframe_chkmic() 208 false) && (IS_MCAST(prxattrib->ra) == in r8712_recvframe_chkmic() 362 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in sta2sta_data_frame() 427 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in ap2sta_data_frame() 495 memcpy(pattrib->ra, pda, ETH_ALEN); in validate_recv_data_frame() 500 memcpy(pattrib->ra, pda, ETH_ALEN); in validate_recv_data_frame() 505 memcpy(pattrib->ra, pbssid, ETH_ALEN); in validate_recv_data_frame() 510 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_recv_data_frame() 546 IS_MCAST(pattrib->ra)); in validate_recv_data_frame()
|
D | rtl871x_xmit.c | 224 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in r8712_update_attrib() 227 memcpy(pattrib->ra, get_bssid(pmlmepriv), ETH_ALEN); in r8712_update_attrib() 230 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in r8712_update_attrib() 240 memcpy(pattrib->ra, pattrib->dst, ETH_ALEN); in r8712_update_attrib() 266 bmcast = IS_MCAST(pattrib->ra); in r8712_update_attrib() 277 psta = r8712_get_stainfo(pstapriv, pattrib->ra); in r8712_update_attrib() 360 sint bmcst = IS_MCAST(pattrib->ra); in xmitframe_addmic() 366 &pattrib->ra[0]); in xmitframe_addmic() 531 sint bmcst = IS_MCAST(pattrib->ra); in make_wlanhdr() 541 pattrib->ra); in make_wlanhdr() [all …]
|
/drivers/input/touchscreen/ |
D | intel-mid-touch.c | 500 u8 ra, rm; in mrstouch_adc_init() local 545 ra = 0xE0 | ADC_LOOP_DELAY0; in mrstouch_adc_init() 549 ra = 0xE0 | ADC_LOOP_DELAY1; in mrstouch_adc_init() 558 err = intel_scu_ipc_update_register(PMIC_REG_ADCCNTL1, ra, 0xE7); in mrstouch_adc_init()
|
/drivers/iommu/ |
D | omap-iommu2.c | 124 static u32 omap2_iommu_fault_isr(struct omap_iommu *obj, u32 *ra) in omap2_iommu_fault_isr() argument 132 *ra = 0; in omap2_iommu_fault_isr() 137 *ra = da; in omap2_iommu_fault_isr()
|
/drivers/misc/ |
D | sram.c | 51 struct sram_reserve *ra = list_entry(a, struct sram_reserve, list); in sram_reserve_cmp() local 54 return ra->start - rb->start; in sram_reserve_cmp()
|
/drivers/net/hippi/ |
D | rrunner.h | 499 static inline void set_rraddr(rraddr *ra, dma_addr_t addr) in set_rraddr() argument 503 ra->addrlo = baddr; in set_rraddr() 506 ra->addrlo = baddr; in set_rraddr()
|
/drivers/cdrom/ |
D | cdrom.c | 2989 struct cdrom_read_audio ra; in mmc_ioctl_cdrom_read_audio() local 2992 if (copy_from_user(&ra, (struct cdrom_read_audio __user *)arg, in mmc_ioctl_cdrom_read_audio() 2993 sizeof(ra))) in mmc_ioctl_cdrom_read_audio() 2996 if (ra.addr_format == CDROM_MSF) in mmc_ioctl_cdrom_read_audio() 2997 lba = msf_to_lba(ra.addr.msf.minute, in mmc_ioctl_cdrom_read_audio() 2998 ra.addr.msf.second, in mmc_ioctl_cdrom_read_audio() 2999 ra.addr.msf.frame); in mmc_ioctl_cdrom_read_audio() 3000 else if (ra.addr_format == CDROM_LBA) in mmc_ioctl_cdrom_read_audio() 3001 lba = ra.addr.lba; in mmc_ioctl_cdrom_read_audio() 3006 if (lba < 0 || ra.nframes <= 0 || ra.nframes > CD_FRAMES) in mmc_ioctl_cdrom_read_audio() [all …]
|
/drivers/media/pci/bt8xx/ |
D | bttv-risc.c | 254 u32 ri,ra; in bttv_risc_overlay() local 310 ra = addr + (fmt->depth>>3)*start; in bttv_risc_overlay() 312 ra = 0; in bttv_risc_overlay() 321 if (0 != ra) in bttv_risc_overlay() 322 *(rp++)=cpu_to_le32(ra); in bttv_risc_overlay()
|
/drivers/staging/vt6655/ |
D | rxtx.c | 856 memcpy(&buf->data.ra, psEthHeader->abyDstAddr, ETH_ALEN); in s_vFillRTSHead() 858 memcpy(&buf->data.ra, pDevice->abyBSSID, ETH_ALEN); in s_vFillRTSHead() 920 memcpy(&buf->data.ra, psEthHeader->abyDstAddr, ETH_ALEN); in s_vFillRTSHead() 922 memcpy(&buf->data.ra, pDevice->abyBSSID, ETH_ALEN); in s_vFillRTSHead() 953 memcpy(&buf->data.ra, psEthHeader->abyDstAddr, ETH_ALEN); in s_vFillRTSHead() 955 memcpy(&buf->data.ra, pDevice->abyBSSID, ETH_ALEN); in s_vFillRTSHead() 993 memcpy(&buf->data.ra, psEthHeader->abyDstAddr, ETH_ALEN); in s_vFillRTSHead() 995 memcpy(&buf->data.ra, pDevice->abyBSSID, ETH_ALEN); in s_vFillRTSHead() 1021 memcpy(&buf->data.ra, psEthHeader->abyDstAddr, ETH_ALEN); in s_vFillRTSHead() 1023 memcpy(&buf->data.ra, pDevice->abyBSSID, ETH_ALEN); in s_vFillRTSHead() [all …]
|
/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 620 struct sockaddr_in *ra = (struct sockaddr_in *) in send_connect() local 690 req->peer_port = ra->sin_port; in send_connect() 692 req->peer_ip = ra->sin_addr.s_addr; in send_connect() 735 t5_req->peer_port = ra->sin_port; in send_connect() 737 t5_req->peer_ip = ra->sin_addr.s_addr; in send_connect() 1948 __u8 *ra; in c4iw_reconnect() local 1970 ra = (__u8 *)&raddr->sin_addr; in c4iw_reconnect() 1977 ra = (__u8 *)&raddr6->sin6_addr; in c4iw_reconnect() 1984 err = import_ep(ep, iptype, ra, ep->dst, ep->com.dev, false); in c4iw_reconnect() 2030 struct sockaddr_in *ra; in act_open_rpl() local [all …]
|