Searched refs:ring_len (Results 1 – 12 of 12) sorted by relevance
/linux-5.19.10/drivers/usb/host/ |
D | fhci-tds.c | 149 u32 ring_len) in fhci_create_ep() argument 159 if (!(ring_len > 2)) { in fhci_create_ep() 168 ep_mem_size = ring_len * sizeof(*td) + sizeof(struct fhci_ep_pram); in fhci_create_ep() 175 if (cq_new(&ep->conf_frame_Q, ring_len + 2) || in fhci_create_ep() 176 cq_new(&ep->empty_frame_Q, ring_len + 2) || in fhci_create_ep() 177 cq_new(&ep->dummy_packets_Q, ring_len + 2)) { in fhci_create_ep() 182 for (i = 0; i < (ring_len + 1); i++) { in fhci_create_ep() 203 ep->ep_pram_ptr = (void __iomem *)ep->td_base + sizeof(*td) * ring_len; in fhci_create_ep() 212 for (i = 0; i < ring_len; i++) { in fhci_create_ep()
|
D | fhci-hcd.c | 65 u32 ring_len) in endpoint_zero_init() argument 69 rc = fhci_create_ep(usb, data_mem, ring_len); in endpoint_zero_init()
|
D | fhci.h | 545 u32 ring_len);
|
/linux-5.19.10/drivers/net/ethernet/intel/ice/ |
D | ice_virtchnl.c | 556 static bool ice_vc_isvalid_ring_len(u16 ring_len) in ice_vc_isvalid_ring_len() argument 558 return ring_len == 0 || in ice_vc_isvalid_ring_len() 559 (ring_len >= ICE_MIN_NUM_DESC && in ice_vc_isvalid_ring_len() 560 ring_len <= ICE_MAX_NUM_DESC && in ice_vc_isvalid_ring_len() 561 !(ring_len % ICE_REQ_DESC_MULTIPLE)); in ice_vc_isvalid_ring_len() 1602 !ice_vc_isvalid_ring_len(qpi->txq.ring_len) || in ice_vc_cfg_qs_msg() 1603 !ice_vc_isvalid_ring_len(qpi->rxq.ring_len) || in ice_vc_cfg_qs_msg() 1618 if (qpi->txq.ring_len > 0) { in ice_vc_cfg_qs_msg() 1620 vsi->tx_rings[i]->count = qpi->txq.ring_len; in ice_vc_cfg_qs_msg() 1635 if (qpi->rxq.ring_len > 0) { in ice_vc_cfg_qs_msg() [all …]
|
/linux-5.19.10/include/linux/avf/ |
D | virtchnl.h | 298 u16 ring_len; /* number of descriptors, multiple of 8 */ member 316 u32 ring_len; /* number of descriptors, multiple of 32 */ member
|
/linux-5.19.10/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_queues.c | 254 int ring_len, int buf_size) in nicvf_init_rbdr() argument 261 err = nicvf_alloc_q_desc_mem(nic, &rbdr->dmem, ring_len, in nicvf_init_rbdr() 285 rbdr->pgcnt = ring_len / (PAGE_SIZE / buf_size); in nicvf_init_rbdr() 288 rbdr->pgcnt = ring_len; in nicvf_init_rbdr() 300 for (idx = 0; idx < ring_len; idx++) { in nicvf_init_rbdr()
|
/linux-5.19.10/drivers/net/ethernet/neterion/ |
D | s2io.h | 636 u32 ring_len; member 642 u32 ring_len; member
|
D | s2io.c | 723 ring->rx_curr_get_info.ring_len = rx_cfg->num_rxd - 1; in init_shared_mem() 726 ring->rx_curr_put_info.ring_len = rx_cfg->num_rxd - 1; in init_shared_mem()
|
/linux-5.19.10/drivers/net/ethernet/intel/iavf/ |
D | iavf_virtchnl.c | 307 vqpi->txq.ring_len = adapter->tx_rings[i].count; in iavf_configure_queues() 311 vqpi->rxq.ring_len = adapter->rx_rings[i].count; in iavf_configure_queues()
|
/linux-5.19.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 630 tx_ctx.qlen = info->ring_len; in i40e_config_vsi_tx_queue() 695 rx_ctx.qlen = info->ring_len; in i40e_config_vsi_rx_queue()
|
/linux-5.19.10/drivers/net/ethernet/sun/ |
D | niu.c | 4675 u64 val, ring_len; in niu_init_one_tx_channel() local 4704 ring_len = (rp->pending / 8); in niu_init_one_tx_channel() 4706 val = ((ring_len << TX_RNG_CFIG_LEN_SHIFT) | in niu_init_one_tx_channel()
|
/linux-5.19.10/drivers/net/wireless/realtek/rtw89/ |
D | coex.c | 5019 u8 len, u8 seg_len, u8 start_idx, u8 ring_len) in seq_print_segment() argument 5027 cur_index = (start_idx + i) % ring_len; in seq_print_segment()
|