/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A 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 …]
|
H A D | cxgb4_filter.h | 48 int set_filter_wr(struct adapter *adapter, int fidx); 49 int delete_filter(struct adapter *adapter, unsigned int fidx);
|
H A 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()
|
H A 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()
|
H A D | cxgb4_uld.h | 296 int cxgb4_get_filter_counters(struct net_device *dev, unsigned int fidx,
|
H A D | cxgb4_debugfs.c | 1000 int fidx = (uintptr_t)v - 2; in devlog_show() local 1007 index = dinfo->first + fidx; in devlog_show()
|
/linux/arch/mips/include/asm/octeon/ |
H A 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/drivers/net/ethernet/netronome/nfp/nfd3/ |
H A 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()
|
H A D | nfd3.h | 77 short int fidx; member
|
/linux/drivers/power/supply/ |
H A 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/drivers/infiniband/hw/hfi1/ |
H A 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 …]
|
H A D | tid_rdma.h | 306 u32 *bth2, u16 fidx);
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_nix.c | 802 u64 format, bool v4, u64 *fidx) in nix_setup_lso_tso_l3() argument 813 NIX_AF_LSO_FORMATX_FIELDX(format, (*fidx)++), in nix_setup_lso_tso_l3() 826 NIX_AF_LSO_FORMATX_FIELDX(format, (*fidx)++), in nix_setup_lso_tso_l3() 831 u64 format, u64 *fidx) in nix_setup_lso_tso_l4() argument 841 NIX_AF_LSO_FORMATX_FIELDX(format, (*fidx)++), in nix_setup_lso_tso_l4() 850 NIX_AF_LSO_FORMATX_FIELDX(format, (*fidx)++), in nix_setup_lso_tso_l4() 856 u64 cfg, idx, fidx = 0; in nix_setup_lso() local 876 nix_setup_lso_tso_l3(rvu, blkaddr, idx, true, &fidx); in nix_setup_lso() 877 nix_setup_lso_tso_l4(rvu, blkaddr, idx, &fidx); in nix_setup_lso() 880 for (; fidx < 8; fidx++) { in nix_setup_lso() [all …]
|
/linux/drivers/perf/ |
H A D | riscv_pmu_sbi.c | 957 int lidx, hidx, fidx; in pmu_sbi_ovf_handler() local 970 fidx = find_first_bit(cpu_hw_evt->used_hw_ctrs, RISCV_MAX_COUNTERS); in pmu_sbi_ovf_handler() 971 if (fidx == RISCV_MAX_COUNTERS) { in pmu_sbi_ovf_handler() 976 event = cpu_hw_evt->events[fidx]; in pmu_sbi_ovf_handler()
|
/linux/fs/ext4/ |
H A 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()
|
/linux/net/core/ |
H A D | rtnetlink.c | 4932 int fidx = 0; in rtnl_fdb_dump() local 4977 &fidx); in rtnl_fdb_dump() 4985 &fidx); in rtnl_fdb_dump() 4987 err = ndo_dflt_fdb_dump(skb, cb, dev, NULL, &fidx); in rtnl_fdb_dump() 4995 fidx = 0; in rtnl_fdb_dump() 4998 ctx->fdb_idx = fidx; in rtnl_fdb_dump()
|