Home
last modified time | relevance | path

Searched refs:rx_pool (Results 1 – 16 of 16) sorted by relevance

/openbmc/qemu/hw/net/
H A Dspapr_llan.c144 if (dev->rx_pool[pool]->count > 0 && 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()
347 dev->rx_pool[i] = g_new(RxBufPool, 1); in spapr_vlan_instance_init()
360 g_free(dev->rx_pool[i]); in spapr_vlan_instance_finalize()
361 dev->rx_pool[i] = NULL; in spapr_vlan_instance_finalize()
547 if (dev->rx_pool[pool]->bufsize == size) { in spapr_vlan_get_rx_pool_id()
573 if (dev->rx_pool[pool]->count == 0) { in spapr_vlan_add_rxbuf_to_pool()
579 qsort(dev->rx_pool, RX_MAX_POOLS, sizeof(dev->rx_pool[0]), in spapr_vlan_add_rxbuf_to_pool()
[all …]
/openbmc/linux/drivers/net/ethernet/ti/
H A Dnetcp_core.c602 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()
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()
831 knav_pool_desc_put(netcp->rx_pool, desc); in netcp_free_rx_buf()
847 knav_pool_destroy(netcp->rx_pool); in netcp_rxpool_free()
848 netcp->rx_pool = NULL; in netcp_rxpool_free()
1557 if (!IS_ERR_OR_NULL(netcp->rx_pool)) in netcp_free_navigator_resources()
1596 if (IS_ERR_OR_NULL(netcp->rx_pool)) { in netcp_setup_navigator_resources()
[all …]
H A Dnetcp.h93 void *rx_pool; member
/openbmc/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c975 rx_pool = &adapter->rx_pool[i]; in release_rx_pools()
1089 rx_pool = &adapter->rx_pool[i]; in init_rx_pools()
1096 rx_pool->index = i; in init_rx_pools()
1099 rx_pool->free_map = kcalloc(rx_pool->size, sizeof(int), in init_rx_pools()
1107 rx_pool->rx_buff = kcalloc(rx_pool->size, in init_rx_pools()
1122 rx_pool = &adapter->rx_pool[i]; in init_rx_pools()
1124 i, rx_pool->size, rx_pool->buff_size); in init_rx_pools()
1127 rx_pool->size, rx_pool->buff_size); in init_rx_pools()
1156 rx_pool->active = 1; in init_rx_pools()
2002 rx_pool = &adapter->rx_pool[i]; in clean_rx_pools()
[all …]
H A Dibmvnic.h969 struct ibmvnic_rx_pool *rx_pool; member
/openbmc/linux/drivers/net/wireless/ath/carl9170/
H A Dusb.c324 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 Dcarl9170.h250 struct usb_anchor rx_pool; member
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/
H A Drx.c493 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()
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()
1149 struct iwl_rx_mem_buffer *rxb = &trans_pcie->rx_pool[i]; in _iwl_pcie_rx_init()
[all …]
H A Dinternal.h352 struct iwl_rx_mem_buffer *rx_pool; member
/openbmc/linux/drivers/atm/
H A Didt77252.h175 struct rx_pool { struct
221 struct rx_pool rx_pool; member
H A Didt77252.c97 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()
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()
2906 if (skb_queue_len(&vc->rcv.rx_pool.queue) != 0) { in close_card_oam()
[all …]
/openbmc/linux/drivers/net/wireless/ti/wl12xx/
H A Ddebugfs.c91 WL12XX_DEBUGFS_FWSTATS_FILE(event, rx_pool, "%u");
191 DEBUGFS_FWSTATS_ADD(event, rx_pool); in wl12xx_debugfs_add_files()
H A Dacx.h217 __le32 rx_pool; member
/openbmc/linux/drivers/net/wireless/ti/wl1251/
H A Ddebugfs.c173 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 Dacx.h1036 u32 rx_pool; member
/openbmc/linux/drivers/tty/ipwireless/
H A Dhardware.c248 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()