| /linux/drivers/gpu/drm/msm/dp/ |
| H A D | dp_display.c | 34 MODULE_PARM_DESC(psr_enabled, "enable PSR for eDP and DP displays"); 170 { .compatible = "qcom,glymur-dp", .data = &msm_dp_desc_glymur }, 171 { .compatible = "qcom,sa8775p-dp", .data = &msm_dp_desc_sa8775p }, 172 { .compatible = "qcom,sc7180-dp", .data = &msm_dp_desc_sc7180 }, 173 { .compatible = "qcom,sc7280-dp", .data = &msm_dp_desc_sc7280 }, 175 { .compatible = "qcom,sc8180x-dp", .data = &msm_dp_desc_sc8180x }, 177 { .compatible = "qcom,sc8280xp-dp", .data = &msm_dp_desc_sc8280xp }, 179 { .compatible = "qcom,sdm845-dp", .data = &msm_dp_desc_sdm845 }, 180 { .compatible = "qcom,sm8350-dp", .data = &msm_dp_desc_sc7180 }, in dev_get_dp_display_private() 181 { .compatible = "qcom,sm8650-dp", in dev_get_dp_display_private() 182 struct msm_dp *dp = dev_get_drvdata(dev); dev_get_dp_display_private() local 189 struct msm_dp_display_private *dp; msm_dp_display_signal_audio_start() local 198 struct msm_dp_display_private *dp; msm_dp_display_signal_audio_complete() local 209 struct msm_dp_display_private *dp = dev_get_dp_display_private(dev); msm_dp_display_bind() local 232 struct msm_dp_display_private *dp = dev_get_dp_display_private(dev); msm_dp_display_unbind() local 248 msm_dp_display_lttpr_init(struct msm_dp_display_private * dp,u8 * dpcd) msm_dp_display_lttpr_init() argument 265 msm_dp_display_process_hpd_high(struct msm_dp_display_private * dp) msm_dp_display_process_hpd_high() argument 328 msm_dp_display_host_phy_init(struct msm_dp_display_private * dp) msm_dp_display_host_phy_init() argument 343 msm_dp_display_host_phy_exit(struct msm_dp_display_private * dp) msm_dp_display_host_phy_exit() argument 355 msm_dp_display_host_init(struct msm_dp_display_private * dp) msm_dp_display_host_init() argument 368 msm_dp_display_host_deinit(struct msm_dp_display_private * dp) msm_dp_display_host_deinit() argument 381 msm_dp_display_handle_video_request(struct msm_dp_display_private * dp) msm_dp_display_handle_video_request() argument 389 msm_dp_display_handle_irq_hpd(struct msm_dp_display_private * dp) msm_dp_display_handle_irq_hpd() argument 403 msm_dp_hpd_plug_handle(struct msm_dp_display_private * dp) msm_dp_hpd_plug_handle() argument 438 struct msm_dp_display_private *dp; msm_dp_display_handle_plugged_change() local 449 msm_dp_hpd_unplug_handle(struct msm_dp_display_private * dp) msm_dp_hpd_unplug_handle() argument 498 msm_dp_irq_hpd_handle(struct msm_dp_display_private * dp) msm_dp_irq_hpd_handle() argument 526 msm_dp_display_deinit_sub_modules(struct msm_dp_display_private * dp) msm_dp_display_deinit_sub_modules() argument 532 msm_dp_init_sub_modules(struct msm_dp_display_private * dp) msm_dp_init_sub_modules() argument 602 struct msm_dp_display_private *dp; msm_dp_display_set_mode() local 620 msm_dp_display_prepare_link(struct msm_dp_display_private * dp) msm_dp_display_prepare_link() argument 655 msm_dp_display_enable(struct msm_dp_display_private * dp,struct msm_dp_panel * msm_dp_panel) msm_dp_display_enable() argument 676 struct msm_dp_display_private *dp; msm_dp_display_post_enable() local 697 msm_dp_display_audio_notify_disable(struct msm_dp_display_private * dp) msm_dp_display_audio_notify_disable() argument 713 msm_dp_display_disable(struct msm_dp_display_private * dp,struct msm_dp_panel * msm_dp_panel) msm_dp_display_disable() argument 750 msm_dp_display_mode_valid(struct msm_dp * dp,const struct drm_display_info * info,const struct drm_display_mode * mode) msm_dp_display_mode_valid() argument 803 msm_dp_display_get_modes(struct msm_dp * dp) msm_dp_display_get_modes() argument 817 msm_dp_display_check_video_test(struct msm_dp * dp) msm_dp_display_check_video_test() argument 826 msm_dp_display_get_test_bpp(struct msm_dp * dp) msm_dp_display_get_test_bpp() argument 841 msm_dp_snapshot(struct msm_disp_state * disp_state,struct msm_dp * dp) msm_dp_snapshot() argument 869 struct msm_dp_display_private *dp; msm_dp_display_set_psr() local 893 struct msm_dp *dp = msm_dp_bridge->msm_dp_display; msm_dp_bridge_detect() local 969 struct msm_dp_display_private *dp = dev_id; msm_dp_display_irq_handler() local 994 struct msm_dp_display_private *dp = dev_id; msm_dp_display_irq_thread() local 1022 msm_dp_display_request_irq(struct msm_dp_display_private * dp) msm_dp_display_request_irq() argument 1071 struct msm_dp *dp = dev_get_drvdata(dev); msm_dp_display_probe_tail() local 1197 struct msm_dp_display_private *dp; msm_dp_display_probe() local 1269 struct msm_dp_display_private *dp = dev_get_dp_display_private(&pdev->dev); msm_dp_display_remove() local 1278 struct msm_dp_display_private *dp = dev_get_dp_display_private(dev); msm_dp_pm_runtime_suspend() local 1293 struct msm_dp_display_private *dp = dev_get_dp_display_private(dev); msm_dp_pm_runtime_resume() local 1354 struct msm_dp_display_private *dp; msm_dp_wide_bus_available() local 1366 struct msm_dp_display_private *dp; msm_dp_display_debugfs_init() local 1412 struct msm_dp_display_private *dp; msm_dp_display_atomic_pre_enable() local 1435 struct msm_dp_display_private *dp; msm_dp_display_atomic_enable() local 1458 msm_dp_display_atomic_disable(struct msm_dp * dp) msm_dp_display_atomic_disable() argument 1481 msm_dp_display_unprepare(struct msm_dp_display_private * dp) msm_dp_display_unprepare() argument 1490 msm_dp_display_atomic_post_disable(struct msm_dp * dp) msm_dp_display_atomic_post_disable() argument 1510 struct msm_dp_display_private *dp = container_of(msm_dp_display, struct msm_dp_display_private, msm_dp_display); msm_dp_bridge_hpd_enable() local 1533 struct msm_dp_display_private *dp = container_of(msm_dp_display, struct msm_dp_display_private, msm_dp_display); msm_dp_bridge_hpd_disable() local 1547 struct msm_dp_display_private *dp = container_of(msm_dp_display, struct msm_dp_display_private, msm_dp_display); msm_dp_bridge_hpd_notify() local [all...] |
| /linux/net/dsa/ |
| H A D | port.c | 23 * @dp: port on which change occurred 33 static int dsa_port_notify(const struct dsa_port *dp, unsigned long e, void *v) in dsa_port_notify() argument 35 return dsa_tree_notify(dp->ds->dst, e, v); in dsa_port_notify() 38 static void dsa_port_notify_bridge_fdb_flush(const struct dsa_port *dp, u16 vid) in dsa_port_notify_bridge_fdb_flush() argument 40 struct net_device *brport_dev = dsa_port_to_bridge_port(dp); in dsa_port_notify_bridge_fdb_flush() 55 static void dsa_port_fast_age(const struct dsa_port *dp) in dsa_port_fast_age() argument 57 struct dsa_switch *ds = dp->ds; in dsa_port_fast_age() 62 ds->ops->port_fast_age(ds, dp->index); in dsa_port_fast_age() 65 dsa_port_notify_bridge_fdb_flush(dp, 0); in dsa_port_fast_age() 68 static int dsa_port_vlan_fast_age(const struct dsa_port *dp, u16 vid) in dsa_port_vlan_fast_age() argument [all …]
|
| H A D | port.h | 18 bool dsa_port_supports_hwtstamp(struct dsa_port *dp); 21 int dsa_port_set_state(struct dsa_port *dp, u8 state, bool do_fast_age); 22 int dsa_port_set_mst_state(struct dsa_port *dp, 25 int dsa_port_enable_rt(struct dsa_port *dp, struct phy_device *phy); 26 int dsa_port_enable(struct dsa_port *dp, struct phy_device *phy); 27 void dsa_port_disable_rt(struct dsa_port *dp); 28 void dsa_port_disable(struct dsa_port *dp); 29 int dsa_port_bridge_join(struct dsa_port *dp, struct net_device *br, 31 void dsa_port_pre_bridge_leave(struct dsa_port *dp, struct net_device *br); 32 void dsa_port_bridge_leave(struct dsa_port *dp, struct net_device *br); [all …]
|
| H A D | switch.c | 26 struct dsa_port *dp; in dsa_switch_fastest_ageing_time() local 28 dsa_switch_for_each_port(dp, ds) in dsa_switch_fastest_ageing_time() 29 if (dp->ageing_time && dp->ageing_time < ageing_time) in dsa_switch_fastest_ageing_time() 30 ageing_time = dp->ageing_time; in dsa_switch_fastest_ageing_time() 55 static bool dsa_port_mtu_match(struct dsa_port *dp, in dsa_port_mtu_match() argument 58 return dp == info->dp || dsa_port_is_dsa(dp) || dsa_port_is_cpu(dp); in dsa_port_mtu_match() 64 struct dsa_port *dp; in dsa_switch_mtu() local 70 dsa_switch_for_each_port(dp, ds) { in dsa_switch_mtu() 71 if (dsa_port_mtu_match(dp, info)) { in dsa_switch_mtu() 72 ret = ds->ops->port_change_mtu(ds, dp->index, in dsa_switch_mtu() [all …]
|
| H A D | dsa.c | 109 struct dsa_port *dp; in dsa_tree_lag_find() local 111 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_lag_find() 112 if (dsa_port_lag_dev_get(dp) == lag_dev) in dsa_tree_lag_find() 113 return dp->lag; in dsa_tree_lag_find() 121 struct dsa_port *dp; in dsa_tree_bridge_find() local 123 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_bridge_find() 124 if (dsa_port_bridge_dev_get(dp) == br) in dsa_tree_bridge_find() 125 return dp->bridge; in dsa_tree_bridge_find() 184 struct dsa_port *dp; in dsa_switch_find() local 190 list_for_each_entry(dp, &dst->ports, list) { in dsa_switch_find() [all …]
|
| H A D | user.c | 89 struct dsa_port *dp = dsa_user_to_port(dev); in dsa_user_standalone_event_work() local 91 struct dsa_switch *ds = dp->ds; in dsa_user_standalone_event_work() 97 err = dsa_port_standalone_host_fdb_add(dp, addr, vid); in dsa_user_standalone_event_work() 101 dp->index, addr, vid, err); in dsa_user_standalone_event_work() 107 err = dsa_port_standalone_host_fdb_del(dp, addr, vid); in dsa_user_standalone_event_work() 111 dp->index, addr, vid, err); in dsa_user_standalone_event_work() 119 err = dsa_port_standalone_host_mdb_add(dp, &mdb); in dsa_user_standalone_event_work() 123 dp->index, addr, vid, err); in dsa_user_standalone_event_work() 131 err = dsa_port_standalone_host_mdb_del(dp, &mdb); in dsa_user_standalone_event_work() 135 dp->index, addr, vid, err); in dsa_user_standalone_event_work() [all …]
|
| H A D | trace.h | 22 const char *dsa_port_kind(const struct dsa_port *dp); 26 TP_PROTO(const struct dsa_port *dp, const unsigned char *addr, u16 vid, 29 TP_ARGS(dp, addr, vid, db, err), 32 __string(dev, dev_name(dp->ds->dev)) 33 __string(kind, dsa_port_kind(dp)) 44 __entry->port = dp->index; 61 TP_PROTO(const struct dsa_port *dp, const unsigned char *addr, 63 TP_ARGS(dp, addr, vid, db, err)); 66 TP_PROTO(const struct dsa_port *dp, const unsigned char *addr, 68 TP_ARGS(dp, add [all...] |
| /linux/drivers/usb/typec/ucsi/ |
| H A D | displayport.c | 50 struct ucsi_dp *dp = typec_altmode_get_drvdata(alt); in ucsi_displayport_enter() local 51 struct ucsi *ucsi = dp->con->ucsi; in ucsi_displayport_enter() 57 if (!ucsi_con_mutex_lock(dp->con)) in ucsi_displayport_enter() 60 if (!dp->override && dp->initialized) { in ucsi_displayport_enter() 69 command = UCSI_GET_CURRENT_CAM | UCSI_CONNECTOR_NUMBER(dp->con->num); in ucsi_displayport_enter() 78 ret = dp->con->port_altmode[cur] == alt ? 0 : -EBUSY; in ucsi_displayport_enter() 97 dp->header = VDO(USB_TYPEC_DP_SID, 1, svdm_version, CMD_ENTER_MODE); in ucsi_displayport_enter() 98 dp->header |= VDO_OPOS(USB_TYPEC_DP_MODE); in ucsi_displayport_enter() 99 dp->header |= VDO_CMDT(CMDT_RSP_ACK); in ucsi_displayport_enter() 101 dp->vdo_data = NULL; in ucsi_displayport_enter() [all …]
|
| /linux/sound/core/seq/oss/ |
| H A D | seq_oss_init.c | 42 static int create_port(struct seq_oss_devinfo *dp); 43 static int delete_port(struct seq_oss_devinfo *dp); 44 static int alloc_seq_queue(struct seq_oss_devinfo *dp); 169 struct seq_oss_devinfo *dp; in snd_seq_oss_open() local 171 dp = kzalloc_obj(*dp); in snd_seq_oss_open() 172 if (!dp) in snd_seq_oss_open() 175 dp->cseq = system_client; in snd_seq_oss_open() 176 dp->port = -1; in snd_seq_oss_open() 177 dp in snd_seq_oss_open() 294 create_port(struct seq_oss_devinfo * dp) create_port() argument 328 delete_port(struct seq_oss_devinfo * dp) delete_port() argument 342 alloc_seq_queue(struct seq_oss_devinfo * dp) alloc_seq_queue() argument 384 struct seq_oss_devinfo *dp = (struct seq_oss_devinfo *)private; free_devinfo() local 400 snd_seq_oss_release(struct seq_oss_devinfo * dp) snd_seq_oss_release() argument 424 snd_seq_oss_reset(struct seq_oss_devinfo * dp) snd_seq_oss_reset() argument 469 struct seq_oss_devinfo *dp; snd_seq_oss_system_info_read() local [all...] |
| H A D | seq_oss_ioctl.c | 18 static int snd_seq_oss_synth_info_user(struct seq_oss_devinfo *dp, void __user *arg) in snd_seq_oss_synth_info_user() argument 24 if (snd_seq_oss_synth_make_info(dp, info.device, &info) < 0) in snd_seq_oss_synth_info_user() 31 static int snd_seq_oss_midi_info_user(struct seq_oss_devinfo *dp, void __user *arg) in snd_seq_oss_midi_info_user() argument 37 if (snd_seq_oss_midi_make_info(dp, info.device, &info) < 0) in snd_seq_oss_midi_info_user() 44 static int snd_seq_oss_oob_user(struct seq_oss_devinfo *dp, void __user *arg) in snd_seq_oss_oob_user() argument 52 snd_seq_oss_fill_addr(dp, &tmpev, dp->addr.client, dp->addr.port); in snd_seq_oss_oob_user() 57 if (!snd_seq_oss_process_event(dp, (union evrec *)ev, &tmpev, &lock)) in snd_seq_oss_oob_user() 58 snd_seq_oss_dispatch(dp, in snd_seq_oss_oob_user() 61 snd_seq_oss_ioctl(struct seq_oss_devinfo * dp,unsigned int cmd,unsigned long carg) snd_seq_oss_ioctl() argument [all...] |
| H A D | seq_oss_synth.c | 67 static struct seq_oss_synth *get_synthdev(struct seq_oss_devinfo *dp, int dev); 184 snd_seq_oss_synth_setup(struct seq_oss_devinfo *dp) in snd_seq_oss_synth_setup() argument 189 dp->max_synthdev = max_synth_devs; in snd_seq_oss_synth_setup() 190 dp->synth_opened = 0; in snd_seq_oss_synth_setup() 191 memset(dp->synths, 0, sizeof(dp->synths)); in snd_seq_oss_synth_setup() 192 for (i = 0; i < dp->max_synthdev; i++) { in snd_seq_oss_synth_setup() 199 info = &dp->synths[i]; in snd_seq_oss_synth_setup() 200 info->arg.app_index = dp->port; in snd_seq_oss_synth_setup() 201 info->arg.file_mode = dp->file_mode; in snd_seq_oss_synth_setup() 202 info->arg.seq_mode = dp->seq_mode; in snd_seq_oss_synth_setup() [all …]
|
| H A D | seq_oss_rw.c | 23 static int insert_queue(struct seq_oss_devinfo *dp, union evrec *rec, struct file *opt); 31 snd_seq_oss_read(struct seq_oss_devinfo *dp, char __user *buf, int count) in snd_seq_oss_read() argument 33 struct seq_oss_readq *readq = dp->readq; in snd_seq_oss_read() 39 if (readq == NULL || ! is_read_mode(dp->file_mode)) in snd_seq_oss_read() 46 !is_nonblock_mode(dp->file_mode) && result == 0) { in snd_seq_oss_read() 84 snd_seq_oss_write(struct seq_oss_devinfo *dp, const char __user *buf, int count, struct file *opt) in snd_seq_oss_write() 90 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL) in snd_seq_oss_write() 105 err = snd_seq_oss_synth_load_patch(dp, rec.s.dev, in snd_seq_oss_write() 112 dp in snd_seq_oss_write() 83 snd_seq_oss_write(struct seq_oss_devinfo * dp,const char __user * buf,int count,struct file * opt) snd_seq_oss_write() argument 152 insert_queue(struct seq_oss_devinfo * dp,union evrec * rec,struct file * opt) insert_queue() argument 185 snd_seq_oss_poll(struct seq_oss_devinfo * dp,struct file * file,poll_table * wait) snd_seq_oss_poll() argument [all...] |
| /linux/sound/hda/codecs/hdmi/ |
| H A D | nvhdmi.c | 145 HDA_CODEC_ID_MODEL(0x10de0008, "GPU 08 HDMI/DP", MODEL_LEGACY), 146 HDA_CODEC_ID_MODEL(0x10de0009, "GPU 09 HDMI/DP", MODEL_LEGACY), 147 HDA_CODEC_ID_MODEL(0x10de000a, "GPU 0a HDMI/DP", MODEL_LEGACY), 148 HDA_CODEC_ID_MODEL(0x10de000b, "GPU 0b HDMI/DP", MODEL_LEGACY), 150 HDA_CODEC_ID_MODEL(0x10de000d, "GPU 0d HDMI/DP", MODEL_LEGACY), 151 HDA_CODEC_ID_MODEL(0x10de0010, "GPU 10 HDMI/DP", MODEL_LEGACY), 152 HDA_CODEC_ID_MODEL(0x10de0011, "GPU 11 HDMI/DP", MODEL_LEGACY), 153 HDA_CODEC_ID_MODEL(0x10de0012, "GPU 12 HDMI/DP", MODEL_LEGACY), 154 HDA_CODEC_ID_MODEL(0x10de0013, "GPU 13 HDMI/DP", MODEL_LEGACY), 155 HDA_CODEC_ID_MODEL(0x10de0014, "GPU 14 HDMI/DP", MODEL_LEGACY), [all …]
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | dp.c | 24 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); in ath12k_dp_peer_cleanup() local 26 /* TODO: Any other peer specific DP cleanup */ in ath12k_dp_peer_cleanup() 28 spin_lock_bh(&dp->dp_lock); in ath12k_dp_peer_cleanup() 29 peer = ath12k_dp_link_peer_find_by_vdev_and_addr(dp, vdev_id, addr); in ath12k_dp_peer_cleanup() 33 spin_unlock_bh(&dp->dp_lock); in ath12k_dp_peer_cleanup() 38 spin_unlock_bh(&dp->dp_lock); in ath12k_dp_peer_cleanup() 44 spin_unlock_bh(&dp->dp_lock); in ath12k_dp_peer_cleanup() 53 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); in ath12k_dp_peer_setup() local 56 reo_dest = ar->dp.mac_id + 1; in ath12k_dp_peer_setup() 88 spin_lock_bh(&dp in ath12k_dp_peer_setup() 336 ath12k_dp_tx_get_bank_profile(struct ath12k_base * ab,struct ath12k_link_vif * arvif,struct ath12k_dp * dp) ath12k_dp_tx_get_bank_profile() argument 386 ath12k_dp_tx_put_bank_profile(struct ath12k_dp * dp,u8 bank_id) ath12k_dp_tx_put_bank_profile() argument 395 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_deinit_bank_profiles() local 403 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_init_bank_profiles() local 425 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_srng_common_cleanup() local 442 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_srng_common_setup() local 548 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_scatter_idle_link_desc_cleanup() local 568 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_scatter_idle_link_desc_setup() local 662 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_link_desc_bank_alloc() local 710 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_wbm_idle_ring_setup() local 749 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_link_desc_setup() local 839 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_pdev_free() local 856 struct ath12k_pdev_dp *dp = &ar->dp; ath12k_dp_pdev_pre_alloc() local 866 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_pdev_alloc() local 971 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_cc_cleanup() local 1094 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_reoq_lut_cleanup() local 1116 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_cleanup() local 1148 ath12k_dp_cc_get_desc_addr_ptr(struct ath12k_dp * dp,u16 ppt_idx,u16 spt_idx) ath12k_dp_cc_get_desc_addr_ptr() argument 1154 ath12k_dp_get_rx_desc(struct ath12k_dp * dp,u32 cookie) ath12k_dp_get_rx_desc() argument 1178 ath12k_dp_get_tx_desc(struct ath12k_dp * dp,u32 cookie) ath12k_dp_get_tx_desc() argument 1204 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_cc_desc_init() local 1294 ath12k_dp_cmem_init(struct ath12k_base * ab,struct ath12k_dp * dp,enum ath12k_dp_desc_type type) ath12k_dp_cmem_init() argument 1345 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_cc_init() local 1430 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_reoq_lut_setup() local 1468 struct ath12k_dp *dp; ath12k_dp_setup() local 1590 ath12k_dp_cmn_device_deinit(struct ath12k_dp * dp) ath12k_dp_cmn_device_deinit() argument 1595 ath12k_dp_cmn_device_init(struct ath12k_dp * dp) ath12k_dp_cmn_device_init() argument 1606 ath12k_dp_cmn_hw_group_unassign(struct ath12k_dp * dp,struct ath12k_hw_group * ag) ath12k_dp_cmn_hw_group_unassign() argument 1619 ath12k_dp_cmn_hw_group_assign(struct ath12k_dp * dp,struct ath12k_hw_group * ag) ath12k_dp_cmn_hw_group_assign() argument 1630 ath12k_dp_reoq_lut_addr_reset(struct ath12k_dp * dp) ath12k_dp_reoq_lut_addr_reset() argument [all...] |
| H A D | dp_peer.c | 21 ath12k_dp_link_peer_find_by_vdev_and_addr(struct ath12k_dp *dp, in ath12k_dp_link_peer_find_by_vdev_and_addr() argument 26 lockdep_assert_held(&dp->dp_lock); in ath12k_dp_link_peer_find_by_vdev_and_addr() 28 list_for_each_entry(peer, &dp->peers, list) { in ath12k_dp_link_peer_find_by_vdev_and_addr() 41 ath12k_dp_link_peer_find_by_pdev_and_addr(struct ath12k_dp *dp, u8 pdev_idx, in ath12k_dp_link_peer_find_by_pdev_and_addr() argument 46 lockdep_assert_held(&dp->dp_lock); in ath12k_dp_link_peer_find_by_pdev_and_addr() 48 list_for_each_entry(peer, &dp->peers, list) { in ath12k_dp_link_peer_find_by_pdev_and_addr() 61 ath12k_dp_link_peer_find_by_addr(struct ath12k_dp *dp, const u8 *addr) in ath12k_dp_link_peer_find_by_addr() argument 63 lockdep_assert_held(&dp->dp_lock); in ath12k_dp_link_peer_find_by_addr() 65 return rhashtable_lookup_fast(dp->rhead_peer_addr, addr, in ath12k_dp_link_peer_find_by_addr() 66 dp->rhash_peer_addr_param); in ath12k_dp_link_peer_find_by_addr() [all …]
|
| H A D | dp_rx.c | 57 static void ath12k_dp_rx_enqueue_free(struct ath12k_dp *dp, in ath12k_dp_rx_enqueue_free() argument 66 spin_lock_bh(&dp->rx_desc_lock); in ath12k_dp_rx_enqueue_free() 67 list_splice_tail(used_list, &dp->rx_desc_free_list); in ath12k_dp_rx_enqueue_free() 68 spin_unlock_bh(&dp->rx_desc_lock); in ath12k_dp_rx_enqueue_free() 72 int ath12k_dp_rx_bufs_replenish(struct ath12k_dp *dp, in ath12k_dp_rx_bufs_replenish() argument 77 struct ath12k_base *ab = dp->ab; in ath12k_dp_rx_bufs_replenish() 86 enum hal_rx_buf_return_buf_manager mgr = dp->hal->hal_params->rx_buf_rbm; in ath12k_dp_rx_bufs_replenish() 90 srng = &dp->hal->srng_list[rx_ring->refill_buf_ring.ring_id]; in ath12k_dp_rx_bufs_replenish() 108 spin_lock_bh(&dp->rx_desc_lock); in ath12k_dp_rx_bufs_replenish() 110 &dp in ath12k_dp_rx_bufs_replenish() 201 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_rxdma_buf_free() local 251 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_rxdma_buf_setup() local 288 struct ath12k_pdev_dp *dp = &ar->dp; ath12k_dp_rx_pdev_srng_free() local 298 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_rx_pdev_reo_cleanup() local 307 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_rx_pdev_reo_setup() local 331 struct ath12k_pdev_dp *dp = &ar->dp; ath12k_dp_rx_pdev_srng_alloc() local 376 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_rx_reo_cmd_list_cleanup() local 406 ath12k_dp_reo_cmd_free(struct ath12k_dp * dp,void * ctx,enum hal_reo_cmd_status status) ath12k_dp_reo_cmd_free() argument 419 ath12k_dp_rx_process_reo_cmd_update_rx_queue_list(struct ath12k_dp * dp) ath12k_dp_rx_process_reo_cmd_update_rx_queue_list() argument 449 ath12k_dp_rx_tid_del_func(struct ath12k_dp * dp,void * ctx,enum hal_reo_cmd_status status) ath12k_dp_rx_tid_del_func() argument 517 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_rx_tid_delete_handler() local 522 ath12k_dp_mark_tid_as_inactive(struct ath12k_dp * dp,int peer_id,u8 tid) ath12k_dp_mark_tid_as_inactive() argument 546 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_rx_peer_tid_cleanup() local 565 ath12k_dp_prepare_reo_update_elem(struct ath12k_dp * dp,struct ath12k_dp_link_peer * peer,struct ath12k_dp_rx_tid * rx_tid) ath12k_dp_prepare_reo_update_elem() argument 599 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_rx_peer_tid_setup() local 743 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_rx_ampdu_stop() local 802 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_rx_peer_pn_replay_config() local 871 ath12k_dp_rx_crypto_mic_len(struct ath12k_dp * dp,enum hal_encrypt_type enctype) ath12k_dp_rx_crypto_mic_len() argument 1004 struct ath12k_dp *dp = dp_pdev->dp; ath12k_dp_rx_h_undecap_raw() local 1065 struct ath12k_dp *dp = dp_pdev->dp; ath12k_get_dot11_hdr_from_rx_desc() local 1209 struct ath12k_dp *dp = dp_pdev->dp; ath12k_dp_rx_h_find_link_peer() local 1227 struct ath12k_dp *dp = dp_pdev->dp; ath12k_dp_rx_h_rate() local 1375 struct ath12k_dp *dp = dp_pdev->dp; ath12k_dp_rx_deliver_msdu() local 1429 ath12k_dp_rx_check_nwifi_hdr_len_valid(struct ath12k_dp * dp,struct sk_buff * msdu,struct hal_rx_desc_data * rx_info) ath12k_dp_rx_check_nwifi_hdr_len_valid() argument 1472 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_rx_peer_frag_setup() local 1509 struct ath12k_dp *dp = dp_pdev->dp; ath12k_dp_rx_h_undecap_frag() local 1568 ath12k_dp_rx_h_get_pn(struct ath12k_dp * dp,struct sk_buff * skb) ath12k_dp_rx_h_get_pn() argument 1591 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_rx_free() local 1623 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_rx_htt_setup() local 1695 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); ath12k_dp_rx_alloc() local 1775 struct ath12k_pdev_dp *dp = &ar->dp; ath12k_dp_rx_pdev_alloc() local 1807 struct ath12k_pdev_dp *dp = &ar->dp; ath12k_dp_rx_pdev_mon_status_attach() local 1821 struct ath12k_pdev_dp *dp = &ar->dp; ath12k_dp_rx_pdev_mon_attach() local [all...] |
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_dp.c | 10 * @dp: NFP Net data path struct 17 void *nfp_net_rx_alloc_one(struct nfp_net_dp *dp, dma_addr_t *dma_addr) in nfp_net_rx_alloc_one() argument 21 if (!dp->xdp_prog) { in nfp_net_rx_alloc_one() 22 frag = netdev_alloc_frag(dp->fl_bufsz); in nfp_net_rx_alloc_one() 30 nn_dp_warn(dp, "Failed to alloc receive page frag\n"); in nfp_net_rx_alloc_one() 34 *dma_addr = nfp_net_dma_map_rx(dp, frag); in nfp_net_rx_alloc_one() 35 if (dma_mapping_error(dp->dev, *dma_addr)) { in nfp_net_rx_alloc_one() 36 nfp_net_free_frag(frag, dp->xdp_prog); in nfp_net_rx_alloc_one() 37 nn_dp_warn(dp, "Failed to map DMA RX buffer\n"); in nfp_net_rx_alloc_one() 47 * @dp: NFP Net data path struct [all …]
|
| H A D | nfp_net_dp.h | 9 static inline dma_addr_t nfp_net_dma_map_rx(struct nfp_net_dp *dp, void *frag) in nfp_net_dma_map_rx() argument 11 return dma_map_single_attrs(dp->dev, frag + NFP_NET_RX_BUF_HEADROOM, in nfp_net_dma_map_rx() 12 dp->fl_bufsz - NFP_NET_RX_BUF_NON_DATA, in nfp_net_dma_map_rx() 13 dp->rx_dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in nfp_net_dma_map_rx() 17 nfp_net_dma_sync_dev_rx(const struct nfp_net_dp *dp, dma_addr_t dma_addr) in nfp_net_dma_sync_dev_rx() argument 19 dma_sync_single_for_device(dp->dev, dma_addr, in nfp_net_dma_sync_dev_rx() 20 dp->fl_bufsz - NFP_NET_RX_BUF_NON_DATA, in nfp_net_dma_sync_dev_rx() 21 dp->rx_dma_dir); in nfp_net_dma_sync_dev_rx() 24 static inline void nfp_net_dma_unmap_rx(struct nfp_net_dp *dp, in nfp_net_dma_unmap_rx() argument 27 dma_unmap_single_attrs(dp->dev, dma_addr, in nfp_net_dma_unmap_rx() [all …]
|
| H A D | nfp_net_common.c | 407 struct nfp_net_dp *dp = &nn->dp; in nfp_net_irqs_assign() local 410 dp->num_r_vecs = nn->max_r_vecs; in nfp_net_irqs_assign() 414 if (dp->num_rx_rings > dp->num_r_vecs || in nfp_net_irqs_assign() 415 dp->num_tx_rings > dp->num_r_vecs) in nfp_net_irqs_assign() 416 dev_warn(nn->dp.dev, "More rings (%d,%d) than vectors (%d).\n", in nfp_net_irqs_assign() 417 dp->num_rx_rings, dp->num_tx_rings, in nfp_net_irqs_assign() 418 dp->num_r_vecs); in nfp_net_irqs_assign() 420 dp->num_rx_rings = min(dp->num_r_vecs, dp->num_rx_rings); in nfp_net_irqs_assign() 421 dp->num_tx_rings = min(dp->num_r_vecs, dp->num_tx_rings); in nfp_net_irqs_assign() 422 dp->num_stack_tx_rings = dp->num_tx_rings; in nfp_net_irqs_assign() [all …]
|
| /linux/drivers/gpu/drm/rockchip/ |
| H A D | analogix_dp-rockchip.c | 3 * Rockchip SoC DP (Display Port) interface driver. 116 static int rockchip_dp_pre_init(struct rockchip_dp_device *dp) 118 reset_control_assert(dp->rst); in rockchip_dp_pre_init() 120 reset_control_deassert(dp->rst); in rockchip_dp_pre_init() 122 reset_control_assert(dp->apbrst); in rockchip_dp_pre_init() 124 reset_control_deassert(dp->apbrst); in rockchip_dp_pre_init() 131 struct rockchip_dp_device *dp = pdata_encoder_to_dp(plat_data); in rockchip_dp_poweron() 134 ret = clk_prepare_enable(dp->pclk); in rockchip_dp_poweron() 136 DRM_DEV_ERROR(dp->dev, "failed to enable pclk %d\n", ret); in rockchip_dp_poweron() 140 ret = rockchip_dp_pre_init(dp); in rockchip_dp_poweron() 117 rockchip_dp_pre_init(struct rockchip_dp_device * dp) rockchip_dp_pre_init() argument 132 struct rockchip_dp_device *dp = pdata_encoder_to_dp(plat_data); rockchip_dp_poweron() local 157 struct rockchip_dp_device *dp = pdata_encoder_to_dp(plat_data); rockchip_dp_powerdown() local 206 struct rockchip_dp_device *dp = encoder_to_dp(encoder); rockchip_dp_drm_encoder_enable() local 264 struct rockchip_dp_device *dp = encoder_to_dp(encoder); rockchip_dp_drm_encoder_disable() local 319 rockchip_dp_of_probe(struct rockchip_dp_device * dp) rockchip_dp_of_probe() argument 358 rockchip_dp_drm_create_encoder(struct rockchip_dp_device * dp) rockchip_dp_drm_create_encoder() argument 384 struct rockchip_dp_device *dp = dev_get_drvdata(dev); rockchip_dp_bind() local 422 struct rockchip_dp_device *dp = dev_get_drvdata(dev); rockchip_dp_unbind() local 437 struct rockchip_dp_device *dp; rockchip_dp_probe() local 490 struct rockchip_dp_device *dp = platform_get_drvdata(pdev); rockchip_dp_remove() local 505 struct rockchip_dp_device *dp = dev_get_drvdata(dev); rockchip_dp_suspend() local 515 struct rockchip_dp_device *dp = dev_get_drvdata(dev); rockchip_dp_resume() local [all...] |
| /linux/drivers/net/wireless/ath/ath12k/wifi7/ |
| H A D | dp.c | 15 #include "dp.h" 19 static int ath12k_wifi7_dp_service_srng(struct ath12k_dp *dp, in ath12k_wifi7_dp_service_srng() argument 31 if (dp->hw_params->ring_mask->tx[grp_id]) { in ath12k_wifi7_dp_service_srng() 32 i = fls(dp->hw_params->ring_mask->tx[grp_id]) - 1; in ath12k_wifi7_dp_service_srng() 33 ath12k_wifi7_dp_tx_completion_handler(dp, i); in ath12k_wifi7_dp_service_srng() 36 if (dp->hw_params->ring_mask->rx_err[grp_id]) { in ath12k_wifi7_dp_service_srng() 37 work_done = ath12k_wifi7_dp_rx_process_err(dp, napi, budget); in ath12k_wifi7_dp_service_srng() 44 if (dp->hw_params->ring_mask->rx_wbm_rel[grp_id]) { in ath12k_wifi7_dp_service_srng() 45 work_done = ath12k_wifi7_dp_rx_process_wbm_err(dp, napi, budget); in ath12k_wifi7_dp_service_srng() 53 if (dp->hw_params->ring_mask->rx[grp_id]) { in ath12k_wifi7_dp_service_srng() [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| H A D | dp.c | 24 #include "dp.h" 60 int ret = nvkm_i2c_aux_acquire(outp->dp.aux); in nvkm_dp_aux_xfer() 65 ret = nvkm_i2c_aux_xfer(outp->dp.aux, false, type, addr, data, size); in nvkm_dp_aux_xfer() 66 nvkm_i2c_aux_release(outp->dp.aux); in nvkm_dp_aux_xfer() 73 outp->dp.enabled = pu; in nvkm_dp_aux_pwr() 74 nvkm_dp_enable(outp, outp->dp.enabled); in nvkm_dp_aux_pwr() 105 ret = nvkm_rdaux(outp->dp.aux, addr, <->stat[0], 3); in nvkm_dp_train_sense() 114 ret = nvkm_rdaux(outp->dp.aux, addr, <->stat[4], 2); in nvkm_dp_train_sense() 119 ret = nvkm_rdaux(outp->dp.aux, DPCD_LS0C, <->pc2stat, 1); in nvkm_dp_train_sense() 144 for (i = 0; i < ior->dp.nr; i++) { in nvkm_dp_train_drive() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dce_link_encoder.h | 54 SRI(DP_CONFIG, DP, id), \ 55 SRI(DP_DPHY_CNTL, DP, id), \ 56 SRI(DP_DPHY_PRBS_CNTL, DP, id), \ 57 SRI(DP_DPHY_SCRAM_CNTL, DP, id),\ 58 SRI(DP_DPHY_SYM0, DP, id), \ 59 SRI(DP_DPHY_SYM1, DP, id), \ 60 SRI(DP_DPHY_SYM2, DP, id), \ 61 SRI(DP_DPHY_TRAINING_PATTERN_SEL, DP, id), \ 62 SRI(DP_LINK_CNTL, DP, id), \ 63 SRI(DP_LINK_FRAMING_CNTL, DP, id), \ [all …]
|
| /linux/Documentation/devicetree/bindings/display/msm/ |
| H A D | dp-controller.yaml | 4 $id: http://devicetree.org/schemas/display/msm/dp-controller.yaml# 21 - qcom,glymur-dp 22 - qcom,sa8775p-dp 23 - qcom,sc7180-dp 24 - qcom,sc7280-dp 26 - qcom,sc8180x-dp 28 - qcom,sc8280xp-dp 30 - qcom,sdm845-dp 31 - qcom,sm8350-dp 32 - qcom,sm8650-dp [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | ds.c | 135 void (*data)(struct ds_info *dp, 147 static void md_update_data(struct ds_info *dp, struct ds_cap_state *cp, 149 static void domain_shutdown_data(struct ds_info *dp, 152 static void domain_panic_data(struct ds_info *dp, 156 static void dr_cpu_data(struct ds_info *dp, 160 static void ds_pri_data(struct ds_info *dp, 163 static void ds_var_data(struct ds_info *dp, 221 static struct ds_cap_state *find_cap(struct ds_info *dp, u64 handle) in find_cap() argument 225 if (index >= dp->num_ds_states) in find_cap() 227 return &dp->ds_states[index]; in find_cap() [all …]
|