Home
last modified time | relevance | path

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

/linux/drivers/platform/chrome/
H A Dcros_typec_altmode.c145 struct cros_typec_dp_data *dp_data = typec_altmode_get_drvdata(alt); in cros_typec_displayport_vdm() local
146 struct cros_typec_altmode_data *adata = &dp_data->adata; in cros_typec_displayport_vdm()
179 dp_data->data.conf = *data; in cros_typec_displayport_vdm()
181 dp_data->configured = true; in cros_typec_displayport_vdm()
185 dp_data->pending_status_update = true; in cros_typec_displayport_vdm()
279 struct cros_typec_dp_data *dp_data = in cros_typec_displayport_status_update() local
281 struct cros_typec_altmode_data *adata = &dp_data->adata; in cros_typec_displayport_status_update()
283 if (!dp_data->pending_status_update) { in cros_typec_displayport_status_update()
289 if (dp_data->configured && dp_data->data.conf != data->conf) in cros_typec_displayport_status_update()
292 dp_data->data.conf, data->conf); in cros_typec_displayport_status_update()
[all …]
H A Dcros_ec_typec.c631 struct typec_displayport_data dp_data; in cros_typec_enable_dp() local
648 dp_data.status = DP_STATUS_ENABLED; in cros_typec_enable_dp()
650 dp_data.status |= DP_STATUS_IRQ_HPD; in cros_typec_enable_dp()
652 dp_data.status |= DP_STATUS_HPD_STATE; in cros_typec_enable_dp()
655 dp_data.conf = DP_CONF_SET_PIN_ASSIGN(pd_ctrl->dp_mode); in cros_typec_enable_dp()
663 port->state.data = &dp_data; in cros_typec_enable_dp()
676 dp_data.conf |= cable_dp_vdo; in cros_typec_enable_dp()
678 dp_data.conf |= TBT_CABLE_SPEED(cable_tbt_vdo) << DP_CONF_SIGNALLING_SHIFT; in cros_typec_enable_dp()
682 dp_data.conf |= DP_CONF_CABLE_TYPE_OPTICAL << DP_CONF_CABLE_TYPE_SHIFT; in cros_typec_enable_dp()
684 dp_data.conf |= DP_CONF_CABLE_TYPE_RE_TIMER << DP_CONF_CABLE_TYPE_SHIFT; in cros_typec_enable_dp()
[all …]
/linux/drivers/gpu/drm/rockchip/
H A Danalogix_dp-rockchip.c449 const struct rockchip_dp_chip_data *dp_data; in rockchip_dp_probe() local
455 dp_data = of_device_get_match_data(dev); in rockchip_dp_probe()
456 if (!dp_data) in rockchip_dp_probe()
466 while (dp_data[i].reg) { in rockchip_dp_probe()
467 if (dp_data[i].reg == res->start) { in rockchip_dp_probe()
468 dp->data = &dp_data[i]; in rockchip_dp_probe()
H A Dcdn-dp-core.c1099 struct cdn_dp_data *dp_data; in cdn_dp_probe() local
1114 dp_data = (struct cdn_dp_data *)match->data; in cdn_dp_probe()
1116 for (i = 0; i < dp_data->max_phy; i++) { in cdn_dp_probe()
/linux/drivers/soc/qcom/
H A Dpmic_glink_altmode.c118 u8 dp_data; member
181 struct typec_displayport_data dp_data = {}; in pmic_glink_altmode_enable_dp() local
184 dp_data.status = DP_STATUS_ENABLED; in pmic_glink_altmode_enable_dp()
186 dp_data.status |= DP_STATUS_HPD_STATE; in pmic_glink_altmode_enable_dp()
188 dp_data.status |= DP_STATUS_IRQ_HPD; in pmic_glink_altmode_enable_dp()
189 dp_data.conf = DP_CONF_SET_PIN_ASSIGN(mode); in pmic_glink_altmode_enable_dp()
192 port->state.data = &dp_data; in pmic_glink_altmode_enable_dp()
200 port->retimer_state.data = &dp_data; in pmic_glink_altmode_enable_dp()
/linux/drivers/usb/typec/tipd/
H A Dcore.c658 struct typec_displayport_data dp_data; in cd321x_typec_update_mode() local
690 dp_data.status = le32_to_cpu(st->dp_sid_status.status_rx); in cd321x_typec_update_mode()
691 dp_data.conf = le32_to_cpu(st->dp_sid_status.configure); in cd321x_typec_update_mode()
693 cd321x->state.data = &dp_data; in cd321x_typec_update_mode()