Lines Matching refs:_hdq
98 static u8 omap_w1_read_byte(void *_hdq);
99 static void omap_w1_write_byte(void *_hdq, u8 byte);
100 static u8 omap_w1_reset_bus(void *_hdq);
226 static irqreturn_t hdq_isr(int irq, void *_hdq) in hdq_isr() argument
228 struct hdq_data *hdq_data = _hdq; in hdq_isr()
247 static void omap_w1_search_bus(void *_hdq, struct w1_master *master_dev, in omap_w1_search_bus() argument
505 static u8 omap_w1_triplet(void *_hdq, u8 bdir) in omap_w1_triplet() argument
510 struct hdq_data *hdq_data = _hdq; in omap_w1_triplet()
515 omap_hdq_get(_hdq); in omap_w1_triplet()
525 hdq_reg_merge(_hdq, OMAP_HDQ_CTRL_STATUS, in omap_w1_triplet()
535 id_bit = (hdq_reg_in(_hdq, OMAP_HDQ_RX_DATA) & 0x01); in omap_w1_triplet()
539 hdq_reg_merge(_hdq, OMAP_HDQ_CTRL_STATUS, in omap_w1_triplet()
549 comp_bit = (hdq_reg_in(_hdq, OMAP_HDQ_RX_DATA) & 0x01); in omap_w1_triplet()
565 hdq_reg_out(_hdq, OMAP_HDQ_TX_DATA, bdir); in omap_w1_triplet()
566 hdq_reg_merge(_hdq, OMAP_HDQ_CTRL_STATUS, ctrl, mask); in omap_w1_triplet()
576 hdq_reg_merge(_hdq, OMAP_HDQ_CTRL_STATUS, 0, in omap_w1_triplet()
582 omap_hdq_put(_hdq); in omap_w1_triplet()
587 static u8 omap_w1_reset_bus(void *_hdq) in omap_w1_reset_bus() argument
589 omap_hdq_get(_hdq); in omap_w1_reset_bus()
590 omap_hdq_break(_hdq); in omap_w1_reset_bus()
591 omap_hdq_put(_hdq); in omap_w1_reset_bus()
596 static u8 omap_w1_read_byte(void *_hdq) in omap_w1_read_byte() argument
598 struct hdq_data *hdq_data = _hdq; in omap_w1_read_byte()
639 static void omap_w1_write_byte(void *_hdq, u8 byte) in omap_w1_write_byte() argument
641 struct hdq_data *hdq_data = _hdq; in omap_w1_write_byte()