Lines Matching refs:thc_device

72 struct thc_device {  struct
99 struct thc_device *thc_dev_init(struct device *device, void __iomem *mem_addr); argument
100 int thc_tic_pio_read(struct thc_device *dev, const u32 address,
102 int thc_tic_pio_write(struct thc_device *dev, const u32 address,
104 int thc_tic_pio_write_and_read(struct thc_device *dev, const u32 address,
107 void thc_interrupt_config(struct thc_device *dev);
108 void thc_int_trigger_type_select(struct thc_device *dev, bool edge_trigger);
109 void thc_interrupt_enable(struct thc_device *dev, bool int_enable);
110 void thc_set_pio_interrupt_support(struct thc_device *dev, bool supported);
111 int thc_interrupt_quiesce(const struct thc_device *dev, bool int_quiesce);
112 void thc_ltr_config(struct thc_device *dev, u32 active_ltr_us, u32 lp_ltr_us);
113 void thc_change_ltr_mode(struct thc_device *dev, u32 ltr_mode);
114 void thc_ltr_unconfig(struct thc_device *dev);
115 u32 thc_int_cause_read(struct thc_device *dev);
116 int thc_interrupt_handler(struct thc_device *dev);
117 int thc_port_select(struct thc_device *dev, enum thc_port_type port_type);
118 int thc_spi_read_config(struct thc_device *dev, u32 spi_freq_val,
120 int thc_spi_write_config(struct thc_device *dev, u32 spi_freq_val,
122 void thc_spi_input_output_address_config(struct thc_device *dev, u32 input_hdr_addr,
124 int thc_i2c_subip_init(struct thc_device *dev, const u32 target_address,
126 int thc_i2c_subip_regs_save(struct thc_device *dev);
127 int thc_i2c_subip_regs_restore(struct thc_device *dev);
128 int thc_i2c_set_rx_max_size(struct thc_device *dev, u32 max_rx_size);
129 int thc_i2c_rx_max_size_enable(struct thc_device *dev, bool enable);
130 int thc_i2c_set_rx_int_delay(struct thc_device *dev, u32 delay_us);
131 int thc_i2c_rx_int_delay_enable(struct thc_device *dev, bool enable);