Lines Matching refs:cfg_pin

4329 	u32 cfg_pin;  in bnx2x_get_mod_abs_int_cfg()  local
4333 cfg_pin = (REG_RD(bp, shmem_base + in bnx2x_get_mod_abs_int_cfg()
4345 if ((cfg_pin < PIN_CFG_GPIO0_P0) || in bnx2x_get_mod_abs_int_cfg()
4346 (cfg_pin > PIN_CFG_GPIO3_P1)) { in bnx2x_get_mod_abs_int_cfg()
4349 cfg_pin); in bnx2x_get_mod_abs_int_cfg()
4353 *gpio_num = (cfg_pin - PIN_CFG_GPIO0_P0) & 0x3; in bnx2x_get_mod_abs_int_cfg()
4354 *gpio_port = (cfg_pin - PIN_CFG_GPIO0_P0) >> 2; in bnx2x_get_mod_abs_int_cfg()
4470 u32 cfg_pin; in bnx2x_sfp_e3_set_transmitter() local
4473 cfg_pin = REG_RD(bp, params->shmem_base + in bnx2x_sfp_e3_set_transmitter()
4481 bnx2x_set_cfg_pin(bp, cfg_pin, tx_en ^ 1); in bnx2x_sfp_e3_set_transmitter()
4483 bnx2x_set_cfg_pin(bp, cfg_pin + 3, tx_en ^ 1); in bnx2x_sfp_e3_set_transmitter()
11048 u32 cfg_pin; in bnx2x_54618se_config_init() local
11058 cfg_pin = (REG_RD(bp, params->shmem_base + in bnx2x_54618se_config_init()
11065 bnx2x_set_cfg_pin(bp, cfg_pin, 1); in bnx2x_54618se_config_init()
11288 u32 cfg_pin; in bnx2x_54618se_link_reset() local
11299 cfg_pin = (REG_RD(bp, params->shmem_base + in bnx2x_54618se_link_reset()
11306 bnx2x_set_cfg_pin(bp, cfg_pin, 0); in bnx2x_54618se_link_reset()
13626 u32 cfg_pin; in bnx2x_check_over_curr() local
13630 cfg_pin = (REG_RD(bp, params->shmem_base + in bnx2x_check_over_curr()
13637 if (bnx2x_get_cfg_pin(bp, cfg_pin, &pin_val) != 0) in bnx2x_check_over_curr()
13797 u32 cfg_pin, value = 0; in bnx2x_sfp_tx_fault_detection() local
13801 cfg_pin = (REG_RD(bp, params->shmem_base + offsetof(struct shmem_region, in bnx2x_sfp_tx_fault_detection()
13806 if (bnx2x_get_cfg_pin(bp, cfg_pin, &value)) { in bnx2x_sfp_tx_fault_detection()
13807 DP(NETIF_MSG_LINK, "Failed to read pin 0x%02x\n", cfg_pin); in bnx2x_sfp_tx_fault_detection()