Lines Matching defs:pt1

73 struct pt1 {  struct
78 struct pt1_adapter *adaps[PT1_NR_ADAPS]; argument
79 struct pt1_table *tables; argument
90 struct pt1 *pt1; argument
112 static void pt1_write_reg(struct pt1 *pt1, int reg, u32 data) in pt1_write_reg()
117 static u32 pt1_read_reg(struct pt1 *pt1, int reg) in pt1_read_reg()
125 static void pt1_increment_table_count(struct pt1 *pt1) in pt1_increment_table_count()
130 static void pt1_init_table_count(struct pt1 *pt1) in pt1_init_table_count()
135 static void pt1_register_tables(struct pt1 *pt1, u32 first_pfn) in pt1_register_tables()
141 static void pt1_unregister_tables(struct pt1 *pt1) in pt1_unregister_tables()
146 static int pt1_sync(struct pt1 *pt1) in pt1_sync()
158 static u64 pt1_identify(struct pt1 *pt1) in pt1_identify()
170 static int pt1_unlock(struct pt1 *pt1) in pt1_unlock()
183 static int pt1_reset_pci(struct pt1 *pt1) in pt1_reset_pci()
197 static int pt1_reset_ram(struct pt1 *pt1) in pt1_reset_ram()
211 static int pt1_do_enable_ram(struct pt1 *pt1) in pt1_do_enable_ram()
228 static int pt1_enable_ram(struct pt1 *pt1) in pt1_enable_ram()
242 static void pt1_disable_ram(struct pt1 *pt1) in pt1_disable_ram()
247 static void pt1_set_stream(struct pt1 *pt1, int index, int enabled) in pt1_set_stream()
252 static void pt1_init_streams(struct pt1 *pt1) in pt1_init_streams()
259 static int pt1_filter(struct pt1 *pt1, struct pt1_buffer_page *page) in pt1_filter()
316 struct pt1 *pt1; in pt1_thread() local
342 static void pt1_free_page(struct pt1 *pt1, void *page, dma_addr_t addr) in pt1_free_page()
347 static void *pt1_alloc_page(struct pt1 *pt1, dma_addr_t *addrp, u32 *pfnp) in pt1_alloc_page()
365 static void pt1_cleanup_buffer(struct pt1 *pt1, struct pt1_buffer *buf) in pt1_cleanup_buffer()
371 pt1_init_buffer(struct pt1 *pt1, struct pt1_buffer *buf, u32 *pfnp) in pt1_init_buffer()
387 static void pt1_cleanup_table(struct pt1 *pt1, struct pt1_table *table) in pt1_cleanup_table()
398 pt1_init_table(struct pt1 *pt1, struct pt1_table *table, u32 *pfnp) in pt1_init_table()
430 static void pt1_cleanup_tables(struct pt1 *pt1) in pt1_cleanup_tables()
444 static int pt1_init_tables(struct pt1 *pt1) in pt1_init_tables()
486 static int pt1_start_polling(struct pt1 *pt1) in pt1_start_polling()
517 static void pt1_stop_polling(struct pt1 *pt1) in pt1_stop_polling()
544 pt1_update_power(struct pt1 *pt1) in pt1_update_power()
634 pt1_alloc_adapter(struct pt1 *pt1) in pt1_alloc_adapter()
706 static void pt1_cleanup_adapters(struct pt1 *pt1) in pt1_cleanup_adapters()
713 static int pt1_init_adapters(struct pt1 *pt1) in pt1_init_adapters()
762 static void pt1_cleanup_frontends(struct pt1 *pt1) in pt1_cleanup_frontends()
818 static int pt1_init_frontends(struct pt1 *pt1) in pt1_init_frontends()
878 static void pt1_i2c_emit(struct pt1 *pt1, int addr, int busy, int read_enable, in pt1_i2c_emit()
885 static void pt1_i2c_write_bit(struct pt1 *pt1, int addr, int *addrp, int data) in pt1_i2c_write_bit()
893 static void pt1_i2c_read_bit(struct pt1 *pt1, int addr, int *addrp) in pt1_i2c_read_bit()
902 static void pt1_i2c_write_byte(struct pt1 *pt1, int addr, int *addrp, int data) in pt1_i2c_write_byte()
911 static void pt1_i2c_read_byte(struct pt1 *pt1, int addr, int *addrp, int last) in pt1_i2c_read_byte()
920 static void pt1_i2c_prepare(struct pt1 *pt1, int addr, int *addrp) in pt1_i2c_prepare()
929 pt1_i2c_write_msg(struct pt1 *pt1, int addr, int *addrp, struct i2c_msg *msg) in pt1_i2c_write_msg()
940 pt1_i2c_read_msg(struct pt1 *pt1, int addr, int *addrp, struct i2c_msg *msg) in pt1_i2c_read_msg()
950 static int pt1_i2c_end(struct pt1 *pt1, int addr) in pt1_i2c_end()
965 static void pt1_i2c_begin(struct pt1 *pt1, int *addrp) in pt1_i2c_begin()
984 struct pt1 *pt1; in pt1_i2c_xfer() local
1044 static void pt1_i2c_wait(struct pt1 *pt1) in pt1_i2c_wait()
1051 static void pt1_i2c_init(struct pt1 *pt1) in pt1_i2c_init()
1060 struct pt1 *pt1; in pt1_remove() local
1086 struct pt1 *pt1; in pt1_probe() local