Searched refs:sfp_prsnt (Results 1 – 4 of 4) sorted by relevance
568 static int hns_mac_get_sfp_prsnt(struct hns_mac_cb *mac_cb, int *sfp_prsnt) in hns_mac_get_sfp_prsnt() argument582 *sfp_prsnt = !val; in hns_mac_get_sfp_prsnt()586 static int hns_mac_get_sfp_prsnt_acpi(struct hns_mac_cb *mac_cb, int *sfp_prsnt) in hns_mac_get_sfp_prsnt_acpi() argument605 *sfp_prsnt = obj->integer.value; in hns_mac_get_sfp_prsnt_acpi()632 int sfp_prsnt = 0; in hns_mac_config_sds_loopback() local633 int ret = hns_mac_get_sfp_prsnt(mac_cb, &sfp_prsnt); in hns_mac_config_sds_loopback()639 if (!sfp_prsnt) in hns_mac_config_sds_loopback()
72 int ret, sfp_prsnt; in hns_mac_get_link_status() local83 &sfp_prsnt); in hns_mac_get_link_status()85 *link_status = *link_status && sfp_prsnt; in hns_mac_get_link_status()1000 mac_cb->sfp_prsnt = 0; in hns_mac_get_cfg()
315 int (*get_sfp_prsnt)(struct hns_mac_cb *mac_cb, int *sfp_prsnt);
318 u8 sfp_prsnt; member