/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_filter.c | 357 static int get_filter_count(struct adapter *adapter, unsigned int fidx, in get_filter_count() argument 368 if (tid_out_of_range(&adapter->tids, fidx)) in get_filter_count() 370 f = adapter->tids.tid_tab[fidx - adapter->tids.tid_base]; in get_filter_count() 374 if ((fidx != (adapter->tids.nftids + adapter->tids.nsftids + in get_filter_count() 376 fidx >= (adapter->tids.nftids + adapter->tids.nhpftids)) in get_filter_count() 379 if (fidx < adapter->tids.nhpftids) in get_filter_count() 380 f = &adapter->tids.hpftid_tab[fidx]; in get_filter_count() 382 f = &adapter->tids.ftid_tab[fidx - in get_filter_count() 437 int cxgb4_get_filter_counters(struct net_device *dev, unsigned int fidx, in cxgb4_get_filter_counters() argument 442 return get_filter_count(adapter, fidx, hitcnt, bytecnt, hash); in cxgb4_get_filter_counters() [all …]
|
D | cxgb4_filter.h | 48 int set_filter_wr(struct adapter *adapter, int fidx); 49 int delete_filter(struct adapter *adapter, unsigned int fidx);
|
D | cxgb4_tc_matchall.c | 308 int ret, fidx; in cxgb4_matchall_add_filter() local 314 fidx = cxgb4_get_free_ftid(dev, filter_type ? PF_INET6 : PF_INET, in cxgb4_matchall_add_filter() 316 if (fidx < 0) { in cxgb4_matchall_add_filter() 326 if (fidx < adap->tids.nhpftids) in cxgb4_matchall_add_filter() 339 ret = cxgb4_set_filter(dev, fidx, fs); in cxgb4_matchall_add_filter() 343 tc_port_matchall->ingress.tid[filter_type] = fidx; in cxgb4_matchall_add_filter()
|
D | cxgb4_tc_flower.c | 862 int fidx, ret; in cxgb4_flow_rule_replace() local 880 fidx = cxgb4_get_free_ftid(dev, inet_family, fs->hash, in cxgb4_flow_rule_replace() 882 if (fidx < 0) { in cxgb4_flow_rule_replace() 888 if (fidx < adap->tids.nhpftids) { in cxgb4_flow_rule_replace() 897 fidx = 0; in cxgb4_flow_rule_replace() 902 ret = __cxgb4_set_filter(dev, fidx, fs, &ctx); in cxgb4_flow_rule_replace()
|
D | cxgb4_uld.h | 296 int cxgb4_get_filter_counters(struct net_device *dev, unsigned int fidx,
|
D | cxgb4_debugfs.c | 1000 int fidx = (uintptr_t)v - 2; in devlog_show() local 1007 index = dinfo->first + fidx; in devlog_show()
|
/linux-6.1.9/arch/mips/include/asm/octeon/ |
D | cvmx-pow-defs.h | 83 uint64_t fidx:1; member 93 uint64_t fidx:1; 112 uint64_t fidx:1; member 122 uint64_t fidx:1; 140 uint64_t fidx:1; member 154 uint64_t fidx:1; 172 uint64_t fidx:1; member 182 uint64_t fidx:1; 200 uint64_t fidx:1; member 214 uint64_t fidx:1; [all …]
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfd3/ |
D | rings.c | 58 if (tx_buf->fidx == -1) { in nfp_nfd3_tx_ring_reset() 64 frag = &skb_shinfo(skb)->frags[tx_buf->fidx]; in nfp_nfd3_tx_ring_reset() 70 if (tx_buf->fidx == nr_frags - 1) in nfp_nfd3_tx_ring_reset() 75 tx_buf->fidx = -2; in nfp_nfd3_tx_ring_reset()
|
D | dp.c | 292 txbuf->fidx = -1; in nfp_nfd3_tx() 334 tx_ring->txbufs[wr_idx].fidx = f; in nfp_nfd3_tx() 370 tx_ring->txbufs[wr_idx].fidx = -2; in nfp_nfd3_tx() 379 tx_ring->txbufs[wr_idx].fidx = -2; in nfp_nfd3_tx() 421 int fidx, nr_frags; in nfp_nfd3_tx_complete() local 432 fidx = tx_buf->fidx; in nfp_nfd3_tx_complete() 434 if (fidx == -1) { in nfp_nfd3_tx_complete() 443 frag = &skb_shinfo(skb)->frags[fidx]; in nfp_nfd3_tx_complete() 449 if (fidx == nr_frags - 1) in nfp_nfd3_tx_complete() 454 tx_buf->fidx = -2; in nfp_nfd3_tx_complete() [all …]
|
D | nfd3.h | 77 short int fidx; member
|
/linux-6.1.9/drivers/power/supply/ |
D | max77976_charger.c | 248 static int max77976_get_integer(struct max77976 *chg, enum max77976_field_idx fidx, in max77976_get_integer() argument 255 err = regmap_field_read(chg->rfield[fidx], ®val); in max77976_get_integer() 264 static int max77976_set_integer(struct max77976 *chg, enum max77976_field_idx fidx, in max77976_set_integer() argument 272 return regmap_field_write(chg->rfield[fidx], regval); in max77976_set_integer()
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | tid_rdma.c | 127 static u32 read_r_next_psn(struct hfi1_devdata *dd, u8 ctxt, u8 fidx); 1682 u32 psn, u16 *fidx) in find_flow_ib() argument 1694 if (fidx) in find_flow_ib() 1695 *fidx = tail; in find_flow_ib() 3054 u16 fidx; in hfi1_tid_rdma_restart_req() local 3058 flow = find_flow_ib(req, *bth2, &fidx); in hfi1_tid_rdma_restart_req() 3069 fidx = req->acked_tail; in hfi1_tid_rdma_restart_req() 3070 flow = &req->flows[fidx]; in hfi1_tid_rdma_restart_req() 3081 trace_hfi1_tid_flow_restart_req(qp, fidx, flow); in hfi1_tid_rdma_restart_req() 3127 req->flow_idx = fidx; in hfi1_tid_rdma_restart_req() [all …]
|
D | tid_rdma.h | 306 u32 *bth2, u16 fidx);
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_nix.c | 623 u64 format, bool v4, u64 *fidx) in nix_setup_lso_tso_l3() argument 634 NIX_AF_LSO_FORMATX_FIELDX(format, (*fidx)++), in nix_setup_lso_tso_l3() 647 NIX_AF_LSO_FORMATX_FIELDX(format, (*fidx)++), in nix_setup_lso_tso_l3() 652 u64 format, u64 *fidx) in nix_setup_lso_tso_l4() argument 662 NIX_AF_LSO_FORMATX_FIELDX(format, (*fidx)++), in nix_setup_lso_tso_l4() 671 NIX_AF_LSO_FORMATX_FIELDX(format, (*fidx)++), in nix_setup_lso_tso_l4() 677 u64 cfg, idx, fidx = 0; in nix_setup_lso() local 697 nix_setup_lso_tso_l3(rvu, blkaddr, idx, true, &fidx); in nix_setup_lso() 698 nix_setup_lso_tso_l4(rvu, blkaddr, idx, &fidx); in nix_setup_lso() 701 for (; fidx < 8; fidx++) { in nix_setup_lso() [all …]
|
/linux-6.1.9/drivers/perf/ |
D | riscv_pmu_sbi.c | 568 int lidx, hidx, fidx; in pmu_sbi_ovf_handler() local 580 fidx = find_first_bit(cpu_hw_evt->used_hw_ctrs, RISCV_MAX_COUNTERS); in pmu_sbi_ovf_handler() 581 event = cpu_hw_evt->events[fidx]; in pmu_sbi_ovf_handler()
|
/linux-6.1.9/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.c | 421 u32 i, fidx, nr_frags, count = 1; in xgene_enet_setup_tx_desc() local 464 for (i = 0, fidx = 0; split || (fidx < nr_frags); i++) { in xgene_enet_setup_tx_desc() 466 frag = &skb_shinfo(skb)->frags[fidx]; in xgene_enet_setup_tx_desc() 475 frag_dma_addr[fidx] = pbuf_addr; in xgene_enet_setup_tx_desc() 476 fidx++; in xgene_enet_setup_tx_desc() 500 if (split || (fidx != nr_frags)) { in xgene_enet_setup_tx_desc()
|
/linux-6.1.9/net/core/ |
D | rtnetlink.c | 4472 int fidx = 0; in rtnl_fdb_dump() local 4525 &fidx); in rtnl_fdb_dump() 4534 &fidx); in rtnl_fdb_dump() 4537 &fidx); in rtnl_fdb_dump() 4545 fidx = 0; in rtnl_fdb_dump() 4554 cb->args[2] = fidx; in rtnl_fdb_dump()
|
/linux-6.1.9/fs/ext4/ |
D | extents.c | 1060 struct ext4_extent_idx *fidx; in ext4_ext_split() local 1223 fidx = EXT_FIRST_INDEX(neh); in ext4_ext_split() 1224 fidx->ei_block = border; in ext4_ext_split() 1225 ext4_idx_store_pblock(fidx, oldblock); in ext4_ext_split() 1245 memmove(++fidx, path[i].p_idx, in ext4_ext_split()
|