Lines Matching refs:nvt_dev
37 static void nvt_clear_cir_wake_fifo(struct nvt_dev *nvt);
46 static inline struct device *nvt_get_dev(const struct nvt_dev *nvt) in nvt_get_dev()
51 static inline bool is_w83667hg(struct nvt_dev *nvt) in is_w83667hg()
57 static inline void nvt_cr_write(struct nvt_dev *nvt, u8 val, u8 reg) in nvt_cr_write()
64 static inline u8 nvt_cr_read(struct nvt_dev *nvt, u8 reg) in nvt_cr_read()
71 static inline void nvt_set_reg_bit(struct nvt_dev *nvt, u8 val, u8 reg) in nvt_set_reg_bit()
78 static inline int nvt_efm_enable(struct nvt_dev *nvt) in nvt_efm_enable()
91 static inline void nvt_efm_disable(struct nvt_dev *nvt) in nvt_efm_disable()
103 static inline void nvt_select_logical_dev(struct nvt_dev *nvt, u8 ldev) in nvt_select_logical_dev()
109 static inline void nvt_enable_logical_dev(struct nvt_dev *nvt, u8 ldev) in nvt_enable_logical_dev()
118 static inline void nvt_disable_logical_dev(struct nvt_dev *nvt, u8 ldev) in nvt_disable_logical_dev()
127 static inline void nvt_cir_reg_write(struct nvt_dev *nvt, u8 val, u8 offset) in nvt_cir_reg_write()
133 static u8 nvt_cir_reg_read(struct nvt_dev *nvt, u8 offset) in nvt_cir_reg_read()
139 static inline void nvt_cir_wake_reg_write(struct nvt_dev *nvt, in nvt_cir_wake_reg_write()
146 static u8 nvt_cir_wake_reg_read(struct nvt_dev *nvt, u8 offset) in nvt_cir_wake_reg_read()
152 static void nvt_set_ioaddr(struct nvt_dev *nvt, unsigned long *ioaddr) in nvt_set_ioaddr()
171 struct nvt_dev *nvt = dev->priv; in nvt_write_wakeup_codes()
208 struct nvt_dev *nvt = rc_dev->priv; in wakeup_data_show()
280 static void cir_dump_regs(struct nvt_dev *nvt) in cir_dump_regs()
316 static void cir_wake_dump_regs(struct nvt_dev *nvt) in cir_wake_dump_regs()
378 static inline const char *nvt_find_chip(struct nvt_dev *nvt, int id) in nvt_find_chip()
393 static int nvt_hw_detect(struct nvt_dev *nvt) in nvt_hw_detect()
434 static void nvt_cir_ldev_init(struct nvt_dev *nvt) in nvt_cir_ldev_init()
465 static void nvt_cir_wake_ldev_init(struct nvt_dev *nvt) in nvt_cir_wake_ldev_init()
487 static void nvt_clear_cir_fifo(struct nvt_dev *nvt) in nvt_clear_cir_fifo()
494 static void nvt_clear_cir_wake_fifo(struct nvt_dev *nvt) in nvt_clear_cir_wake_fifo()
512 static void nvt_clear_tx_fifo(struct nvt_dev *nvt) in nvt_clear_tx_fifo()
521 static void nvt_set_cir_iren(struct nvt_dev *nvt) in nvt_set_cir_iren()
529 static void nvt_cir_regs_init(struct nvt_dev *nvt) in nvt_cir_regs_init()
548 static void nvt_cir_wake_regs_init(struct nvt_dev *nvt) in nvt_cir_wake_regs_init()
565 static void nvt_enable_wake(struct nvt_dev *nvt) in nvt_enable_wake()
594 static u32 nvt_rx_carrier_detect(struct nvt_dev *nvt)
684 static void nvt_dump_rx_buf(struct nvt_dev *nvt) in nvt_dump_rx_buf()
706 static void nvt_process_rx_ir_data(struct nvt_dev *nvt) in nvt_process_rx_ir_data()
739 static void nvt_handle_rx_fifo_overrun(struct nvt_dev *nvt) in nvt_handle_rx_fifo_overrun()
749 static void nvt_get_rx_ir_data(struct nvt_dev *nvt) in nvt_get_rx_ir_data()
789 struct nvt_dev *nvt = data; in nvt_cir_isr()
847 static void nvt_enable_cir(struct nvt_dev *nvt) in nvt_enable_cir()
873 static void nvt_disable_cir(struct nvt_dev *nvt) in nvt_disable_cir()
900 struct nvt_dev *nvt = dev->priv; in nvt_open()
909 struct nvt_dev *nvt = dev->priv; in nvt_close()
917 struct nvt_dev *nvt; in nvt_probe()
921 nvt = devm_kzalloc(&pdev->dev, sizeof(struct nvt_dev), GFP_KERNEL); in nvt_probe()
1043 struct nvt_dev *nvt = pnp_get_drvdata(pdev); in nvt_remove()
1055 struct nvt_dev *nvt = pnp_get_drvdata(pdev); in nvt_suspend()
1072 struct nvt_dev *nvt = pnp_get_drvdata(pdev); in nvt_resume()
1089 struct nvt_dev *nvt = pnp_get_drvdata(pdev); in nvt_shutdown()