Home
last modified time | relevance | path

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

/linux-6.15/drivers/platform/chrome/
H A Dcros_typec_altmode.c179 dp_data->data.conf = *data; in cros_typec_displayport_vdm()
181 dp_data->configured = true; in cros_typec_displayport_vdm()
279 struct cros_typec_dp_data *dp_data = in cros_typec_displayport_status_update() local
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()
296 dp_data->data = *data; in cros_typec_displayport_status_update()
314 struct cros_typec_dp_data *dp_data; in cros_typec_register_displayport() local
321 dp_data = devm_kzalloc(&alt->dev, sizeof(*dp_data), GFP_KERNEL); in cros_typec_register_displayport()
322 if (!dp_data) { in cros_typec_register_displayport()
[all …]
H A Dcros_ec_typec.c545 struct typec_displayport_data dp_data; in cros_typec_enable_dp() local
562 dp_data.status = DP_STATUS_ENABLED; in cros_typec_enable_dp()
564 dp_data.status |= DP_STATUS_IRQ_HPD; in cros_typec_enable_dp()
566 dp_data.status |= DP_STATUS_HPD_STATE; in cros_typec_enable_dp()
569 dp_data.conf = DP_CONF_SET_PIN_ASSIGN(pd_ctrl->dp_mode); in cros_typec_enable_dp()
577 port->state.data = &dp_data; in cros_typec_enable_dp()
590 dp_data.conf |= cable_dp_vdo; in cros_typec_enable_dp()
596 dp_data.conf |= DP_CONF_CABLE_TYPE_OPTICAL << DP_CONF_CABLE_TYPE_SHIFT; in cros_typec_enable_dp()
598 dp_data.conf |= DP_CONF_CABLE_TYPE_RE_TIMER << DP_CONF_CABLE_TYPE_SHIFT; in cros_typec_enable_dp()
600 dp_data.conf |= DP_CONF_CABLE_TYPE_RE_DRIVER << DP_CONF_CABLE_TYPE_SHIFT; in cros_typec_enable_dp()
[all …]
/linux-6.15/drivers/soc/qcom/
H A Dpmic_glink_altmode.c84 u8 dp_data; member
146 struct typec_displayport_data dp_data = {}; in pmic_glink_altmode_enable_dp() local
149 dp_data.status = DP_STATUS_ENABLED; in pmic_glink_altmode_enable_dp()
151 dp_data.status |= DP_STATUS_HPD_STATE; in pmic_glink_altmode_enable_dp()
153 dp_data.status |= DP_STATUS_IRQ_HPD; in pmic_glink_altmode_enable_dp()
154 dp_data.conf = DP_CONF_SET_PIN_ASSIGN(mode); in pmic_glink_altmode_enable_dp()
157 port->state.data = &dp_data; in pmic_glink_altmode_enable_dp()
165 port->retimer_state.data = &dp_data; in pmic_glink_altmode_enable_dp()
/linux-6.15/drivers/gpu/drm/rockchip/
H A Danalogix_dp-rockchip.c398 const struct rockchip_dp_chip_data *dp_data; in rockchip_dp_probe() local
405 dp_data = of_device_get_match_data(dev); in rockchip_dp_probe()
406 if (!dp_data) in rockchip_dp_probe()
420 while (dp_data[i].reg) { in rockchip_dp_probe()
421 if (dp_data[i].reg == res->start) { in rockchip_dp_probe()
422 dp->data = &dp_data[i]; in rockchip_dp_probe()
H A Dcdn-dp-core.c1166 struct cdn_dp_data *dp_data; in cdn_dp_probe() local
1180 dp_data = (struct cdn_dp_data *)match->data; in cdn_dp_probe()
1182 for (i = 0; i < dp_data->max_phy; i++) { in cdn_dp_probe()