Lines Matching defs:pt1

81 struct pt1 {  struct
86 struct pt1_adapter *adaps[PT1_NR_ADAPS]; argument
87 struct pt1_table *tables; argument
96 enum pt1_fe_clk fe_clk; argument
100 struct pt1 *pt1; argument
263 static void pt1_write_reg(struct pt1 *pt1, int reg, u32 data) in pt1_write_reg()
268 static u32 pt1_read_reg(struct pt1 *pt1, int reg) in pt1_read_reg()
276 static void pt1_increment_table_count(struct pt1 *pt1) in pt1_increment_table_count()
281 static void pt1_init_table_count(struct pt1 *pt1) in pt1_init_table_count()
286 static void pt1_register_tables(struct pt1 *pt1, u32 first_pfn) in pt1_register_tables()
292 static void pt1_unregister_tables(struct pt1 *pt1) in pt1_unregister_tables()
297 static int pt1_sync(struct pt1 *pt1) in pt1_sync()
309 static u64 pt1_identify(struct pt1 *pt1) in pt1_identify()
321 static int pt1_unlock(struct pt1 *pt1) in pt1_unlock()
334 static int pt1_reset_pci(struct pt1 *pt1) in pt1_reset_pci()
348 static int pt1_reset_ram(struct pt1 *pt1) in pt1_reset_ram()
362 static int pt1_do_enable_ram(struct pt1 *pt1) in pt1_do_enable_ram()
379 static int pt1_enable_ram(struct pt1 *pt1) in pt1_enable_ram()
393 static void pt1_disable_ram(struct pt1 *pt1) in pt1_disable_ram()
398 static void pt1_set_stream(struct pt1 *pt1, int index, int enabled) in pt1_set_stream()
403 static void pt1_init_streams(struct pt1 *pt1) in pt1_init_streams()
410 static int pt1_filter(struct pt1 *pt1, struct pt1_buffer_page *page) in pt1_filter()
466 struct pt1 *pt1; in pt1_thread() local
507 static void pt1_free_page(struct pt1 *pt1, void *page, dma_addr_t addr) in pt1_free_page()
512 static void *pt1_alloc_page(struct pt1 *pt1, dma_addr_t *addrp, u32 *pfnp) in pt1_alloc_page()
530 static void pt1_cleanup_buffer(struct pt1 *pt1, struct pt1_buffer *buf) in pt1_cleanup_buffer()
536 pt1_init_buffer(struct pt1 *pt1, struct pt1_buffer *buf, u32 *pfnp) in pt1_init_buffer()
552 static void pt1_cleanup_table(struct pt1 *pt1, struct pt1_table *table) in pt1_cleanup_table()
563 pt1_init_table(struct pt1 *pt1, struct pt1_table *table, u32 *pfnp) in pt1_init_table()
595 static void pt1_cleanup_tables(struct pt1 *pt1) in pt1_cleanup_tables()
609 static int pt1_init_tables(struct pt1 *pt1) in pt1_init_tables()
652 static int pt1_start_polling(struct pt1 *pt1) in pt1_start_polling()
683 static void pt1_stop_polling(struct pt1 *pt1) in pt1_stop_polling()
710 pt1_update_power(struct pt1 *pt1) in pt1_update_power()
803 pt1_alloc_adapter(struct pt1 *pt1) in pt1_alloc_adapter()
875 static void pt1_cleanup_adapters(struct pt1 *pt1) in pt1_cleanup_adapters()
882 static int pt1_init_adapters(struct pt1 *pt1) in pt1_init_adapters()
933 static void pt1_cleanup_frontends(struct pt1 *pt1) in pt1_cleanup_frontends()
940 static int pt1_init_frontends(struct pt1 *pt1) in pt1_init_frontends()
1007 static void pt1_i2c_emit(struct pt1 *pt1, int addr, int busy, int read_enable, in pt1_i2c_emit()
1014 static void pt1_i2c_write_bit(struct pt1 *pt1, int addr, int *addrp, int data) in pt1_i2c_write_bit()
1022 static void pt1_i2c_read_bit(struct pt1 *pt1, int addr, int *addrp) in pt1_i2c_read_bit()
1031 static void pt1_i2c_write_byte(struct pt1 *pt1, int addr, int *addrp, int data) in pt1_i2c_write_byte()
1040 static void pt1_i2c_read_byte(struct pt1 *pt1, int addr, int *addrp, int last) in pt1_i2c_read_byte()
1049 static void pt1_i2c_prepare(struct pt1 *pt1, int addr, int *addrp) in pt1_i2c_prepare()
1058 pt1_i2c_write_msg(struct pt1 *pt1, int addr, int *addrp, struct i2c_msg *msg) in pt1_i2c_write_msg()
1069 pt1_i2c_read_msg(struct pt1 *pt1, int addr, int *addrp, struct i2c_msg *msg) in pt1_i2c_read_msg()
1079 static int pt1_i2c_end(struct pt1 *pt1, int addr) in pt1_i2c_end()
1094 static void pt1_i2c_begin(struct pt1 *pt1, int *addrp) in pt1_i2c_begin()
1113 struct pt1 *pt1; in pt1_i2c_xfer() local
1173 static void pt1_i2c_wait(struct pt1 *pt1) in pt1_i2c_wait()
1180 static void pt1_i2c_init(struct pt1 *pt1) in pt1_i2c_init()
1192 struct pt1 *pt1 = pci_get_drvdata(pdev); in pt1_suspend() local
1205 struct pt1 *pt1 = pci_get_drvdata(pdev); in pt1_resume() local
1281 struct pt1 *pt1; in pt1_remove() local
1307 struct pt1 *pt1; in pt1_probe() local