Home
last modified time | relevance | path

Searched refs:desc_offset (Results 1 – 4 of 4) sorted by relevance

/drivers/net/wireless/ath/ath10k/
Dhtt_tx.c371 #define desc_offset(x) (offsetof(struct htt_rx_desc, x) / 4) in ath10k_htt_send_rx_ring_cfg_ll() macro
373 ring->mac80211_hdr_offset = __cpu_to_le16(desc_offset(rx_hdr_status)); in ath10k_htt_send_rx_ring_cfg_ll()
374 ring->msdu_payload_offset = __cpu_to_le16(desc_offset(msdu_payload)); in ath10k_htt_send_rx_ring_cfg_ll()
375 ring->ppdu_start_offset = __cpu_to_le16(desc_offset(ppdu_start)); in ath10k_htt_send_rx_ring_cfg_ll()
376 ring->ppdu_end_offset = __cpu_to_le16(desc_offset(ppdu_end)); in ath10k_htt_send_rx_ring_cfg_ll()
377 ring->mpdu_start_offset = __cpu_to_le16(desc_offset(mpdu_start)); in ath10k_htt_send_rx_ring_cfg_ll()
378 ring->mpdu_end_offset = __cpu_to_le16(desc_offset(mpdu_end)); in ath10k_htt_send_rx_ring_cfg_ll()
379 ring->msdu_start_offset = __cpu_to_le16(desc_offset(msdu_start)); in ath10k_htt_send_rx_ring_cfg_ll()
380 ring->msdu_end_offset = __cpu_to_le16(desc_offset(msdu_end)); in ath10k_htt_send_rx_ring_cfg_ll()
381 ring->rx_attention_offset = __cpu_to_le16(desc_offset(attention)); in ath10k_htt_send_rx_ring_cfg_ll()
[all …]
/drivers/net/wan/
Dhd64570.c105 static inline u16 desc_offset(port_t *port, u16 desc, int transmit) in desc_offset() function
117 + desc_offset(port, desc, transmit)); in desc_address()
120 + desc_offset(port, desc, transmit)); in desc_address()
170 u16 chain_off = desc_offset(port, i + 1, transmit); in sca_init_port()
188 sca_outw(desc_offset(port, 0, transmit), dmac + CDAL, card); in sca_init_port()
190 sca_outw(desc_offset(port, buffs - 1, transmit), in sca_init_port()
193 sca_outw(desc_offset(port, 0, transmit), dmac + EDAL, in sca_init_port()
306 u32 desc_off = desc_offset(port, port->rxin, 0); in sca_rx_intr()
360 u32 desc_off = desc_offset(port, port->txlast, 1); in sca_tx_intr()
661 sca_outw(desc_offset(port, port->txin, 1), in sca_xmit()
Dhd64572.c88 static inline u16 desc_offset(port_t *port, u16 desc, int transmit) in desc_offset() function
99 desc_offset(port, desc, transmit)); in desc_address()
144 u16 chain_off = desc_offset(port, i + 1, transmit); in sca_init_port()
163 sca_outl(desc_offset(port, 0, 0), dmac_rx + CDAL, card); in sca_init_port()
164 sca_outl(desc_offset(port, card->tx_ring_buffers - 1, 0), in sca_init_port()
166 sca_outl(desc_offset(port, 0, 1), dmac_tx + CDAL, card); in sca_init_port()
167 sca_outl(desc_offset(port, 0, 1), dmac_tx + EDAL, card); in sca_init_port()
250 u32 desc_off = desc_offset(port, port->rxin, 0); in sca_rx_done()
591 sca_outl(desc_offset(port, port->txin, 1), in sca_xmit()
/drivers/dma/xilinx/
Dxilinx_vdma.c213 u32 desc_offset; member
272 vdma_write(chan, chan->desc_offset + reg, value); in vdma_desc_write()
1159 chan->desc_offset = XILINX_VDMA_MM2S_DESC_OFFSET; in xilinx_vdma_chan_probe()
1170 chan->desc_offset = XILINX_VDMA_S2MM_DESC_OFFSET; in xilinx_vdma_chan_probe()