Lines Matching refs:dev
34 int (*attach)(struct udevice *dev);
42 * @dev: Device to check
45 int (*check_attached)(struct udevice *dev);
50 * @dev: device to adjust
54 int (*set_backlight)(struct udevice *dev, int percent);
59 * @dev: Device to read from
64 int (*read_edid)(struct udevice *dev, u8 *buf, int buf_size);
67 #define video_bridge_get_ops(dev) \
68 ((struct video_bridge_ops *)(dev)->driver->ops)
75 int video_bridge_attach(struct udevice *dev);
83 int video_bridge_set_backlight(struct udevice *dev, int percent);
88 * @dev: Device to adjust
91 int video_bridge_set_active(struct udevice *dev, bool active);
96 * @dev: Device to check
99 int video_bridge_check_attached(struct udevice *dev);
104 * @dev: Device to read from
109 int video_bridge_read_edid(struct udevice *dev, u8 *buf, int buf_size);