Home
last modified time | relevance | path

Searched refs:swap_val (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x_link.c4438 u32 swap_val, swap_override; in bnx2x_get_gpio_port() local
4444 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); in bnx2x_get_gpio_port()
4446 return gpio_port ^ (swap_val && swap_override); in bnx2x_get_gpio_port()
5369 u32 swap_val, swap_override, aeu_gpio_mask, offset; in bnx2x_8726_config_init() local
5453 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); in bnx2x_8726_config_init()
5459 aeu_gpio_mask = (swap_val && swap_override) ? in bnx2x_8726_config_init()
5464 aeu_gpio_mask = (swap_val && swap_override) ? in bnx2x_8726_config_init()
5539 u32 swap_val, swap_override; in bnx2x_8727_hw_reset() local
5546 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); in bnx2x_8727_hw_reset()
5548 port = (swap_val && swap_override) ^ 1; in bnx2x_8727_hw_reset()
[all …]
Dbnx2x_main.c7861 u32 swap_val; in bnx2x_undi_unload() local
7914 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); in bnx2x_undi_unload()
7927 REG_WR(bp, NIG_REG_PORT_SWAP, swap_val); in bnx2x_undi_unload()