Lines Matching refs:ops
14 struct dm_display_ops *ops = display_get_ops(dev); in display_read_edid() local
16 if (!ops || !ops->read_edid) in display_read_edid()
18 return ops->read_edid(dev, buf, buf_size); in display_read_edid()
24 struct dm_display_ops *ops = display_get_ops(dev); in display_enable() local
28 if (!ops || !ops->enable) in display_enable()
30 ret = ops->enable(dev, panel_bpp, timing); in display_enable()
43 struct dm_display_ops *ops = display_get_ops(dev); in display_mode_valid() local
45 if (ops && ops->mode_valid) in display_mode_valid()
46 return ops->mode_valid(dev, timing); in display_mode_valid()
53 struct dm_display_ops *ops = display_get_ops(dev); in display_read_timing() local
58 if (ops && ops->read_timing) in display_read_timing()
59 return ops->read_timing(dev, timing); in display_read_timing()
61 if (!ops || !ops->read_edid) in display_read_timing()
63 ret = ops->read_edid(dev, buf, sizeof(buf)); in display_read_timing()