Lines Matching refs:hdmi_dev
35 #define HDMI_READ(reg) readl(hdmi_dev->regs + (reg))
36 #define HDMI_WRITE(reg, val) writel(val, hdmi_dev->regs + (reg))
77 static void hdmi_i2c_irq_enable(struct oaktrail_hdmi_dev *hdmi_dev) in hdmi_i2c_irq_enable() argument
87 static void hdmi_i2c_irq_disable(struct oaktrail_hdmi_dev *hdmi_dev) in hdmi_i2c_irq_disable() argument
95 struct oaktrail_hdmi_dev *hdmi_dev = i2c_get_adapdata(adap); in xfer_read() local
96 struct hdmi_i2c_dev *i2c_dev = hdmi_dev->i2c_dev; in xfer_read()
128 struct oaktrail_hdmi_dev *hdmi_dev = i2c_get_adapdata(adap); in oaktrail_hdmi_i2c_access() local
129 struct hdmi_i2c_dev *i2c_dev = hdmi_dev->i2c_dev; in oaktrail_hdmi_i2c_access()
138 hdmi_i2c_irq_enable(hdmi_dev); in oaktrail_hdmi_i2c_access()
150 hdmi_i2c_irq_disable(hdmi_dev); in oaktrail_hdmi_i2c_access()
175 static void hdmi_i2c_read(struct oaktrail_hdmi_dev *hdmi_dev) in hdmi_i2c_read() argument
177 struct hdmi_i2c_dev *i2c_dev = hdmi_dev->i2c_dev; in hdmi_i2c_read()
204 static void hdmi_i2c_transaction_done(struct oaktrail_hdmi_dev *hdmi_dev) in hdmi_i2c_transaction_done() argument
206 struct hdmi_i2c_dev *i2c_dev = hdmi_dev->i2c_dev; in hdmi_i2c_transaction_done()
225 struct oaktrail_hdmi_dev *hdmi_dev = dev; in oaktrail_hdmi_i2c_handler() local
226 struct hdmi_i2c_dev *i2c_dev = hdmi_dev->i2c_dev; in oaktrail_hdmi_i2c_handler()
237 hdmi_i2c_read(hdmi_dev); in oaktrail_hdmi_i2c_handler()
240 hdmi_i2c_transaction_done(hdmi_dev); in oaktrail_hdmi_i2c_handler()
275 struct oaktrail_hdmi_dev *hdmi_dev; in oaktrail_hdmi_i2c_init() local
279 hdmi_dev = pci_get_drvdata(dev); in oaktrail_hdmi_i2c_init()
289 i2c_set_adapdata(&oaktrail_hdmi_i2c_adapter, hdmi_dev); in oaktrail_hdmi_i2c_init()
290 hdmi_dev->i2c_dev = i2c_dev; in oaktrail_hdmi_i2c_init()
297 oaktrail_hdmi_i2c_adapter.name, hdmi_dev); in oaktrail_hdmi_i2c_init()
313 free_irq(dev->irq, hdmi_dev); in oaktrail_hdmi_i2c_init()
322 struct oaktrail_hdmi_dev *hdmi_dev; in oaktrail_hdmi_i2c_exit() local
325 hdmi_dev = pci_get_drvdata(dev); in oaktrail_hdmi_i2c_exit()
328 i2c_dev = hdmi_dev->i2c_dev; in oaktrail_hdmi_i2c_exit()
330 free_irq(dev->irq, hdmi_dev); in oaktrail_hdmi_i2c_exit()