Home
last modified time | relevance | path

Searched refs:pdevs (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v6.6/arch/m68k/virt/
Dplatform.c34 struct platform_device *pdevs[VIRTIO_BUS_NB]; in virt_platform_init() local
61 pdevs[i] = virt_virtio_init(i); in virt_platform_init()
62 if (IS_ERR(pdevs[i])) { in virt_platform_init()
63 ret = PTR_ERR(pdevs[i]); in virt_platform_init()
72 platform_device_unregister(pdevs[--i]); in virt_platform_init()
/Linux-v6.6/drivers/platform/x86/x86-android-tablets/
Dcore.c125 static struct platform_device **pdevs; variable
239 platform_device_unregister(pdevs[i]); in x86_android_tablet_cleanup()
241 kfree(pdevs); in x86_android_tablet_cleanup()
328 pdevs = kcalloc(dev_info->pdev_count + 1, sizeof(*pdevs), GFP_KERNEL); in x86_android_tablet_init()
329 if (!pdevs) { in x86_android_tablet_init()
336 pdevs[i] = platform_device_register_full(&dev_info->pdev_info[i]); in x86_android_tablet_init()
337 if (IS_ERR(pdevs[i])) { in x86_android_tablet_init()
339 return PTR_ERR(pdevs[i]); in x86_android_tablet_init()
383 pdevs[pdev_count] = platform_device_register_data(NULL, "gpio-keys", in x86_android_tablet_init()
386 if (IS_ERR(pdevs[pdev_count])) { in x86_android_tablet_init()
[all …]
/Linux-v6.6/drivers/net/wireless/ath/ath11k/
Dthermal.c166 pdev = &sc->pdevs[i]; in ath11k_thermal_register()
218 pdev = &sc->pdevs[i]; in ath11k_thermal_unregister()
Dtestmode.c34 pdev = &ab->pdevs[i]; in ath11k_tm_get_ar()
121 ar = ab->pdevs[pdev_id].ar; in ath11k_tm_process_event()
Dcore.c711 return &ab->pdevs[0]; in ath11k_core_get_single_pdev()
746 INIT_LIST_HEAD(&ar->fw_stats.pdevs); in ath11k_fw_stats_init()
755 ath11k_fw_stats_pdevs_free(&stats->pdevs); in ath11k_fw_stats_free()
1780 pdev = &ab->pdevs[i]; in ath11k_update_11d()
1803 pdev = &ab->pdevs[i]; in ath11k_core_pre_reconfigure_recovery()
1848 pdev = &ab->pdevs[i]; in ath11k_core_post_reconfigure_recovery()
Dcore.h550 struct list_head pdevs; member
880 struct ath11k_pdev pdevs[MAX_RADIOS]; member
1231 return ab->pdevs[ath11k_hw_mac_id_to_pdev_id(&ab->hw_params, mac_id)].ar; in ath11k_ab_to_ar()
Ddp.c880 ar = ab->pdevs[i].ar; in ath11k_dp_pdev_free()
895 ar = ab->pdevs[i].ar; in ath11k_dp_pdev_pre_alloc()
919 ar = ab->pdevs[i].ar; in ath11k_dp_pdev_alloc()
Ddp_rx.c2611 ar = ab->pdevs[mac_id].ar; in ath11k_dp_rx_process_received_packets()
2671 ar = ab->pdevs[mac_id].ar; in ath11k_dp_process_rx()
2752 ar = ab->pdevs[i].ar; in ath11k_dp_process_rx()
3008 ar = ab->pdevs[ath11k_hw_mac_id_to_pdev_id(&ab->hw_params, mac_id)].ar; in ath11k_dp_rx_reap_mon_status_ring()
3835 ar = ab->pdevs[mac_id].ar; in ath11k_dp_process_rx_err()
3860 ar = ab->pdevs[i].ar; in ath11k_dp_process_rx_err()
4109 ar = ab->pdevs[mac_id].ar; in ath11k_dp_rx_process_wbm_err()
4156 ar = ab->pdevs[i].ar; in ath11k_dp_rx_process_wbm_err()
4170 ar = ab->pdevs[i].ar; in ath11k_dp_rx_process_wbm_err()
4208 ar = ab->pdevs[ath11k_hw_mac_id_to_pdev_id(&ab->hw_params, mac_id)].ar; in ath11k_dp_process_rxdma_err()
[all …]
Ddbring.c299 ar = ab->pdevs[pdev_idx].ar; in ath11k_dbring_buffer_release_event()
Dspectral.c916 ar = ab->pdevs[i].ar; in ath11k_spectral_deinit()
1006 ar = ab->pdevs[i].ar; in ath11k_spectral_init()
Ddebugfs.c99 ath11k_fw_stats_pdevs_free(&ar->fw_stats.pdevs); in ath11k_debugfs_fw_stats_reset()
496 struct ath11k *ar = ab->pdevs[0].ar; in ath11k_write_simulate_fw_crash()
502 pdev = &ab->pdevs[i]; in ath11k_write_simulate_fw_crash()
Ddp_tx.c309 ar = ab->pdevs[mac_id].ar; in ath11k_dp_tx_free_txbuf()
748 ar = ab->pdevs[mac_id].ar; in ath11k_dp_tx_completion_handler()
Dmac.c647 pdev = &ab->pdevs[i]; in ath11k_mac_get_ar_by_pdev_id()
666 pdev = &ab->pdevs[i]; in ath11k_mac_get_vif_up()
6392 &ab->pdevs[ar->pdev_idx]); in ath11k_mac_op_start()
6573 pdev = &ab->pdevs[i]; in ath11k_mac_vif_ap_active_any()
6676 pdev = &ab->pdevs[i]; in ath11k_mac_11d_scan_stop_all()
9003 ath11k_fw_stats_pdevs_free(&ar->fw_stats.pdevs); in ath11k_fw_stats_request()
9055 pdev = list_first_entry_or_null(&ar->fw_stats.pdevs, in ath11k_mac_op_get_txpower()
9386 pdev = &ab->pdevs[i]; in ath11k_mac_unregister()
9669 pdev = &ab->pdevs[i]; in ath11k_mac_register()
9695 pdev = &ab->pdevs[i]; in ath11k_mac_register()
[all …]
Dwmi.c3987 pdev = &soc->pdevs[i]; in ath11k_fill_band_to_mac_param()
4724 &soc->pdevs[pdev_index]); in ath11k_wmi_tlv_ext_soc_hal_reg_caps_parse()
4749 soc->pdevs[0].pdev_id = 0; in ath11k_wmi_tlv_ext_soc_hal_reg_caps_parse()
6522 list_add_tail(&dst->list, &stats->pdevs); in ath11k_wmi_tlv_fw_stats_data_parse()
6938 pdev = list_first_entry_or_null(&fw_stats->pdevs, in ath11k_wmi_fw_stats_fill()
7022 pdev = &ab->pdevs[i]; in ath11k_reg_11d_new_cc_event()
7168 ar = ab->pdevs[pdev_idx].ar; in ath11k_reg_chan_list_event()
7242 pdev = &ab->pdevs[i]; in ath11k_wmi_tlv_rdy_parse()
8158 INIT_LIST_HEAD(&stats.pdevs); in ath11k_update_stats_event()
8185 list_splice_tail_init(&stats.pdevs, &ar->fw_stats.pdevs); in ath11k_update_stats_event()
/Linux-v6.6/drivers/net/wireless/ath/ath10k/
Ddebug.c248 ath10k_fw_stats_pdevs_free(&ar->debug.fw_stats.pdevs); in ath10k_debug_fw_stats_reset()
263 INIT_LIST_HEAD(&stats.pdevs); in ath10k_debug_fw_stats_process()
298 is_start = (list_empty(&ar->debug.fw_stats.pdevs) && in ath10k_debug_fw_stats_process()
299 !list_empty(&stats.pdevs)); in ath10k_debug_fw_stats_process()
300 is_end = (!list_empty(&ar->debug.fw_stats.pdevs) && in ath10k_debug_fw_stats_process()
301 !list_empty(&stats.pdevs)); in ath10k_debug_fw_stats_process()
304 list_splice_tail_init(&stats.pdevs, &ar->debug.fw_stats.pdevs); in ath10k_debug_fw_stats_process()
312 is_started = !list_empty(&ar->debug.fw_stats.pdevs); in ath10k_debug_fw_stats_process()
345 ath10k_fw_stats_pdevs_free(&stats.pdevs); in ath10k_debug_fw_stats_process()
1177 pdev_stats = list_first_entry_or_null(&ar->debug.fw_stats.pdevs, in ath10k_debug_get_et_stats()
[all …]
Dcore.h343 struct list_head pdevs; member
Dwmi.c3028 list_add_tail(&dst->list, &stats->pdevs); in ath10k_wmi_main_op_pull_fw_stats()
3083 list_add_tail(&dst->list, &stats->pdevs); in ath10k_wmi_10x_op_pull_fw_stats()
3145 list_add_tail(&dst->list, &stats->pdevs); in ath10k_wmi_10_2_op_pull_fw_stats()
3222 list_add_tail(&dst->list, &stats->pdevs); in ath10k_wmi_10_2_4_op_pull_fw_stats()
3314 list_add_tail(&dst->list, &stats->pdevs); in ath10k_wmi_10_4_op_pull_fw_stats()
8436 pdev = list_first_entry_or_null(&fw_stats->pdevs, in ath10k_wmi_main_op_fw_stats_fill()
8494 pdev = list_first_entry_or_null(&fw_stats->pdevs, in ath10k_wmi_10x_op_fw_stats_fill()
8642 pdev = list_first_entry_or_null(&fw_stats->pdevs, in ath10k_wmi_10_4_op_fw_stats_fill()
/Linux-v6.6/drivers/net/wireless/ath/ath12k/
Dcore.h423 struct list_head pdevs; member
699 struct ath12k_pdev pdevs[MAX_RADIOS]; member
836 return ab->pdevs[ath12k_hw_mac_id_to_pdev_id(ab->hw_params, mac_id)].ar; in ath12k_ab_to_ar()
Dcore.c689 pdev = &ab->pdevs[i]; in ath12k_core_pre_reconfigure_recovery()
723 pdev = &ab->pdevs[i]; in ath12k_core_post_reconfigure_recovery()
Ddbring.c263 ar = ab->pdevs[pdev_idx].ar; in ath12k_dbring_buffer_release_event()
Ddp_tx.c361 ar = ab->pdevs[pdev_id].ar; in ath12k_dp_tx_free_txbuf()
610 ar = ab->pdevs[pdev_id].ar; in ath12k_dp_tx_completion_handler()
Ddp.c991 ar = ab->pdevs[i].ar; in ath12k_dp_pdev_pre_alloc()
1036 ar = ab->pdevs[i].ar; in ath12k_dp_pdev_alloc()
Dwmi.c3180 pdev = &soc->pdevs[i]; in ath12k_fill_band_to_mac_param()
3906 &soc->pdevs[pdev_index]); in ath12k_wmi_ext_soc_hal_reg_caps_parse()
3929 soc->pdevs[0].pdev_id = 0; in ath12k_wmi_ext_soc_hal_reg_caps_parse()
4248 if (ab->pdevs[i].pdev_id == le32_to_cpu(caps->pdev_id)) in ath12k_wmi_tlv_mac_phy_caps_ext()
4256 ret = ath12k_wmi_tlv_mac_phy_caps_ext_parse(ab, caps, &ab->pdevs[i]); in ath12k_wmi_tlv_mac_phy_caps_ext()
4260 ret, ab->pdevs[i].pdev_id); in ath12k_wmi_tlv_mac_phy_caps_ext()
5478 ar = ab->pdevs[pdev_idx].ar; in ath12k_reg_chan_list_event()
5556 pdev = &ab->pdevs[i]; in ath12k_wmi_rdy_parse()
Ddp_rx.c2554 ar = ab->pdevs[pdev_id].ar; in ath12k_dp_rx_process_received_packets()
3446 ar = ab->pdevs[pdev_id].ar; in ath12k_dp_rx_process_err()
3802 ar = ab->pdevs[i].ar; in ath12k_dp_rx_process_wbm_err()
3919 struct ath12k *ar = ab->pdevs[mac_id].ar; in ath12k_dp_rx_pdev_free()
4147 struct ath12k *ar = ab->pdevs[mac_id].ar; in ath12k_dp_rx_pdev_alloc()
/Linux-v6.6/Documentation/driver-api/driver-model/
Dplatform.rst90 int platform_add_devices(struct platform_device **pdevs, int ndev);

12