Searched refs:phy_port_cnt (Results 1 – 6 of 6) sorted by relevance
320 if (addr >= dev->phy_port_cnt) { in ksz9477_phy_read16()365 if (addr >= dev->phy_port_cnt) in ksz9477_phy_write16()1085 if (port < dev->phy_port_cnt) in ksz9477_get_interface()1204 if (port < dev->phy_port_cnt) { in ksz9477_port_setup()1265 if (port < dev->phy_port_cnt) in ksz9477_port_setup()1337 if (i < dev->phy_port_cnt) in ksz9477_config_cpu_port()1452 dev->phy_port_cnt = 5; in ksz9477_switch_detect()1468 dev->phy_port_cnt = 2; in ksz9477_switch_detect()1622 for (i = 0; i < dev->phy_port_cnt; ++i) { in ksz9477_switch_register()
1024 if (port < dev->phy_port_cnt) in ksz8_port_stp_state_set()1029 if (port < dev->phy_port_cnt && in ksz8_port_stp_state_set()1053 if (port < dev->phy_port_cnt && in ksz8_port_stp_state_set()1126 for (port = 0; port < dev->phy_port_cnt; ++port) in ksz8_port_vlan_filtering()1401 for (i = 0; i < dev->phy_port_cnt; i++) { in ksz8_config_cpu_port()1412 if (i == dev->phy_port_cnt) in ksz8_config_cpu_port()1417 for (i = 0; i < dev->phy_port_cnt; i++) { in ksz8_config_cpu_port()1714 dev->phy_port_cnt = dev->port_cnt - 1; in ksz8_switch_init()1717 dev->port_mask = (BIT(dev->phy_port_cnt) - 1) | in ksz8_switch_init()
71 int phy_port_cnt; member
223 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->phy_port_cnt); in qla4xxx_phy_port_cnt_show()322 static DEVICE_ATTR(phy_port_cnt, S_IRUGO, qla4xxx_phy_port_cnt_show, NULL);
788 uint16_t phy_port_cnt; member
4072 ha->phy_port_cnt = sys_info->phys_port_cnt; in qla4_8xxx_get_sys_info()