Searched refs:desc_offset (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/net/wireless/ath/ath10k/ |
D | htt_tx.c | 763 #define desc_offset(x) (offsetof(struct htt_rx_desc, x) / 4) in ath10k_htt_fill_rx_desc_offset_32() macro 764 ring->mac80211_hdr_offset = __cpu_to_le16(desc_offset(rx_hdr_status)); in ath10k_htt_fill_rx_desc_offset_32() 765 ring->msdu_payload_offset = __cpu_to_le16(desc_offset(msdu_payload)); in ath10k_htt_fill_rx_desc_offset_32() 766 ring->ppdu_start_offset = __cpu_to_le16(desc_offset(ppdu_start)); in ath10k_htt_fill_rx_desc_offset_32() 767 ring->ppdu_end_offset = __cpu_to_le16(desc_offset(ppdu_end)); in ath10k_htt_fill_rx_desc_offset_32() 768 ring->mpdu_start_offset = __cpu_to_le16(desc_offset(mpdu_start)); in ath10k_htt_fill_rx_desc_offset_32() 769 ring->mpdu_end_offset = __cpu_to_le16(desc_offset(mpdu_end)); in ath10k_htt_fill_rx_desc_offset_32() 770 ring->msdu_start_offset = __cpu_to_le16(desc_offset(msdu_start)); in ath10k_htt_fill_rx_desc_offset_32() 771 ring->msdu_end_offset = __cpu_to_le16(desc_offset(msdu_end)); in ath10k_htt_fill_rx_desc_offset_32() 772 ring->rx_attention_offset = __cpu_to_le16(desc_offset(attention)); in ath10k_htt_fill_rx_desc_offset_32() [all …]
|
/Linux-v4.19/drivers/net/wan/ |
D | hd64570.c | 105 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()
|
D | hd64572.c | 88 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()
|
/Linux-v4.19/drivers/dma/xilinx/ |
D | xilinx_dma.c | 351 u32 desc_offset; member 470 dma_write(chan, chan->desc_offset + reg, value); in vdma_desc_write() 511 writel(value_lsb, chan->xdev->regs + chan->desc_offset + reg); in vdma_desc_write_64() 514 writel(value_msb, chan->xdev->regs + chan->desc_offset + reg + 4); in vdma_desc_write_64() 2432 chan->desc_offset = XILINX_VDMA_MM2S_DESC_OFFSET; in xilinx_dma_chan_probe() 2456 chan->desc_offset = XILINX_VDMA_S2MM_DESC_OFFSET; in xilinx_dma_chan_probe()
|
/Linux-v4.19/fs/nilfs2/ |
D | alloc.c | 118 unsigned long desc_offset = in nilfs_palloc_bitmap_blkoff() local 121 desc_offset * NILFS_MDT(inode)->mi_blocks_per_group; in nilfs_palloc_bitmap_blkoff()
|