/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/phy/ |
H A D | uPD60620.c | 37 int phy_state; in upd60620_read_status() local 40 phy_state = phy_read(phydev, MII_BMSR); in upd60620_read_status() 41 if (phy_state < 0) in upd60620_read_status() 42 return phy_state; in upd60620_read_status() 51 if (phy_state < 0) in upd60620_read_status() 52 return phy_state; in upd60620_read_status() 59 if (phy_state & PHY_PHYSCR_100MB) in upd60620_read_status() 61 if (phy_state & PHY_PHYSCR_DUPLEX) in upd60620_read_status() 65 if (phy_state < 0) in upd60620_read_status() 66 return phy_state; in upd60620_read_status() [all …]
|
H A D | phylink.c | 71 struct phylink_link_state phy_state; member 570 link_state = pl->phy_state; in phylink_mac_initial_config() 668 link_state = pl->phy_state; in phylink_resolve() 829 pl->phy_state.interface = iface; in phylink_create() 923 pl->phy_state.speed = phydev->speed; in phylink_phy_change() 925 pl->phy_state.pause = MLO_PAUSE_NONE; in phylink_phy_change() 927 pl->phy_state.pause |= MLO_PAUSE_TX; in phylink_phy_change() 929 pl->phy_state.pause |= MLO_PAUSE_RX; in phylink_phy_change() 931 pl->phy_state.link = up; in phylink_phy_change() 998 pl->phy_state.interface = interface; in phylink_bringup_phy() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/phy/ |
H A D | uPD60620.c | 37 int phy_state; in upd60620_read_status() local 40 phy_state = phy_read(phydev, MII_BMSR); in upd60620_read_status() 41 if (phy_state < 0) in upd60620_read_status() 42 return phy_state; in upd60620_read_status() 51 if (phy_state < 0) in upd60620_read_status() 52 return phy_state; in upd60620_read_status() 59 if (phy_state & PHY_PHYSCR_100MB) in upd60620_read_status() 61 if (phy_state & PHY_PHYSCR_DUPLEX) in upd60620_read_status() 65 if (phy_state < 0) in upd60620_read_status() 66 return phy_state; in upd60620_read_status() [all …]
|
H A D | phylink.c | 71 struct phylink_link_state phy_state; member 570 link_state = pl->phy_state; in phylink_mac_initial_config() 668 link_state = pl->phy_state; in phylink_resolve() 829 pl->phy_state.interface = iface; in phylink_create() 923 pl->phy_state.speed = phydev->speed; in phylink_phy_change() 925 pl->phy_state.pause = MLO_PAUSE_NONE; in phylink_phy_change() 927 pl->phy_state.pause |= MLO_PAUSE_TX; in phylink_phy_change() 929 pl->phy_state.pause |= MLO_PAUSE_RX; in phylink_phy_change() 931 pl->phy_state.link = up; in phylink_phy_change() 998 pl->phy_state.interface = interface; in phylink_bringup_phy() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/phy/ |
H A D | uPD60620.c | 37 int phy_state; in upd60620_read_status() local 40 phy_state = phy_read(phydev, MII_BMSR); in upd60620_read_status() 41 if (phy_state < 0) in upd60620_read_status() 42 return phy_state; in upd60620_read_status() 51 if (phy_state < 0) in upd60620_read_status() 52 return phy_state; in upd60620_read_status() 59 if (phy_state & PHY_PHYSCR_100MB) in upd60620_read_status() 61 if (phy_state & PHY_PHYSCR_DUPLEX) in upd60620_read_status() 65 if (phy_state < 0) in upd60620_read_status() 66 return phy_state; in upd60620_read_status() [all …]
|
H A D | phylink.c | 71 struct phylink_link_state phy_state; member 570 link_state = pl->phy_state; in phylink_mac_initial_config() 668 link_state = pl->phy_state; in phylink_resolve() 829 pl->phy_state.interface = iface; in phylink_create() 923 pl->phy_state.speed = phydev->speed; in phylink_phy_change() 925 pl->phy_state.pause = MLO_PAUSE_NONE; in phylink_phy_change() 927 pl->phy_state.pause |= MLO_PAUSE_TX; in phylink_phy_change() 929 pl->phy_state.pause |= MLO_PAUSE_RX; in phylink_phy_change() 931 pl->phy_state.link = up; in phylink_phy_change() 998 pl->phy_state.interface = interface; in phylink_bringup_phy() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/scsi/libsas/ |
H A D | sas_expander.c | 220 phy->phy_state = PHY_VACANT; in sas_set_ex_phy() 223 phy->phy_state = PHY_NOT_PRESENT; in sas_set_ex_phy() 236 if (phy->phy_state == PHY_VACANT) { in sas_set_ex_phy() 634 if (phy->phy_state == PHY_VACANT || in sas_ex_disable_port() 635 phy->phy_state == PHY_NOT_PRESENT) in sas_ex_disable_port() 759 if (phy->phy_state == PHY_VACANT || in sas_ex_get_linkrate() 1121 if (phy->phy_state == PHY_VACANT || in sas_find_sub_addr() 1224 if (phy->phy_state == PHY_VACANT || in sas_check_ex_subtractive_boundary() 2015 phy->phy_state = PHY_NOT_PRESENT; in sas_rediscover_dev() 2019 phy->phy_state = PHY_VACANT; in sas_rediscover_dev() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/scsi/libsas/ |
H A D | sas_expander.c | 220 phy->phy_state = PHY_VACANT; in sas_set_ex_phy() 223 phy->phy_state = PHY_NOT_PRESENT; in sas_set_ex_phy() 236 if (phy->phy_state == PHY_VACANT) { in sas_set_ex_phy() 634 if (phy->phy_state == PHY_VACANT || in sas_ex_disable_port() 635 phy->phy_state == PHY_NOT_PRESENT) in sas_ex_disable_port() 759 if (phy->phy_state == PHY_VACANT || in sas_ex_get_linkrate() 1121 if (phy->phy_state == PHY_VACANT || in sas_find_sub_addr() 1224 if (phy->phy_state == PHY_VACANT || in sas_check_ex_subtractive_boundary() 2015 phy->phy_state = PHY_NOT_PRESENT; in sas_rediscover_dev() 2019 phy->phy_state = PHY_VACANT; in sas_rediscover_dev() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/scsi/libsas/ |
H A D | sas_expander.c | 220 phy->phy_state = PHY_VACANT; in sas_set_ex_phy() 223 phy->phy_state = PHY_NOT_PRESENT; in sas_set_ex_phy() 236 if (phy->phy_state == PHY_VACANT) { in sas_set_ex_phy() 634 if (phy->phy_state == PHY_VACANT || in sas_ex_disable_port() 635 phy->phy_state == PHY_NOT_PRESENT) in sas_ex_disable_port() 759 if (phy->phy_state == PHY_VACANT || in sas_ex_get_linkrate() 1121 if (phy->phy_state == PHY_VACANT || in sas_find_sub_addr() 1224 if (phy->phy_state == PHY_VACANT || in sas_check_ex_subtractive_boundary() 2015 phy->phy_state = PHY_NOT_PRESENT; in sas_rediscover_dev() 2019 phy->phy_state = PHY_VACANT; in sas_rediscover_dev() [all …]
|
/dports/lang/micropython/micropython-1.17/ports/stm32/ |
H A D | eth.c | 319 int phy_state = 0; in eth_mac_init() local 321 while (phy_state != 3) { in eth_mac_init() 328 switch (phy_state) { in eth_mac_init() 331 phy_state = 1; in eth_mac_init() 337 phy_state = 2; in eth_mac_init() 343 phy_state = 3; in eth_mac_init()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.h | 191 #define be_phy_state_unknown(phy_state) (phy_state > BE_PHY_UNCERTIFIED) argument 192 #define be_phy_unqualified(phy_state) \ argument 193 (phy_state == BE_PHY_UNQUALIFIED || \ 194 phy_state == BE_PHY_UNCERTIFIED) 195 #define be_phy_misconfigured(phy_state) \ argument 196 (phy_state == BE_PHY_INCOMPATIBLE || \ 197 phy_state == BE_PHY_UNQUALIFIED || \ 198 phy_state == BE_PHY_UNCERTIFIED)
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.h | 191 #define be_phy_state_unknown(phy_state) (phy_state > BE_PHY_UNCERTIFIED) argument 192 #define be_phy_unqualified(phy_state) \ argument 193 (phy_state == BE_PHY_UNQUALIFIED || \ 194 phy_state == BE_PHY_UNCERTIFIED) 195 #define be_phy_misconfigured(phy_state) \ argument 196 (phy_state == BE_PHY_INCOMPATIBLE || \ 197 phy_state == BE_PHY_UNQUALIFIED || \ 198 phy_state == BE_PHY_UNCERTIFIED)
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.h | 191 #define be_phy_state_unknown(phy_state) (phy_state > BE_PHY_UNCERTIFIED) argument 192 #define be_phy_unqualified(phy_state) \ argument 193 (phy_state == BE_PHY_UNQUALIFIED || \ 194 phy_state == BE_PHY_UNCERTIFIED) 195 #define be_phy_misconfigured(phy_state) \ argument 196 (phy_state == BE_PHY_INCOMPATIBLE || \ 197 phy_state == BE_PHY_UNQUALIFIED || \ 198 phy_state == BE_PHY_UNCERTIFIED)
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/scsi/pm8001/ |
H A D | pm8001_sas.c | 178 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control() 186 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control() 194 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control() 207 if (pm8001_ha->phy[phy_id].phy_state == in pm8001_phy_control() 215 if (pm8001_ha->phy[phy_id].phy_state == in pm8001_phy_control()
|
H A D | pm8001_sas.h | 248 u8 phy_state; member 411 u32 phy_state[8]; member
|
H A D | pm8001_hwi.c | 108 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[0] = in read_general_status_table() 110 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[1] = in read_general_status_table() 112 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[2] = in read_general_status_table() 114 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[3] = in read_general_status_table() 116 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[4] = in read_general_status_table() 118 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[5] = in read_general_status_table() 120 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[6] = in read_general_status_table() 122 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[7] = in read_general_status_table() 3769 phy->phy_state = 1; in mpi_hw_event() 3787 phy->phy_state = 0; in mpi_hw_event() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/scsi/pm8001/ |
H A D | pm8001_sas.c | 178 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control() 186 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control() 194 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control() 207 if (pm8001_ha->phy[phy_id].phy_state == in pm8001_phy_control() 215 if (pm8001_ha->phy[phy_id].phy_state == in pm8001_phy_control()
|
H A D | pm8001_sas.h | 248 u8 phy_state; member 411 u32 phy_state[8]; member
|
H A D | pm8001_hwi.c | 108 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[0] = in read_general_status_table() 110 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[1] = in read_general_status_table() 112 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[2] = in read_general_status_table() 114 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[3] = in read_general_status_table() 116 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[4] = in read_general_status_table() 118 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[5] = in read_general_status_table() 120 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[6] = in read_general_status_table() 122 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[7] = in read_general_status_table() 3769 phy->phy_state = 1; in mpi_hw_event() 3787 phy->phy_state = 0; in mpi_hw_event() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/scsi/pm8001/ |
H A D | pm8001_sas.c | 178 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control() 186 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control() 194 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control() 207 if (pm8001_ha->phy[phy_id].phy_state == in pm8001_phy_control() 215 if (pm8001_ha->phy[phy_id].phy_state == in pm8001_phy_control()
|
H A D | pm8001_sas.h | 248 u8 phy_state; member 411 u32 phy_state[8]; member
|
H A D | pm8001_hwi.c | 108 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[0] = in read_general_status_table() 110 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[1] = in read_general_status_table() 112 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[2] = in read_general_status_table() 114 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[3] = in read_general_status_table() 116 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[4] = in read_general_status_table() 118 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[5] = in read_general_status_table() 120 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[6] = in read_general_status_table() 122 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[7] = in read_general_status_table() 3769 phy->phy_state = 1; in mpi_hw_event() 3787 phy->phy_state = 0; in mpi_hw_event() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v2_hw.c | 1626 u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in get_wideport_bitmap_v2_hw() local 1629 if (phy_state & 1 << i) in get_wideport_bitmap_v2_hw() 1636 if (phy_state & 1 << 8) in get_wideport_bitmap_v2_hw() 2727 u32 phy_state, sl_ctrl, txid_auto; in phy_down_v2_hw() local 2735 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in phy_down_v2_hw() 2736 dev_info(dev, "phydown: phy%d phy_state=0x%x\n", phy_no, phy_state); in phy_down_v2_hw() 2737 hisi_sas_phy_down(hisi_hba, phy_no, (phy_state & 1 << phy_no) ? 1 : 0, in phy_down_v2_hw()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v2_hw.c | 1626 u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in get_wideport_bitmap_v2_hw() local 1629 if (phy_state & 1 << i) in get_wideport_bitmap_v2_hw() 1636 if (phy_state & 1 << 8) in get_wideport_bitmap_v2_hw() 2727 u32 phy_state, sl_ctrl, txid_auto; in phy_down_v2_hw() local 2735 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in phy_down_v2_hw() 2736 dev_info(dev, "phydown: phy%d phy_state=0x%x\n", phy_no, phy_state); in phy_down_v2_hw() 2737 hisi_sas_phy_down(hisi_hba, phy_no, (phy_state & 1 << phy_no) ? 1 : 0, in phy_down_v2_hw()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v2_hw.c | 1626 u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in get_wideport_bitmap_v2_hw() local 1629 if (phy_state & 1 << i) in get_wideport_bitmap_v2_hw() 1636 if (phy_state & 1 << 8) in get_wideport_bitmap_v2_hw() 2727 u32 phy_state, sl_ctrl, txid_auto; in phy_down_v2_hw() local 2735 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in phy_down_v2_hw() 2736 dev_info(dev, "phydown: phy%d phy_state=0x%x\n", phy_no, phy_state); in phy_down_v2_hw() 2737 hisi_sas_phy_down(hisi_hba, phy_no, (phy_state & 1 << phy_no) ? 1 : 0, in phy_down_v2_hw()
|