Searched refs:thc_device (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/drivers/hid/intel-thc-hid/intel-thc/ |
| H A D | intel-thc-dev.h | 66 struct thc_device { struct 87 int thc_tic_pio_read(struct thc_device *dev, const u32 address, 89 int thc_tic_pio_write(struct thc_device *dev, const u32 address, 94 void thc_interrupt_config(struct thc_device *dev); 100 void thc_change_ltr_mode(struct thc_device *dev, u32 ltr_mode); 101 void thc_ltr_unconfig(struct thc_device *dev); 102 u32 thc_int_cause_read(struct thc_device *dev); 103 int thc_interrupt_handler(struct thc_device *dev); 105 int thc_spi_read_config(struct thc_device *dev, u32 spi_freq_val, 113 int thc_i2c_subip_regs_save(struct thc_device *dev); [all …]
|
| H A D | intel-thc-dma.h | 129 struct thc_device; 131 int thc_dma_set_max_packet_sizes(struct thc_device *dev, 134 int thc_dma_allocate(struct thc_device *dev); 135 int thc_dma_configure(struct thc_device *dev); 136 void thc_dma_unconfigure(struct thc_device *dev); 137 void thc_dma_release(struct thc_device *dev); 138 int thc_rxdma_read(struct thc_device *dev, enum thc_dma_channel dma_channel, 140 int thc_swdma_read(struct thc_device *dev, void *write_buff, size_t write_len, 142 int thc_dma_write(struct thc_device *dev, void *buffer, size_t buf_len); 144 struct thc_dma_context *thc_dma_init(struct thc_device *dev);
|
| H A D | intel-thc-dma.c | 29 static void dma_set_start_bit(struct thc_device *dev, in dma_set_start_bit() 133 static u8 dma_get_read_pointer(struct thc_device *dev, in dma_get_read_pointer() 220 static int setup_dma_buffers(struct thc_device *dev, in setup_dma_buffers() 410 int thc_dma_allocate(struct thc_device *dev) in thc_dma_allocate() 438 void thc_dma_release(struct thc_device *dev) in thc_dma_release() 480 int thc_dma_configure(struct thc_device *dev) in thc_dma_configure() 516 void thc_dma_unconfigure(struct thc_device *dev) in thc_dma_unconfigure() 562 static int read_dma_buffer(struct thc_device *dev, in read_dma_buffer() 609 static int is_dma_buf_empty(struct thc_device *dev, in is_dma_buf_empty() 623 static int thc_dma_read(struct thc_device *dev, in thc_dma_read() [all …]
|
| H A D | intel-thc-dev.c | 13 struct thc_device *thc_ctx = context; in thc_regmap_read() 23 struct thc_device *thc_ctx = context; in thc_regmap_write() 60 static void thc_clear_state(const struct thc_device *dev) in thc_clear_state() 195 struct thc_device *thc_dev; in thc_dev_init() 265 static void pio_start(const struct thc_device *dev, in pio_start() 279 static int pio_complete(const struct thc_device *dev, in pio_complete() 303 static int pio_wait(const struct thc_device *dev) in pio_wait() 473 void thc_interrupt_config(struct thc_device *dev) in thc_interrupt_config() 789 void thc_ltr_unconfig(struct thc_device *dev) in thc_ltr_unconfig() 812 u32 thc_int_cause_read(struct thc_device *dev) in thc_int_cause_read() [all …]
|
| /linux-6.15/drivers/hid/intel-thc-hid/intel-quickspi/ |
| H A D | quickspi-dev.h | 77 struct thc_device; 127 struct thc_device *thc_hw;
|
| /linux-6.15/drivers/hid/intel-thc-hid/intel-quicki2c/ |
| H A D | quicki2c-dev.h | 127 struct thc_device; 159 struct thc_device *thc_hw;
|