Lines Matching refs:ge_b850v3_lvds_ptr
66 static struct ge_b850v3_lvds *ge_b850v3_lvds_ptr; variable
99 client = ge_b850v3_lvds_ptr->stdp2690_i2c; in ge_b850v3_lvds_edid_read()
109 drm_edid = ge_b850v3_lvds_edid_read(&ge_b850v3_lvds_ptr->bridge, connector); in ge_b850v3_lvds_get_modes()
133 ge_b850v3_lvds_ptr->stdp4028_i2c; in ge_b850v3_lvds_bridge_detect()
151 return ge_b850v3_lvds_bridge_detect(&ge_b850v3_lvds_ptr->bridge); in ge_b850v3_lvds_detect()
165 struct drm_connector *connector = &ge_b850v3_lvds_ptr->connector; in ge_b850v3_lvds_create_connector()
187 = ge_b850v3_lvds_ptr->stdp4028_i2c; in ge_b850v3_lvds_irq_handler()
193 if (ge_b850v3_lvds_ptr->bridge.dev) in ge_b850v3_lvds_irq_handler()
194 drm_kms_helper_hotplug_event(ge_b850v3_lvds_ptr->bridge.dev); in ge_b850v3_lvds_irq_handler()
203 = ge_b850v3_lvds_ptr->stdp4028_i2c; in ge_b850v3_lvds_attach()
231 if (ge_b850v3_lvds_ptr) in ge_b850v3_lvds_init()
234 ge_b850v3_lvds_ptr = devm_kzalloc(dev, in ge_b850v3_lvds_init()
235 sizeof(*ge_b850v3_lvds_ptr), in ge_b850v3_lvds_init()
238 if (!ge_b850v3_lvds_ptr) { in ge_b850v3_lvds_init()
255 if (!ge_b850v3_lvds_ptr || in ge_b850v3_lvds_remove()
256 !ge_b850v3_lvds_ptr->stdp2690_i2c || in ge_b850v3_lvds_remove()
257 !ge_b850v3_lvds_ptr->stdp4028_i2c) in ge_b850v3_lvds_remove()
260 drm_bridge_remove(&ge_b850v3_lvds_ptr->bridge); in ge_b850v3_lvds_remove()
262 ge_b850v3_lvds_ptr = NULL; in ge_b850v3_lvds_remove()
269 struct i2c_client *stdp4028_i2c = ge_b850v3_lvds_ptr->stdp4028_i2c; in ge_b850v3_register()
273 ge_b850v3_lvds_ptr->bridge.funcs = &ge_b850v3_lvds_funcs; in ge_b850v3_register()
274 ge_b850v3_lvds_ptr->bridge.ops = DRM_BRIDGE_OP_DETECT | in ge_b850v3_register()
276 ge_b850v3_lvds_ptr->bridge.type = DRM_MODE_CONNECTOR_DisplayPort; in ge_b850v3_register()
277 ge_b850v3_lvds_ptr->bridge.of_node = dev->of_node; in ge_b850v3_register()
278 drm_bridge_add(&ge_b850v3_lvds_ptr->bridge); in ge_b850v3_register()
292 "ge-b850v3-lvds-dp", ge_b850v3_lvds_ptr); in ge_b850v3_register()
305 ge_b850v3_lvds_ptr->stdp4028_i2c = stdp4028_i2c; in stdp4028_ge_b850v3_fw_probe()
306 i2c_set_clientdata(stdp4028_i2c, ge_b850v3_lvds_ptr); in stdp4028_ge_b850v3_fw_probe()
309 if (!ge_b850v3_lvds_ptr->stdp2690_i2c) in stdp4028_ge_b850v3_fw_probe()
352 ge_b850v3_lvds_ptr->stdp2690_i2c = stdp2690_i2c; in stdp2690_ge_b850v3_fw_probe()
353 i2c_set_clientdata(stdp2690_i2c, ge_b850v3_lvds_ptr); in stdp2690_ge_b850v3_fw_probe()
356 if (!ge_b850v3_lvds_ptr->stdp4028_i2c) in stdp2690_ge_b850v3_fw_probe()