/linux-6.3-rc2/drivers/net/ethernet/mscc/ |
A D | ocelot_devlink.c | 540 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 D | ocelot_net.c | 45 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 D | devlink.c | 24 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 D | core.h | 360 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 D | spectrum.h | 583 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 D | core.c | 1373 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 D | spectrum_buffers.c | 1355 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 D | devlink.h | 1282 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 D | dsa.h | 1138 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 D | nfp_devlink.c | 116 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 D | felix.c | 1884 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 D | ocelot.h | 1082 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 D | bnx2x_vfpf.h | 253 u8 sb_index; /* Index in the SB */ member 281 u8 sb_index; /* Index in the SB */ member
|
A D | bnx2x_vfpf.c | 638 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 D | bnx2x_cmn.c | 5076 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 D | bnx2x_cmn.h | 1274 u8 sb_index, u8 disable, u16 usec);
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/ |
A D | qed_sp_commands.c | 308 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 D | qed_vf.h | 253 u8 sb_index; member 269 u8 sb_index; member
|
A D | qed_int.c | 830 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 D | qed_vf.c | 747 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 D | qed_hsi.h | 290 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 D | qed_ll2.c | 983 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 D | qed_l2.c | 870 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 D | leftover.c | 310 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 D | super.c | 848 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()
|