Lines Matching defs:port

480 #define PORT_CTRL_ADDR(port, addr)		\  argument
686 #define HW_TO_DEV_PORT(port) (port - 1) argument
1395 struct ksz_port port; member
1713 static void port_r_mib_cnt(struct ksz_hw *hw, int port, u16 addr, u64 *cnt) in port_r_mib_cnt()
1752 static void port_r_mib_pkt(struct ksz_hw *hw, int port, u32 *last, u64 *cnt) in port_r_mib_pkt()
1800 static int port_r_cnt(struct ksz_hw *hw, int port) in port_r_cnt()
1825 static void port_init_cnt(struct ksz_hw *hw, int port) in port_init_cnt()
1857 static void port_cfg(struct ksz_hw *hw, int port, int offset, u16 bits, in port_cfg()
1882 static void port_r8(struct ksz_hw *hw, int port, int offset, u8 *data) in port_r8()
1900 static void port_r16(struct ksz_hw *hw, int port, int offset, u16 *data) in port_r16()
1918 static void port_w16(struct ksz_hw *hw, int port, int offset, u16 data) in port_w16()
2029 static void sw_dis_broad_storm(struct ksz_hw *hw, int port) in sw_dis_broad_storm()
2041 static void sw_ena_broad_storm(struct ksz_hw *hw, int port) in sw_ena_broad_storm()
2055 int port; in sw_init_broad_storm() local
2089 static void sw_dis_prio_rate(struct ksz_hw *hw, int port) in sw_dis_prio_rate()
2106 int port; in sw_init_prio_rate() local
2154 int port; in sw_init_mirror() local
2197 static void sw_dis_diffserv(struct ksz_hw *hw, int port) in sw_dis_diffserv()
2209 static void sw_dis_802_1p(struct ksz_hw *hw, int port) in sw_dis_802_1p()
2236 static void sw_cfg_replace_vid(struct ksz_hw *hw, int port, int set) in sw_cfg_replace_vid()
2249 static void sw_cfg_port_based(struct ksz_hw *hw, int port, u8 prio) in sw_cfg_port_based()
2272 static void sw_dis_multi_queue(struct ksz_hw *hw, int port) in sw_dis_multi_queue()
2285 int port; in sw_init_prio() local
2330 static void port_get_def_vid(struct ksz_hw *hw, int port, u16 *vid) in port_get_def_vid()
2347 int port; in sw_init_vlan() local
2373 static void sw_cfg_port_base_vlan(struct ksz_hw *hw, int port, u8 member) in sw_cfg_port_base_vlan()
2460 static void port_set_stp_state(struct ksz_hw *hw, int port, int state) in port_set_stp_state()
2596 static void hw_r_phy(struct ksz_hw *hw, int port, u16 reg, u16 *val) in hw_r_phy()
2613 static void hw_w_phy(struct ksz_hw *hw, int port, u16 reg, u16 val) in hw_w_phy()
2819 static u16 advertised_flow_ctrl(struct ksz_port *port, u16 ctrl) in advertised_flow_ctrl()
2858 static void determine_flow_ctrl(struct ksz_hw *hw, struct ksz_port *port, in determine_flow_ctrl()
2888 static inline void port_cfg_change(struct ksz_hw *hw, struct ksz_port *port, in port_cfg_change()
2910 static void port_get_link_speed(struct ksz_port *port) in port_get_link_speed()
2995 static void port_set_link_speed(struct ksz_port *port) in port_set_link_speed()
3046 static void port_force_link_speed(struct ksz_port *port) in port_force_link_speed()
3072 static void port_set_power_saving(struct ksz_port *port, int enable) in port_set_power_saving()
3870 int port; in sw_enable() local
3901 int port; in sw_setup() local
4238 int port; in get_mib_counters() local
4421 int port; in tx_done() local
4533 int port; in netdev_tx_timeout() local
4896 struct ksz_port *port = &priv->port; in netdev_intr() local
4944 int port; in bridge_change() local
4976 struct ksz_port *port = &priv->port; in netdev_close() local
5114 struct ksz_port *port = &priv->port; in netdev_open() local
5216 struct ksz_port *port = &priv->port; in netdev_query_statistics() local
5320 int port = priv->port.first_port; in dev_set_promiscuous() local
5450 struct ksz_port *port = &priv->port; in netdev_ioctl() local
5509 struct ksz_port *port = &priv->port; in mdio_read() local
5529 struct ksz_port *port = &priv->port; in mdio_write() local
5595 struct ksz_port *port = &priv->port; in netdev_set_link_ksettings() local
5984 struct ksz_port *port = &priv->port; in netdev_set_pauseparam() local
6139 struct ksz_port *port = &priv->port; in netdev_get_ethtool_stats() local
6252 struct ksz_port *port) in update_link()
6338 struct ksz_port *port = &priv->port; in dev_monitor() local
6468 static void get_mac_addr(struct dev_info *hw_priv, u8 *macaddr, int port) in get_mac_addr()
6544 struct ksz_port *port; in pcidev_init() local