Lines Matching refs:cfg_pin
4333 u32 cfg_pin; in bnx2x_get_mod_abs_int_cfg() local
4337 cfg_pin = (REG_RD(bp, shmem_base + in bnx2x_get_mod_abs_int_cfg()
4349 if ((cfg_pin < PIN_CFG_GPIO0_P0) || in bnx2x_get_mod_abs_int_cfg()
4350 (cfg_pin > PIN_CFG_GPIO3_P1)) { in bnx2x_get_mod_abs_int_cfg()
4353 cfg_pin); in bnx2x_get_mod_abs_int_cfg()
4357 *gpio_num = (cfg_pin - PIN_CFG_GPIO0_P0) & 0x3; in bnx2x_get_mod_abs_int_cfg()
4358 *gpio_port = (cfg_pin - PIN_CFG_GPIO0_P0) >> 2; in bnx2x_get_mod_abs_int_cfg()
4474 u32 cfg_pin; in bnx2x_sfp_e3_set_transmitter() local
4477 cfg_pin = REG_RD(bp, params->shmem_base + in bnx2x_sfp_e3_set_transmitter()
4485 bnx2x_set_cfg_pin(bp, cfg_pin, tx_en ^ 1); in bnx2x_sfp_e3_set_transmitter()
4487 bnx2x_set_cfg_pin(bp, cfg_pin + 3, tx_en ^ 1); in bnx2x_sfp_e3_set_transmitter()
11043 u32 cfg_pin; in bnx2x_54618se_config_init() local
11053 cfg_pin = (REG_RD(bp, params->shmem_base + in bnx2x_54618se_config_init()
11060 bnx2x_set_cfg_pin(bp, cfg_pin, 1); in bnx2x_54618se_config_init()
11281 u32 cfg_pin; in bnx2x_54618se_link_reset() local
11292 cfg_pin = (REG_RD(bp, params->shmem_base + in bnx2x_54618se_link_reset()
11299 bnx2x_set_cfg_pin(bp, cfg_pin, 0); in bnx2x_54618se_link_reset()
13618 u32 cfg_pin; in bnx2x_check_over_curr() local
13622 cfg_pin = (REG_RD(bp, params->shmem_base + in bnx2x_check_over_curr()
13629 if (bnx2x_get_cfg_pin(bp, cfg_pin, &pin_val) != 0) in bnx2x_check_over_curr()
13789 u32 cfg_pin, value = 0; in bnx2x_sfp_tx_fault_detection() local
13793 cfg_pin = (REG_RD(bp, params->shmem_base + offsetof(struct shmem_region, in bnx2x_sfp_tx_fault_detection()
13798 if (bnx2x_get_cfg_pin(bp, cfg_pin, &value)) { in bnx2x_sfp_tx_fault_detection()
13799 DP(NETIF_MSG_LINK, "Failed to read pin 0x%02x\n", cfg_pin); in bnx2x_sfp_tx_fault_detection()