Home
last modified time | relevance | path

Searched refs:hdmi_device (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/media/platform/s5p-tv/
Dhdmi_drv.c74 struct hdmi_device { struct
111 static struct hdmi_device *sd_to_hdmi_dev(struct v4l2_subdev *sd) in sd_to_hdmi_dev() argument
113 return container_of(sd, struct hdmi_device, sd); in sd_to_hdmi_dev()
117 void hdmi_write(struct hdmi_device *hdev, u32 reg_id, u32 value) in hdmi_write()
123 void hdmi_write_mask(struct hdmi_device *hdev, u32 reg_id, u32 value, u32 mask) in hdmi_write_mask()
131 void hdmi_writeb(struct hdmi_device *hdev, u32 reg_id, u8 value) in hdmi_writeb()
137 void hdmi_writebn(struct hdmi_device *hdev, u32 reg_id, int n, u32 value) in hdmi_writebn()
151 static inline u32 hdmi_read(struct hdmi_device *hdev, u32 reg_id) in hdmi_read()
158 struct hdmi_device *hdev = dev_data; in hdmi_irq_handler()
178 static void hdmi_reg_init(struct hdmi_device *hdev) in hdmi_reg_init()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_drm.c364 drm->hdmi_device = NULL; in nouveau_get_hdmi_dev()
369 drm->hdmi_device = pci_get_bus_and_slot((unsigned int)pdev->bus->number, in nouveau_get_hdmi_dev()
372 if (!drm->hdmi_device) { in nouveau_get_hdmi_dev()
377 if ((drm->hdmi_device->class >> 8) != PCI_CLASS_MULTIMEDIA_HD_AUDIO) { in nouveau_get_hdmi_dev()
378 NV_DEBUG(drm, "possible hdmi device not audio %d\n", drm->hdmi_device->class); in nouveau_get_hdmi_dev()
379 pci_dev_put(drm->hdmi_device); in nouveau_get_hdmi_dev()
380 drm->hdmi_device = NULL; in nouveau_get_hdmi_dev()
501 if (drm->hdmi_device) in nouveau_drm_unload()
502 pci_dev_put(drm->hdmi_device); in nouveau_drm_unload()
766 if (drm->hdmi_device) { in nouveau_pmops_runtime_idle()
[all …]
Dnouveau_drm.h173 struct pci_dev *hdmi_device; member