| /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 | 849 int fidx, ret; in cxgb4_flow_rule_replace() local 888 fidx = cxgb4_get_free_ftid(dev, inet_family, fs->hash, in cxgb4_flow_rule_replace() 890 if (fidx < 0) { in cxgb4_flow_rule_replace() 896 if (fidx < adap->tids.nhpftids) { in cxgb4_flow_rule_replace() 905 fidx = 0; in cxgb4_flow_rule_replace() 910 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/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/power/supply/ |
| H A D | max8971_charger.c | 245 static int max8971_get_integer(struct max8971_data *priv, enum max8971_field_idx fidx, in max8971_get_integer() argument 251 err = regmap_field_read(priv->rfield[fidx], ®val); in max8971_get_integer() 260 static int max8971_set_integer(struct max8971_data *priv, enum max8971_field_idx fidx, in max8971_set_integer() argument 267 return regmap_field_write(priv->rfield[fidx], regval); in max8971_set_integer()
|
| /linux/drivers/perf/ |
| H A D | riscv_pmu_sbi.c | 1047 int lidx, hidx, fidx; in pmu_sbi_ovf_handler() local 1060 fidx = find_first_bit(cpu_hw_evt->used_hw_ctrs, RISCV_MAX_COUNTERS); in pmu_sbi_ovf_handler() 1061 if (fidx == RISCV_MAX_COUNTERS) { in pmu_sbi_ovf_handler() 1066 event = cpu_hw_evt->events[fidx]; in pmu_sbi_ovf_handler()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_nix.c | 803 u64 format, bool v4, u64 *fidx) in nix_setup_lso_tso_l3() argument 814 NIX_AF_LSO_FORMATX_FIELDX(format, (*fidx)++), in nix_setup_lso_tso_l3() 827 NIX_AF_LSO_FORMATX_FIELDX(format, (*fidx)++), in nix_setup_lso_tso_l3() 832 u64 format, u64 *fidx) in nix_setup_lso_tso_l4() argument 842 NIX_AF_LSO_FORMATX_FIELDX(format, (*fidx)++), in nix_setup_lso_tso_l4() 851 NIX_AF_LSO_FORMATX_FIELDX(format, (*fidx)++), in nix_setup_lso_tso_l4() 857 u64 cfg, idx, fidx = 0; in nix_setup_lso() local 877 nix_setup_lso_tso_l3(rvu, blkaddr, idx, true, &fidx); in nix_setup_lso() 878 nix_setup_lso_tso_l4(rvu, blkaddr, idx, &fidx); in nix_setup_lso() 881 for (; fidx < 8; fidx++) { in nix_setup_lso() [all …]
|
| /linux/fs/ext4/ |
| H A D | extents.c | 1061 struct ext4_extent_idx *fidx; in ext4_ext_split() local 1224 fidx = EXT_FIRST_INDEX(neh); in ext4_ext_split() 1225 fidx->ei_block = border; in ext4_ext_split() 1226 ext4_idx_store_pblock(fidx, oldblock); in ext4_ext_split() 1246 memmove(++fidx, path[i].p_idx, in ext4_ext_split()
|
| /linux/net/core/ |
| H A D | rtnetlink.c | 4979 int fidx = 0; in rtnl_fdb_dump() local 5024 &fidx); in rtnl_fdb_dump() 5032 &fidx); in rtnl_fdb_dump() 5034 err = ndo_dflt_fdb_dump(skb, cb, dev, NULL, &fidx); in rtnl_fdb_dump() 5042 fidx = 0; in rtnl_fdb_dump() 5045 ctx->fdb_idx = fidx; in rtnl_fdb_dump()
|