| /OK3568_Linux_fs/kernel/drivers/soc/fsl/dpio/ |
| H A D | qbman-portal.c | 268 p->dqrr.next_idx = 0; in qbman_swp_init() 1189 if (pi == s->dqrr.next_idx) in qbman_swp_dqrr_next_direct() 1200 if (s->dqrr.next_idx == (s->dqrr.dqrr_size - 1)) { in qbman_swp_dqrr_next_direct() 1202 s->dqrr.next_idx, pi); in qbman_swp_dqrr_next_direct() 1206 QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx))); in qbman_swp_dqrr_next_direct() 1209 p = qbman_get_cmd(s, QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx)); in qbman_swp_dqrr_next_direct() 1222 QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx))); in qbman_swp_dqrr_next_direct() 1229 s->dqrr.next_idx++; in qbman_swp_dqrr_next_direct() 1230 s->dqrr.next_idx &= s->dqrr.dqrr_size - 1; /* Wrap around */ in qbman_swp_dqrr_next_direct() 1231 if (!s->dqrr.next_idx) in qbman_swp_dqrr_next_direct() [all …]
|
| H A D | qbman-portal.h | 141 u32 next_idx; member
|
| /OK3568_Linux_fs/u-boot/drivers/net/fsl-mc/dpio/ |
| H A D | qbman_portal.c | 84 p->dqrr.next_idx = 0; in qbman_swp_init() 378 dq = qbman_cena_read(&s->sys, QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx)); in qbman_swp_dqrr_next() 391 QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx)); in qbman_swp_dqrr_next() 396 s->dqrr.next_idx++; in qbman_swp_dqrr_next() 397 s->dqrr.next_idx &= s->dqrr.dqrr_size - 1;/* Wrap around at dqrr_size */ in qbman_swp_dqrr_next() 400 if (!s->dqrr.next_idx) in qbman_swp_dqrr_next() 413 QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx)); in qbman_swp_dqrr_next()
|
| H A D | qbman_portal.h | 72 uint32_t next_idx; member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/google/gve/ |
| H A D | gve_rx.c | 390 u32 next_idx; in gve_rx_work_pending() local 392 next_idx = rx->cnt & rx->mask; in gve_rx_work_pending() 393 desc = rx->desc.desc_ring + next_idx; in gve_rx_work_pending()
|
| H A D | gve_tx.c | 421 u32 next_idx; in gve_tx_add_skb() local 460 next_idx = (tx->req + 1 + i - payload_iov) & tx->mask; in gve_tx_add_skb() 461 seg_desc = &tx->desc[next_idx]; in gve_tx_add_skb()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/bnxt_re/ |
| H A D | qplib_fp.c | 655 srq->swq[idx].next_idx = idx + 1; in bnxt_qplib_create_srq() 656 srq->swq[srq->last_idx].next_idx = -1; in bnxt_qplib_create_srq() 744 srq->start_idx = srq->swq[next].next_idx; in bnxt_qplib_post_srq_recv() 802 que->swq[indx].next_idx = indx + 1; in bnxt_qplib_alloc_init_swq() 803 que->swq[que->swq_last].next_idx = 0; /* Make it circular */ in bnxt_qplib_alloc_init_swq() 2153 sq->swq_last = sq->swq[last].next_idx; in __flush_sq() 2200 rq->swq_last = rq->swq[last].next_idx; in __flush_rq() 2374 if (swq->next_idx == cqe_sq_cons && in bnxt_qplib_cq_process_req() 2400 sq->swq_last = swq->next_idx; in bnxt_qplib_cq_process_req() 2423 srq->swq[srq->last_idx].next_idx = (int)tag; in bnxt_qplib_release_srqe() [all …]
|
| H A D | qplib_fp.h | 117 int next_idx; member 562 que->swq_start = que->swq[idx].next_idx; in bnxt_qplib_swq_mod_start()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/qla4xxx/ |
| H A 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()
|
| H A D | ql4_os.c | 6786 uint32_t idx = 0, next_idx = 0; in qla4xxx_build_st_list() local 6802 for (idx = 0; idx < max_ddbs; idx = next_idx) { in qla4xxx_build_st_list() 6804 NULL, &next_idx, &state, in qla4xxx_build_st_list() 6838 if (next_idx == 0) in qla4xxx_build_st_list() 6859 uint32_t next_idx = 0; in qla4xxx_remove_failed_ddb() local 6865 NULL, 0, NULL, &next_idx, &state, in qla4xxx_remove_failed_ddb() 7013 uint32_t idx = 0, next_idx = 0; in qla4xxx_build_nt_list() local 7030 for (idx = 0; idx < max_ddbs; idx = next_idx) { in qla4xxx_build_nt_list() 7032 NULL, &next_idx, &state, in qla4xxx_build_nt_list() 7103 if (next_idx == 0) in qla4xxx_build_nt_list() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | kmsg_dump.h | 49 u32 next_idx; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/ |
| H A D | tree-streamer.h | 57 unsigned next_idx; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/ |
| H A D | tree-streamer.h | 57 unsigned next_idx; member
|
| /OK3568_Linux_fs/kernel/drivers/staging/mt7621-dma/ |
| H A D | hsdma-mt7621.c | 516 int next_idx, drx_idx, cnt; in mtk_hsdma_rx() local 519 next_idx = HSDMA_NEXT_DESC(chan->rx_idx); in mtk_hsdma_rx() 522 cnt = (drx_idx - next_idx) & HSDMA_DESCS_MASK; in mtk_hsdma_rx()
|
| /OK3568_Linux_fs/kernel/drivers/nvdimm/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/usb/dwc2/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/sound/soc/mediatek/common/ |
| H A D | mtk-btcvsd.c | 463 unsigned int next_idx; in mtk_btcvsd_write_to_bt() local 467 next_idx = bt->tx->buffer_info.num_valid_addr - 1; in mtk_btcvsd_write_to_bt() 468 bt->tx->buffer_info.bt_sram_addr[next_idx] = ap_addr_tx; in mtk_btcvsd_write_to_bt()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/ |
| H A D | cnic.h | 186 u16 (*next_idx)(u16); member
|
| /OK3568_Linux_fs/kernel/drivers/net/can/m_can/ |
| H A D | m_can.c | 1449 int next_idx; in m_can_next_echo_skb_occupied() local 1452 next_idx = (++putidx >= wrap ? 0 : putidx); in m_can_next_echo_skb_occupied() 1455 return !!cdev->can.echo_skb[next_idx]; in m_can_next_echo_skb_occupied()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/bnx2fc/ |
| H A D | bnx2fc.h | 283 u16 next_idx; member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_nix.c | 2028 int err = 0, idx, next_idx, last_idx; in nix_update_bcast_mce_list() local 2082 next_idx = idx + 1; in nix_update_bcast_mce_list() 2085 mce->pcifunc, next_idx, in nix_update_bcast_mce_list() 2086 (next_idx > last_idx) ? true : false); in nix_update_bcast_mce_list()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hci/ |
| H A D | phl_trx_pcie.c | 2167 u16 rptr = 0, next_idx = 0; in _phl_handle_xmit_ring_pcie() local 2194 next_idx = rptr + 1; in _phl_handle_xmit_ring_pcie() 2196 if (next_idx >= MAX_PHL_RING_ENTRY_NUM) { in _phl_handle_xmit_ring_pcie()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 1091 int next_idx = NEXT_DESP_IDX(txd_to_idx(ring, txd), in mtk_tx_map() local 1093 mtk_w32(eth, next_idx, MT7628_TX_CTX_IDX0); in mtk_tx_map()
|
| /OK3568_Linux_fs/kernel/fs/f2fs/ |
| H A D | data.c | 452 pgoff_t next_idx, in f2fs_crypt_mergeable_bio() argument 464 return fscrypt_mergeable_bio(bio, inode, next_idx); in f2fs_crypt_mergeable_bio()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/lpfc/ |
| H A D | lpfc_init.c | 10940 int i, cpu, idx, next_idx, new_cpu, start_cpu, first_cpu; in lpfc_cpu_affinity_check() local 11124 next_idx = idx; in lpfc_cpu_affinity_check() 11138 if (next_idx < phba->cfg_hdw_queue) { in lpfc_cpu_affinity_check() 11139 cpup->hdwq = next_idx; in lpfc_cpu_affinity_check() 11140 next_idx++; in lpfc_cpu_affinity_check()
|