/drivers/gpu/drm/bridge/analogix/ |
D | analogix_dp_core.c | 44 static int analogix_dp_init_dp(struct analogix_dp_device *dp) in analogix_dp_init_dp() argument 48 analogix_dp_reset(dp); in analogix_dp_init_dp() 50 analogix_dp_swreset(dp); in analogix_dp_init_dp() 52 analogix_dp_init_analog_param(dp); in analogix_dp_init_dp() 53 analogix_dp_init_interrupt(dp); in analogix_dp_init_dp() 56 analogix_dp_enable_sw_function(dp); in analogix_dp_init_dp() 58 analogix_dp_config_interrupt(dp); in analogix_dp_init_dp() 59 ret = analogix_dp_init_analog_func(dp); in analogix_dp_init_dp() 63 analogix_dp_init_hpd(dp); in analogix_dp_init_dp() 64 analogix_dp_init_aux(dp); in analogix_dp_init_dp() [all …]
|
D | analogix_dp_reg.c | 26 void analogix_dp_enable_video_mute(struct analogix_dp_device *dp, bool enable) in analogix_dp_enable_video_mute() argument 31 reg = readl(dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute() 33 writel(reg, dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute() 35 reg = readl(dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute() 37 writel(reg, dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute() 41 void analogix_dp_stop_video(struct analogix_dp_device *dp) in analogix_dp_stop_video() argument 45 reg = readl(dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_stop_video() 47 writel(reg, dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_stop_video() 50 void analogix_dp_lane_swap(struct analogix_dp_device *dp, bool enable) in analogix_dp_lane_swap() argument 61 writel(reg, dp->reg_base + ANALOGIX_DP_LANE_MAP); in analogix_dp_lane_swap() [all …]
|
D | analogix_dp_core.h | 184 void analogix_dp_enable_video_mute(struct analogix_dp_device *dp, bool enable); 185 void analogix_dp_stop_video(struct analogix_dp_device *dp); 186 void analogix_dp_lane_swap(struct analogix_dp_device *dp, bool enable); 187 void analogix_dp_init_analog_param(struct analogix_dp_device *dp); 188 void analogix_dp_init_interrupt(struct analogix_dp_device *dp); 189 void analogix_dp_reset(struct analogix_dp_device *dp); 190 void analogix_dp_swreset(struct analogix_dp_device *dp); 191 void analogix_dp_config_interrupt(struct analogix_dp_device *dp); 192 void analogix_dp_mute_hpd_interrupt(struct analogix_dp_device *dp); 193 void analogix_dp_unmute_hpd_interrupt(struct analogix_dp_device *dp); [all …]
|
/drivers/gpu/drm/rockchip/ |
D | cdn-dp-core.c | 69 static int cdn_dp_grf_write(struct cdn_dp_device *dp, in cdn_dp_grf_write() argument 74 ret = clk_prepare_enable(dp->grf_clk); in cdn_dp_grf_write() 76 DRM_DEV_ERROR(dp->dev, "Failed to prepare_enable grf clock\n"); in cdn_dp_grf_write() 80 ret = regmap_write(dp->grf, reg, val); in cdn_dp_grf_write() 82 DRM_DEV_ERROR(dp->dev, "Could not write to GRF: %d\n", ret); in cdn_dp_grf_write() 83 clk_disable_unprepare(dp->grf_clk); in cdn_dp_grf_write() 87 clk_disable_unprepare(dp->grf_clk); in cdn_dp_grf_write() 92 static int cdn_dp_clk_enable(struct cdn_dp_device *dp) in cdn_dp_clk_enable() argument 97 ret = clk_prepare_enable(dp->pclk); in cdn_dp_clk_enable() 99 DRM_DEV_ERROR(dp->dev, "cannot enable dp pclk %d\n", ret); in cdn_dp_clk_enable() [all …]
|
D | cdn-dp-reg.c | 24 void cdn_dp_set_fw_clk(struct cdn_dp_device *dp, unsigned long clk) in cdn_dp_set_fw_clk() argument 26 writel(clk / 1000000, dp->regs + SW_CLK_H); in cdn_dp_set_fw_clk() 29 void cdn_dp_clock_reset(struct cdn_dp_device *dp) in cdn_dp_clock_reset() argument 45 writel(val, dp->regs + SOURCE_DPTX_CAR); in cdn_dp_clock_reset() 48 writel(val, dp->regs + SOURCE_PHY_CAR); in cdn_dp_clock_reset() 54 writel(val, dp->regs + SOURCE_PKT_CAR); in cdn_dp_clock_reset() 62 writel(val, dp->regs + SOURCE_AIF_CAR); in cdn_dp_clock_reset() 68 writel(val, dp->regs + SOURCE_CIPHER_CAR); in cdn_dp_clock_reset() 72 writel(val, dp->regs + SOURCE_CRYPTO_CAR); in cdn_dp_clock_reset() 75 writel(0, dp->regs + APB_INT_MASK); in cdn_dp_clock_reset() [all …]
|
D | analogix_dp-rockchip.c | 87 static int rockchip_dp_pre_init(struct rockchip_dp_device *dp) in rockchip_dp_pre_init() argument 89 reset_control_assert(dp->rst); in rockchip_dp_pre_init() 91 reset_control_deassert(dp->rst); in rockchip_dp_pre_init() 98 struct rockchip_dp_device *dp = pdata_encoder_to_dp(plat_data); in rockchip_dp_poweron_start() local 101 ret = clk_prepare_enable(dp->pclk); in rockchip_dp_poweron_start() 103 DRM_DEV_ERROR(dp->dev, "failed to enable pclk %d\n", ret); in rockchip_dp_poweron_start() 107 ret = rockchip_dp_pre_init(dp); in rockchip_dp_poweron_start() 109 DRM_DEV_ERROR(dp->dev, "failed to dp pre init %d\n", ret); in rockchip_dp_poweron_start() 110 clk_disable_unprepare(dp->pclk); in rockchip_dp_poweron_start() 119 struct rockchip_dp_device *dp = pdata_encoder_to_dp(plat_data); in rockchip_dp_powerdown() local [all …]
|
/drivers/gpu/drm/msm/dp/ |
D | dp_display.c | 195 struct msm_dp *dp = dev_get_drvdata(dev); in dev_get_dp_display_private() local 197 return container_of(dp, struct dp_display_private, dp_display); in dev_get_dp_display_private() 256 struct dp_display_private *dp; in dp_display_signal_audio_start() local 258 dp = container_of(dp_display, struct dp_display_private, dp_display); in dp_display_signal_audio_start() 260 reinit_completion(&dp->audio_comp); in dp_display_signal_audio_start() 265 struct dp_display_private *dp; in dp_display_signal_audio_complete() local 267 dp = container_of(dp_display, struct dp_display_private, dp_display); in dp_display_signal_audio_complete() 269 complete_all(&dp->audio_comp); in dp_display_signal_audio_complete() 278 struct dp_display_private *dp = dev_get_dp_display_private(dev); in dp_display_bind() local 282 dp->dp_display.drm_dev = drm; in dp_display_bind() [all …]
|
D | dp_drm.c | 23 struct msm_dp *dp; in dp_bridge_detect() local 25 dp = to_dp_bridge(bridge)->dp_display; in dp_bridge_detect() 27 drm_dbg_dp(dp->drm_dev, "is_connected = %s\n", in dp_bridge_detect() 28 (dp->is_connected) ? "true" : "false"); in dp_bridge_detect() 30 return (dp->is_connected) ? connector_status_connected : in dp_bridge_detect() 39 struct msm_dp *dp; in dp_bridge_atomic_check() local 41 dp = to_dp_bridge(bridge)->dp_display; in dp_bridge_atomic_check() 43 drm_dbg_dp(dp->drm_dev, "is_connected = %s\n", in dp_bridge_atomic_check() 44 (dp->is_connected) ? "true" : "false"); in dp_bridge_atomic_check() 58 return (dp->is_connected) ? 0 : -ENOTCONN; in dp_bridge_atomic_check() [all …]
|
/drivers/gpu/drm/xlnx/ |
D | zynqmp_dp.c | 326 static void zynqmp_dp_write(struct zynqmp_dp *dp, int offset, u32 val) in zynqmp_dp_write() argument 328 writel(val, dp->iomem + offset); in zynqmp_dp_write() 331 static u32 zynqmp_dp_read(struct zynqmp_dp *dp, int offset) in zynqmp_dp_read() argument 333 return readl(dp->iomem + offset); in zynqmp_dp_read() 336 static void zynqmp_dp_clr(struct zynqmp_dp *dp, int offset, u32 clr) in zynqmp_dp_clr() argument 338 zynqmp_dp_write(dp, offset, zynqmp_dp_read(dp, offset) & ~clr); in zynqmp_dp_clr() 341 static void zynqmp_dp_set(struct zynqmp_dp *dp, int offset, u32 set) in zynqmp_dp_set() argument 343 zynqmp_dp_write(dp, offset, zynqmp_dp_read(dp, offset) | set); in zynqmp_dp_set() 352 static int zynqmp_dp_reset(struct zynqmp_dp *dp, bool assert) in zynqmp_dp_reset() argument 357 reset_control_assert(dp->reset); in zynqmp_dp_reset() [all …]
|
/drivers/usb/typec/altmodes/ |
D | displayport.c | 72 static int dp_altmode_notify(struct dp_altmode *dp) in dp_altmode_notify() argument 77 if (dp->data.conf) { in dp_altmode_notify() 78 state = get_count_order(DP_CONF_GET_PIN_ASSIGN(dp->data.conf)); in dp_altmode_notify() 84 return typec_altmode_notify(dp->alt, conf, &dp->data); in dp_altmode_notify() 87 static int dp_altmode_configure(struct dp_altmode *dp, u8 con) in dp_altmode_configure() argument 97 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure() 98 DP_CAP_DFP_D_PIN_ASSIGN(dp->port->vdo); in dp_altmode_configure() 103 pin_assign = DP_CAP_PIN_ASSIGN_UFP_D(dp->alt->vdo) & in dp_altmode_configure() 104 DP_CAP_PIN_ASSIGN_DFP_D(dp->port->vdo); in dp_altmode_configure() 111 if (!DP_CONF_GET_PIN_ASSIGN(dp->data.conf)) { in dp_altmode_configure() [all …]
|
/drivers/usb/typec/ucsi/ |
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 mutex_lock(&dp->con->lock); in ucsi_displayport_enter() 59 if (!dp->override && dp->initialized) { in ucsi_displayport_enter() 68 command = UCSI_GET_CURRENT_CAM | UCSI_CONNECTOR_NUMBER(dp->con->num); in ucsi_displayport_enter() 77 ret = dp->con->port_altmode[cur] == alt ? 0 : -EBUSY; in ucsi_displayport_enter() 93 dp->header = VDO(USB_TYPEC_DP_SID, 1, svdm_version, CMD_ENTER_MODE); in ucsi_displayport_enter() 94 dp->header |= VDO_OPOS(USB_TYPEC_DP_MODE); in ucsi_displayport_enter() 95 dp->header |= VDO_CMDT(CMDT_RSP_ACK); in ucsi_displayport_enter() 97 dp->vdo_data = NULL; in ucsi_displayport_enter() [all …]
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_dp.c | 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() 53 nfp_net_tx_ring_init(struct nfp_net_tx_ring *tx_ring, struct nfp_net_dp *dp, in nfp_net_tx_ring_init() argument 65 tx_ring->txrwb = dp->txrwb ? &dp->txrwb[idx] : NULL; in nfp_net_tx_ring_init() [all …]
|
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 …]
|
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 …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | dp.c | 71 ret = nvkm_rdaux(outp->dp.aux, addr, <->stat[0], 3); in nvkm_dp_train_sense() 80 ret = nvkm_rdaux(outp->dp.aux, addr, <->stat[4], 2); in nvkm_dp_train_sense() 85 ret = nvkm_rdaux(outp->dp.aux, DPCD_LS0C, <->pc2stat, 1); in nvkm_dp_train_sense() 110 for (i = 0; i < ior->dp.nr; i++) { in nvkm_dp_train_drive() 147 ior->func->dp->drive(ior, i, ocfg.pc, ocfg.dc, ocfg.pe, ocfg.tx_pu); in nvkm_dp_train_drive() 155 ret = nvkm_wraux(outp->dp.aux, addr, lt->conf, 4); in nvkm_dp_train_drive() 160 ret = nvkm_wraux(outp->dp.aux, DPCD_LC0F, lt->pc2conf, 2); in nvkm_dp_train_drive() 176 outp->ior->func->dp->pattern(outp->ior, pattern); in nvkm_dp_train_pattern() 183 nvkm_rdaux(outp->dp.aux, addr, &sink_tp, 1); in nvkm_dp_train_pattern() 191 nvkm_wraux(outp->dp.aux, addr, &sink_tp, 1); in nvkm_dp_train_pattern() [all …]
|
/drivers/gpu/drm/exynos/ |
D | exynos_dp.c | 51 struct exynos_dp_device *dp = to_dp(plat_data); in exynos_dp_crtc_clock_enable() local 52 struct drm_encoder *encoder = &dp->encoder; in exynos_dp_crtc_clock_enable() 75 struct exynos_dp_device *dp = to_dp(plat_data); in exynos_dp_get_modes() local 79 if (dp->plat_data.panel) in exynos_dp_get_modes() 84 DRM_DEV_ERROR(dp->dev, in exynos_dp_get_modes() 89 drm_display_mode_from_videomode(&dp->vm, mode); in exynos_dp_get_modes() 104 struct exynos_dp_device *dp = to_dp(plat_data); in exynos_dp_bridge_attach() local 107 dp->connector = connector; in exynos_dp_bridge_attach() 110 if (dp->ptn_bridge) { in exynos_dp_bridge_attach() 111 ret = drm_bridge_attach(&dp->encoder, dp->ptn_bridge, bridge, in exynos_dp_bridge_attach() [all …]
|
/drivers/md/ |
D | dm-io.c | 169 void (*get_page)(struct dpages *dp, 171 void (*next_page)(struct dpages *dp); 186 static void list_get_page(struct dpages *dp, in list_get_page() argument 189 unsigned int o = dp->context_u; in list_get_page() 190 struct page_list *pl = dp->context_ptr; in list_get_page() 197 static void list_next_page(struct dpages *dp) in list_next_page() argument 199 struct page_list *pl = dp->context_ptr; in list_next_page() 201 dp->context_ptr = pl->next; in list_next_page() 202 dp->context_u = 0; in list_next_page() 205 static void list_dp_init(struct dpages *dp, struct page_list *pl, unsigned int offset) in list_dp_init() argument [all …]
|
/drivers/net/wireless/ath/ath12k/ |
D | dp.c | 53 reo_dest = ar->dp.mac_id + 1; in ath12k_dp_peer_setup() 364 struct ath12k_dp *dp) in ath12k_dp_tx_get_bank_profile() argument 374 spin_lock_bh(&dp->tx_bank_lock); in ath12k_dp_tx_get_bank_profile() 376 for (i = 0; i < dp->num_bank_profiles; i++) { in ath12k_dp_tx_get_bank_profile() 377 if (dp->bank_profiles[i].is_configured && in ath12k_dp_tx_get_bank_profile() 378 (dp->bank_profiles[i].bank_config ^ bank_config) == 0) { in ath12k_dp_tx_get_bank_profile() 382 if (!dp->bank_profiles[i].is_configured || in ath12k_dp_tx_get_bank_profile() 383 !dp->bank_profiles[i].num_users) { in ath12k_dp_tx_get_bank_profile() 390 spin_unlock_bh(&dp->tx_bank_lock); in ath12k_dp_tx_get_bank_profile() 396 dp->bank_profiles[bank_id].is_configured = true; in ath12k_dp_tx_get_bank_profile() [all …]
|
/drivers/sbus/char/ |
D | openprom.c | 130 static int opromgetprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsi… in opromgetprop() argument 135 if (!dp || in opromgetprop() 136 !(pval = of_get_property(dp, op->oprom_array, &len)) || in opromgetprop() 147 static int opromnxtprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsi… in opromnxtprop() argument 152 if (!dp) in opromnxtprop() 155 prop = dp->properties; in opromnxtprop() 160 prop = of_find_property(dp, op->oprom_array, NULL); in opromnxtprop() 177 static int opromsetopt(struct device_node *dp, struct openpromio *op, int bufsize) in opromsetopt() argument 185 static int opromnext(void __user *argp, unsigned int cmd, struct device_node *dp, struct openpromio… in opromnext() argument 196 dp = of_find_node_by_phandle(ph); in opromnext() [all …]
|
/drivers/phy/rockchip/ |
D | phy-rockchip-dp.c | 34 struct rockchip_dp_phy *dp = phy_get_drvdata(phy); in rockchip_set_phy_state() local 38 ret = regmap_write(dp->grf, GRF_SOC_CON12, in rockchip_set_phy_state() 42 dev_err(dp->dev, "Can't enable PHY power %d\n", ret); in rockchip_set_phy_state() 46 ret = clk_prepare_enable(dp->phy_24m); in rockchip_set_phy_state() 48 clk_disable_unprepare(dp->phy_24m); in rockchip_set_phy_state() 50 ret = regmap_write(dp->grf, GRF_SOC_CON12, in rockchip_set_phy_state() 79 struct rockchip_dp_phy *dp; in rockchip_dp_phy_probe() local 89 dp = devm_kzalloc(dev, sizeof(*dp), GFP_KERNEL); in rockchip_dp_phy_probe() 90 if (!dp) in rockchip_dp_phy_probe() 93 dp->dev = dev; in rockchip_dp_phy_probe() [all …]
|
/drivers/net/ethernet/netronome/nfp/nfd3/ |
D | dp.c | 120 nfp_nfd3_tx_csum(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfd3_tx_csum() argument 128 if (!(dp->ctrl & NFP_NET_CFG_CTRL_TXCSUM)) in nfp_nfd3_tx_csum() 147 nn_dp_warn(dp, "partial checksum but ipv=%x!\n", iph->version); in nfp_nfd3_tx_csum() 159 nn_dp_warn(dp, "partial checksum but l4 proto=%x!\n", l4_hdr); in nfp_nfd3_tx_csum() 171 static int nfp_nfd3_prep_tx_meta(struct nfp_net_dp *dp, struct sk_buff *skb, in nfp_nfd3_prep_tx_meta() argument 183 *ipsec = nfp_net_ipsec_tx_prep(dp, skb, &offload_info); in nfp_nfd3_prep_tx_meta() 189 vlan_insert = skb_vlan_tag_present(skb) && (dp->ctrl & NFP_NET_CFG_CTRL_TXVLAN_V2); in nfp_nfd3_prep_tx_meta() 262 struct nfp_net_dp *dp; in nfp_nfd3_tx() local 269 dp = &nn->dp; in nfp_nfd3_tx() 271 tx_ring = &dp->tx_rings[qidx]; in nfp_nfd3_tx() [all …]
|
/drivers/of/ |
D | pdt.c | 31 static char * __init of_pdt_build_full_name(struct device_node *dp) in of_pdt_build_full_name() argument 33 return build_path_component(dp); in of_pdt_build_full_name() 39 static inline void irq_trans_init(struct device_node *dp) { } in irq_trans_init() argument 41 static char * __init of_pdt_build_full_name(struct device_node *dp) in of_pdt_build_full_name() argument 49 if (!of_pdt_prom_ops->pkg2path(dp->phandle, path, sizeof(path), &len)) { in of_pdt_build_full_name() 56 name = of_get_property(dp, "name", &len); in of_pdt_build_full_name() 147 struct device_node *dp; in of_pdt_create_node() local 152 dp = prom_early_alloc(sizeof(*dp)); in of_pdt_create_node() 153 of_node_init(dp); in of_pdt_create_node() 154 of_pdt_incr_unique_id(dp); in of_pdt_create_node() [all …]
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_dp.c | 42 return drm_dp_read_sink_count_cap(connector, outp->dp.dpcd, &outp->dp.desc); in nouveau_dp_has_sink_count() 54 u8 *dpcd = outp->dp.dpcd; in nouveau_dp_probe_dpcd() 60 ret = drm_dp_read_desc(aux, &outp->dp.desc, drm_dp_is_branch(dpcd)); in nouveau_dp_probe_dpcd() 65 mstm = outp->dp.mstm; in nouveau_dp_probe_dpcd() 75 outp->dp.sink_count = ret; in nouveau_dp_probe_dpcd() 81 if (!outp->dp.sink_count) in nouveau_dp_probe_dpcd() 86 outp->dp.downstream_ports); in nouveau_dp_probe_dpcd() 94 outp->dp.sink_count = 0; in nouveau_dp_probe_dpcd() 106 struct nv50_mstm *mstm = nv_encoder->dp.mstm; in nouveau_dp_detect() 108 u8 *dpcd = nv_encoder->dp.dpcd; in nouveau_dp_detect() [all …]
|
/drivers/net/wireless/ath/ath11k/ |
D | dp.c | 52 reo_dest = ar->dp.mac_id + 1; in ath11k_dp_peer_setup() 345 ath11k_dp_shadow_stop_timer(ab, &ab->dp.tx_ring_timer[i]); in ath11k_dp_stop_shadow_timers() 347 ath11k_dp_shadow_stop_timer(ab, &ab->dp.reo_cmd_timer); in ath11k_dp_stop_shadow_timers() 352 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_srng_common_cleanup() local 356 ath11k_dp_srng_cleanup(ab, &dp->wbm_desc_rel_ring); in ath11k_dp_srng_common_cleanup() 357 ath11k_dp_srng_cleanup(ab, &dp->tcl_cmd_ring); in ath11k_dp_srng_common_cleanup() 358 ath11k_dp_srng_cleanup(ab, &dp->tcl_status_ring); in ath11k_dp_srng_common_cleanup() 360 ath11k_dp_srng_cleanup(ab, &dp->tx_ring[i].tcl_data_ring); in ath11k_dp_srng_common_cleanup() 361 ath11k_dp_srng_cleanup(ab, &dp->tx_ring[i].tcl_comp_ring); in ath11k_dp_srng_common_cleanup() 363 ath11k_dp_srng_cleanup(ab, &dp->reo_reinject_ring); in ath11k_dp_srng_common_cleanup() [all …]
|
/drivers/net/ethernet/netronome/nfp/nfdk/ |
D | dp.c | 78 nfp_nfdk_tx_csum(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfdk_tx_csum() argument 84 if (!(dp->ctrl & NFP_NET_CFG_CTRL_TXCSUM)) in nfp_nfdk_tx_csum() 99 nn_dp_warn(dp, "partial checksum but ipv=%x!\n", iph->version); in nfp_nfdk_tx_csum() 175 nfp_nfdk_prep_tx_meta(struct nfp_net_dp *dp, struct nfp_app *app, in nfp_nfdk_prep_tx_meta() argument 187 *ipsec = nfp_net_ipsec_tx_prep(dp, skb, &offload_info); in nfp_nfdk_prep_tx_meta() 193 vlan_insert = skb_vlan_tag_present(skb) && (dp->ctrl & NFP_NET_CFG_CTRL_TXVLAN_V2); in nfp_nfdk_prep_tx_meta() 262 struct nfp_net_dp *dp; in nfp_nfdk_tx() local 268 dp = &nn->dp; in nfp_nfdk_tx() 270 tx_ring = &dp->tx_rings[qidx]; in nfp_nfdk_tx() 272 nd_q = netdev_get_tx_queue(dp->netdev, qidx); in nfp_nfdk_tx() [all …]
|