Searched refs:cpld_ctrl (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_misc.c | 123 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 …]
|
D | hns_dsaf_mac.c | 904 mac_cb->cpld_ctrl = NULL; in hns_mac_get_info() 909 mac_cb->cpld_ctrl = NULL; in hns_mac_get_info() 911 mac_cb->cpld_ctrl = syscon; in hns_mac_get_info()
|
D | hns_dsaf_mac.h | 312 struct regmap *cpld_ctrl; member
|