Lines Matching full:mirror
15 #define SPX5_QFWD_MP_OFFSET 9 /* Mirror port offset in the QFWD register */
17 /* Convert from bool ingress/egress to mirror direction */
23 /* Get ports belonging to this mirror */
36 /* Add port to mirror (only front ports) */
50 /* Delete port from mirror (only front ports) */
64 /* Check if mirror contains port */
70 /* Check if mirror is empty */
76 /* Get direction of mirror */
84 /* Set direction of mirror */
92 /* Set the monitor port for this mirror */
101 /* Get the monitor port of this mirror */
110 /* Check if port is the monitor port of this mirror */
117 /* Get a suitable mirror for this port */
129 /* Check if existing mirror can be reused in sparx5_mirror_get()
140 /* Return free mirror */ in sparx5_mirror_get()
161 mport = entry->mirror.port; in sparx5_mirror_add()
174 /* Add port to mirror */ in sparx5_mirror_add()
177 /* Set direction of mirror */ in sparx5_mirror_add()
180 /* Set monitor port for mirror */ in sparx5_mirror_add()
183 entry->mirror.idx = mirror_idx; in sparx5_mirror_add()
192 u32 mirror_idx = entry->mirror.idx; in sparx5_mirror_del()