Lines Matching full:mod_abs
8507 /* Make MOD_ABS give interrupt on change */ in bnx2x_8727_specific_func()
8754 DP(NETIF_MSG_LINK, "Failed to get MOD_ABS interrupt config\n"); in bnx2x_handle_module_detect_int()
9296 u16 tmp1, mod_abs, tmp2; in bnx2x_8727_config_init() local
9305 /* Initially configure MOD_ABS to interrupt when module is in bnx2x_8727_config_init()
9309 MDIO_PMA_DEVAD, MDIO_PMA_REG_PHY_IDENTIFIER, &mod_abs); in bnx2x_8727_config_init()
9314 mod_abs &= ~(1<<8); in bnx2x_8727_config_init()
9316 mod_abs &= ~(1<<9); in bnx2x_8727_config_init()
9318 MDIO_PMA_DEVAD, MDIO_PMA_REG_PHY_IDENTIFIER, mod_abs); in bnx2x_8727_config_init()
9379 u16 mod_abs, rx_alarm_status; in bnx2x_8727_handle_mod_abs() local
9386 MDIO_PMA_REG_PHY_IDENTIFIER, &mod_abs); in bnx2x_8727_handle_mod_abs()
9387 if (mod_abs & (1<<8)) { in bnx2x_8727_handle_mod_abs()
9391 "MOD_ABS indication show module is absent\n"); in bnx2x_8727_handle_mod_abs()
9393 /* 1. Set mod_abs to detect next module in bnx2x_8727_handle_mod_abs()
9400 mod_abs &= ~(1<<8); in bnx2x_8727_handle_mod_abs()
9402 mod_abs &= ~(1<<9); in bnx2x_8727_handle_mod_abs()
9405 MDIO_PMA_REG_PHY_IDENTIFIER, mod_abs); in bnx2x_8727_handle_mod_abs()
9408 * the mod_abs wasn't changed in bnx2x_8727_handle_mod_abs()
9417 "MOD_ABS indication show module is present\n"); in bnx2x_8727_handle_mod_abs()
9420 * 1. Set mod_abs to detect next module absent event ( bit 8) in bnx2x_8727_handle_mod_abs()
9425 mod_abs |= (1<<8); in bnx2x_8727_handle_mod_abs()
9427 mod_abs |= (1<<9); in bnx2x_8727_handle_mod_abs()
9430 MDIO_PMA_REG_PHY_IDENTIFIER, mod_abs); in bnx2x_8727_handle_mod_abs()
9432 /* Clear RX alarm since it stays up as long as the mod_abs in bnx2x_8727_handle_mod_abs()
9519 /* Disable all RX_ALARMs except for mod_abs */ in bnx2x_8727_read_status()
9544 /* Enable all mod_abs and link detection bits */ in bnx2x_8727_read_status()
14048 DP(NETIF_MSG_LINK, "Setting MOD_ABS (GPIO%d_P%d) AEU to 0x%x\n", in bnx2x_init_mod_abs_int()