Lines Matching refs:iconfig
2171 xmac_tx_iconfig_t iconfig)
2180 ASSERT((iconfig != 0) && ((iconfig & ~ICFG_XMAC_TX_ALL) == 0));
2181 if ((iconfig == 0) || (iconfig & ~ICFG_XMAC_TX_ALL) != 0) {
2184 " Invalid Input: iconfig <0x%x>",
2185 iconfig));
2190 val &= ~iconfig;
2192 val |= iconfig;
2197 ASSERT((iconfig & ~ICFG_XMAC_TX_ALL) == 0);
2198 if ((iconfig & ~ICFG_XMAC_TX_ALL) != 0) {
2201 " Invalid Input: iconfig <0x%x>",
2202 iconfig));
2205 XMAC_REG_WR(handle, portn, XTXMAC_STAT_MSK_REG, ~iconfig);
2211 " Invalid Input: iconfig <0x%x>",
2212 iconfig));
2221 xmac_rx_iconfig_t iconfig)
2230 ASSERT((iconfig != 0) && ((iconfig & ~ICFG_XMAC_RX_ALL) == 0));
2231 if ((iconfig == 0) || (iconfig & ~ICFG_XMAC_RX_ALL) != 0) {
2234 " Invalid Input: iconfig <0x%x>",
2235 iconfig));
2240 val &= ~iconfig;
2242 val |= iconfig;
2247 ASSERT((iconfig & ~ICFG_XMAC_RX_ALL) == 0);
2248 if ((iconfig & ~ICFG_XMAC_RX_ALL) != 0) {
2251 " Invalid Input: iconfig <0x%x>",
2252 iconfig));
2255 XMAC_REG_WR(handle, portn, XRXMAC_STAT_MSK_REG, ~iconfig);
2261 " Invalid Input: iconfig <0x%x>",
2262 iconfig));
2271 xmac_ctl_iconfig_t iconfig)
2280 ASSERT((iconfig != 0) && \
2281 ((iconfig & ~ICFG_XMAC_CTRL_ALL) == 0));
2282 if ((iconfig == 0) || (iconfig & ~ICFG_XMAC_CTRL_ALL) != 0) {
2285 " Invalid Input: iconfig <0x%x>",
2286 iconfig));
2291 val &= ~iconfig;
2293 val |= iconfig;
2298 ASSERT((iconfig & ~ICFG_XMAC_CTRL_ALL) == 0);
2299 if ((iconfig & ~ICFG_XMAC_CTRL_ALL) != 0) {
2302 " Invalid Input: iconfig <0x%x>",
2303 iconfig));
2306 XMAC_REG_WR(handle, portn, XMAC_C_S_MSK_REG, ~iconfig);
2312 " Invalid Input: iconfig <0x%x>",
2313 iconfig));
2810 bmac_rx_iconfig_t iconfig)
2819 ASSERT((iconfig != 0) && ((iconfig & ~ICFG_BMAC_RX_ALL) == 0));
2820 if ((iconfig == 0) || (iconfig & ~ICFG_BMAC_RX_ALL) != 0) {
2823 " Invalid Input: iconfig <0x%x>",
2824 iconfig));
2829 val &= ~iconfig;
2831 val |= iconfig;
2836 ASSERT((iconfig & ~ICFG_BMAC_RX_ALL) == 0);
2837 if ((iconfig & ~ICFG_BMAC_RX_ALL) != 0) {
2840 " Invalid Input: iconfig <0x%x>",
2841 iconfig));
2844 BMAC_REG_WR(handle, portn, BRXMAC_STAT_MSK_REG, ~iconfig);
2850 " Invalid Input: iconfig <0x%x>",
2851 iconfig));
2958 bmac_tx_iconfig_t iconfig)
2967 ASSERT((iconfig != 0) && ((iconfig & ~ICFG_XMAC_TX_ALL) == 0));
2968 if ((iconfig == 0) || (iconfig & ~ICFG_XMAC_TX_ALL) != 0) {
2971 " Invalid Input: iconfig <0x%x>",
2972 iconfig));
2977 val &= ~iconfig;
2979 val |= iconfig;
2984 ASSERT((iconfig & ~ICFG_XMAC_TX_ALL) == 0);
2985 if ((iconfig & ~ICFG_XMAC_TX_ALL) != 0) {
2988 " Invalid Input: iconfig <0x%x>",
2989 iconfig));
2992 BMAC_REG_WR(handle, portn, BTXMAC_STAT_MSK_REG, ~iconfig);
2998 " Invalid Input: iconfig <0x%x>",
2999 iconfig));
3008 bmac_ctl_iconfig_t iconfig)
3017 ASSERT((iconfig != 0) && ((iconfig & ~ICFG_BMAC_CTL_ALL) == 0));
3018 if ((iconfig == 0) || (iconfig & ~ICFG_BMAC_CTL_ALL) != 0) {
3021 " Invalid Input: iconfig <0x%x>",
3022 iconfig));
3027 val &= ~iconfig;
3029 val |= iconfig;
3034 ASSERT((iconfig & ~ICFG_BMAC_RX_ALL) == 0);
3035 if ((iconfig & ~ICFG_BMAC_RX_ALL) != 0) {
3038 " Invalid Input: iconfig <0x%x>",
3039 iconfig));
3042 BMAC_REG_WR(handle, portn, BMAC_C_S_MSK_REG, ~iconfig);
3048 " Invalid Input: iconfig <0x%x>",
3049 iconfig));