Searched refs:desc_offset (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/drivers/net/wireless/ath/ath10k/ |
| D | htt_tx.c | 756 #define desc_offset(x) (offsetof(struct htt_rx_desc, x) / 4) in ath10k_htt_fill_rx_desc_offset_32() macro 757 ring->mac80211_hdr_offset = __cpu_to_le16(desc_offset(rx_hdr_status)); in ath10k_htt_fill_rx_desc_offset_32() 758 ring->msdu_payload_offset = __cpu_to_le16(desc_offset(msdu_payload)); in ath10k_htt_fill_rx_desc_offset_32() 759 ring->ppdu_start_offset = __cpu_to_le16(desc_offset(ppdu_start)); in ath10k_htt_fill_rx_desc_offset_32() 760 ring->ppdu_end_offset = __cpu_to_le16(desc_offset(ppdu_end)); in ath10k_htt_fill_rx_desc_offset_32() 761 ring->mpdu_start_offset = __cpu_to_le16(desc_offset(mpdu_start)); in ath10k_htt_fill_rx_desc_offset_32() 762 ring->mpdu_end_offset = __cpu_to_le16(desc_offset(mpdu_end)); in ath10k_htt_fill_rx_desc_offset_32() 763 ring->msdu_start_offset = __cpu_to_le16(desc_offset(msdu_start)); in ath10k_htt_fill_rx_desc_offset_32() 764 ring->msdu_end_offset = __cpu_to_le16(desc_offset(msdu_end)); in ath10k_htt_fill_rx_desc_offset_32() 765 ring->rx_attention_offset = __cpu_to_le16(desc_offset(attention)); in ath10k_htt_fill_rx_desc_offset_32() [all …]
|
| /Linux-v5.4/drivers/net/wan/ |
| D | hd64570.c | 102 static inline u16 desc_offset(port_t *port, u16 desc, int transmit) in desc_offset() function 114 + desc_offset(port, desc, transmit)); in desc_address() 117 + desc_offset(port, desc, transmit)); in desc_address() 167 u16 chain_off = desc_offset(port, i + 1, transmit); in sca_init_port() 185 sca_outw(desc_offset(port, 0, transmit), dmac + CDAL, card); in sca_init_port() 187 sca_outw(desc_offset(port, buffs - 1, transmit), in sca_init_port() 190 sca_outw(desc_offset(port, 0, transmit), dmac + EDAL, in sca_init_port() 303 u32 desc_off = desc_offset(port, port->rxin, 0); in sca_rx_intr() 357 u32 desc_off = desc_offset(port, port->txlast, 1); in sca_tx_intr() 658 sca_outw(desc_offset(port, port->txin, 1), in sca_xmit()
|
| D | hd64572.c | 85 static inline u16 desc_offset(port_t *port, u16 desc, int transmit) in desc_offset() function 96 desc_offset(port, desc, transmit)); in desc_address() 141 u16 chain_off = desc_offset(port, i + 1, transmit); in sca_init_port() 160 sca_outl(desc_offset(port, 0, 0), dmac_rx + CDAL, card); in sca_init_port() 161 sca_outl(desc_offset(port, card->tx_ring_buffers - 1, 0), in sca_init_port() 163 sca_outl(desc_offset(port, 0, 1), dmac_tx + CDAL, card); in sca_init_port() 164 sca_outl(desc_offset(port, 0, 1), dmac_tx + EDAL, card); in sca_init_port() 247 u32 desc_off = desc_offset(port, port->rxin, 0); in sca_rx_done() 588 sca_outl(desc_offset(port, port->txin, 1), in sca_xmit()
|
| /Linux-v5.4/drivers/net/usb/ |
| D | aqc111.c | 1078 u32 desc_offset = 0; /*RX Header Offset*/ in aqc111_rx_fixup() local 1096 desc_offset = (desc_hdr & AQ_RX_DH_DESC_OFFSET_MASK) >> in aqc111_rx_fixup() 1102 if (start_of_descs != desc_offset) in aqc111_rx_fixup() 1106 if (desc_offset >= skb_len) in aqc111_rx_fixup() 1113 pkt_desc_ptr = (u64 *)(skb->data + desc_offset); in aqc111_rx_fixup() 1125 if (pkt_total_offset > desc_offset || in aqc111_rx_fixup() 1126 (pkt_count == 0 && pkt_total_offset != desc_offset)) { in aqc111_rx_fixup()
|
| /Linux-v5.4/drivers/dma/xilinx/ |
| D | xilinx_dma.c | 355 u32 desc_offset; member 474 dma_write(chan, chan->desc_offset + reg, value); in vdma_desc_write() 515 writel(value_lsb, chan->xdev->regs + chan->desc_offset + reg); in vdma_desc_write_64() 518 writel(value_msb, chan->xdev->regs + chan->desc_offset + reg + 4); in vdma_desc_write_64() 2444 chan->desc_offset = XILINX_VDMA_MM2S_DESC_OFFSET; in xilinx_dma_chan_probe() 2468 chan->desc_offset = XILINX_VDMA_S2MM_DESC_OFFSET; in xilinx_dma_chan_probe()
|
| /Linux-v5.4/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()
|