Searched refs:ofdpa_port (Results 1 – 1 of 1) sorted by relevance
134 struct ofdpa_port *ofdpa_port; member193 struct ofdpa_port { struct247 static __be16 ofdpa_port_vid_to_vlan(const struct ofdpa_port *ofdpa_port, in ofdpa_port_vid_to_vlan() argument256 vlan_id = ofdpa_port->internal_vlan_id; in ofdpa_port_vid_to_vlan()264 static u16 ofdpa_port_vlan_to_vid(const struct ofdpa_port *ofdpa_port, in ofdpa_port_vlan_to_vid() argument273 static bool ofdpa_port_is_slave(const struct ofdpa_port *ofdpa_port, in ofdpa_port_is_slave() argument276 return ofdpa_port->bridge_dev && in ofdpa_port_is_slave()277 !strcmp(ofdpa_port->bridge_dev->rtnl_link_ops->kind, kind); in ofdpa_port_is_slave()280 static bool ofdpa_port_is_bridged(const struct ofdpa_port *ofdpa_port) in ofdpa_port_is_bridged() argument282 return ofdpa_port_is_slave(ofdpa_port, "bridge"); in ofdpa_port_is_bridged()[all …]