Home
last modified time | relevance | path

Searched refs:rif (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.h92 u16 mlxsw_sp_ipip_lb_rif_index(const struct mlxsw_sp_rif_ipip_lb *rif);
95 int mlxsw_sp_rif_dev_ifindex(const struct mlxsw_sp_rif *rif);
96 bool mlxsw_sp_rif_has_dev(const struct mlxsw_sp_rif *rif);
97 bool mlxsw_sp_rif_dev_is(const struct mlxsw_sp_rif *rif,
100 struct mlxsw_sp_rif *rif,
103 void mlxsw_sp_rif_counter_free(struct mlxsw_sp_rif *rif,
105 int mlxsw_sp_rif_counter_alloc(struct mlxsw_sp_rif *rif,
108 mlxsw_sp_rif_neigh_next(struct mlxsw_sp_rif *rif,
117 #define mlxsw_sp_rif_neigh_for_each(neigh_entry, rif) \ argument
118 for (neigh_entry = mlxsw_sp_rif_neigh_next(rif, NULL); neigh_entry; \
[all …]
H A Dspectrum_dpipe.c156 struct mlxsw_sp_rif *rif, in mlxsw_sp_erif_entry_get() argument
166 *rif_value = mlxsw_sp_rif_index(rif); in mlxsw_sp_erif_entry_get()
167 entry->match_values->mapping_value = mlxsw_sp_rif_dev_ifindex(rif); in mlxsw_sp_erif_entry_get()
176 entry->index = mlxsw_sp_rif_index(rif); in mlxsw_sp_erif_entry_get()
181 err = mlxsw_sp_rif_counter_value_get(mlxsw_sp, rif, in mlxsw_sp_erif_entry_get()
222 struct mlxsw_sp_rif *rif = mlxsw_sp_rif_by_index(mlxsw_sp, i); in mlxsw_sp_dpipe_table_erif_entries_dump() local
224 if (!rif || !mlxsw_sp_rif_has_dev(rif)) in mlxsw_sp_dpipe_table_erif_entries_dump()
226 err = mlxsw_sp_erif_entry_get(mlxsw_sp, &entry, rif, in mlxsw_sp_dpipe_table_erif_entries_dump()
264 struct mlxsw_sp_rif *rif = mlxsw_sp_rif_by_index(mlxsw_sp, i); in mlxsw_sp_dpipe_table_erif_counters_update() local
266 if (!rif) in mlxsw_sp_dpipe_table_erif_counters_update()
[all …]
H A Dspectrum_fid.c34 struct mlxsw_sp_rif *rif; member
98 const struct mlxsw_sp_rif *rif);
479 return fid->rif; in mlxsw_sp_fid_rif()
591 const struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_edit_op() argument
604 if (rif) { in mlxsw_sp_fid_edit_op()
606 mlxsw_reg_sfmr_irif_set(sfmr_pl, mlxsw_sp_rif_index(rif)); in mlxsw_sp_fid_edit_op()
613 const struct mlxsw_sp_rif *rif, in mlxsw_sp_fid_vni_to_fid_map() argument
621 irif_valid = !!rif; in mlxsw_sp_fid_vni_to_fid_map()
622 irif_index = rif ? mlxsw_sp_rif_index(rif) : 0; in mlxsw_sp_fid_vni_to_fid_map()
630 const struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_to_fid_rif_update() argument
[all …]
H A Dspectrum_mr.h80 const struct mlxsw_sp_rif *rif);
83 const struct mlxsw_sp_rif *rif);
85 const struct mlxsw_sp_rif *rif);
87 const struct mlxsw_sp_rif *rif, int mtu);
/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Drif_counter_scale.sh12 max_cnts=$(devlink_resource_size_get counters rif)
/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
H A Drif_counter_scale.sh12 max_cnts=$(devlink_resource_size_get counters rif)
/linux/include/uapi/linux/
H A Datm.h147 unsigned int rif : 4; /* Rate Increment Factor (4-bit) */ member
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_router_hw.h51 void *rif; member
H A Dprestera_router.c129 nk->rif = (void *)ck->dev; in prestera_util_nc_key2nh_key()
881 fc->lpm_info.nh_grp_key.neigh[0].rif = in __prestera_pr_k_arb_fc_lpm_info_calc()
897 fc->lpm_info.nh_grp_key.neigh[nh_cnt].rif = in __prestera_pr_k_arb_fc_lpm_info_calc()
/linux/drivers/media/tuners/
H A Dtda9887.c336 static char *rif[4] = { in dump_write_message() local
376 rif[(buf[3] & 0x0c) >> 2]); in dump_write_message()
/linux/arch/arm64/boot/dts/renesas/
H A Dr8a77990.dtsi1374 drif00: rif@e6f40000 {
1389 drif01: rif@e6f50000 {
1404 drif10: rif@e6f60000 {
1419 drif11: rif@e6f70000 {
1434 drif20: rif@e6f80000 {
1449 drif21: rif@e6f90000 {
1464 drif30: rif@e6fa0000 {
1479 drif31: rif@e6fb0000 {
H A Dr8a77965.dtsi1634 drif00: rif@e6f40000 {
1649 drif01: rif@e6f50000 {
1664 drif10: rif@e6f60000 {
1679 drif11: rif@e6f70000 {
1694 drif20: rif@e6f80000 {
1709 drif21: rif@e6f90000 {
1724 drif30: rif@e6fa0000 {
1739 drif31: rif@e6fb0000 {
H A Dr8a77960.dtsi1771 drif00: rif@e6f40000 {
1786 drif01: rif@e6f50000 {
1801 drif10: rif@e6f60000 {
1816 drif11: rif@e6f70000 {
1831 drif20: rif@e6f80000 {
1846 drif21: rif@e6f90000 {
1861 drif30: rif@e6fa0000 {
1876 drif31: rif@e6fb0000 {
H A Dr8a77951.dtsi1899 drif00: rif@e6f40000 {
1914 drif01: rif@e6f50000 {
1929 drif10: rif@e6f60000 {
1944 drif11: rif@e6f70000 {
1959 drif20: rif@e6f80000 {
1974 drif21: rif@e6f90000 {
1989 drif30: rif@e6fa0000 {
2004 drif31: rif@e6fb0000 {
/linux/drivers/atm/
H A Diphase.c367 srv_p->rif = 0xf; in init_abr_vc()
415 if (srv_p->rif > MAX_RIF) in ia_open_abr_vc()
449 air = srv_p->pcr << (15 - srv_p->rif); in ia_open_abr_vc()
1860 if (vcc->qos.txtp.rif)
1861 srv_p.rif = vcc->qos.txtp.rif;
H A Diphase.h833 u8 rif; /* Rate Increment Factor (4-bit) */ member
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pko-defs.h1266 uint64_t rif:1; member
1286 uint64_t rif:1;