Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c107 void (*setup)(struct mlxsw_sp_rif *rif,
109 int (*configure)(struct mlxsw_sp_rif *rif);
110 void (*deconfigure)(struct mlxsw_sp_rif *rif);
111 struct mlxsw_sp_fid * (*fid_get)(struct mlxsw_sp_rif *rif,
113 void (*fdb_del)(struct mlxsw_sp_rif *rif, const char *mac);
119 static void mlxsw_sp_rif_destroy(struct mlxsw_sp_rif *rif);
130 mlxsw_sp_rif_p_counter_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_p_counter_get() argument
135 return &rif->counter_egress; in mlxsw_sp_rif_p_counter_get()
137 return &rif->counter_ingress; in mlxsw_sp_rif_p_counter_get()
143 mlxsw_sp_rif_counter_valid_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_valid_get() argument
[all …]
Dspectrum_router.h72 u16 mlxsw_sp_rif_index(const struct mlxsw_sp_rif *rif);
73 u16 mlxsw_sp_ipip_lb_rif_index(const struct mlxsw_sp_rif_ipip_lb *rif);
74 u16 mlxsw_sp_ipip_lb_ul_vr_id(const struct mlxsw_sp_rif_ipip_lb *rif);
77 int mlxsw_sp_rif_dev_ifindex(const struct mlxsw_sp_rif *rif);
78 const struct net_device *mlxsw_sp_rif_dev(const struct mlxsw_sp_rif *rif);
80 struct mlxsw_sp_rif *rif,
84 struct mlxsw_sp_rif *rif,
87 struct mlxsw_sp_rif *rif,
90 mlxsw_sp_rif_neigh_next(struct mlxsw_sp_rif *rif,
99 #define mlxsw_sp_rif_neigh_for_each(neigh_entry, rif) \ argument
[all …]
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_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 …]
Dspectrum_mr.c29 const struct mlxsw_sp_rif *rif; member
102 return vif->ops->is_regular(vif) && vif->dev && vif->rif; in mlxsw_sp_mr_vif_valid()
156 if (mlxsw_sp_mr_vif_exists(rve->mr_vif) && !rve->mr_vif->rif) in mlxsw_sp_mr_route_action()
223 u16 rifi = mlxsw_sp_rif_index(rve->mr_vif->rif); in mlxsw_sp_mr_route_info_create()
230 irif_index = mlxsw_sp_rif_index(mr_route->ivif.mr_vif->rif); in mlxsw_sp_mr_route_info_create()
494 irif_index = mlxsw_sp_rif_index(rve->mr_vif->rif); in mlxsw_sp_mr_route_ivif_resolve()
540 erif_index = mlxsw_sp_rif_index(rve->mr_vif->rif); in mlxsw_sp_mr_route_evif_resolve()
615 rifi = mlxsw_sp_rif_index(rve->mr_vif->rif); in mlxsw_sp_mr_route_evif_unresolve()
625 const struct mlxsw_sp_rif *rif) in mlxsw_sp_mr_vif_resolve() argument
632 mr_vif->rif = rif; in mlxsw_sp_mr_vif_resolve()
[all …]
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);
Dspectrum_fid.c27 struct mlxsw_sp_rif *rif; member
373 void mlxsw_sp_fid_rif_set(struct mlxsw_sp_fid *fid, struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_rif_set() argument
375 fid->rif = rif; in mlxsw_sp_fid_rif_set()
380 return fid->rif; in mlxsw_sp_fid_rif()
Dreg.h6075 MLXSW_ITEM32(reg, ritr, rif, 0x00, 0, 16);
6332 static inline void mlxsw_reg_ritr_rif_pack(char *payload, u16 rif) in mlxsw_reg_ritr_rif_pack() argument
6335 mlxsw_reg_ritr_rif_set(payload, rif); in mlxsw_reg_ritr_rif_pack()
6348 u16 rif, u16 vr_id, u16 mtu) in mlxsw_reg_ritr_pack() argument
6360 mlxsw_reg_ritr_rif_set(payload, rif); in mlxsw_reg_ritr_pack()
7404 MLXSW_ITEM32(reg, rauht, rif, 0x00, 0, 16);
7459 enum mlxsw_reg_rauht_op op, u16 rif, in mlxsw_reg_rauht_pack() argument
7464 mlxsw_reg_rauht_rif_set(payload, rif); in mlxsw_reg_rauht_pack()
7469 enum mlxsw_reg_rauht_op op, u16 rif, in mlxsw_reg_rauht_pack4() argument
7472 mlxsw_reg_rauht_pack(payload, op, rif, mac); in mlxsw_reg_rauht_pack4()
[all …]
Dspectrum.h1147 void mlxsw_sp_fid_rif_set(struct mlxsw_sp_fid *fid, struct mlxsw_sp_rif *rif);
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/
Drenesas,drif.txt97 drif00: rif@e6f40000 {
118 drif01: rif@e6f50000 {
145 drif00: rif@e6f40000 {
158 drif01: rif@e6f50000 {
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Datm.h87 unsigned int rif : 4; member
/kernel/linux/linux-5.10/include/uapi/linux/
Datm.h147 unsigned int rif : 4; /* Rate Increment Factor (4-bit) */ member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Datm.h84 unsigned int rif : 4; member
/kernel/linux/linux-5.10/drivers/media/tuners/
Dtda9887.c336 static char *rif[4] = { in dump_write_message() local
376 rif[(buf[3] & 0x0c) >> 2]); in dump_write_message()
/kernel/linux/linux-5.10/arch/arm64/boot/dts/renesas/
Dr8a77990.dtsi1290 drif00: rif@e6f40000 {
1305 drif01: rif@e6f50000 {
1320 drif10: rif@e6f60000 {
1335 drif11: rif@e6f70000 {
1350 drif20: rif@e6f80000 {
1365 drif21: rif@e6f90000 {
1380 drif30: rif@e6fa0000 {
1395 drif31: rif@e6fb0000 {
Dr8a77960.dtsi1692 drif00: rif@e6f40000 {
1707 drif01: rif@e6f50000 {
1722 drif10: rif@e6f60000 {
1737 drif11: rif@e6f70000 {
1752 drif20: rif@e6f80000 {
1767 drif21: rif@e6f90000 {
1782 drif30: rif@e6fa0000 {
1797 drif31: rif@e6fb0000 {
Dr8a77951.dtsi1815 drif00: rif@e6f40000 {
1830 drif01: rif@e6f50000 {
1845 drif10: rif@e6f60000 {
1860 drif11: rif@e6f70000 {
1875 drif20: rif@e6f80000 {
1890 drif21: rif@e6f90000 {
1905 drif30: rif@e6fa0000 {
1920 drif31: rif@e6fb0000 {
/kernel/linux/linux-5.10/drivers/atm/
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()
1858 if (vcc->qos.txtp.rif)
1859 srv_p.rif = vcc->qos.txtp.rif;
Diphase.h834 u8 rif; /* Rate Increment Factor (4-bit) */ member
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-pko-defs.h1266 uint64_t rif:1; member
1286 uint64_t rif:1;