Lines Matching defs:pt1
72 struct pt1 { struct
77 struct pt1_adapter *adaps[PT1_NR_ADAPS]; argument
78 struct pt1_table *tables; argument
87 struct pt1 *pt1; argument
109 #define pt1_printk(level, pt1, format, arg...) \ 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()
305 struct pt1 *pt1; in pt1_thread() local
336 static void pt1_free_page(struct pt1 *pt1, void *page, dma_addr_t addr) in pt1_free_page()
341 static void *pt1_alloc_page(struct pt1 *pt1, dma_addr_t *addrp, u32 *pfnp) in pt1_alloc_page()
359 static void pt1_cleanup_buffer(struct pt1 *pt1, struct pt1_buffer *buf) in pt1_cleanup_buffer()
365 pt1_init_buffer(struct pt1 *pt1, struct pt1_buffer *buf, u32 *pfnp) in pt1_init_buffer()
381 static void pt1_cleanup_table(struct pt1 *pt1, struct pt1_table *table) in pt1_cleanup_table()
392 pt1_init_table(struct pt1 *pt1, struct pt1_table *table, u32 *pfnp) in pt1_init_table()
424 static void pt1_cleanup_tables(struct pt1 *pt1) in pt1_cleanup_tables()
438 static int pt1_init_tables(struct pt1 *pt1) in pt1_init_tables()
499 pt1_update_power(struct pt1 *pt1) in pt1_update_power()
590 pt1_alloc_adapter(struct pt1 *pt1) in pt1_alloc_adapter()
663 static void pt1_cleanup_adapters(struct pt1 *pt1) in pt1_cleanup_adapters()
670 static int pt1_init_adapters(struct pt1 *pt1) in pt1_init_adapters()
719 static void pt1_cleanup_frontends(struct pt1 *pt1) in pt1_cleanup_frontends()
775 static int pt1_init_frontends(struct pt1 *pt1) in pt1_init_frontends()
835 static void pt1_i2c_emit(struct pt1 *pt1, int addr, int busy, int read_enable, in pt1_i2c_emit()
842 static void pt1_i2c_write_bit(struct pt1 *pt1, int addr, int *addrp, int data) in pt1_i2c_write_bit()
850 static void pt1_i2c_read_bit(struct pt1 *pt1, int addr, int *addrp) in pt1_i2c_read_bit()
859 static void pt1_i2c_write_byte(struct pt1 *pt1, int addr, int *addrp, int data) in pt1_i2c_write_byte()
868 static void pt1_i2c_read_byte(struct pt1 *pt1, int addr, int *addrp, int last) in pt1_i2c_read_byte()
877 static void pt1_i2c_prepare(struct pt1 *pt1, int addr, int *addrp) in pt1_i2c_prepare()
886 pt1_i2c_write_msg(struct pt1 *pt1, int addr, int *addrp, struct i2c_msg *msg) in pt1_i2c_write_msg()
897 pt1_i2c_read_msg(struct pt1 *pt1, int addr, int *addrp, struct i2c_msg *msg) in pt1_i2c_read_msg()
907 static int pt1_i2c_end(struct pt1 *pt1, int addr) in pt1_i2c_end()
922 static void pt1_i2c_begin(struct pt1 *pt1, int *addrp) in pt1_i2c_begin()
941 struct pt1 *pt1; in pt1_i2c_xfer() local
1001 static void pt1_i2c_wait(struct pt1 *pt1) in pt1_i2c_wait()
1008 static void pt1_i2c_init(struct pt1 *pt1) in pt1_i2c_init()
1017 struct pt1 *pt1; in pt1_remove() local
1044 struct pt1 *pt1; in pt1_probe() local