Searched refs:chan_cnt (Results 1 – 6 of 6) sorted by relevance
179 int chan_cnt; member1153 for (i = 0; i < swdma_dev->chan_cnt; i++) in switchtec_dma_chans_release()1160 struct pci_dev *pdev, int chan_cnt) in switchtec_dma_chans_enumerate() argument1165 swdma_dev->swdma_chans = kzalloc_objs(*swdma_dev->swdma_chans, chan_cnt); in switchtec_dma_chans_enumerate()1178 for (i = 0; i < chan_cnt; i++) { in switchtec_dma_chans_enumerate()1183 chan_cnt = i; in switchtec_dma_chans_enumerate()1188 return chan_cnt; in switchtec_dma_chans_enumerate()1191 for (i = 0; i < chan_cnt; i++) in switchtec_dma_chans_enumerate()1205 for (i = 0; i < swdma_dev->chan_cnt; i++) in switchtec_dma_release()1217 int chan_cnt, nr_vecs, irq, rc; in switchtec_dma_create() local[all …]
763 int chan_cnt = pfvf->hw.tx_chan_cnt; in otx2_txsch_alloc() local 777 if (is_otx2_sdp_rep(pfvf->pdev) && chan_cnt > 1) { in otx2_txsch_alloc() 778 req->schq[NIX_TXSCH_LVL_SMQ] = chan_cnt; in otx2_txsch_alloc() 779 req->schq[NIX_TXSCH_LVL_TL4] = chan_cnt; in otx2_txsch_alloc() 1828 req->chan_cnt = IEEE_8021QAZ_MAX_TCS; in otx2_nix_config_bp() 1831 req->chan_cnt = pfvf->hw.rx_chan_cnt; in otx2_nix_config_bp() 1853 req->chan_cnt = IEEE_8021QAZ_MAX_TCS; in otx2_nix_cpt_config_bp() 1856 req->chan_cnt = pfvf->hw.rx_chan_cnt; in otx2_nix_cpt_config_bp() 1920 for (chan = 0; chan < rsp->chan_cnt; chan++) { in mbox_handler_nix_bp_enable()
626 for (chan = chan_base; chan < (chan_base + req->chan_cnt); chan++) { in nix_bp_disable()692 if ((req->chan_base + req->chan_cnt) > NIX_BPIDS_PER_LMAC) in rvu_nix_get_bpid()719 if ((req->chan_base + req->chan_cnt) > bp->sdp_bpid_cnt) in rvu_nix_get_bpid()774 for (chan = chan_base; chan < (chan_base + req->chan_cnt); chan++) { in nix_bp_enable()790 for (chan = 0; chan < req->chan_cnt; chan++) { in nix_bp_enable()797 rsp->chan_cnt = req->chan_cnt; in nix_bp_enable()
1357 u8 chan_cnt; /* Number of channels */ member1368 u8 chan_cnt; /* Number of channel for which bpids are assigned */ member
783 int nixlf, u64 chan, u8 chan_cnt) in rvu_npc_install_promisc_entry() argument864 if (chan_cnt > 1) { in rvu_npc_install_promisc_entry()865 if (!is_power_of_2(chan_cnt)) { in rvu_npc_install_promisc_entry()871 ilog2(chan_cnt)); in rvu_npc_install_promisc_entry()
1066 int nixlf, u64 chan, u8 chan_cnt);