Lines Matching defs:set

1169  * @intr_set:		Current interrup set.
1182 * @promiscuous: Counter to keep track of promiscuous mode set.
1183 * @all_multi: Counter to keep track of all multicast mode set.
1344 * @wol_enable: Wake-on-LAN enable set by ethtool.
1848 * port_cfg - set port register bits
1852 * @bits: The data bits to set.
1853 * @set: The flag indicating whether the bits are to be set or not.
1858 int set)
1866 if (set)
1934 * set or not.
1936 * Return 0 if the bits are not set.
1947 * sw_cfg - set switch register bits
1950 * @bits: The data bits to set.
1951 * @set: The flag indicating whether the bits are to be set or not.
1955 static void sw_cfg(struct ksz_hw *hw, u32 addr, u16 bits, int set)
1960 if (set)
1969 static inline void port_cfg_broad_storm(struct ksz_hw *hw, int p, int set)
1972 KS8842_PORT_CTRL_1_OFFSET, PORT_BROADCAST_STORM, set);
1975 /* Driver set switch broadcast storm protection at 10% rate. */
2121 static inline void port_cfg_back_pressure(struct ksz_hw *hw, int p, int set)
2124 KS8842_PORT_CTRL_2_OFFSET, PORT_BACK_PRESSURE, set);
2129 static inline void port_cfg_mirror_sniffer(struct ksz_hw *hw, int p, int set)
2132 KS8842_PORT_CTRL_2_OFFSET, PORT_MIRROR_SNIFFER, set);
2135 static inline void port_cfg_mirror_rx(struct ksz_hw *hw, int p, int set)
2138 KS8842_PORT_CTRL_2_OFFSET, PORT_MIRROR_RX, set);
2141 static inline void port_cfg_mirror_tx(struct ksz_hw *hw, int p, int set)
2144 KS8842_PORT_CTRL_2_OFFSET, PORT_MIRROR_TX, set);
2147 static inline void sw_cfg_mirror_rx_tx(struct ksz_hw *hw, int set)
2149 sw_cfg(hw, KS8842_SWITCH_CTRL_2_OFFSET, SWITCH_MIRROR_RX_TX, set);
2166 static inline void port_cfg_diffserv(struct ksz_hw *hw, int p, int set)
2169 KS8842_PORT_CTRL_1_OFFSET, PORT_DIFFSERV_ENABLE, set);
2172 static inline void port_cfg_802_1p(struct ksz_hw *hw, int p, int set)
2175 KS8842_PORT_CTRL_1_OFFSET, PORT_802_1P_ENABLE, set);
2178 static inline void port_cfg_replace_vid(struct ksz_hw *hw, int p, int set)
2181 KS8842_PORT_CTRL_2_OFFSET, PORT_USER_PRIORITY_CEILING, set);
2184 static inline void port_cfg_prio(struct ksz_hw *hw, int p, int set)
2187 KS8842_PORT_CTRL_1_OFFSET, PORT_PRIO_QUEUE_ENABLE, set);
2217 * @set: The flag to disable or enable.
2220 static void sw_cfg_replace_null_vid(struct ksz_hw *hw, int set)
2222 sw_cfg(hw, KS8842_SWITCH_CTRL_3_OFFSET, SWITCH_REPLACE_NULL_VID, set);
2229 * @set: The flag to disable or enable.
2236 static void sw_cfg_replace_vid(struct ksz_hw *hw, int port, int set)
2238 port_cfg_replace_vid(hw, port, set);
2245 * @prio: The priority to set.
2407 * sw_set_global_ctrl - set switch global control
2990 * port_set_link_speed - set port speed
3131 * @set: The flag indicating whether to enable or disable.
3135 static void hw_cfg_wol_pme(struct ksz_hw *hw, int set)
3145 if (set)
3156 * @set: The flag indicating whether to enable or disable.
3160 static void hw_cfg_wol(struct ksz_hw *hw, u16 frame, int set)
3165 if (set)
3480 * hw_set_desc_base - set descriptor base addresses
3659 * hw_set_addr - set MAC address
3778 * This routine removes all multicast addresses set in the hardware.
3792 * hw_set_grp_addr - set multicast addresses
4674 /* Status valid only when last descriptor bit is set. */
4719 /* Status valid only when last descriptor bit is set. */
4764 /* Status valid only when last descriptor bit is set. */
5261 * netdev_set_mac_address - set network device MAC address
5265 * This function is used to set the MAC address of the network device.
5354 * This routine is used to set multicast addresses or put the network device
5518 * mdio_write - set PHY register
5582 * netdev_set_link_ksettings - set network device settings
5800 * netdev_set_wol - set Wake-on-LAN support
5845 * netdev_set_msglevel - set debug message level
5969 * netdev_set_pauseparam - set flow control parameters
6086 * @stringset: String set identifier.
6105 * @sset: The statistics set number.
6193 * netdev_set_features - set receive checksum support