Lines Matching refs:pdesc

27 					struct rtl_stats *pstatus, u8 *pdesc,  in _rtl8723e_query_rxphystatus()  argument
219 struct rtl_stats *pstatus, u8 *pdesc, in translate_rx_signal_stuff() argument
253 _rtl8723e_query_rxphystatus(hw, pstatus, pdesc, p_drvinfo, in translate_rx_signal_stuff()
267 __le32 *pdesc = (__le32 *)pdesc8; in rtl8723e_rx_query_desc() local
268 u32 phystatus = get_rx_desc_physt(pdesc); in rtl8723e_rx_query_desc()
270 status->length = (u16)get_rx_desc_pkt_len(pdesc); in rtl8723e_rx_query_desc()
271 status->rx_drvinfo_size = (u8)get_rx_desc_drv_info_size(pdesc) * in rtl8723e_rx_query_desc()
273 status->rx_bufshift = (u8)(get_rx_desc_shift(pdesc) & 0x03); in rtl8723e_rx_query_desc()
274 status->icv = (u16)get_rx_desc_icv(pdesc); in rtl8723e_rx_query_desc()
275 status->crc = (u16)get_rx_desc_crc32(pdesc); in rtl8723e_rx_query_desc()
277 status->decrypted = !get_rx_desc_swdec(pdesc); in rtl8723e_rx_query_desc()
278 status->rate = (u8)get_rx_desc_rxmcs(pdesc); in rtl8723e_rx_query_desc()
279 status->shortpreamble = (u16)get_rx_desc_splcp(pdesc); in rtl8723e_rx_query_desc()
280 status->isampdu = (bool)(get_rx_desc_paggr(pdesc) == 1); in rtl8723e_rx_query_desc()
281 status->isfirst_ampdu = (bool)((get_rx_desc_paggr(pdesc) == 1) && in rtl8723e_rx_query_desc()
282 (get_rx_desc_faggr(pdesc) == 1)); in rtl8723e_rx_query_desc()
283 status->timestamp_low = get_rx_desc_tsfl(pdesc); in rtl8723e_rx_query_desc()
284 status->rx_is40mhzpacket = (bool)get_rx_desc_bw(pdesc); in rtl8723e_rx_query_desc()
285 status->is_ht = (bool)get_rx_desc_rxht(pdesc); in rtl8723e_rx_query_desc()
355 __le32 *pdesc = (__le32 *)pdesc8; in rtl8723e_tx_fill_desc() local
387 clear_pci_tx_desc_content(pdesc, sizeof(struct tx_desc_8723e)); in rtl8723e_tx_fill_desc()
395 set_tx_desc_offset(pdesc, USB_HWDESC_HEADER_LEN); in rtl8723e_tx_fill_desc()
397 set_tx_desc_tx_rate(pdesc, ptcb_desc->hw_rate); in rtl8723e_tx_fill_desc()
400 set_tx_desc_data_shortgi(pdesc, 1); in rtl8723e_tx_fill_desc()
403 set_tx_desc_agg_break(pdesc, 1); in rtl8723e_tx_fill_desc()
404 set_tx_desc_max_agg_num(pdesc, 0x14); in rtl8723e_tx_fill_desc()
406 set_tx_desc_seq(pdesc, seq_number); in rtl8723e_tx_fill_desc()
408 set_tx_desc_rts_enable(pdesc, in rtl8723e_tx_fill_desc()
411 set_tx_desc_hw_rts_enable(pdesc, in rtl8723e_tx_fill_desc()
414 set_tx_desc_cts2self(pdesc, in rtl8723e_tx_fill_desc()
416 set_tx_desc_rts_stbc(pdesc, in rtl8723e_tx_fill_desc()
419 set_tx_desc_rts_rate(pdesc, ptcb_desc->rts_rate); in rtl8723e_tx_fill_desc()
420 set_tx_desc_rts_bw(pdesc, 0); in rtl8723e_tx_fill_desc()
421 set_tx_desc_rts_sc(pdesc, ptcb_desc->rts_sc); in rtl8723e_tx_fill_desc()
422 set_tx_desc_rts_short(pdesc, in rtl8723e_tx_fill_desc()
429 set_tx_desc_data_bw(pdesc, 1); in rtl8723e_tx_fill_desc()
430 set_tx_desc_tx_sub_carrier(pdesc, 3); in rtl8723e_tx_fill_desc()
432 set_tx_desc_data_bw(pdesc, 0); in rtl8723e_tx_fill_desc()
433 set_tx_desc_tx_sub_carrier(pdesc, in rtl8723e_tx_fill_desc()
437 set_tx_desc_data_bw(pdesc, 0); in rtl8723e_tx_fill_desc()
438 set_tx_desc_tx_sub_carrier(pdesc, 0); in rtl8723e_tx_fill_desc()
441 set_tx_desc_linip(pdesc, 0); in rtl8723e_tx_fill_desc()
442 set_tx_desc_pkt_size(pdesc, (u16)skb->len); in rtl8723e_tx_fill_desc()
446 set_tx_desc_ampdu_density(pdesc, ampdu_density); in rtl8723e_tx_fill_desc()
457 set_tx_desc_sec_type(pdesc, 0x1); in rtl8723e_tx_fill_desc()
460 set_tx_desc_sec_type(pdesc, 0x3); in rtl8723e_tx_fill_desc()
463 set_tx_desc_sec_type(pdesc, 0x0); in rtl8723e_tx_fill_desc()
469 set_tx_desc_pkt_id(pdesc, 0); in rtl8723e_tx_fill_desc()
470 set_tx_desc_queue_sel(pdesc, fw_qsel); in rtl8723e_tx_fill_desc()
472 set_tx_desc_data_rate_fb_limit(pdesc, 0x1F); in rtl8723e_tx_fill_desc()
473 set_tx_desc_rts_rate_fb_limit(pdesc, 0xF); in rtl8723e_tx_fill_desc()
474 set_tx_desc_disable_fb(pdesc, 0); in rtl8723e_tx_fill_desc()
475 set_tx_desc_use_rate(pdesc, ptcb_desc->use_driver_rate ? 1 : 0); in rtl8723e_tx_fill_desc()
481 set_tx_desc_rdg_enable(pdesc, 1); in rtl8723e_tx_fill_desc()
482 set_tx_desc_htc(pdesc, 1); in rtl8723e_tx_fill_desc()
487 set_tx_desc_first_seg(pdesc, (firstseg ? 1 : 0)); in rtl8723e_tx_fill_desc()
488 set_tx_desc_last_seg(pdesc, (lastseg ? 1 : 0)); in rtl8723e_tx_fill_desc()
490 set_tx_desc_tx_buffer_size(pdesc, (u16)skb->len); in rtl8723e_tx_fill_desc()
492 set_tx_desc_tx_buffer_address(pdesc, mapping); in rtl8723e_tx_fill_desc()
495 set_tx_desc_rate_id(pdesc, ptcb_desc->ratr_index); in rtl8723e_tx_fill_desc()
496 set_tx_desc_macid(pdesc, ptcb_desc->mac_id); in rtl8723e_tx_fill_desc()
498 set_tx_desc_rate_id(pdesc, 0xC + ptcb_desc->ratr_index); in rtl8723e_tx_fill_desc()
499 set_tx_desc_macid(pdesc, ptcb_desc->ratr_index); in rtl8723e_tx_fill_desc()
503 set_tx_desc_hwseq_en_8723(pdesc, 1); in rtl8723e_tx_fill_desc()
508 set_tx_desc_hwseq_sel_8723(pdesc, 1); in rtl8723e_tx_fill_desc()
512 set_tx_desc_more_frag(pdesc, (lastseg ? 0 : 1)); in rtl8723e_tx_fill_desc()
516 set_tx_desc_bmc(pdesc, 1); in rtl8723e_tx_fill_desc()
529 __le32 *pdesc = (__le32 *)pdesc8; in rtl8723e_tx_fill_cmddesc() local
542 clear_pci_tx_desc_content(pdesc, TX_DESC_SIZE); in rtl8723e_tx_fill_cmddesc()
545 set_tx_desc_offset(pdesc, USB_HWDESC_HEADER_LEN); in rtl8723e_tx_fill_cmddesc()
547 set_tx_desc_tx_rate(pdesc, DESC92C_RATE1M); in rtl8723e_tx_fill_cmddesc()
549 set_tx_desc_seq(pdesc, 0); in rtl8723e_tx_fill_cmddesc()
551 set_tx_desc_linip(pdesc, 0); in rtl8723e_tx_fill_cmddesc()
553 set_tx_desc_queue_sel(pdesc, fw_queue); in rtl8723e_tx_fill_cmddesc()
555 set_tx_desc_first_seg(pdesc, 1); in rtl8723e_tx_fill_cmddesc()
556 set_tx_desc_last_seg(pdesc, 1); in rtl8723e_tx_fill_cmddesc()
558 set_tx_desc_tx_buffer_size(pdesc, (u16)(skb->len)); in rtl8723e_tx_fill_cmddesc()
560 set_tx_desc_tx_buffer_address(pdesc, mapping); in rtl8723e_tx_fill_cmddesc()
562 set_tx_desc_rate_id(pdesc, 7); in rtl8723e_tx_fill_cmddesc()
563 set_tx_desc_macid(pdesc, 0); in rtl8723e_tx_fill_cmddesc()
565 set_tx_desc_own(pdesc, 1); in rtl8723e_tx_fill_cmddesc()
567 set_tx_desc_pkt_size(pdesc, (u16)(skb->len)); in rtl8723e_tx_fill_cmddesc()
569 set_tx_desc_first_seg(pdesc, 1); in rtl8723e_tx_fill_cmddesc()
570 set_tx_desc_last_seg(pdesc, 1); in rtl8723e_tx_fill_cmddesc()
572 set_tx_desc_offset(pdesc, 0x20); in rtl8723e_tx_fill_cmddesc()
574 set_tx_desc_use_rate(pdesc, 1); in rtl8723e_tx_fill_cmddesc()
577 set_tx_desc_hwseq_en_8723(pdesc, 1); in rtl8723e_tx_fill_cmddesc()
584 pdesc, TX_DESC_SIZE); in rtl8723e_tx_fill_cmddesc()
590 __le32 *pdesc = (__le32 *)pdesc8; in rtl8723e_set_desc() local
595 set_tx_desc_own(pdesc, 1); in rtl8723e_set_desc()
598 set_tx_desc_next_desc_address(pdesc, *(u32 *)val); in rtl8723e_set_desc()
608 set_rx_desc_own(pdesc, 1); in rtl8723e_set_desc()
611 set_rx_desc_buff_addr(pdesc, *(u32 *)val); in rtl8723e_set_desc()
614 set_rx_desc_pkt_len(pdesc, *(u32 *)val); in rtl8723e_set_desc()
617 set_rx_desc_eor(pdesc, 1); in rtl8723e_set_desc()
631 __le32 *pdesc = (__le32 *)pdesc8; in rtl8723e_get_desc() local
636 ret = get_tx_desc_own(pdesc); in rtl8723e_get_desc()
639 ret = get_tx_desc_tx_buffer_address(pdesc); in rtl8723e_get_desc()
649 ret = get_rx_desc_own(pdesc); in rtl8723e_get_desc()
652 ret = get_rx_desc_pkt_len(pdesc); in rtl8723e_get_desc()
655 ret = get_rx_desc_buff_addr(pdesc); in rtl8723e_get_desc()