Home
last modified time | relevance | path

Searched refs:cfg_mac (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/marvell/prestera/
Dprestera_main.c137 *cfg = port->cfg_mac; in prestera_port_cfg_mac_read()
152 port->cfg_mac = *cfg; in prestera_port_cfg_mac_write()
159 struct prestera_port_mac_config cfg_mac; in prestera_port_open() local
166 err = prestera_port_cfg_mac_read(port, &cfg_mac); in prestera_port_open()
168 cfg_mac.admin = true; in prestera_port_open()
170 &cfg_mac); in prestera_port_open()
190 struct prestera_port_mac_config cfg_mac; in prestera_port_close() local
198 err = prestera_port_cfg_mac_read(port, &cfg_mac); in prestera_port_close()
200 cfg_mac.admin = false; in prestera_port_close()
201 prestera_port_cfg_mac_write(port, &cfg_mac); in prestera_port_close()
[all …]
Dprestera_ethtool.c711 struct prestera_port_mac_config cfg_mac; in prestera_ethtool_set_fecparam() local
734 prestera_port_cfg_mac_read(port, &cfg_mac); in prestera_ethtool_set_fecparam()
736 if (fec == cfg_mac.fec) in prestera_ethtool_set_fecparam()
744 cfg_mac.fec = fec; in prestera_ethtool_set_fecparam()
746 return prestera_port_cfg_mac_write(port, &cfg_mac); in prestera_ethtool_set_fecparam()
Dprestera.h152 struct prestera_port_mac_config cfg_mac; member
/Linux-v6.1/drivers/net/wireless/ath/ath5k/
Dahb.c66 u8 *cfg_mac; in ath5k_ahb_eeprom_read_mac() local
69 cfg_mac = bcfg->config->wlan0_mac; in ath5k_ahb_eeprom_read_mac()
71 cfg_mac = bcfg->config->wlan1_mac; in ath5k_ahb_eeprom_read_mac()
73 memcpy(mac, cfg_mac, ETH_ALEN); in ath5k_ahb_eeprom_read_mac()
/Linux-v6.1/drivers/net/wireless/realtek/rtw89/
Dsar.c150 s32 cfg_mac; in rtw89_txpwr_sar_to_mac() local
152 cfg_mac = fct > fct_mac ? in rtw89_txpwr_sar_to_mac()
155 return (s8)clamp_t(s32, cfg_mac, in rtw89_txpwr_sar_to_mac()
/Linux-v6.1/drivers/net/hyperv/
Drndis_filter.c806 wchar_t *cfg_nwadr, *cfg_mac; in rndis_filter_set_device_mac() local
837 cfg_mac = (wchar_t *)((ulong)cpi + cpi->parameter_value_offset); in rndis_filter_set_device_mac()
844 cfg_mac, 2*ETH_ALEN); in rndis_filter_set_device_mac()