Home
last modified time | relevance | path

Searched refs:sb_index (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.3-rc2/drivers/net/ethernet/mscc/
A Docelot_devlink.c540 if (sb_index >= OCELOT_SB_NUM) in ocelot_sb_pool_get()
545 *pool_info = ocelot_sb_pool[sb_index]; in ocelot_sb_pool_get()
569 if (sb_index >= OCELOT_SB_NUM) { in ocelot_sb_pool_set()
607 switch (sb_index) { in ocelot_sb_port_pool_get()
639 switch (sb_index) { in ocelot_sb_port_pool_set()
682 switch (sb_index) { in ocelot_sb_tc_pool_bind_get()
729 switch (sb_index) { in ocelot_sb_tc_pool_bind_set()
780 switch (sb_index) { in ocelot_sb_occ_max_clear()
819 unsigned int sb_index, u16 pool_index, in ocelot_sb_occ_port_pool_get() argument
824 switch (sb_index) { in ocelot_sb_occ_port_pool_get()
[all …]
A Docelot_net.c45 unsigned int sb_index, u16 pool_index, in ocelot_devlink_sb_pool_get() argument
65 unsigned int sb_index, u16 pool_index, in ocelot_devlink_sb_port_pool_get() argument
76 unsigned int sb_index, u16 pool_index, in ocelot_devlink_sb_port_pool_set() argument
89 unsigned int sb_index, u16 tc_index, in ocelot_devlink_sb_tc_pool_bind_get() argument
103 unsigned int sb_index, u16 tc_index, in ocelot_devlink_sb_tc_pool_bind_set() argument
117 unsigned int sb_index) in ocelot_devlink_sb_occ_snapshot() argument
121 return ocelot_sb_occ_snapshot(ocelot, sb_index); in ocelot_devlink_sb_occ_snapshot()
125 unsigned int sb_index) in ocelot_devlink_sb_occ_max_clear() argument
129 return ocelot_sb_occ_max_clear(ocelot, sb_index); in ocelot_devlink_sb_occ_max_clear()
133 unsigned int sb_index, in ocelot_devlink_sb_occ_port_pool_get() argument
[all …]
/linux-6.3-rc2/net/dsa/
A Ddevlink.c24 unsigned int sb_index, u16 pool_index, in dsa_devlink_sb_pool_get() argument
51 unsigned int sb_index, u16 pool_index, in dsa_devlink_sb_port_pool_get() argument
65 unsigned int sb_index, u16 pool_index, in dsa_devlink_sb_port_pool_set() argument
81 unsigned int sb_index, u16 tc_index, in dsa_devlink_sb_tc_pool_bind_get() argument
98 unsigned int sb_index, u16 tc_index, in dsa_devlink_sb_tc_pool_bind_set() argument
116 unsigned int sb_index) in dsa_devlink_sb_occ_snapshot() argument
123 return ds->ops->devlink_sb_occ_snapshot(ds, sb_index); in dsa_devlink_sb_occ_snapshot()
127 unsigned int sb_index) in dsa_devlink_sb_occ_max_clear() argument
138 unsigned int sb_index, in dsa_devlink_sb_occ_port_pool_get() argument
154 unsigned int sb_index, u16 tc_index, in dsa_devlink_sb_occ_tc_port_bind_get() argument
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dcore.h360 unsigned int sb_index, u16 pool_index,
363 unsigned int sb_index, u16 pool_index, u32 size,
367 unsigned int sb_index, u16 pool_index,
370 unsigned int sb_index, u16 pool_index,
373 unsigned int sb_index, u16 tc_index,
377 unsigned int sb_index, u16 tc_index,
382 unsigned int sb_index);
384 unsigned int sb_index);
386 unsigned int sb_index, u16 pool_index,
389 unsigned int sb_index, u16 tc_index,
A Dspectrum.h583 unsigned int sb_index, u16 pool_index,
586 unsigned int sb_index, u16 pool_index, u32 size,
590 unsigned int sb_index, u16 pool_index,
593 unsigned int sb_index, u16 pool_index,
596 unsigned int sb_index, u16 tc_index,
600 unsigned int sb_index, u16 tc_index,
605 unsigned int sb_index);
607 unsigned int sb_index);
609 unsigned int sb_index, u16 pool_index,
612 unsigned int sb_index, u16 tc_index,
A Dcore.c1373 unsigned int sb_index, u16 pool_index, in mlxsw_devlink_sb_pool_get() argument
1387 unsigned int sb_index, u16 pool_index, u32 size, in mlxsw_devlink_sb_pool_set() argument
1402 unsigned int sb_index, u16 pool_index, in mlxsw_devlink_sb_port_pool_get() argument
1417 unsigned int sb_index, u16 pool_index, in mlxsw_devlink_sb_port_pool_set() argument
1434 unsigned int sb_index, u16 tc_index, in mlxsw_devlink_sb_tc_pool_bind_get() argument
1452 unsigned int sb_index, u16 tc_index, in mlxsw_devlink_sb_tc_pool_bind_set() argument
1470 unsigned int sb_index) in mlxsw_devlink_sb_occ_snapshot() argument
1481 unsigned int sb_index) in mlxsw_devlink_sb_occ_max_clear() argument
1493 unsigned int sb_index, u16 pool_index, in mlxsw_devlink_sb_occ_port_pool_get() argument
1509 unsigned int sb_index, u16 tc_index, in mlxsw_devlink_sb_occ_tc_port_bind_get() argument
[all …]
A Dspectrum_buffers.c1355 unsigned int sb_index, u16 pool_index, in mlxsw_sp_sb_pool_get() argument
1372 unsigned int sb_index, u16 pool_index, u32 size, in mlxsw_sp_sb_pool_set() argument
1439 unsigned int sb_index, u16 pool_index, in mlxsw_sp_sb_port_pool_get() argument
1455 unsigned int sb_index, u16 pool_index, in mlxsw_sp_sb_port_pool_set() argument
1480 unsigned int sb_index, u16 tc_index, in mlxsw_sp_sb_tc_pool_bind_get() argument
1500 unsigned int sb_index, u16 tc_index, in mlxsw_sp_sb_tc_pool_bind_set() argument
1608 unsigned int sb_index) in mlxsw_sp_sb_occ_snapshot() argument
1684 unsigned int sb_index) in mlxsw_sp_sb_occ_max_clear() argument
1754 unsigned int sb_index, u16 pool_index, in mlxsw_sp_sb_occ_port_pool_get() argument
1770 unsigned int sb_index, u16 tc_index, in mlxsw_sp_sb_occ_tc_port_bind_get() argument
/linux-6.3-rc2/include/net/
A Ddevlink.h1282 int (*sb_pool_get)(struct devlink *devlink, unsigned int sb_index,
1285 int (*sb_pool_set)(struct devlink *devlink, unsigned int sb_index,
1290 unsigned int sb_index, u16 pool_index,
1293 unsigned int sb_index, u16 pool_index,
1296 unsigned int sb_index,
1301 unsigned int sb_index,
1307 unsigned int sb_index);
1309 unsigned int sb_index);
1311 unsigned int sb_index, u16 pool_index,
1314 unsigned int sb_index,
[all …]
A Ddsa.h1138 unsigned int sb_index, u16 pool_index,
1140 int (*devlink_sb_pool_set)(struct dsa_switch *ds, unsigned int sb_index,
1145 unsigned int sb_index, u16 pool_index,
1148 unsigned int sb_index, u16 pool_index,
1152 unsigned int sb_index, u16 tc_index,
1156 unsigned int sb_index, u16 tc_index,
1161 unsigned int sb_index);
1163 unsigned int sb_index);
1165 unsigned int sb_index, u16 pool_index,
1168 unsigned int sb_index, u16 tc_index,
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/
A Dnfp_devlink.c116 nfp_devlink_sb_pool_get(struct devlink *devlink, unsigned int sb_index, in nfp_devlink_sb_pool_get() argument
121 return nfp_shared_buf_pool_get(pf, sb_index, pool_index, pool_info); in nfp_devlink_sb_pool_get()
125 nfp_devlink_sb_pool_set(struct devlink *devlink, unsigned int sb_index, in nfp_devlink_sb_pool_set() argument
132 return nfp_shared_buf_pool_set(pf, sb_index, pool_index, in nfp_devlink_sb_pool_set()
/linux-6.3-rc2/drivers/net/dsa/ocelot/
A Dfelix.c1884 return ocelot_sb_pool_set(ocelot, sb_index, pool_index, size, in felix_sb_pool_set()
1889 unsigned int sb_index, u16 pool_index, in felix_sb_port_pool_get() argument
1899 unsigned int sb_index, u16 pool_index, in felix_sb_port_pool_set() argument
1909 unsigned int sb_index, u16 tc_index, in felix_sb_tc_pool_bind_get() argument
1921 unsigned int sb_index, u16 tc_index, in felix_sb_tc_pool_bind_set() argument
1934 unsigned int sb_index) in felix_sb_occ_snapshot() argument
1938 return ocelot_sb_occ_snapshot(ocelot, sb_index); in felix_sb_occ_snapshot()
1942 unsigned int sb_index) in felix_sb_occ_max_clear() argument
1946 return ocelot_sb_occ_max_clear(ocelot, sb_index); in felix_sb_occ_max_clear()
1950 unsigned int sb_index, u16 pool_index, in felix_sb_occ_port_pool_get() argument
[all …]
/linux-6.3-rc2/include/soc/mscc/
A Docelot.h1082 int ocelot_sb_pool_get(struct ocelot *ocelot, unsigned int sb_index,
1085 int ocelot_sb_pool_set(struct ocelot *ocelot, unsigned int sb_index,
1090 unsigned int sb_index, u16 pool_index,
1093 unsigned int sb_index, u16 pool_index,
1096 unsigned int sb_index, u16 tc_index,
1100 unsigned int sb_index, u16 tc_index,
1104 int ocelot_sb_occ_snapshot(struct ocelot *ocelot, unsigned int sb_index);
1105 int ocelot_sb_occ_max_clear(struct ocelot *ocelot, unsigned int sb_index);
1107 unsigned int sb_index, u16 pool_index,
1110 unsigned int sb_index, u16 tc_index,
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_vfpf.h253 u8 sb_index; /* Index in the SB */ member
281 u8 sb_index; /* Index in the SB */ member
A Dbnx2x_vfpf.c638 req->rxq.sb_index = HC_INDEX_ETH_RX_CQ_CONS; in bnx2x_vfpf_setup_q()
655 req->txq.sb_index = HC_INDEX_ETH_TX_CQ_CONS_COS0; in bnx2x_vfpf_setup_q()
1565 init_p->tx.sb_cq_index = setup_q->txq.sb_index; in bnx2x_vf_mbx_setup_q()
1578 txq_params->sb_cq_index = setup_q->txq.sb_index; in bnx2x_vf_mbx_setup_q()
1598 init_p->rx.sb_cq_index = setup_q->rxq.sb_index; in bnx2x_vf_mbx_setup_q()
1621 rxq_params->sb_cq_index = setup_q->rxq.sb_index; in bnx2x_vf_mbx_setup_q()
A Dbnx2x_cmn.c5076 u8 fw_sb_id, u8 sb_index, in storm_memset_hc_timeout() argument
5080 CSTORM_STATUS_BLOCK_DATA_TIMEOUT_OFFSET(fw_sb_id, sb_index); in storm_memset_hc_timeout()
5084 port, fw_sb_id, sb_index, ticks); in storm_memset_hc_timeout()
5088 u16 fw_sb_id, u8 sb_index, in storm_memset_hc_disable() argument
5093 CSTORM_STATUS_BLOCK_DATA_FLAGS_OFFSET(fw_sb_id, sb_index); in storm_memset_hc_disable()
5101 port, fw_sb_id, sb_index, disable); in storm_memset_hc_disable()
5105 u8 sb_index, u8 disable, u16 usec) in bnx2x_update_coalesce_sb_index() argument
5110 storm_memset_hc_timeout(bp, port, fw_sb_id, sb_index, ticks); in bnx2x_update_coalesce_sb_index()
5113 storm_memset_hc_disable(bp, port, fw_sb_id, sb_index, disable); in bnx2x_update_coalesce_sb_index()
A Dbnx2x_cmn.h1274 u8 sb_index, u8 disable, u16 usec);
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/
A Dqed_sp_commands.c308 u8 sb_index = p_hwfn->p_eq->eq_sb_index; in qed_sp_pf_start() local
332 p_ramrod->event_ring_sb_index = sb_index; in qed_sp_pf_start()
418 sb, sb_index, outer_tag_config->outer_tag.tci); in qed_sp_pf_start()
A Dqed_vf.h253 u8 sb_index; member
269 u8 sb_index; member
A Dqed_int.c830 index = le16_to_cpu(p_sb_desc->sb_attn->sb_index); in qed_attn_update_idx()
1177 index = p_sb_attn->sb_index; in qed_int_attentions()
1182 } while (index != p_sb_attn->sb_index); in qed_int_attentions()
1183 p_sb_attn->sb_index = index; in qed_int_attentions()
A Dqed_vf.c747 req->sb_index = p_cid->sb_idx; in qed_vf_pf_rxq_start()
861 req->sb_index = p_cid->sb_idx; in qed_vf_pf_txq_start()
A Dqed_hsi.h290 u8 sb_index; member
377 u8 sb_index; member
1485 __le16 sb_index; member
4135 u8 sb_index; member
4221 u8 sb_index; member
6113 u8 sb_index; member
A Dqed_ll2.c983 p_ramrod->sb_index = p_rx->rx_sb_index; in qed_sp_ll2_rx_queue_start()
1055 p_ramrod->sb_index = p_tx->tx_sb_index; in qed_sp_ll2_tx_queue_start()
A Dqed_l2.c870 p_ramrod->sb_index = p_cid->sb_idx; in qed_eth_rxq_start_ramrod()
1092 p_ramrod->sb_index = p_cid->sb_idx; in qed_eth_txq_start_ramrod()
/linux-6.3-rc2/net/devlink/
A Dleftover.c310 unsigned int sb_index) in devlink_sb_get_by_index() argument
315 if (devlink_sb->index == sb_index) in devlink_sb_get_by_index()
322 unsigned int sb_index) in devlink_sb_index_exists() argument
324 return devlink_sb_get_by_index(devlink, sb_index); in devlink_sb_index_exists()
334 devlink_sb = devlink_sb_get_by_index(devlink, sb_index); in devlink_sb_get_from_attrs()
2514 unsigned int sb_index, u16 pool_index, in devlink_sb_port_pool_set() argument
2522 return ops->sb_port_pool_set(devlink_port, sb_index, in devlink_sb_port_pool_set()
2749 unsigned int sb_index, u16 tc_index, in devlink_sb_tc_pool_bind_set() argument
7694 if (devlink_sb_index_exists(devlink, sb_index)) in devl_sb_register()
7700 devlink_sb->index = sb_index; in devl_sb_register()
[all …]
/linux-6.3-rc2/fs/nilfs2/
A Dsuper.c848 unsigned long long sb_index = pos; in nilfs_read_super_block() local
851 offset = do_div(sb_index, blocksize); in nilfs_read_super_block()
852 *pbh = sb_bread(sb, sb_index); in nilfs_read_super_block()

Completed in 192 milliseconds

12