Home
last modified time | relevance | path

Searched refs:thc_device (Results 1 – 8 of 8) sorted by relevance

/drivers/hid/intel-thc-hid/intel-thc/
A Dintel-thc-dev.h72 struct thc_device { struct
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,
107 void thc_interrupt_config(struct thc_device *dev);
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);
118 int thc_spi_read_config(struct thc_device *dev, u32 spi_freq_val,
126 int thc_i2c_subip_regs_save(struct thc_device *dev);
[all …]
A Dintel-thc-dma.h137 struct thc_device;
139 int thc_dma_set_max_packet_sizes(struct thc_device *dev,
142 int thc_dma_allocate(struct thc_device *dev);
143 int thc_dma_configure(struct thc_device *dev);
144 void thc_dma_unconfigure(struct thc_device *dev);
145 void thc_dma_release(struct thc_device *dev);
146 int thc_rxdma_read(struct thc_device *dev, enum thc_dma_channel dma_channel,
148 int thc_swdma_read(struct thc_device *dev, void *write_buff, size_t write_len,
150 int thc_dma_write(struct thc_device *dev, void *buffer, size_t buf_len);
152 struct thc_dma_context *thc_dma_init(struct thc_device *dev);
A Dintel-thc-dma.c29 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 …]
A Dintel-thc-dev.c14 struct thc_device *thc_ctx = context; in thc_regmap_read()
24 struct thc_device *thc_ctx = context; in thc_regmap_write()
61 static void thc_clear_state(const struct thc_device *dev) in thc_clear_state()
196 struct thc_device *thc_dev; in thc_dev_init()
266 static void pio_start(const struct thc_device *dev, in pio_start()
280 static int pio_complete(const struct thc_device *dev, in pio_complete()
304 static int pio_wait(const struct thc_device *dev) in pio_wait()
474 void thc_interrupt_config(struct thc_device *dev) in thc_interrupt_config()
790 void thc_ltr_unconfig(struct thc_device *dev) in thc_ltr_unconfig()
813 u32 thc_int_cause_read(struct thc_device *dev) in thc_int_cause_read()
[all …]
A Dintel-thc-wot.h21 struct thc_device;
23 void thc_wot_config(struct thc_device *thc_dev, const struct acpi_gpio_mapping *gpio_map);
24 void thc_wot_unconfig(struct thc_device *thc_dev);
A Dintel-thc-wot.c22 void thc_wot_config(struct thc_device *thc_dev, const struct acpi_gpio_mapping *gpio_map) in thc_wot_config()
75 void thc_wot_unconfig(struct thc_device *thc_dev) in thc_wot_unconfig()
/drivers/hid/intel-thc-hid/intel-quickspi/
A Dquickspi-dev.h77 struct thc_device;
127 struct thc_device *thc_hw;
/drivers/hid/intel-thc-hid/intel-quicki2c/
A Dquicki2c-dev.h143 struct thc_device;
175 struct thc_device *thc_hw;

Completed in 17 milliseconds