/Linux-v6.1/drivers/net/ethernet/mscc/ |
D | ocelot_devlink.c | 505 int ocelot_sb_pool_get(struct ocelot *ocelot, unsigned int sb_index, in ocelot_sb_pool_get() argument 509 if (sb_index >= OCELOT_SB_NUM) in ocelot_sb_pool_get() 514 *pool_info = ocelot_sb_pool[sb_index]; in ocelot_sb_pool_get() 515 pool_info->size = ocelot->pool_size[sb_index][pool_index]; in ocelot_sb_pool_get() 530 int ocelot_sb_pool_set(struct ocelot *ocelot, unsigned int sb_index, in ocelot_sb_pool_set() argument 538 if (sb_index >= OCELOT_SB_NUM) { in ocelot_sb_pool_set() 554 old_pool_size = ocelot->pool_size[sb_index][pool_index]; in ocelot_sb_pool_set() 555 ocelot->pool_size[sb_index][pool_index] = size; in ocelot_sb_pool_set() 559 ocelot->pool_size[sb_index][pool_index] = old_pool_size; in ocelot_sb_pool_set() 571 unsigned int sb_index, u16 pool_index, in ocelot_sb_port_pool_get() argument [all …]
|
D | ocelot_net.c | 45 unsigned int sb_index, u16 pool_index, in ocelot_devlink_sb_pool_get() argument 50 return ocelot_sb_pool_get(ocelot, sb_index, pool_index, pool_info); in ocelot_devlink_sb_pool_get() 53 static int ocelot_devlink_sb_pool_set(struct devlink *dl, unsigned int sb_index, in ocelot_devlink_sb_pool_set() argument 60 return ocelot_sb_pool_set(ocelot, sb_index, pool_index, size, in ocelot_devlink_sb_pool_set() 65 unsigned int sb_index, u16 pool_index, in ocelot_devlink_sb_port_pool_get() argument 71 return ocelot_sb_port_pool_get(ocelot, port, sb_index, pool_index, in ocelot_devlink_sb_port_pool_get() 76 unsigned int sb_index, u16 pool_index, in ocelot_devlink_sb_port_pool_set() argument 83 return ocelot_sb_port_pool_set(ocelot, port, sb_index, pool_index, in ocelot_devlink_sb_port_pool_set() 89 unsigned int sb_index, u16 tc_index, in ocelot_devlink_sb_tc_pool_bind_get() argument 96 return ocelot_sb_tc_pool_bind_get(ocelot, port, sb_index, tc_index, in ocelot_devlink_sb_tc_pool_bind_get() [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | core.h | 361 unsigned int sb_index, u16 pool_index, 364 unsigned int sb_index, u16 pool_index, u32 size, 368 unsigned int sb_index, u16 pool_index, 371 unsigned int sb_index, u16 pool_index, 374 unsigned int sb_index, u16 tc_index, 378 unsigned int sb_index, u16 tc_index, 383 unsigned int sb_index); 385 unsigned int sb_index); 387 unsigned int sb_index, u16 pool_index, 390 unsigned int sb_index, u16 tc_index,
|
D | spectrum.h | 582 unsigned int sb_index, u16 pool_index, 585 unsigned int sb_index, u16 pool_index, u32 size, 589 unsigned int sb_index, u16 pool_index, 592 unsigned int sb_index, u16 pool_index, 595 unsigned int sb_index, u16 tc_index, 599 unsigned int sb_index, u16 tc_index, 604 unsigned int sb_index); 606 unsigned int sb_index); 608 unsigned int sb_index, u16 pool_index, 611 unsigned int sb_index, u16 tc_index,
|
D | core.c | 1299 unsigned int sb_index, u16 pool_index, in mlxsw_devlink_sb_pool_get() argument 1307 return mlxsw_driver->sb_pool_get(mlxsw_core, sb_index, in mlxsw_devlink_sb_pool_get() 1313 unsigned int sb_index, u16 pool_index, u32 size, in mlxsw_devlink_sb_pool_set() argument 1322 return mlxsw_driver->sb_pool_set(mlxsw_core, sb_index, in mlxsw_devlink_sb_pool_set() 1328 unsigned int sb_index, u16 pool_index, in mlxsw_devlink_sb_port_pool_get() argument 1338 return mlxsw_driver->sb_port_pool_get(mlxsw_core_port, sb_index, in mlxsw_devlink_sb_port_pool_get() 1343 unsigned int sb_index, u16 pool_index, in mlxsw_devlink_sb_port_pool_set() argument 1354 return mlxsw_driver->sb_port_pool_set(mlxsw_core_port, sb_index, in mlxsw_devlink_sb_port_pool_set() 1360 unsigned int sb_index, u16 tc_index, in mlxsw_devlink_sb_tc_pool_bind_get() argument 1371 return mlxsw_driver->sb_tc_pool_bind_get(mlxsw_core_port, sb_index, in mlxsw_devlink_sb_tc_pool_bind_get() [all …]
|
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-v6.1/net/dsa/ |
D | dsa2.c | 663 unsigned int sb_index, u16 pool_index, in dsa_devlink_sb_pool_get() argument 671 return ds->ops->devlink_sb_pool_get(ds, sb_index, pool_index, in dsa_devlink_sb_pool_get() 675 static int dsa_devlink_sb_pool_set(struct devlink *dl, unsigned int sb_index, in dsa_devlink_sb_pool_set() argument 685 return ds->ops->devlink_sb_pool_set(ds, sb_index, pool_index, size, in dsa_devlink_sb_pool_set() 690 unsigned int sb_index, u16 pool_index, in dsa_devlink_sb_port_pool_get() argument 699 return ds->ops->devlink_sb_port_pool_get(ds, port, sb_index, in dsa_devlink_sb_port_pool_get() 704 unsigned int sb_index, u16 pool_index, in dsa_devlink_sb_port_pool_set() argument 714 return ds->ops->devlink_sb_port_pool_set(ds, port, sb_index, in dsa_devlink_sb_port_pool_set() 720 unsigned int sb_index, u16 tc_index, in dsa_devlink_sb_tc_pool_bind_get() argument 730 return ds->ops->devlink_sb_tc_pool_bind_get(ds, port, sb_index, in dsa_devlink_sb_tc_pool_bind_get() [all …]
|
/Linux-v6.1/include/net/ |
D | devlink.h | 1240 int (*sb_pool_get)(struct devlink *devlink, unsigned int sb_index, 1243 int (*sb_pool_set)(struct devlink *devlink, unsigned int sb_index, 1248 unsigned int sb_index, u16 pool_index, 1251 unsigned int sb_index, u16 pool_index, 1254 unsigned int sb_index, 1259 unsigned int sb_index, 1265 unsigned int sb_index); 1267 unsigned int sb_index); 1269 unsigned int sb_index, u16 pool_index, 1272 unsigned int sb_index, [all …]
|
D | dsa.h | 1133 unsigned int sb_index, u16 pool_index, 1135 int (*devlink_sb_pool_set)(struct dsa_switch *ds, unsigned int sb_index, 1140 unsigned int sb_index, u16 pool_index, 1143 unsigned int sb_index, u16 pool_index, 1147 unsigned int sb_index, u16 tc_index, 1151 unsigned int sb_index, u16 tc_index, 1156 unsigned int sb_index); 1158 unsigned int sb_index); 1160 unsigned int sb_index, u16 pool_index, 1163 unsigned int sb_index, u16 tc_index,
|
/Linux-v6.1/drivers/net/dsa/ocelot/ |
D | felix.c | 1861 static int felix_sb_pool_get(struct dsa_switch *ds, unsigned int sb_index, in felix_sb_pool_get() argument 1867 return ocelot_sb_pool_get(ocelot, sb_index, pool_index, pool_info); in felix_sb_pool_get() 1870 static int felix_sb_pool_set(struct dsa_switch *ds, unsigned int sb_index, in felix_sb_pool_set() argument 1877 return ocelot_sb_pool_set(ocelot, sb_index, pool_index, size, in felix_sb_pool_set() 1882 unsigned int sb_index, u16 pool_index, in felix_sb_port_pool_get() argument 1887 return ocelot_sb_port_pool_get(ocelot, port, sb_index, pool_index, in felix_sb_port_pool_get() 1892 unsigned int sb_index, u16 pool_index, in felix_sb_port_pool_set() argument 1897 return ocelot_sb_port_pool_set(ocelot, port, sb_index, pool_index, in felix_sb_port_pool_set() 1902 unsigned int sb_index, u16 tc_index, in felix_sb_tc_pool_bind_get() argument 1908 return ocelot_sb_tc_pool_bind_get(ocelot, port, sb_index, tc_index, in felix_sb_tc_pool_bind_get() [all …]
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/ |
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-v6.1/include/soc/mscc/ |
D | ocelot.h | 1241 int ocelot_sb_pool_get(struct ocelot *ocelot, unsigned int sb_index, 1244 int ocelot_sb_pool_set(struct ocelot *ocelot, unsigned int sb_index, 1249 unsigned int sb_index, u16 pool_index, 1252 unsigned int sb_index, u16 pool_index, 1255 unsigned int sb_index, u16 tc_index, 1259 unsigned int sb_index, u16 tc_index, 1263 int ocelot_sb_occ_snapshot(struct ocelot *ocelot, unsigned int sb_index); 1264 int ocelot_sb_occ_max_clear(struct ocelot *ocelot, unsigned int sb_index); 1266 unsigned int sb_index, u16 pool_index, 1269 unsigned int sb_index, u16 tc_index,
|
/Linux-v6.1/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_vfpf.h | 253 u8 sb_index; /* Index in the SB */ member 281 u8 sb_index; /* Index in the SB */ member
|
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()
|
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()
|
D | bnx2x_cmn.h | 1274 u8 sb_index, u8 disable, u16 usec);
|
/Linux-v6.1/drivers/net/ethernet/qlogic/qed/ |
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()
|
D | qed_vf.h | 253 u8 sb_index; member 269 u8 sb_index; member
|
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()
|
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()
|
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
|
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()
|
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-v6.1/fs/nilfs2/ |
D | super.c | 839 unsigned long long sb_index = pos; in nilfs_read_super_block() local 842 offset = do_div(sb_index, blocksize); in nilfs_read_super_block() 843 *pbh = sb_bread(sb, sb_index); in nilfs_read_super_block()
|
/Linux-v6.1/net/core/ |
D | devlink.c | 562 unsigned int sb_index) in devlink_sb_get_by_index() argument 567 if (devlink_sb->index == sb_index) in devlink_sb_get_by_index() 574 unsigned int sb_index) in devlink_sb_index_exists() argument 576 return devlink_sb_get_by_index(devlink, sb_index); in devlink_sb_index_exists() 583 u32 sb_index = nla_get_u32(attrs[DEVLINK_ATTR_SB_INDEX]); in devlink_sb_get_from_attrs() local 586 devlink_sb = devlink_sb_get_by_index(devlink, sb_index); in devlink_sb_get_from_attrs() 2663 static int devlink_sb_pool_set(struct devlink *devlink, unsigned int sb_index, in devlink_sb_pool_set() argument 2672 return ops->sb_pool_set(devlink, sb_index, pool_index, in devlink_sb_pool_set() 2878 unsigned int sb_index, u16 pool_index, in devlink_sb_port_pool_set() argument 2886 return ops->sb_port_pool_set(devlink_port, sb_index, in devlink_sb_port_pool_set() [all …]
|