/openbmc/qemu/hw/net/ |
H A D | spapr_llan.c | 109 RxBufPool *rx_pool[RX_MAX_POOLS]; /* Receive buffer descriptor pools */ member 144 if (dev->rx_pool[pool]->count > 0 && in spapr_vlan_get_rx_bd_from_pool() 145 dev->rx_pool[pool]->bufsize >= size + 8) { in spapr_vlan_get_rx_bd_from_pool() 156 dev->rx_pool[pool]->count, in spapr_vlan_get_rx_bd_from_pool() 160 dev->rx_pool[pool]->count--; in spapr_vlan_get_rx_bd_from_pool() 161 bd = dev->rx_pool[pool]->bds[dev->rx_pool[pool]->count]; in spapr_vlan_get_rx_bd_from_pool() 162 dev->rx_pool[pool]->bds[dev->rx_pool[pool]->count] = 0; in spapr_vlan_get_rx_bd_from_pool() 310 spapr_vlan_reset_rx_pool(dev->rx_pool[i]); in spapr_vlan_reset() 347 dev->rx_pool[i] = g_new(RxBufPool, 1); in spapr_vlan_instance_init() 348 spapr_vlan_reset_rx_pool(dev->rx_pool[i]); in spapr_vlan_instance_init() [all …]
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | netcp_core.c | 589 ndesc = knav_pool_desc_unmap(netcp->rx_pool, dma_desc, dma_sz); in netcp_free_rx_desc_chain() 602 knav_pool_desc_put(netcp->rx_pool, desc); in netcp_free_rx_desc_chain() 612 knav_pool_desc_put(netcp->rx_pool, desc); in netcp_free_rx_desc_chain() 627 desc = knav_pool_desc_unmap(netcp->rx_pool, dma, dma_sz); in netcp_empty_rx_queue() 656 desc = knav_pool_desc_unmap(netcp->rx_pool, dma_desc, dma_sz); in netcp_process_one_rx_packet() 693 ndesc = knav_pool_desc_unmap(netcp->rx_pool, dma_desc, dma_sz); in netcp_process_one_rx_packet() 719 knav_pool_desc_put(netcp->rx_pool, ndesc); in netcp_process_one_rx_packet() 753 knav_pool_desc_put(netcp->rx_pool, desc); in netcp_process_one_rx_packet() 759 knav_pool_desc_put(netcp->rx_pool, desc); in netcp_process_one_rx_packet() 797 desc = knav_pool_desc_unmap(netcp->rx_pool, dma, dma_sz); in netcp_free_rx_buf() [all …]
|
H A D | netcp.h | 93 void *rx_pool; member
|
/openbmc/linux/drivers/net/ethernet/ibm/ |
H A D | ibmvnic.c | 752 adapter->rx_pool[i].active = 0; in deactivate_rx_pools() 894 if (adapter->rx_pool[i].active) in replenish_pools() 895 replenish_rx_pool(adapter, &adapter->rx_pool[i]); in replenish_pools() 969 struct ibmvnic_rx_pool *rx_pool; in release_rx_pools() local 972 if (!adapter->rx_pool) in release_rx_pools() 976 rx_pool = &adapter->rx_pool[i]; in release_rx_pools() 980 kfree(rx_pool->free_map); in release_rx_pools() 982 free_ltb_set(adapter, &rx_pool->ltb_set); in release_rx_pools() 984 if (!rx_pool->rx_buff) in release_rx_pools() 987 for (j = 0; j < rx_pool->size; j++) { in release_rx_pools() [all …]
|
H A D | ibmvnic.h | 970 struct ibmvnic_rx_pool *rx_pool; member
|
/openbmc/linux/drivers/net/wireless/ath/carl9170/ |
H A D | usb.c | 324 urb = usb_get_from_anchor(&ar->rx_pool); in carl9170_usb_submit_rx_urb() 330 usb_anchor_urb(urb, &ar->rx_pool); in carl9170_usb_submit_rx_urb() 358 usb_anchor_urb(urb, &ar->rx_pool); in carl9170_usb_rx_work() 424 usb_anchor_urb(urb, &ar->rx_pool); in carl9170_usb_rx_complete() 535 usb_anchor_urb(urb, &ar->rx_pool); in carl9170_usb_init_rx_bulk_urbs() 550 usb_scuttle_anchored_urbs(&ar->rx_pool); in carl9170_usb_init_rx_bulk_urbs() 600 usb_scuttle_anchored_urbs(&ar->rx_pool); in carl9170_usb_cancel_urbs() 1108 init_usb_anchor(&ar->rx_pool); in carl9170_usb_probe()
|
H A D | carl9170.h | 250 struct usb_anchor rx_pool; member
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | rx.c | 493 if (!trans_pcie->rx_pool) in iwl_pcie_free_rbs_pool() 497 if (!trans_pcie->rx_pool[i].page) in iwl_pcie_free_rbs_pool() 499 dma_unmap_page(trans->dev, trans_pcie->rx_pool[i].page_dma, in iwl_pcie_free_rbs_pool() 501 __free_pages(trans_pcie->rx_pool[i].page, in iwl_pcie_free_rbs_pool() 503 trans_pcie->rx_pool[i].page = NULL; in iwl_pcie_free_rbs_pool() 777 trans_pcie->rx_pool = kcalloc(RX_POOL_SIZE(trans_pcie->num_rx_bufs), in iwl_pcie_rx_alloc() 778 sizeof(trans_pcie->rx_pool[0]), in iwl_pcie_rx_alloc() 784 if (!trans_pcie->rxq || !trans_pcie->rx_pool || in iwl_pcie_rx_alloc() 825 kfree(trans_pcie->rx_pool); in iwl_pcie_rx_alloc() 826 trans_pcie->rx_pool = NULL; in iwl_pcie_rx_alloc() [all …]
|
H A D | internal.h | 352 struct iwl_rx_mem_buffer *rx_pool; member
|
/openbmc/linux/drivers/atm/ |
H A D | idt77252.h | 175 struct rx_pool { struct 221 struct rx_pool rx_pool; member
|
H A D | idt77252.c | 97 static void flush_rx_pool(struct idt77252_dev *, struct rx_pool *); 99 struct rx_pool *); 1015 struct rx_pool *rpp; in dequeue_rx() 1115 rpp = &vc->rcv.rx_pool; in dequeue_rx() 1903 flush_rx_pool(struct idt77252_dev *card, struct rx_pool *rpp) in flush_rx_pool() 1910 recycle_rx_pool_skb(struct idt77252_dev *card, struct rx_pool *rpp) in recycle_rx_pool_skb() 2333 flush_rx_pool(card, &vc->rcv.rx_pool); in idt77252_init_rx() 2516 if (skb_queue_len(&vc->rcv.rx_pool.queue) != 0) { in idt77252_close() 2520 recycle_rx_pool_skb(card, &vc->rcv.rx_pool); in idt77252_close() 2863 flush_rx_pool(card, &vc->rcv.rx_pool); in open_card_oam() [all …]
|
/openbmc/linux/drivers/net/wireless/ti/wl12xx/ |
H A D | debugfs.c | 91 WL12XX_DEBUGFS_FWSTATS_FILE(event, rx_pool, "%u"); 191 DEBUGFS_FWSTATS_ADD(event, rx_pool); in wl12xx_debugfs_add_files()
|
H A D | acx.h | 217 __le32 rx_pool; member
|
/openbmc/linux/drivers/tty/ipwireless/ |
H A D | hardware.c | 248 struct list_head rx_pool; member 564 if (!list_empty(&hw->rx_pool)) { in pool_allocate() 565 packet = list_first_entry(&hw->rx_pool, in pool_allocate() 615 list_add(&packet->queue, &hw->rx_pool); in pool_free() 1636 INIT_LIST_HEAD(&hw->rx_pool); in ipwireless_hardware_create() 1755 list_for_each_entry_safe(rp, rq, &hw->rx_pool, queue) { in ipwireless_hardware_free()
|
/openbmc/linux/drivers/net/wireless/ti/wl1251/ |
H A D | debugfs.c | 173 DEBUGFS_FWSTATS_FILE(event, rx_pool, 20, "%u"); 313 DEBUGFS_FWSTATS_DEL(event, rx_pool); in wl1251_debugfs_delete_files() 412 DEBUGFS_FWSTATS_ADD(event, rx_pool); in wl1251_debugfs_add_files()
|
H A D | acx.h | 1036 u32 rx_pool; member
|