Home
last modified time | relevance | path

Searched refs:ring_len (Results 1 – 10 of 10) sorted by relevance

/drivers/usb/host/
Dfhci-tds.c153 u32 ring_len) in fhci_create_ep() argument
163 if (!(ring_len > 2)) { in fhci_create_ep()
172 ep_mem_size = ring_len * sizeof(*td) + sizeof(struct fhci_ep_pram); in fhci_create_ep()
179 if (cq_new(&ep->conf_frame_Q, ring_len + 2) || in fhci_create_ep()
180 cq_new(&ep->empty_frame_Q, ring_len + 2) || in fhci_create_ep()
181 cq_new(&ep->dummy_packets_Q, ring_len + 2)) { in fhci_create_ep()
186 for (i = 0; i < (ring_len + 1); i++) { in fhci_create_ep()
207 ep->ep_pram_ptr = (void __iomem *)ep->td_base + sizeof(*td) * ring_len; in fhci_create_ep()
216 for (i = 0; i < ring_len; i++) { in fhci_create_ep()
Dfhci-hcd.c69 u32 ring_len) in endpoint_zero_init() argument
73 rc = fhci_create_ep(usb, data_mem, ring_len); in endpoint_zero_init()
Dfhci.h551 u32 ring_len);
/drivers/net/ethernet/intel/i40evf/
Di40e_virtchnl.h174 u16 ring_len; /* number of descriptors, multiple of 8 */ member
190 u32 ring_len; /* number of descriptors, multiple of 32 */ member
Di40evf_virtchnl.c235 vqpi->txq.ring_len = adapter->tx_rings[i]->count; in i40evf_configure_queues()
239 (vqpi->txq.ring_len * sizeof(struct i40e_tx_desc)); in i40evf_configure_queues()
243 vqpi->rxq.ring_len = adapter->rx_rings[i]->count; in i40evf_configure_queues()
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl.h174 u16 ring_len; /* number of descriptors, multiple of 8 */ member
190 u32 ring_len; /* number of descriptors, multiple of 32 */ member
Di40e_virtchnl_pf.c248 tx_ctx.qlen = info->ring_len; in i40e_config_vsi_tx_queue()
314 rx_ctx.qlen = info->ring_len; in i40e_config_vsi_rx_queue()
/drivers/net/ethernet/neterion/
Ds2io.h635 u32 ring_len; member
641 u32 ring_len; member
Ds2io.c730 ring->rx_curr_get_info.ring_len = rx_cfg->num_rxd - 1; in init_shared_mem()
733 ring->rx_curr_put_info.ring_len = rx_cfg->num_rxd - 1; in init_shared_mem()
/drivers/net/ethernet/sun/
Dniu.c4677 u64 val, ring_len; in niu_init_one_tx_channel() local
4706 ring_len = (rp->pending / 8); in niu_init_one_tx_channel()
4708 val = ((ring_len << TX_RNG_CFIG_LEN_SHIFT) | in niu_init_one_tx_channel()