Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/
A Dkvm_binary_stats_test.c59 TEST_ASSERT(header->desc_offset > 0 && header->data_offset > 0 in stats_test()
60 && header->desc_offset >= sizeof(*header) in stats_test()
63 TEST_ASSERT(header->desc_offset > header->data_offset || in stats_test()
64 (header->desc_offset + size_desc * header->num_desc <= in stats_test()
73 size_desc * header->num_desc, header->desc_offset); in stats_test()
127 TEST_ASSERT(header->data_offset >= header->desc_offset in stats_test()
128 || header->data_offset + size_data <= header->desc_offset, in stats_test()
/linux/drivers/net/wireless/ath/ath10k/
A Dhtt_tx.c801 #define desc_offset(x) (offsetof(struct htt_rx_desc, x) / 4) in ath10k_htt_fill_rx_desc_offset_32() macro
805 ring->ppdu_end_offset = __cpu_to_le16(desc_offset(ppdu_end)); in ath10k_htt_fill_rx_desc_offset_32()
807 ring->mpdu_end_offset = __cpu_to_le16(desc_offset(mpdu_end)); in ath10k_htt_fill_rx_desc_offset_32()
809 ring->msdu_end_offset = __cpu_to_le16(desc_offset(msdu_end)); in ath10k_htt_fill_rx_desc_offset_32()
811 ring->frag_info_offset = __cpu_to_le16(desc_offset(frag_info)); in ath10k_htt_fill_rx_desc_offset_32()
812 #undef desc_offset in ath10k_htt_fill_rx_desc_offset_32()
820 #define desc_offset(x) (offsetof(struct htt_rx_desc, x) / 4) in ath10k_htt_fill_rx_desc_offset_64() macro
824 ring->ppdu_end_offset = __cpu_to_le16(desc_offset(ppdu_end)); in ath10k_htt_fill_rx_desc_offset_64()
826 ring->mpdu_end_offset = __cpu_to_le16(desc_offset(mpdu_end)); in ath10k_htt_fill_rx_desc_offset_64()
828 ring->msdu_end_offset = __cpu_to_le16(desc_offset(msdu_end)); in ath10k_htt_fill_rx_desc_offset_64()
[all …]
/linux/drivers/net/wan/
A Dhd64570.c105 static inline u16 desc_offset(port_t *port, u16 desc, int transmit) in desc_offset() function
116 + desc_offset(port, desc, transmit)); in desc_address()
119 + desc_offset(port, desc, transmit)); in desc_address()
166 u16 chain_off = desc_offset(port, i + 1, transmit); in sca_init_port()
184 sca_outw(desc_offset(port, 0, transmit), dmac + CDAL, card); in sca_init_port()
186 sca_outw(desc_offset(port, buffs - 1, transmit), in sca_init_port()
189 sca_outw(desc_offset(port, 0, transmit), dmac + EDAL, in sca_init_port()
300 u32 desc_off = desc_offset(port, port->rxin, 0); in sca_rx_intr()
354 u32 desc_off = desc_offset(port, port->txlast, 1); in sca_tx_intr()
668 sca_outw(desc_offset(port, port->txin, 1), in sca_xmit()
A Dhd64572.c84 static inline u16 desc_offset(port_t *port, u16 desc, int transmit) in desc_offset() function
94 desc_offset(port, desc, transmit)); in desc_address()
136 u16 chain_off = desc_offset(port, i + 1, transmit); in sca_init_port()
155 sca_outl(desc_offset(port, 0, 0), dmac_rx + CDAL, card); in sca_init_port()
156 sca_outl(desc_offset(port, card->tx_ring_buffers - 1, 0), in sca_init_port()
158 sca_outl(desc_offset(port, 0, 1), dmac_tx + CDAL, card); in sca_init_port()
159 sca_outl(desc_offset(port, 0, 1), dmac_tx + EDAL, card); in sca_init_port()
239 u32 desc_off = desc_offset(port, port->rxin, 0); in sca_rx_done()
589 sca_outl(desc_offset(port, port->txin, 1), in sca_xmit()
/linux/virt/kvm/
A Dbinary_stats.c121 copylen = header->desc_offset + size_desc - pos; in kvm_stats_read()
124 src = (void *)desc + pos - header->desc_offset; in kvm_stats_read()
/linux/arch/riscv/kvm/
A Dvm.c25 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
A Dvcpu.c36 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
/linux/drivers/net/usb/
A Daqc111.c1078 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/drivers/staging/media/atomisp/pci/runtime/bufq/src/
A Dbufq.c252 init_bufq(unsigned int desc_offset, in init_bufq() argument
266 remoteq.cb_desc_addr = q_base_addr + desc_offset; in init_bufq()
/linux/fs/nilfs2/
A Dalloc.c118 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()
/linux/drivers/dma/xilinx/
A Dxilinx_dma.c417 u32 desc_offset; member
539 dma_write(chan, chan->desc_offset + reg, value); in vdma_desc_write()
580 writel(value_lsb, chan->xdev->regs + chan->desc_offset + reg); in vdma_desc_write_64()
583 writel(value_msb, chan->xdev->regs + chan->desc_offset + reg + 4); in vdma_desc_write_64()
2822 chan->desc_offset = XILINX_VDMA_MM2S_DESC_OFFSET; in xilinx_dma_chan_probe()
2850 chan->desc_offset = XILINX_VDMA_S2MM_DESC_OFFSET; in xilinx_dma_chan_probe()
/linux/arch/arm64/kvm/
A Dguest.c39 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
59 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
/linux/arch/powerpc/kvm/
A Dbook3s.c51 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
93 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
A Dbooke.c49 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
84 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
/linux/arch/mips/kvm/
A Dmips.c49 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
91 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
/linux/tools/include/uapi/linux/
A Dkvm.h1983 __u32 desc_offset; member
/linux/include/uapi/linux/
A Dkvm.h1983 __u32 desc_offset; member
/linux/arch/s390/kvm/
A Dkvm-s390.c74 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
180 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
/linux/arch/x86/kvm/
A Dx86.c250 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
289 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
/linux/Documentation/virt/kvm/
A Dapi.rst5361 __u32 desc_offset;
5378 The ``desc_offset`` field is the offset of the Descriptors block from the start

Completed in 111 milliseconds