/kernel/linux/linux-5.10/drivers/soc/fsl/dpio/ |
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 …]
|
D | qbman-portal.h | 141 u32 next_idx; member
|
/kernel/linux/linux-5.10/drivers/block/zram/zram_group/ |
D | zlist.h | 34 static inline u32 next_idx(u32 idx, struct zlist_table *tab) in next_idx() function 92 for ((idx) = next_idx(hid, tab); (idx) != (hid); \ 93 (idx) = next_idx(idx, tab))
|
/kernel/linux/linux-5.10/include/linux/ |
D | kmsg_dump.h | 49 u32 next_idx; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/ |
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()
|
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()
|
/kernel/linux/linux-5.10/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 | 6796 uint32_t idx = 0, next_idx = 0; in qla4xxx_build_st_list() local 6812 for (idx = 0; idx < max_ddbs; idx = next_idx) { in qla4xxx_build_st_list() 6814 NULL, &next_idx, &state, in qla4xxx_build_st_list() 6848 if (next_idx == 0) in qla4xxx_build_st_list() 6869 uint32_t next_idx = 0; in qla4xxx_remove_failed_ddb() local 6875 NULL, 0, NULL, &next_idx, &state, in qla4xxx_remove_failed_ddb() 7023 uint32_t idx = 0, next_idx = 0; in qla4xxx_build_nt_list() local 7040 for (idx = 0; idx < max_ddbs; idx = next_idx) { in qla4xxx_build_nt_list() 7042 NULL, &next_idx, &state, in qla4xxx_build_nt_list() 7113 if (next_idx == 0) in qla4xxx_build_nt_list() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
D | qplib_fp.c | 667 srq->swq[idx].next_idx = idx + 1; in bnxt_qplib_create_srq() 668 srq->swq[srq->last_idx].next_idx = -1; in bnxt_qplib_create_srq() 756 srq->start_idx = srq->swq[next].next_idx; in bnxt_qplib_post_srq_recv() 814 que->swq[indx].next_idx = indx + 1; in bnxt_qplib_alloc_init_swq() 815 que->swq[que->swq_last].next_idx = 0; /* Make it circular */ in bnxt_qplib_alloc_init_swq() 2163 sq->swq_last = sq->swq[last].next_idx; in __flush_sq() 2210 rq->swq_last = rq->swq[last].next_idx; in __flush_rq() 2384 if (swq->next_idx == cqe_sq_cons && in bnxt_qplib_cq_process_req() 2410 sq->swq_last = swq->next_idx; in bnxt_qplib_cq_process_req() 2433 srq->swq[srq->last_idx].next_idx = (int)tag; in bnxt_qplib_release_srqe() [all …]
|
D | qplib_fp.h | 117 int next_idx; member 562 que->swq_start = que->swq[idx].next_idx; in bnxt_qplib_swq_mod_start()
|
/kernel/linux/linux-5.10/drivers/staging/mt7621-dma/ |
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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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() 2900 i = info->next_idx(i); in cnic_get_kcqes()
|
/kernel/linux/linux-5.10/sound/soc/mediatek/common/ |
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()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0033_linux_drivers_soc_scsi_spi_tee_thermal.patch | 482 s->dqrr.next_idx, pi); 486 - QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx))); 487 + qbman_inval_prefetch(s, QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx)); 490 p = qbman_get_cmd(s, QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx)); 496 - QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx))); 497 + qbman_inval_prefetch(s, QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx)); 505 - prefetch(qbman_get_cmd(s, QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx))); 506 + qbman_inval_prefetch(s, QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx)); 511 s->dqrr.next_idx, pi); 515 - QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx))); [all …]
|
/kernel/linux/linux-5.10/drivers/net/can/m_can/ |
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()
|
/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/ |
D | bnx2fc.h | 283 u16 next_idx; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_nix.c | 2040 int err = 0, idx, next_idx, last_idx; in nix_update_bcast_mce_list() local 2094 next_idx = idx + 1; in nix_update_bcast_mce_list() 2097 mce->pcifunc, next_idx, in nix_update_bcast_mce_list() 2098 (next_idx > last_idx) ? true : false); in nix_update_bcast_mce_list()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 1092 int next_idx = NEXT_DESP_IDX(txd_to_idx(ring, txd), in mtk_tx_map() local 1094 mtk_w32(eth, next_idx, MT7628_TX_CTX_IDX0); in mtk_tx_map()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | data.c | 477 pgoff_t next_idx, in f2fs_crypt_mergeable_bio() argument 487 return fscrypt_mergeable_bio(bio, inode, next_idx); in f2fs_crypt_mergeable_bio()
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
D | lpfc_init.c | 10942 int i, cpu, idx, next_idx, new_cpu, start_cpu, first_cpu; in lpfc_cpu_affinity_check() local 11126 next_idx = idx; in lpfc_cpu_affinity_check() 11140 if (next_idx < phba->cfg_hdw_queue) { in lpfc_cpu_affinity_check() 11141 cpup->hdwq = next_idx; in lpfc_cpu_affinity_check() 11142 next_idx++; in lpfc_cpu_affinity_check()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | verifier.c | 6021 u32 next_idx, u32 curr_idx) in sanitize_speculative_path() argument 6026 branch = push_stack(env, next_idx, curr_idx, true); in sanitize_speculative_path()
|