Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/marvell/prestera/
Dprestera_main.c97 *cfg = port->cfg_mac; in prestera_port_cfg_mac_read()
112 port->cfg_mac = *cfg; in prestera_port_cfg_mac_write()
119 struct prestera_port_mac_config cfg_mac; in prestera_port_open() local
123 err = prestera_port_cfg_mac_read(port, &cfg_mac); in prestera_port_open()
125 cfg_mac.admin = true; in prestera_port_open()
126 err = prestera_port_cfg_mac_write(port, &cfg_mac); in prestera_port_open()
144 struct prestera_port_mac_config cfg_mac; in prestera_port_close() local
150 err = prestera_port_cfg_mac_read(port, &cfg_mac); in prestera_port_close()
152 cfg_mac.admin = false; in prestera_port_close()
153 prestera_port_cfg_mac_write(port, &cfg_mac); in prestera_port_close()
[all …]
Dprestera_ethtool.c705 struct prestera_port_mac_config cfg_mac; in prestera_ethtool_set_fecparam() local
728 prestera_port_cfg_mac_read(port, &cfg_mac); in prestera_ethtool_set_fecparam()
730 if (fec == cfg_mac.fec) in prestera_ethtool_set_fecparam()
738 cfg_mac.fec = fec; in prestera_ethtool_set_fecparam()
740 return prestera_port_cfg_mac_write(port, &cfg_mac); in prestera_ethtool_set_fecparam()
Dprestera.h129 struct prestera_port_mac_config cfg_mac; member
/linux-5.19.10/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-5.19.10/drivers/net/wireless/realtek/rtw89/
Dsar.c43 s32 cfg_mac; in rtw89_txpwr_sar_to_mac() local
45 cfg_mac = fct > fct_mac ? in rtw89_txpwr_sar_to_mac()
48 return (s8)clamp_t(s32, cfg_mac, in rtw89_txpwr_sar_to_mac()
/linux-5.19.10/drivers/net/hyperv/
Drndis_filter.c804 wchar_t *cfg_nwadr, *cfg_mac; in rndis_filter_set_device_mac() local
835 cfg_mac = (wchar_t *)((ulong)cpi + cpi->parameter_value_offset); in rndis_filter_set_device_mac()
842 cfg_mac, 2*ETH_ALEN); in rndis_filter_set_device_mac()