Symbol: thc_device
drivers/hid/intel-thc-hid/intel-quicki2c/quicki2c-dev.h
162
struct thc_device;
drivers/hid/intel-thc-hid/intel-quicki2c/quicki2c-dev.h
198
struct thc_device *thc_hw;
drivers/hid/intel-thc-hid/intel-quickspi/quickspi-dev.h
133
struct thc_device *thc_hw;
drivers/hid/intel-thc-hid/intel-quickspi/quickspi-dev.h
83
struct thc_device;
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
1074
int thc_port_select(struct thc_device *dev, enum thc_port_type port_type)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
1124
static u8 thc_get_spi_freq_div_val(struct thc_device *dev, u32 spi_freq_val)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
1179
int thc_spi_read_config(struct thc_device *dev, u32 spi_freq_val,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
1231
int thc_spi_write_config(struct thc_device *dev, u32 spi_freq_val,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
1281
void thc_spi_input_output_address_config(struct thc_device *dev, u32 input_hdr_addr,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
1295
static int thc_i2c_subip_pio_read(struct thc_device *dev, const u32 address,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
1333
static int thc_i2c_subip_pio_write(struct thc_device *dev, const u32 address,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
1378
static int thc_i2c_subip_set_speed(struct thc_device *dev, const u32 speed,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
1453
int thc_i2c_subip_init(struct thc_device *dev, const u32 target_address,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
15
struct thc_device *thc_ctx = context;
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
1537
int thc_i2c_subip_regs_save(struct thc_device *dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
1560
int thc_i2c_subip_regs_restore(struct thc_device *dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
1585
int thc_i2c_set_rx_max_size(struct thc_device *dev, u32 max_rx_size)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
1624
int thc_i2c_rx_max_size_enable(struct thc_device *dev, bool enable)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
1655
int thc_i2c_set_rx_int_delay(struct thc_device *dev, u32 delay_us)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
1695
int thc_i2c_rx_int_delay_enable(struct thc_device *dev, bool enable)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
195
struct thc_device *thc_dev_init(struct device *device, void __iomem *mem_addr)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
197
struct thc_device *thc_dev;
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
229
static int prepare_pio(const struct thc_device *dev, const u8 pio_op,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
25
struct thc_device *thc_ctx = context;
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
267
static void pio_start(const struct thc_device *dev,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
281
static int pio_complete(const struct thc_device *dev,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
305
static int pio_wait(const struct thc_device *dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
331
int thc_tic_pio_read(struct thc_device *dev, const u32 address,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
377
int thc_tic_pio_write(struct thc_device *dev, const u32 address,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
426
int thc_tic_pio_write_and_read(struct thc_device *dev, const u32 address,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
475
void thc_interrupt_config(struct thc_device *dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
610
void thc_int_trigger_type_select(struct thc_device *dev, bool edge_trigger)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
62
static void thc_clear_state(const struct thc_device *dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
624
void thc_interrupt_enable(struct thc_device *dev, bool int_enable)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
640
int thc_interrupt_quiesce(const struct thc_device *dev, bool int_quiesce)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
687
void thc_set_pio_interrupt_support(struct thc_device *dev, bool supported)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
700
void thc_ltr_config(struct thc_device *dev, u32 active_ltr_us, u32 lp_ltr_us)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
767
void thc_change_ltr_mode(struct thc_device *dev, u32 ltr_mode)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
791
void thc_ltr_unconfig(struct thc_device *dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
814
u32 thc_int_cause_read(struct thc_device *dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
825
static void thc_print_txn_error_cause(const struct thc_device *dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
872
int thc_interrupt_handler(struct thc_device *dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
100
int thc_tic_pio_read(struct thc_device *dev, const u32 address,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
102
int thc_tic_pio_write(struct thc_device *dev, const u32 address,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
104
int thc_tic_pio_write_and_read(struct thc_device *dev, const u32 address,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
107
void thc_interrupt_config(struct thc_device *dev);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
108
void thc_int_trigger_type_select(struct thc_device *dev, bool edge_trigger);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
109
void thc_interrupt_enable(struct thc_device *dev, bool int_enable);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
110
void thc_set_pio_interrupt_support(struct thc_device *dev, bool supported);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
111
int thc_interrupt_quiesce(const struct thc_device *dev, bool int_quiesce);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
112
void thc_ltr_config(struct thc_device *dev, u32 active_ltr_us, u32 lp_ltr_us);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
113
void thc_change_ltr_mode(struct thc_device *dev, u32 ltr_mode);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
114
void thc_ltr_unconfig(struct thc_device *dev);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
115
u32 thc_int_cause_read(struct thc_device *dev);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
116
int thc_interrupt_handler(struct thc_device *dev);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
117
int thc_port_select(struct thc_device *dev, enum thc_port_type port_type);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
118
int thc_spi_read_config(struct thc_device *dev, u32 spi_freq_val,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
120
int thc_spi_write_config(struct thc_device *dev, u32 spi_freq_val,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
122
void thc_spi_input_output_address_config(struct thc_device *dev, u32 input_hdr_addr,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
124
int thc_i2c_subip_init(struct thc_device *dev, const u32 target_address,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
126
int thc_i2c_subip_regs_save(struct thc_device *dev);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
127
int thc_i2c_subip_regs_restore(struct thc_device *dev);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
128
int thc_i2c_set_rx_max_size(struct thc_device *dev, u32 max_rx_size);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
129
int thc_i2c_rx_max_size_enable(struct thc_device *dev, bool enable);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
130
int thc_i2c_set_rx_int_delay(struct thc_device *dev, u32 delay_us);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
131
int thc_i2c_rx_int_delay_enable(struct thc_device *dev, bool enable);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h
99
struct thc_device *thc_dev_init(struct device *device, void __iomem *mem_addr);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
117
static void dma_clear_prd_control(struct thc_device *dev,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
133
static u8 dma_get_read_pointer(struct thc_device *dev,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
14
static void dma_set_prd_base_addr(struct thc_device *dev, u64 physical_addr,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
147
static u8 dma_get_write_pointer(struct thc_device *dev,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
161
static void dma_set_write_pointer(struct thc_device *dev, u8 value,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
171
static size_t dma_get_max_packet_size(struct thc_device *dev,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
177
static void dma_set_max_packet_size(struct thc_device *dev, size_t size,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
186
static void thc_copy_one_sgl_to_prd(struct thc_device *dev,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
209
static void thc_copy_sgls_to_prd(struct thc_device *dev,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
220
static int setup_dma_buffers(struct thc_device *dev,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
267
static void thc_reset_dma_settings(struct thc_device *dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
29
static void dma_set_start_bit(struct thc_device *dev,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
290
static void release_dma_buffers(struct thc_device *dev,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
321
struct thc_dma_context *thc_dma_init(struct thc_device *dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
386
int thc_dma_set_max_packet_sizes(struct thc_device *dev, size_t mps_read1,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
412
int thc_dma_allocate(struct thc_device *dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
440
void thc_dma_release(struct thc_device *dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
482
int thc_dma_configure(struct thc_device *dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
518
void thc_dma_unconfigure(struct thc_device *dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
535
static int thc_wait_for_dma_pause(struct thc_device *dev, enum thc_dma_channel channel)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
564
static int read_dma_buffer(struct thc_device *dev,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
603
static void update_write_pointer(struct thc_device *dev,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
616
static int is_dma_buf_empty(struct thc_device *dev,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
630
static int thc_dma_read(struct thc_device *dev,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
677
int thc_rxdma_read(struct thc_device *dev, enum thc_dma_channel dma_channel,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
707
static int thc_swdma_read_start(struct thc_device *dev, void *write_buff,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
778
static int thc_swdma_read_completion(struct thc_device *dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
825
int thc_swdma_read(struct thc_device *dev, void *write_buff, size_t write_len,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
869
static int write_dma_buffer(struct thc_device *dev,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
925
static void thc_ensure_performance_limitations(struct thc_device *dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
939
static void thc_dma_write_completion(struct thc_device *dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
953
int thc_dma_write(struct thc_device *dev, void *buffer, size_t buf_len)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
97
static void dma_set_prd_control(struct thc_device *dev, u8 entry_count, u8 cb_depth,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.h
139
struct thc_device;
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.h
141
int thc_dma_set_max_packet_sizes(struct thc_device *dev,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.h
144
int thc_dma_allocate(struct thc_device *dev);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.h
145
int thc_dma_configure(struct thc_device *dev);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.h
146
void thc_dma_unconfigure(struct thc_device *dev);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.h
147
void thc_dma_release(struct thc_device *dev);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.h
148
int thc_rxdma_read(struct thc_device *dev, enum thc_dma_channel dma_channel,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.h
150
int thc_swdma_read(struct thc_device *dev, void *write_buff, size_t write_len,
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.h
152
int thc_dma_write(struct thc_device *dev, void *buffer, size_t buf_len);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.h
154
struct thc_dma_context *thc_dma_init(struct thc_device *dev);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-wot.c
22
void thc_wot_config(struct thc_device *thc_dev, const struct acpi_gpio_mapping *gpio_map)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-wot.c
75
void thc_wot_unconfig(struct thc_device *thc_dev)
drivers/hid/intel-thc-hid/intel-thc/intel-thc-wot.h
21
struct thc_device;
drivers/hid/intel-thc-hid/intel-thc/intel-thc-wot.h
23
void thc_wot_config(struct thc_device *thc_dev, const struct acpi_gpio_mapping *gpio_map);
drivers/hid/intel-thc-hid/intel-thc/intel-thc-wot.h
24
void thc_wot_unconfig(struct thc_device *thc_dev);