Home
last modified time | relevance | path

Searched refs:cpld_ctrl (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_misc.c123 if (!mac_cb->cpld_ctrl) { in hns_cpld_set_led()
141 dsaf_write_syscon(mac_cb->cpld_ctrl, in hns_cpld_set_led()
147 dsaf_write_syscon(mac_cb->cpld_ctrl, in hns_cpld_set_led()
167 if (!mac_cb || !mac_cb->cpld_ctrl) in cpld_led_reset()
170 dsaf_write_syscon(mac_cb->cpld_ctrl, mac_cb->cpld_ctrl_reg, in cpld_led_reset()
195 if (!mac_cb->cpld_ctrl) in cpld_set_led_id()
200 ret = dsaf_read_syscon(mac_cb->cpld_ctrl, mac_cb->cpld_ctrl_reg, in cpld_set_led_id()
206 dsaf_write_syscon(mac_cb->cpld_ctrl, mac_cb->cpld_ctrl_reg, in cpld_set_led_id()
213 dsaf_write_syscon(mac_cb->cpld_ctrl, mac_cb->cpld_ctrl_reg, in cpld_set_led_id()
579 if (!mac_cb->cpld_ctrl) in hns_mac_get_sfp_prsnt()
[all …]
H A Dhns_dsaf_mac.c933 mac_cb->cpld_ctrl = NULL; in hns_mac_get_info()
939 mac_cb->cpld_ctrl = NULL; in hns_mac_get_info()
941 mac_cb->cpld_ctrl = syscon; in hns_mac_get_info()
H A Dhns_dsaf_mac.h312 struct regmap *cpld_ctrl; member