/linux-5.19.10/drivers/net/wireless/realtek/rtw88/ |
D | efuse.c | 40 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-5.19.10/drivers/net/wireless/realtek/rtw89/ |
D | efuse.c | 187 static int rtw89_dump_logical_efuse_map(struct rtw89_dev *rtwdev, u8 *phy_map, in rtw89_dump_logical_efuse_map() argument 200 if (!phy_map) in rtw89_dump_logical_efuse_map() 204 hdr1 = phy_map[phy_idx]; in rtw89_dump_logical_efuse_map() 205 hdr2 = phy_map[phy_idx + 1]; in rtw89_dump_logical_efuse_map() 222 log_map[log_idx] = phy_map[phy_idx]; in rtw89_dump_logical_efuse_map() 223 log_map[log_idx + 1] = phy_map[phy_idx + 1]; in rtw89_dump_logical_efuse_map() 237 u8 *phy_map = NULL; in rtw89_parse_efuse_map() local 248 phy_map = kmalloc(phy_size, GFP_KERNEL); in rtw89_parse_efuse_map() 255 if (!phy_map || !log_map || (dav_phy_size && !dav_phy_map)) { in rtw89_parse_efuse_map() 260 ret = rtw89_dump_physical_efuse_map(rtwdev, phy_map, 0, phy_size, false); in rtw89_parse_efuse_map() [all …]
|
D | coex.h | 154 void rtw89_btc_ntfy_wl_rfk(struct rtw89_dev *rtwdev, u8 phy_map, 171 u8 phy_map; in rtw89_btc_phymap() local 173 phy_map = FIELD_PREP(BTC_RFK_PATH_MAP, paths) | in rtw89_btc_phymap() 177 return phy_map; in rtw89_btc_phymap()
|
D | coex.c | 1451 static void _set_gnt_wl(struct rtw89_dev *rtwdev, u8 phy_map, u8 state) in _set_gnt_wl() argument 1458 if (phy_map > BTC_PHY_ALL) in _set_gnt_wl() 1462 if (!(phy_map & BIT(i))) in _set_gnt_wl() 2206 static void _set_gnt_bt(struct rtw89_dev *rtwdev, u8 phy_map, u8 state) in _set_gnt_bt() argument 2213 if (phy_map > BTC_PHY_ALL) in _set_gnt_bt() 2217 if (!(phy_map & BIT(i))) in _set_gnt_bt() 2239 static void _set_bt_plut(struct rtw89_dev *rtwdev, u8 phy_map, in _set_bt_plut() argument 2248 if (phy_map & BTC_PHY_0) in _set_bt_plut() 2255 if (phy_map & BTC_PHY_1) in _set_bt_plut() 2260 u8 phy_map, u8 type) in _set_ant() argument [all …]
|
D | rtw8852a_rfk.c | 500 u8 phy_map = rtw89_btc_phymap(rtwdev, RTW89_PHY_0, RF_AB); in _dac_cal() local 512 rtw89_btc_ntfy_wl_rfk(rtwdev, phy_map, BTC_WRFKT_DACK, BTC_WRFK_ONESHOT_START); in _dac_cal() 514 rtw89_btc_ntfy_wl_rfk(rtwdev, phy_map, BTC_WRFKT_DACK, BTC_WRFK_ONESHOT_STOP); in _dac_cal() 521 rtw89_btc_ntfy_wl_rfk(rtwdev, phy_map, BTC_WRFKT_DACK, BTC_WRFK_ONESHOT_START); in _dac_cal() 523 rtw89_btc_ntfy_wl_rfk(rtwdev, phy_map, BTC_WRFKT_DACK, BTC_WRFK_ONESHOT_STOP); in _dac_cal() 807 u8 phy_map = rtw89_btc_path_phymap(rtwdev, phy_idx, path); in _iqk_one_shot() local 815 rtw89_btc_ntfy_wl_rfk(rtwdev, phy_map, BTC_WRFKT_IQK, BTC_WRFK_ONESHOT_START); in _iqk_one_shot() 885 rtw89_btc_ntfy_wl_rfk(rtwdev, phy_map, BTC_WRFKT_IQK, BTC_WRFK_ONESHOT_STOP); in _iqk_one_shot() 1641 u8 phy_map = rtw89_btc_phymap(rtwdev, phy_idx, RF_AB); in _doiqk() local 1643 rtw89_btc_ntfy_wl_rfk(rtwdev, phy_map, BTC_WRFKT_IQK, BTC_WRFK_ONESHOT_START); in _doiqk() [all …]
|
D | rtw8852c_rfk.c | 553 u8 phy_map = rtw89_btc_phymap(rtwdev, RTW89_PHY_0, RF_AB); in _dac_cal() local 566 rtw89_btc_ntfy_wl_rfk(rtwdev, phy_map, BTC_WRFKT_DACK, BTC_WRFK_ONESHOT_START); in _dac_cal() 568 rtw89_btc_ntfy_wl_rfk(rtwdev, phy_map, BTC_WRFKT_DACK, BTC_WRFK_ONESHOT_STOP); in _dac_cal() 574 rtw89_btc_ntfy_wl_rfk(rtwdev, phy_map, BTC_WRFKT_DACK, BTC_WRFK_ONESHOT_START); in _dac_cal() 576 rtw89_btc_ntfy_wl_rfk(rtwdev, phy_map, BTC_WRFKT_DACK, BTC_WRFK_ONESHOT_STOP); in _dac_cal() 1498 u8 phy_map = rtw89_btc_phymap(rtwdev, phy_idx, RF_AB); in _doiqk() local 1500 rtw89_btc_ntfy_wl_rfk(rtwdev, phy_map, BTC_WRFKT_IQK, BTC_WRFK_ONESHOT_START); in _doiqk() 1519 rtw89_btc_ntfy_wl_rfk(rtwdev, phy_map, BTC_WRFKT_IQK, BTC_WRFK_ONESHOT_STOP); in _doiqk() 3840 u8 phy_map = rtw89_btc_phymap(rtwdev, RTW89_PHY_0, 0); in rtw8852c_dack() local 3842 rtw89_btc_ntfy_wl_rfk(rtwdev, phy_map, BTC_WRFKT_DACK, BTC_WRFK_START); in rtw8852c_dack() [all …]
|
D | core.h | 1065 u8 phy_map; member 1140 u32 phy_map: 2; member
|
D | fw.c | 1544 RTW89_SET_FWCMD_CXRFK_PHY_MAP(cmd, rfk_info->phy_map); in rtw89_fw_h2c_cxdrv_rfk()
|
/linux-5.19.10/drivers/net/ethernet/ibm/emac/ |
D | core.c | 374 dev->phy_map == 0xffffffff)) { in emac_reset() 400 dev->phy_map == 0xffffffff)) { in emac_reset() 2683 u32 phy_map, adv; in emac_init_phy() local 2690 if ((dev->phy_address == 0xffffffff && dev->phy_map == 0xffffffff) || in emac_init_phy() 2722 phy_map = dev->phy_map | busy_phy_map; in emac_init_phy() 2724 DBG(dev, "PHY maps %08x %08x" NL, dev->phy_map, busy_phy_map); in emac_init_phy() 2785 phy_map = ~(1 << dev->phy_address); in emac_init_phy() 2787 for (i = 0; i < 0x20; phy_map >>= 1, ++i) in emac_init_phy() 2788 if (!(phy_map & 1)) { in emac_init_phy() 2877 if (emac_read_uint_prop(np, "phy-map", &dev->phy_map, 0)) in emac_init_config() [all …]
|
D | core.h | 175 u32 phy_map; member
|
/linux-5.19.10/drivers/net/wireless/ath/ath11k/ |
D | wmi.c | 360 u32 phy_map; in ath11k_pull_mac_phy_cap_svc_ready_ext() local 370 phy_map = wmi_hw_mode_caps[hw_idx].phy_id_map; in ath11k_pull_mac_phy_cap_svc_ready_ext() 371 while (phy_map) { in ath11k_pull_mac_phy_cap_svc_ready_ext() 372 phy_map >>= 1; in ath11k_pull_mac_phy_cap_svc_ready_ext() 4408 u32 phy_map = 0; in ath11k_wmi_tlv_hw_mode_caps_parse() local 4420 phy_map = hw_mode_cap->phy_id_map; in ath11k_wmi_tlv_hw_mode_caps_parse() 4421 while (phy_map) { in ath11k_wmi_tlv_hw_mode_caps_parse() 4423 phy_map = phy_map >> 1; in ath11k_wmi_tlv_hw_mode_caps_parse()
|
/linux-5.19.10/drivers/dma/ |
D | ste_dma40.c | 1325 static const unsigned int phy_map[] = { in d40_get_prmo() local 1343 return phy_map[d40c->dma_cfg.mode_opt]; in d40_get_prmo()
|