Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/realtek/rtw88/
H A Defuse.c40 static int rtw_dump_logical_efuse_map(struct rtw_dev *rtwdev, u8 *phy_map, in rtw_dump_logical_efuse_map() argument
53 hdr1 = phy_map[phy_idx]; in rtw_dump_logical_efuse_map()
54 hdr2 = phy_map[phy_idx + 1]; in rtw_dump_logical_efuse_map()
79 log_map[log_idx] = phy_map[phy_idx]; in rtw_dump_logical_efuse_map()
80 log_map[log_idx + 1] = phy_map[phy_idx + 1]; in rtw_dump_logical_efuse_map()
152 u8 *phy_map = NULL; in rtw_parse_efuse_map() local
156 phy_map = kmalloc(phy_size, GFP_KERNEL); in rtw_parse_efuse_map()
158 if (!phy_map || !log_map) { in rtw_parse_efuse_map()
163 ret = rtw_dump_physical_efuse_map(rtwdev, phy_map); in rtw_parse_efuse_map()
170 ret = rtw_dump_logical_efuse_map(rtwdev, phy_map, log_map); in rtw_parse_efuse_map()
[all …]
/linux/drivers/net/wireless/realtek/rtw89/
H A Dcoex.h286 void rtw89_btc_ntfy_wl_rfk(struct rtw89_dev *rtwdev, u8 phy_map,
309 u8 phy_map; in rtw89_btc_phymap() local
311 phy_map = FIELD_PREP(BTC_RFK_PATH_MAP, paths) | in rtw89_btc_phymap()
315 return phy_map; in rtw89_btc_phymap()
335 static inline u32 rtw89_get_antpath_type(u8 phy_map, u8 type) in rtw89_get_antpath_type() argument
337 return ((phy_map << 8) + type); in rtw89_get_antpath_type()
/linux/drivers/net/ethernet/ibm/emac/
H A Dcore.c366 dev->phy_map == 0xffffffff)) { in emac_reset()
392 dev->phy_map == 0xffffffff)) { in emac_reset()
2638 u32 phy_map, adv; in emac_init_phy() local
2645 if ((dev->phy_address == 0xffffffff && dev->phy_map == 0xffffffff) || in emac_init_phy()
2675 phy_map = dev->phy_map | busy_phy_map; in emac_init_phy()
2677 DBG(dev, "PHY maps %08x %08x" NL, dev->phy_map, busy_phy_map); in emac_init_phy()
2738 phy_map = ~(1 << dev->phy_address); in emac_init_phy()
2740 for (i = 0; i < 0x20; phy_map >>= 1, ++i) in emac_init_phy()
2741 if (!(phy_map & 1)) { in emac_init_phy()
2830 if (emac_read_uint_prop(np, "phy-map", &dev->phy_map, 0)) in emac_init_config()
[all …]
H A Dcore.h174 u32 phy_map; member
/linux/drivers/net/wireless/ath/ath11k/
H A Dwmi.c371 u32 phy_map; in ath11k_pull_mac_phy_cap_svc_ready_ext() local
381 phy_map = wmi_hw_mode_caps[hw_idx].phy_id_map; in ath11k_pull_mac_phy_cap_svc_ready_ext()
382 while (phy_map) { in ath11k_pull_mac_phy_cap_svc_ready_ext()
383 phy_map >>= 1; in ath11k_pull_mac_phy_cap_svc_ready_ext()
4676 u32 phy_map = 0; in ath11k_wmi_tlv_hw_mode_caps_parse() local
4688 phy_map = hw_mode_cap->phy_id_map; in ath11k_wmi_tlv_hw_mode_caps_parse()
4689 while (phy_map) { in ath11k_wmi_tlv_hw_mode_caps_parse()
4691 phy_map = phy_map >> 1; in ath11k_wmi_tlv_hw_mode_caps_parse()
/linux/drivers/dma/
H A Dste_dma40.c1348 static const unsigned int phy_map[] = { in d40_get_prmo() local
1366 return phy_map[d40c->dma_cfg.mode_opt]; in d40_get_prmo()