/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/i810/ |
H A D | i810_drv.h | 84 drm_i810_ring_buffer_t ring; member in struct:drm_i810_private 150 if (dev_priv->ring.space < n*4) \ 152 dev_priv->ring.space -= n*4; \ 153 outring = dev_priv->ring.tail; \ 154 ringmask = dev_priv->ring.tail_mask; \ 155 virt = dev_priv->ring.virtual_start; \ 161 dev_priv->ring.tail = outring; \
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/i830/ |
H A D | i830_drv.h | 90 drm_i830_ring_buffer_t ring; member in struct:drm_i830_private 160 if (dev_priv->ring.space < n*4) \ 163 outring = dev_priv->ring.tail; \ 164 ringmask = dev_priv->ring.tail_mask; \ 165 virt = dev_priv->ring.virtual_start; \ 180 dev_priv->ring.tail = outring; \ 181 dev_priv->ring.space -= outcount * 4; \
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/xen/interface/io/ |
H A D | ring.h | 2 * ring.h 4 * Shared producer-consumer ring macros. 22 * Calculate size of a shared ring, given the total available space for the 23 * ring and indexes (_sz), and the name tag of the request/response structure. 24 * A ring contains as many entries as will fit, rounded down to the nearest 28 (__RD32(((_sz) - offsetof(struct _s##_sring, ring)) / \ 29 sizeof(((struct _s##_sring *)0)->ring[0]))) 35 (__RD32(((_sz) - (long)&(_s)->ring + (long)(_s)) / sizeof((_s)->ring[0]))) 38 * Macros to make the correct C datatypes for a new kind of ring [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-bcmring/include/mach/ |
H A D | dma.h | 101 * The DMA_DescriptorRing_t contains a ring of descriptors which is used 107 void *virtAddr; /* Virtual Address of the descriptor ring */ 108 dma_addr_t physAddr; /* Physical address of the descriptor ring */ 109 int descriptorsAllocated; /* Number of descriptors allocated in the descriptor ring */ 110 size_t bytesAllocated; /* Number of bytes allocated in the descriptor ring */ 249 DMA_DescriptorRing_t ring; /* Ring of descriptors allocated for this device */ member in struct:__anon7954 405 * Allocates memory to hold a descriptor ring. The descriptor ring then 409 * The returned descriptor ring will be automatically initialized. 412 * 0 Descriptor ring wa [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/ |
H A D | cassini.c | 58 * RX DATA: the rx completion ring has all the info, but the rx desc 59 * ring has all of the data. RX can conceivably come in under multiple 286 static void cas_disable_irq(struct cas *cp, const int ring) argument 289 if (ring == 0) { 296 switch (ring) { 308 cp->regs + REG_PLUS_INTRN_MASK(ring)); 313 REG_PLUS_INTRN_MASK(ring)); 327 static void cas_enable_irq(struct cas *cp, const int ring) argument 329 if (ring == 0) { /* all but TX_DONE */ 335 switch (ring) { 1341 cas_page_swap(struct cas *cp, const int ring, const int index) argument 1734 cas_tx_ringN(struct cas *cp, int ring, int limit) argument 1809 int limit, ring; local 2069 cas_post_page(struct cas *cp, const int ring, const int index) argument 2097 cas_post_rxds_ringN(struct cas *cp, int ring, int num) argument 2170 cas_rx_ringN(struct cas *cp, int ring, int budget) argument 2286 cas_post_rxcs_ringN(struct net_device *dev, struct cas *cp, int ring) argument 2317 cas_handle_irqN(struct net_device *dev, struct cas *cp, const u32 status, const int ring) argument 2330 int ring; local 2603 cas_intme(int ring, int entry) argument 2612 cas_write_txd(struct cas *cp, int ring, int entry, dma_addr_t mapping, int len, u64 ctrl, int last) argument 2626 tx_tiny_buf(struct cas *cp, const int ring, const int entry) argument 2632 tx_tiny_map(struct cas *cp, const int ring, const int entry, const int tentry) argument 2640 cas_xmit_tx_ringN(struct cas *cp, int ring, struct sk_buff *skb) argument 2749 static int ring; local 3728 cas_clean_txd(struct cas *cp, int ring) argument 3776 cas_free_rx_desc(struct cas *cp, int ring) argument 3816 cas_alloc_rx_desc(struct cas *cp, int ring) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/vxge/ |
H A D | vxge-traffic.c | 768 * vxge_hw_ring_rxd_reserve - Reserve ring descriptor. 769 * @ring: Handle to the ring object used for receive 781 enum vxge_hw_status vxge_hw_ring_rxd_reserve(struct __vxge_hw_ring *ring, argument 787 channel = &ring->channel; 803 * @ring: Handle to the ring object used for receive 825 void vxge_hw_ring_rxd_free(struct __vxge_hw_ring *ring, void *rxdh) argument 829 channel = &ring->channel; 837 * @ring 842 vxge_hw_ring_rxd_pre_post(struct __vxge_hw_ring *ring, void *rxdh) argument 858 vxge_hw_ring_rxd_post_post(struct __vxge_hw_ring *ring, void *rxdh) argument 881 vxge_hw_ring_rxd_post(struct __vxge_hw_ring *ring, void *rxdh) argument 904 vxge_hw_ring_rxd_post_post_wmb(struct __vxge_hw_ring *ring, void *rxdh) argument 947 vxge_hw_ring_rxd_next_completed( struct __vxge_hw_ring *ring, void **rxdh, u8 *t_code) argument 1012 vxge_hw_ring_handle_tcode( struct __vxge_hw_ring *ring, void *rxdh, u8 t_code) argument 2422 vxge_hw_vpath_poll_rx(struct __vxge_hw_ring *ring) argument [all...] |
H A D | vxge-config.c | 648 if (device_config->vp_config[i].ring.enable == 650 nblocks += device_config->vp_config[i].ring.ring_blocks; 1092 u64 __vxge_hw_ring_first_block_address_get(struct __vxge_hw_ring *ring) argument 1096 dma_object = ring->mempool->memblocks_dma_arr; 1134 struct __vxge_hw_ring *ring, u32 from, 1170 struct __vxge_hw_ring *ring = local 1174 for (i = 0; i < ring->rxds_per_block; i++) { 1179 u32 reserve_index = ring->channel.reserve_ptr - 1180 (index * ring->rxds_per_block + i + 1); 1183 ring 1133 __vxge_hw_ring_rxdblock_link(struct vxge_hw_mempool *mempoolh, struct __vxge_hw_ring *ring, u32 from, u32 to) argument 1220 vxge_hw_ring_replenish(struct __vxge_hw_ring *ring) argument 1259 struct __vxge_hw_ring *ring; local 1365 __vxge_hw_ring_abort(struct __vxge_hw_ring *ring) argument 1394 __vxge_hw_ring_reset(struct __vxge_hw_ring *ring) argument 1423 struct __vxge_hw_ring *ring = vp->vpath->ringh; local 3282 vxge_hw_vpath_check_leak(struct __vxge_hw_ring *ring) argument 4202 struct __vxge_hw_ring *ring; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/rds/ |
H A D | ib.h | 316 void rds_ib_ring_init(struct rds_ib_work_ring *ring, u32 nr); 317 void rds_ib_ring_resize(struct rds_ib_work_ring *ring, u32 nr); 318 u32 rds_ib_ring_alloc(struct rds_ib_work_ring *ring, u32 val, u32 *pos); 319 void rds_ib_ring_free(struct rds_ib_work_ring *ring, u32 val); 320 void rds_ib_ring_unalloc(struct rds_ib_work_ring *ring, u32 val); 321 int rds_ib_ring_empty(struct rds_ib_work_ring *ring); 322 int rds_ib_ring_low(struct rds_ib_work_ring *ring); 323 u32 rds_ib_ring_oldest(struct rds_ib_work_ring *ring); 324 u32 rds_ib_ring_completed(struct rds_ib_work_ring *ring, u32 wr_id, u32 oldest);
|
H A D | iw.h | 343 void rds_iw_ring_init(struct rds_iw_work_ring *ring, u32 nr); 344 void rds_iw_ring_resize(struct rds_iw_work_ring *ring, u32 nr); 345 u32 rds_iw_ring_alloc(struct rds_iw_work_ring *ring, u32 val, u32 *pos); 346 void rds_iw_ring_free(struct rds_iw_work_ring *ring, u32 val); 347 void rds_iw_ring_unalloc(struct rds_iw_work_ring *ring, u32 val); 348 int rds_iw_ring_empty(struct rds_iw_work_ring *ring); 349 int rds_iw_ring_low(struct rds_iw_work_ring *ring); 350 u32 rds_iw_ring_oldest(struct rds_iw_work_ring *ring); 351 u32 rds_iw_ring_completed(struct rds_iw_work_ring *ring, u32 wr_id, u32 oldest);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/via/ |
H A D | via_dma.c | 137 * Checks whether buffer head has reach the end. Rewind the ring buffer 140 * Returns virtual pointer to ring buffer. 162 if (dev_priv->ring.virtual_start) { 165 drm_core_ioremapfree(&dev_priv->ring.map, dev); 166 dev_priv->ring.virtual_start = NULL; 183 if (dev_priv->ring.virtual_start != NULL) { 198 dev_priv->ring.map.offset = dev->agp->base + init->offset; 199 dev_priv->ring.map.size = init->size; 200 dev_priv->ring.map.type = 0; 201 dev_priv->ring [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/enic/ |
H A D | vnic_dev.h | 89 unsigned int vnic_dev_desc_ring_size(struct vnic_dev_ring *ring, 91 void vnic_dev_clear_desc_ring(struct vnic_dev_ring *ring); 92 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring, 95 struct vnic_dev_ring *ring);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/fnic/ |
H A D | vnic_dev.h | 116 unsigned int vnic_dev_desc_ring_size(struct vnic_dev_ring *ring, 119 void vnic_dev_clear_desc_ring(struct vnic_dev_ring *ring); 120 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring, 123 struct vnic_dev_ring *ring);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/dccp/ccids/lib/ |
H A D | loss_interval.h | 41 * @ring: Circular queue managed in LIFO manner 46 struct tfrc_loss_interval *ring[LIH_SIZE]; member in struct:tfrc_loss_hist
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/netxen/ |
H A D | netxen_nic_init.c | 112 int i, ring; local 115 for (ring = 0; ring < adapter->max_rds_rings; ring++) { 116 rds_ring = &recv_ctx->rds_rings[ring]; 168 int ring; local 175 for (ring = 0; ring < adapter->max_rds_rings; ring++) { 176 rds_ring = &recv_ctx->rds_rings[ring]; 199 int ring, i, size; local 1504 netxen_process_rcv(struct netxen_adapter *adapter, struct nx_host_sds_ring *sds_ring, int ring, u64 sts_data0) argument 1558 netxen_process_lro(struct netxen_adapter *adapter, struct nx_host_sds_ring *sds_ring, int ring, u64 sts_data0, u64 sts_data1) argument 1644 int opcode, ring = 0, desc_cnt; local [all...] |
H A D | netxen_nic_ethtool.c | 322 int ring, i = 0; local 378 for (ring = 0; ring < adapter->max_sds_rings; ring++) { 379 sds_ring = &(recv_ctx->sds_rings[ring]); 427 struct ethtool_ringparam *ring) 431 ring->rx_pending = adapter->num_rxd; 432 ring->rx_jumbo_pending = adapter->num_jumbo_rxd; 433 ring->rx_jumbo_pending += adapter->num_lro_rxd; 434 ring 426 netxen_nic_get_ringparam(struct net_device *dev, struct ethtool_ringparam *ring) argument 467 netxen_nic_set_ringparam(struct net_device *dev, struct ethtool_ringparam *ring) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/block/ |
H A D | xen-blkfront.c | 90 struct blkif_front_ring ring; member in struct:blkfront_info 280 /* Fill out a communications ring structure. */ 281 ring_req = RING_GET_REQUEST(&info->ring, info->ring.req_prod_pvt); 319 info->ring.req_prod_pvt++; 334 RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&info->ring, notify); 357 if (RING_FULL(&info->ring)) 406 /* Ensure a merged request will fit in a single I/O ring slot. */ 573 if (!RING_FULL(&info->ring)) { 610 (unsigned long)info->ring [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/mlx4/ |
H A D | mlx4_en.h | 99 /* Maximum ring sizes */ 103 /* Minimum ring size for our page-allocation sceme to work */ 223 u16 cqn; /* index of port CQ associated with this ring */ 245 /* actual number of entries depends on rx ring stride */ 258 u16 cqn; /* index of port CQ associated with this ring */ 286 int ring; member in struct:mlx4_en_cq 480 int entries, int ring, enum cq_type mode); 492 int mlx4_en_create_tx_ring(struct mlx4_en_priv *priv, struct mlx4_en_tx_ring *ring, 494 void mlx4_en_destroy_tx_ring(struct mlx4_en_priv *priv, struct mlx4_en_tx_ring *ring); 496 struct mlx4_en_tx_ring *ring, [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/radeon/ |
H A D | radeon_cp.c | 657 dev_priv->ring.tail = cur_read_ptr; 739 /* Reset the CP ring */ 791 /* Initialize the ring buffer's read and write pointers */ 795 dev_priv->ring.tail = cur_read_ptr; 811 /* Set ring buffer size */ 815 (dev_priv->ring.fetch_size_l2ow << 18) | 816 (dev_priv->ring.rptr_update_l2qw << 8) | 817 dev_priv->ring.size_l2qw); 820 (dev_priv->ring.fetch_size_l2ow << 18) | 821 (dev_priv->ring 1970 drm_radeon_ring_buffer_t *ring = &dev_priv->ring; local 2198 u32 *ring; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/ixgbevf/ |
H A D | ethtool.c | 312 struct ethtool_ringparam *ring) 318 ring->rx_max_pending = IXGBEVF_MAX_RXD; 319 ring->tx_max_pending = IXGBEVF_MAX_TXD; 320 ring->rx_mini_max_pending = 0; 321 ring->rx_jumbo_max_pending = 0; 322 ring->rx_pending = rx_ring->count; 323 ring->tx_pending = tx_ring->count; 324 ring->rx_mini_pending = 0; 325 ring->rx_jumbo_pending = 0; 329 struct ethtool_ringparam *ring) 311 ixgbevf_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) argument 328 ixgbevf_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/qlcnic/ |
H A D | qlcnic_ethtool.c | 342 int ring, i = 0; local 354 regs_buff[i++] = 0xFFEFCDAB; /* Marker btw regs and ring count*/ 356 regs_buff[i++] = 1; /* No. of tx ring */ 360 regs_buff[i++] = 2; /* No. of rx ring */ 366 for (ring = 0; ring < adapter->max_sds_rings; ring++) { 367 sds_ring = &(recv_ctx->sds_rings[ring]); 407 struct ethtool_ringparam *ring) 411 ring 406 qlcnic_get_ringparam(struct net_device *dev, struct ethtool_ringparam *ring) argument 446 qlcnic_set_ringparam(struct net_device *dev, struct ethtool_ringparam *ring) argument [all...] |
H A D | qlcnic_ctx.c | 410 int ring; local 429 /* cmd desc ring */ 434 dev_err(&pdev->dev, "failed to allocate tx desc ring\n"); 441 for (ring = 0; ring < adapter->max_rds_rings; ring++) { 442 rds_ring = &recv_ctx->rds_rings[ring]; 448 "failed to allocate rds ring [%d]\n", ring); 456 for (ring 514 int ring; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/r128/ |
H A D | r128_cce.c | 206 if (GET_RING_HEAD(dev_priv) == dev_priv->ring.tail) { 232 dev_priv->cce_mode | dev_priv->ring.size_l2qw 248 dev_priv->ring.tail = 0; 291 /* Reset the CCE ring */ 382 /* We don't support anything other than bus-mastering ring mode, 383 * but the ring can be in either AGP or PCI space for the ring 472 DRM_ERROR("could not find cce ring region!\n"); 479 DRM_ERROR("could not find ring read pointer!\n"); 539 dev_priv->ring 820 drm_r128_ring_buffer_t *ring = &dev_priv->ring; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavdevice/ |
H A D | dv1394.c | 43 uint8_t *ring; /* Ring buffer */ member in struct:dv1394_data 103 dv->ring = mmap(NULL, DV1394_PAL_FRAME_SIZE * DV1394_RING_FRAMES, 105 if (dv->ring == MAP_FAILED) { 106 av_log(context, AV_LOG_ERROR, "Failed to mmap DV ring buffer: %s\n", strerror(errno)); 136 /* This usually means that ring buffer overflowed. 188 dv->ring + (dv->index * DV1394_PAL_FRAME_SIZE), 204 /* Unmap ring buffer */ 205 if (munmap(dv->ring, DV1394_NTSC_FRAME_SIZE * DV1394_RING_FRAMES) < 0) 206 av_log(context, AV_LOG_ERROR, "Failed to munmap DV1394 ring buffer: %s\n", strerror(errno));
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavdevice/ |
H A D | dv1394.c | 44 uint8_t *ring; /* Ring buffer */ member in struct:dv1394_data 104 dv->ring = mmap(NULL, DV1394_PAL_FRAME_SIZE * DV1394_RING_FRAMES, 106 if (dv->ring == MAP_FAILED) { 107 av_log(context, AV_LOG_ERROR, "Failed to mmap DV ring buffer: %s\n", strerror(errno)); 137 /* This usually means that ring buffer overflowed. 189 dv->ring + (dv->index * DV1394_PAL_FRAME_SIZE), 205 /* Unmap ring buffer */ 206 if (munmap(dv->ring, DV1394_NTSC_FRAME_SIZE * DV1394_RING_FRAMES) < 0) 207 av_log(context, AV_LOG_ERROR, "Failed to munmap DV1394 ring buffer: %s\n", strerror(errno));
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | aio.h | 66 * and an event is generated in the AIO event ring. Except the special 68 * is transferred directly into the completion ring as the operation's 160 }; /* 128 bytes + ring size */ 162 #define aio_ring_avail(info, ring) (((ring)->head + (info)->nr - 1 - (ring)->tail) % (info)->nr)
|