/linux-6.1.9/drivers/soc/fsl/dpio/ |
D | qbman-portal.c | 270 p->dqrr.next_idx = 0; in qbman_swp_init() 1197 if (pi == s->dqrr.next_idx) in qbman_swp_dqrr_next_direct() 1208 if (s->dqrr.next_idx == (s->dqrr.dqrr_size - 1)) { in qbman_swp_dqrr_next_direct() 1210 s->dqrr.next_idx, pi); in qbman_swp_dqrr_next_direct() 1214 QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx))); in qbman_swp_dqrr_next_direct() 1217 p = qbman_get_cmd(s, QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx)); in qbman_swp_dqrr_next_direct() 1230 QBMAN_CENA_SWP_DQRR(s->dqrr.next_idx))); in qbman_swp_dqrr_next_direct() 1237 s->dqrr.next_idx++; in qbman_swp_dqrr_next_direct() 1238 s->dqrr.next_idx &= s->dqrr.dqrr_size - 1; /* Wrap around */ in qbman_swp_dqrr_next_direct() 1239 if (!s->dqrr.next_idx) in qbman_swp_dqrr_next_direct() [all …]
|
D | qbman-portal.h | 143 u32 next_idx; member
|
/linux-6.1.9/drivers/net/ethernet/google/gve/ |
D | gve_tx.c | 450 u32 next_idx; in gve_tx_add_skb_copy() local 489 next_idx = (tx->req + 1) & tx->mask; in gve_tx_add_skb_copy() 490 gve_tx_fill_mtd_desc(&tx->desc[next_idx], skb); in gve_tx_add_skb_copy() 494 next_idx = (tx->req + 1 + mtd_desc_nr + i - payload_iov) & tx->mask; in gve_tx_add_skb_copy() 495 seg_desc = &tx->desc[next_idx]; in gve_tx_add_skb_copy()
|
D | gve_rx.c | 638 u32 next_idx; in gve_rx_work_pending() local 640 next_idx = rx->cnt & rx->mask; in gve_rx_work_pending() 641 desc = rx->desc.desc_ring + next_idx; in gve_rx_work_pending()
|
/linux-6.1.9/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 | 6773 uint32_t idx = 0, next_idx = 0; in qla4xxx_build_st_list() local 6789 for (idx = 0; idx < max_ddbs; idx = next_idx) { in qla4xxx_build_st_list() 6791 NULL, &next_idx, &state, in qla4xxx_build_st_list() 6825 if (next_idx == 0) in qla4xxx_build_st_list() 6846 uint32_t next_idx = 0; in qla4xxx_remove_failed_ddb() local 6852 NULL, 0, NULL, &next_idx, &state, in qla4xxx_remove_failed_ddb() 7000 uint32_t idx = 0, next_idx = 0; in qla4xxx_build_nt_list() local 7017 for (idx = 0; idx < max_ddbs; idx = next_idx) { in qla4xxx_build_nt_list() 7019 NULL, &next_idx, &state, in qla4xxx_build_nt_list() 7090 if (next_idx == 0) in qla4xxx_build_nt_list() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/ |
D | qplib_fp.c | 656 srq->swq[idx].next_idx = idx + 1; in bnxt_qplib_create_srq() 657 srq->swq[srq->last_idx].next_idx = -1; in bnxt_qplib_create_srq() 745 srq->start_idx = srq->swq[next].next_idx; in bnxt_qplib_post_srq_recv() 803 que->swq[indx].next_idx = indx + 1; in bnxt_qplib_alloc_init_swq() 804 que->swq[que->swq_last].next_idx = 0; /* Make it circular */ in bnxt_qplib_alloc_init_swq() 2155 sq->swq_last = sq->swq[last].next_idx; in __flush_sq() 2202 rq->swq_last = rq->swq[last].next_idx; in __flush_rq() 2376 if (swq->next_idx == cqe_sq_cons && in bnxt_qplib_cq_process_req() 2402 sq->swq_last = swq->next_idx; in bnxt_qplib_cq_process_req() 2425 srq->swq[srq->last_idx].next_idx = (int)tag; in bnxt_qplib_release_srqe() [all …]
|
D | qplib_fp.h | 119 int next_idx; member 564 que->swq_start = que->swq[idx].next_idx; in bnxt_qplib_swq_mod_start()
|
/linux-6.1.9/drivers/net/ethernet/mscc/ |
D | ocelot_fdma.c | 614 u16 next_idx; in ocelot_fdma_send_skb() local 623 next_idx = ocelot_fdma_idx_next(tx_ring->next_to_use, in ocelot_fdma_send_skb() 634 dcb->llp = ocelot_fdma_idx_dma(tx_ring->dcbs_dma, next_idx); in ocelot_fdma_send_skb() 637 tx_ring->next_to_use = next_idx; in ocelot_fdma_send_skb()
|
/linux-6.1.9/drivers/usb/dwc2/ |
D | hcd_ddma.c | 557 u16 next_idx; in dwc2_init_isoc_dma_desc() local 563 next_idx = dwc2_desclist_idx_inc(qh->td_last, inc, qh->dev_speed); in dwc2_init_isoc_dma_desc() 572 if (dwc2_frame_idx_num_gt(cur_idx, next_idx) || (cur_idx == next_idx)) { in dwc2_init_isoc_dma_desc()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_dp.c | 3472 uint8_t cur_idx = 0, next_idx; in decide_fallback_link_setting_max_bw_policy() local 3486 next_idx = cur_idx + 1; in decide_fallback_link_setting_max_bw_policy() 3488 while (next_idx < ARRAY_SIZE(dp_lt_fallbacks)) in decide_fallback_link_setting_max_bw_policy() 3490 if (dp_lt_fallbacks[next_idx].lane_count > max->lane_count || in decide_fallback_link_setting_max_bw_policy() 3491 dp_lt_fallbacks[next_idx].link_rate > max->link_rate) in decide_fallback_link_setting_max_bw_policy() 3492 next_idx++; in decide_fallback_link_setting_max_bw_policy() 3493 else if (dp_lt_fallbacks[next_idx].link_rate == LINK_RATE_UHBR13_5 && in decide_fallback_link_setting_max_bw_policy() 3503 next_idx++; in decide_fallback_link_setting_max_bw_policy() 3507 if (next_idx < ARRAY_SIZE(dp_lt_fallbacks)) { in decide_fallback_link_setting_max_bw_policy() 3508 cur->lane_count = dp_lt_fallbacks[next_idx].lane_count; in decide_fallback_link_setting_max_bw_policy() [all …]
|
/linux-6.1.9/drivers/scsi/bnx2fc/ |
D | bnx2fc.h | 280 u16 next_idx; member
|
/linux-6.1.9/drivers/net/can/m_can/ |
D | m_can.c | 1586 int next_idx; in m_can_next_echo_skb_occupied() local 1589 next_idx = (++putidx >= wrap ? 0 : putidx); in m_can_next_echo_skb_occupied() 1592 return !!cdev->can.echo_skb[next_idx]; in m_can_next_echo_skb_occupied()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_nix.c | 2812 int err = 0, idx, next_idx, last_idx, blkaddr, npc_blkaddr; in nix_update_mce_list() local 2857 next_idx = idx + 1; in nix_update_mce_list() 2860 mce->pcifunc, next_idx, in nix_update_mce_list() 2861 (next_idx > last_idx) ? true : false); in nix_update_mce_list()
|
/linux-6.1.9/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 1299 int next_idx; in mtk_tx_map() local 1301 next_idx = NEXT_DESP_IDX(txd_to_idx(ring, txd, soc->txrx.txd_size), in mtk_tx_map() 1303 mtk_w32(eth, next_idx, MT7628_TX_CTX_IDX0); in mtk_tx_map()
|
/linux-6.1.9/fs/f2fs/ |
D | data.c | 482 pgoff_t next_idx, in f2fs_crypt_mergeable_bio() argument 492 return fscrypt_mergeable_bio(bio, inode, next_idx); in f2fs_crypt_mergeable_bio()
|
/linux-6.1.9/drivers/scsi/lpfc/ |
D | lpfc_init.c | 12434 int i, cpu, idx, next_idx, new_cpu, start_cpu, first_cpu; in lpfc_cpu_affinity_check() local 12618 next_idx = idx; in lpfc_cpu_affinity_check() 12632 if (next_idx < phba->cfg_hdw_queue) { in lpfc_cpu_affinity_check() 12633 cpup->hdwq = next_idx; in lpfc_cpu_affinity_check() 12634 next_idx++; in lpfc_cpu_affinity_check()
|
/linux-6.1.9/kernel/bpf/ |
D | verifier.c | 7983 u32 next_idx, u32 curr_idx) in sanitize_speculative_path() argument 7988 branch = push_stack(env, next_idx, curr_idx, true); in sanitize_speculative_path()
|