Lines Matching defs:dev

62 static void thc_clear_state(const struct thc_device *dev)  in thc_clear_state()
229 static int prepare_pio(const struct thc_device *dev, const u8 pio_op, in prepare_pio()
267 static void pio_start(const struct thc_device *dev, in pio_start()
281 static int pio_complete(const struct thc_device *dev, in pio_complete()
305 static int pio_wait(const struct thc_device *dev) in pio_wait()
331 int thc_tic_pio_read(struct thc_device *dev, const u32 address, in thc_tic_pio_read()
377 int thc_tic_pio_write(struct thc_device *dev, const u32 address, in thc_tic_pio_write()
426 int thc_tic_pio_write_and_read(struct thc_device *dev, const u32 address, in thc_tic_pio_write_and_read()
475 void thc_interrupt_config(struct thc_device *dev) in thc_interrupt_config()
610 void thc_int_trigger_type_select(struct thc_device *dev, bool edge_trigger) in thc_int_trigger_type_select()
624 void thc_interrupt_enable(struct thc_device *dev, bool int_enable) in thc_interrupt_enable()
640 int thc_interrupt_quiesce(const struct thc_device *dev, bool int_quiesce) in thc_interrupt_quiesce()
687 void thc_set_pio_interrupt_support(struct thc_device *dev, bool supported) in thc_set_pio_interrupt_support()
700 void thc_ltr_config(struct thc_device *dev, u32 active_ltr_us, u32 lp_ltr_us) in thc_ltr_config()
767 void thc_change_ltr_mode(struct thc_device *dev, u32 ltr_mode) in thc_change_ltr_mode()
791 void thc_ltr_unconfig(struct thc_device *dev) in thc_ltr_unconfig()
814 u32 thc_int_cause_read(struct thc_device *dev) in thc_int_cause_read()
825 static void thc_print_txn_error_cause(const struct thc_device *dev) in thc_print_txn_error_cause()
872 int thc_interrupt_handler(struct thc_device *dev) in thc_interrupt_handler()
1074 int thc_port_select(struct thc_device *dev, enum thc_port_type port_type) in thc_port_select()
1124 static u8 thc_get_spi_freq_div_val(struct thc_device *dev, u32 spi_freq_val) in thc_get_spi_freq_div_val()
1179 int thc_spi_read_config(struct thc_device *dev, u32 spi_freq_val, in thc_spi_read_config()
1231 int thc_spi_write_config(struct thc_device *dev, u32 spi_freq_val, in thc_spi_write_config()
1281 void thc_spi_input_output_address_config(struct thc_device *dev, u32 input_hdr_addr, in thc_spi_input_output_address_config()
1295 static int thc_i2c_subip_pio_read(struct thc_device *dev, const u32 address, in thc_i2c_subip_pio_read()
1333 static int thc_i2c_subip_pio_write(struct thc_device *dev, const u32 address, in thc_i2c_subip_pio_write()
1378 static int thc_i2c_subip_set_speed(struct thc_device *dev, const u32 speed, in thc_i2c_subip_set_speed()
1453 int thc_i2c_subip_init(struct thc_device *dev, const u32 target_address, in thc_i2c_subip_init()
1537 int thc_i2c_subip_regs_save(struct thc_device *dev) in thc_i2c_subip_regs_save()
1560 int thc_i2c_subip_regs_restore(struct thc_device *dev) in thc_i2c_subip_regs_restore()
1585 int thc_i2c_set_rx_max_size(struct thc_device *dev, u32 max_rx_size) in thc_i2c_set_rx_max_size()
1623 int thc_i2c_rx_max_size_enable(struct thc_device *dev, bool enable) in thc_i2c_rx_max_size_enable()
1654 int thc_i2c_set_rx_int_delay(struct thc_device *dev, u32 delay_us) in thc_i2c_set_rx_int_delay()
1693 int thc_i2c_rx_int_delay_enable(struct thc_device *dev, bool enable) in thc_i2c_rx_int_delay_enable()