Home
last modified time | relevance | path

Searched refs:thc_hw (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/hid/intel-thc-hid/intel-quickspi/
H A Dpci-quickspi.c245 thc_interrupt_enable(qsdev->thc_hw, false); in quickspi_irq_quick_handler()
270 thc_dma_unconfigure(qsdev->thc_hw); in try_recover()
272 ret = thc_dma_configure(qsdev->thc_hw); in try_recover()
305 int_mask = thc_interrupt_handler(qsdev->thc_hw); in quickspi_irq_thread_handler()
324 ret = thc_rxdma_read(qsdev->thc_hw, THC_RXDMA2, qsdev->input_buf, in quickspi_irq_thread_handler()
336 thc_interrupt_enable(qsdev->thc_hw, true); in quickspi_irq_thread_handler()
386 qsdev->thc_hw = thc_dev_init(qsdev->dev, qsdev->mem_addr); in quickspi_dev_init()
387 if (IS_ERR(qsdev->thc_hw)) { in quickspi_dev_init()
388 ret = PTR_ERR(qsdev->thc_hw); in quickspi_dev_init()
393 ret = thc_interrupt_quiesce(qsdev->thc_hw, true); in quickspi_dev_init()
[all …]
H A Dquickspi-protocol.c42 ret = thc_dma_write(qsdev->thc_hw, write_buf, write_buf_len); in write_cmd_to_txdma()
64 ret = thc_tic_pio_write(qsdev->thc_hw, qsdev->output_report_addr, in quickspi_get_device_descriptor()
81 int_cause_val = thc_int_cause_read(qsdev->thc_hw); in quickspi_get_device_descriptor()
91 ret = thc_tic_pio_read(qsdev->thc_hw, qsdev->input_report_bdy_addr, in quickspi_get_device_descriptor()
283 thc_int_trigger_type_select(qsdev->thc_hw, true); in reset_tic()
289 ret = thc_interrupt_quiesce(qsdev->thc_hw, false); in reset_tic()
301 int_cause_val = thc_int_cause_read(qsdev->thc_hw); in reset_tic()
312 thc_int_trigger_type_select(qsdev->thc_hw, true); in reset_tic()
314 ret = thc_tic_pio_read(qsdev->thc_hw, qsdev->input_report_bdy_addr, in reset_tic()
H A Dquickspi-dev.h131 struct thc_device *thc_hw; member