Lines Matching refs:chip_id
1421 static void bnx2x_set_mdio_clk(struct bnx2x *bp, u32 chip_id, in bnx2x_set_mdio_clk() argument
1458 bnx2x_set_mdio_clk(bp, params->chip_id, in bnx2x_set_mdio_emac_per_phy()
2450 static void bnx2x_set_bmac_rx(struct bnx2x *bp, u32 chip_id, u8 port, u8 en) in bnx2x_set_bmac_rx() argument
2679 u32 chip_id; in bnx2x_cl45_read() local
2681 chip_id = (REG_RD(bp, MISC_REG_CHIP_NUM) << 16) | in bnx2x_cl45_read()
2683 bnx2x_set_mdio_clk(bp, chip_id, phy->mdio_ctrl); in bnx2x_cl45_read()
2754 u32 chip_id; in bnx2x_cl45_write() local
2756 chip_id = (REG_RD(bp, MISC_REG_CHIP_NUM) << 16) | in bnx2x_cl45_write()
2758 bnx2x_set_mdio_clk(bp, chip_id, phy->mdio_ctrl); in bnx2x_cl45_write()
4314 u32 chip_id, in bnx2x_get_mod_abs_int_cfg() argument
4358 if (bnx2x_get_mod_abs_int_cfg(bp, params->chip_id, in bnx2x_is_sfp_module_plugged()
6652 bnx2x_set_bmac_rx(bp, params->chip_id, params->port, 0); in bnx2x_update_link_down()
8743 if (bnx2x_get_mod_abs_int_cfg(bp, params->chip_id, params->shmem_base, in bnx2x_handle_module_detect_int()
10022 u32 chip_id) in bnx2x_84833_get_reset_gpios() argument
10081 params->chip_id); in bnx2x_84833_hw_reset_phy()
11926 u32 chip_id; in bnx2x_populate_int_phy() local
11931 chip_id = (REG_RD(bp, MISC_REG_CHIP_NUM) << 16) | in bnx2x_populate_int_phy()
11934 DP(NETIF_MSG_LINK, ":chip_id = 0x%x\n", chip_id); in bnx2x_populate_int_phy()
12780 bnx2x_set_bmac_rx(bp, params->chip_id, port, 0); in bnx2x_link_reset()
12862 bnx2x_set_bmac_rx(bp, params->chip_id, params->port, 0); in bnx2x_lfa_reset()
12883 bnx2x_set_bmac_rx(bp, params->chip_id, params->port, 1); in bnx2x_lfa_reset()
12900 u32 chip_id) in bnx2x_8073_common_init_phy() argument
13026 u32 chip_id) in bnx2x_8726_common_init_phy() argument
13121 u32 chip_id) in bnx2x_8727_common_init_phy() argument
13221 u32 chip_id) in bnx2x_84833_common_init_phy() argument
13224 reset_gpios = bnx2x_84833_get_reset_gpios(bp, shmem_base_path, chip_id); in bnx2x_84833_common_init_phy()
13235 u32 ext_phy_type, u32 chip_id) in bnx2x_ext_phy_common_init() argument
13243 phy_index, chip_id); in bnx2x_ext_phy_common_init()
13250 phy_index, chip_id); in bnx2x_ext_phy_common_init()
13259 phy_index, chip_id); in bnx2x_ext_phy_common_init()
13268 phy_index, chip_id); in bnx2x_ext_phy_common_init()
13288 u32 shmem2_base_path[], u32 chip_id) in bnx2x_common_init_phy() argument
13295 bnx2x_set_mdio_clk(bp, chip_id, GRCBASE_EMAC0); in bnx2x_common_init_phy()
13296 bnx2x_set_mdio_clk(bp, chip_id, GRCBASE_EMAC1); in bnx2x_common_init_phy()
13323 chip_id); in bnx2x_common_init_phy()
13711 u32 chip_id, u32 shmem_base, u32 shmem2_base, in bnx2x_init_mod_abs_int() argument
13718 if (bnx2x_get_mod_abs_int_cfg(bp, chip_id, in bnx2x_init_mod_abs_int()