/drivers/soc/fsl/dpio/ |
D | qbman-portal.c | 175 p->dqrr.next_idx = 0; in qbman_swp_init() 723 if (pi == s->dqrr.next_idx) in qbman_swp_dqrr_next() 734 if (s->dqrr.next_idx == (s->dqrr.dqrr_size - 1)) { in qbman_swp_dqrr_next() 736 s->dqrr.next_idx, pi); in qbman_swp_dqrr_next() 740 QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx))); in qbman_swp_dqrr_next() 744 p = qbman_get_cmd(s, QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx)); in qbman_swp_dqrr_next() 746 p = qbman_get_cmd(s, QBMAN_CENA_SWP_DQRR_MEM(s->dqrr.next_idx)); in qbman_swp_dqrr_next() 759 QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx))); in qbman_swp_dqrr_next() 766 s->dqrr.next_idx++; in qbman_swp_dqrr_next() 767 s->dqrr.next_idx &= s->dqrr.dqrr_size - 1; /* Wrap around */ in qbman_swp_dqrr_next() [all …]
|
D | qbman-portal.h | 130 u32 next_idx; member
|
/drivers/net/ethernet/google/gve/ |
D | gve_rx.c | 369 u32 next_idx; in gve_rx_work_pending() local 371 next_idx = rx->cnt & rx->mask; in gve_rx_work_pending() 372 desc = rx->desc.desc_ring + next_idx; in gve_rx_work_pending()
|
D | gve_tx.c | 417 u32 next_idx; in gve_tx_add_skb() local 456 next_idx = (tx->req + 1 + i - payload_iov) & tx->mask; in gve_tx_add_skb() 457 seg_desc = &tx->desc[next_idx]; in gve_tx_add_skb()
|
/drivers/scsi/qla4xxx/ |
D | ql4_init.c | 916 uint32_t idx = 0, next_idx = 0; in qla4xxx_free_ddb_index() local 922 for (idx = 0; idx < max_ddbs; idx = next_idx) { in qla4xxx_free_ddb_index() 924 &next_idx, &state, &conn_err, in qla4xxx_free_ddb_index() 927 next_idx++; in qla4xxx_free_ddb_index() 940 if (next_idx == 0) in qla4xxx_free_ddb_index()
|
D | ql4_os.c | 6760 uint32_t idx = 0, next_idx = 0; in qla4xxx_build_st_list() local 6776 for (idx = 0; idx < max_ddbs; idx = next_idx) { in qla4xxx_build_st_list() 6778 NULL, &next_idx, &state, in qla4xxx_build_st_list() 6812 if (next_idx == 0) in qla4xxx_build_st_list() 6833 uint32_t next_idx = 0; in qla4xxx_remove_failed_ddb() local 6839 NULL, 0, NULL, &next_idx, &state, in qla4xxx_remove_failed_ddb() 6987 uint32_t idx = 0, next_idx = 0; in qla4xxx_build_nt_list() local 7004 for (idx = 0; idx < max_ddbs; idx = next_idx) { in qla4xxx_build_nt_list() 7006 NULL, &next_idx, &state, in qla4xxx_build_nt_list() 7077 if (next_idx == 0) in qla4xxx_build_nt_list() [all …]
|
/drivers/staging/mt7621-dma/ |
D | mtk-hsdma.c | 517 int next_idx, drx_idx, cnt; in mtk_hsdma_rx() local 520 next_idx = HSDMA_NEXT_DESC(chan->rx_idx); in mtk_hsdma_rx() 523 cnt = (drx_idx - next_idx) & HSDMA_DESCS_MASK; in mtk_hsdma_rx()
|
/drivers/nvdimm/ |
D | btt.c | 627 u32 i, j, next_idx = 0; in log_set_indices() local 643 if ((next_idx == 1) && in log_set_indices() 647 log_index[next_idx] = j; in log_set_indices() 648 next_idx++; in log_set_indices() 650 if (next_idx == 2) { in log_set_indices() 653 } else if (next_idx > 2) { in log_set_indices()
|
/drivers/usb/dwc2/ |
D | hcd_ddma.c | 587 u16 next_idx; in dwc2_init_isoc_dma_desc() local 593 next_idx = dwc2_desclist_idx_inc(qh->td_last, inc, qh->dev_speed); in dwc2_init_isoc_dma_desc() 602 if (dwc2_frame_idx_num_gt(cur_idx, next_idx) || (cur_idx == next_idx)) { in dwc2_init_isoc_dma_desc()
|
/drivers/net/ethernet/broadcom/ |
D | cnic.h | 186 u16 (*next_idx)(u16); member
|
D | cnic.c | 1000 info->next_idx = cnic_bnx2_next_idx; in cnic_alloc_kcq() 1005 info->next_idx = cnic_bnx2x_next_idx; in cnic_alloc_kcq() 2901 i = info->next_idx(i); in cnic_get_kcqes()
|
/drivers/net/can/m_can/ |
D | m_can.c | 1403 int next_idx; in m_can_next_echo_skb_occupied() local 1406 next_idx = (++putidx >= wrap ? 0 : putidx); in m_can_next_echo_skb_occupied() 1409 return !!cdev->can.echo_skb[next_idx]; in m_can_next_echo_skb_occupied()
|
/drivers/infiniband/hw/bnxt_re/ |
D | qplib_fp.h | 102 int next_idx; member
|
D | qplib_fp.c | 594 srq->swq[idx].next_idx = idx + 1; in bnxt_qplib_create_srq() 595 srq->swq[srq->last_idx].next_idx = -1; in bnxt_qplib_create_srq() 678 srq->start_idx = srq->swq[next].next_idx; in bnxt_qplib_post_srq_recv() 2322 srq->swq[srq->last_idx].next_idx = (int)tag; in bnxt_qplib_release_srqe() 2324 srq->swq[srq->last_idx].next_idx = -1; in bnxt_qplib_release_srqe()
|
/drivers/scsi/bnx2fc/ |
D | bnx2fc.h | 283 u16 next_idx; member
|
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_nix.c | 1694 int err = 0, idx, next_idx, count; in nix_update_bcast_mce_list() local 1743 next_idx = 0; in nix_update_bcast_mce_list() 1748 next_idx = next_mce->idx; in nix_update_bcast_mce_list() 1753 next_idx, count ? false : true); in nix_update_bcast_mce_list()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 12168 u8 next_idx; in i40e_udp_tunnel_add() local 12180 next_idx = i40e_get_udp_port_idx(pf, 0); in i40e_udp_tunnel_add() 12182 if (next_idx == I40E_MAX_PF_UDP_OFFLOAD_PORTS) { in i40e_udp_tunnel_add() 12190 pf->udp_ports[next_idx].type = I40E_AQC_TUNNEL_TYPE_VXLAN; in i40e_udp_tunnel_add() 12195 pf->udp_ports[next_idx].type = I40E_AQC_TUNNEL_TYPE_NGE; in i40e_udp_tunnel_add() 12202 pf->udp_ports[next_idx].port = port; in i40e_udp_tunnel_add() 12203 pf->udp_ports[next_idx].filter_index = I40E_UDP_PORT_INDEX_UNUSED; in i40e_udp_tunnel_add() 12204 pf->pending_udp_bitmap |= BIT_ULL(next_idx); in i40e_udp_tunnel_add()
|
/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 1024 int next_idx = NEXT_DESP_IDX(txd_to_idx(ring, txd), in mtk_tx_map() local 1026 mtk_w32(eth, next_idx, MT7628_TX_CTX_IDX0); in mtk_tx_map()
|
/drivers/scsi/lpfc/ |
D | lpfc_init.c | 10635 int i, cpu, idx, next_idx, new_cpu, start_cpu, first_cpu; in lpfc_cpu_affinity_check() local 10888 next_idx = idx; in lpfc_cpu_affinity_check() 10902 if (next_idx < phba->cfg_hdw_queue) { in lpfc_cpu_affinity_check() 10903 cpup->hdwq = next_idx; in lpfc_cpu_affinity_check() 10904 next_idx++; in lpfc_cpu_affinity_check()
|