Home
last modified time | relevance | path

Searched refs:sfp_prsnt (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_misc.c574 static int hns_mac_get_sfp_prsnt(struct hns_mac_cb *mac_cb, int *sfp_prsnt) in hns_mac_get_sfp_prsnt() argument
588 *sfp_prsnt = !val; in hns_mac_get_sfp_prsnt()
592 static int hns_mac_get_sfp_prsnt_acpi(struct hns_mac_cb *mac_cb, int *sfp_prsnt) in hns_mac_get_sfp_prsnt_acpi() argument
611 *sfp_prsnt = obj->integer.value; in hns_mac_get_sfp_prsnt_acpi()
639 int sfp_prsnt = 0; in hns_mac_config_sds_loopback() local
640 int ret = hns_mac_get_sfp_prsnt(mac_cb, &sfp_prsnt); in hns_mac_config_sds_loopback()
646 if (!sfp_prsnt) in hns_mac_config_sds_loopback()
Dhns_dsaf_mac.c93 int ret, sfp_prsnt; in hns_mac_get_link_status() local
104 &sfp_prsnt); in hns_mac_get_link_status()
106 *link_status = *link_status && sfp_prsnt; in hns_mac_get_link_status()
1028 mac_cb->sfp_prsnt = 0; in hns_mac_get_cfg()
Dhns_dsaf_main.h315 int (*get_sfp_prsnt)(struct hns_mac_cb *mac_cb, int *sfp_prsnt);
Dhns_dsaf_mac.h318 u8 sfp_prsnt; member