Home
last modified time | relevance | path

Searched refs:tb_nhi (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/thunderbolt/
H A Dnhi.h30 int nhi_mailbox_cmd(struct tb_nhi *nhi, enum nhi_mailbox_cmd cmd, u32 data);
31 enum nhi_fw_mode nhi_mailbox_mode(struct tb_nhi *nhi);
32 void nhi_enable_int_throttling(struct tb_nhi *nhi);
33 void nhi_disable_interrupts(struct tb_nhi *nhi);
37 int nhi_probe(struct tb_nhi *nhi);
38 void nhi_shutdown(struct tb_nhi *nhi);
57 int (*init)(struct tb_nhi *nhi);
58 int (*suspend_noirq)(struct tb_nhi *nhi, bool wakeup);
59 int (*resume_noirq)(struct tb_nhi *nhi);
60 int (*runtime_suspend)(struct tb_nhi *nhi);
[all …]
H A Dpci.c32 struct tb_nhi nhi;
36 static inline struct tb_nhi_pci *nhi_to_pci(struct tb_nhi *nhi) in nhi_to_pci()
43 struct tb_nhi *nhi = &nhi_pci->nhi; in nhi_pci_check_quirks()
79 struct tb_nhi *nhi = &nhi_pci->nhi; in nhi_pci_check_iommu()
111 static int nhi_pci_init_msi(struct tb_nhi *nhi) in nhi_pci_init_msi()
157 static void nhi_pci_start_dma_port(struct tb_nhi *nhi) in nhi_pci_start_dma_port()
173 static void nhi_pci_complete_dma_port(struct tb_nhi *nhi) in nhi_pci_complete_dma_port()
185 struct tb_nhi *nhi = ring->nhi; in nhi_pci_ring_request_msix()
232 static void nhi_pci_release_irq(struct tb_nhi *nhi) in nhi_pci_release_irq()
248 static bool nhi_pci_is_present(struct tb_nhi *nhi) in nhi_pci_is_present()
[all …]
H A Dnhi.c52 static void nhi_mask_interrupt(struct tb_nhi *nhi, int mask, int ring) in nhi_mask_interrupt()
64 static void nhi_clear_interrupt(struct tb_nhi *nhi, int ring) in nhi_clear_interrupt()
158 void nhi_disable_interrupts(struct tb_nhi *nhi) in nhi_disable_interrupts()
466 static int nhi_alloc_hop(struct tb_nhi *nhi, struct tb_ring *ring) in nhi_alloc_hop()
538 static struct tb_ring *tb_ring_alloc(struct tb_nhi *nhi, u32 hop, int size, in tb_ring_alloc()
620 struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size, in tb_ring_alloc_tx()
643 struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size, in tb_ring_alloc_rx()
817 struct tb_nhi *nhi = ring->nhi; in tb_ring_free()
890 int nhi_mailbox_cmd(struct tb_nhi *nhi, enum nhi_mailbox_cmd cmd, u32 data) in nhi_mailbox_cmd()
927 enum nhi_fw_mode nhi_mailbox_mode(struct tb_nhi *nhi) in nhi_mailbox_mode()
[all …]
H A Ddomain.c320 struct tb_nhi *nhi = tb->nhi; in tb_domain_release()
375 struct tb *tb_domain_alloc(struct tb_nhi *nhi, int timeout_msec, size_t privsize) in tb_domain_alloc()
H A Dicm.c375 static bool icm_firmware_running(const struct tb_nhi *nhi) in icm_firmware_running()
1511 struct tb_nhi *nhi = tb->nhi; in icm_ar_get_mode()
1837 static int icm_firmware_reset(struct tb *tb, struct tb_nhi *nhi) in icm_firmware_reset()
1860 static int icm_firmware_start(struct tb *tb, struct tb_nhi *nhi) in icm_firmware_start()
1960 struct tb_nhi *nhi = tb->nhi; in icm_firmware_init()
2479 struct tb *icm_probe(struct tb_nhi *nhi) in icm_probe()
H A Dctl.c40 struct tb_nhi *nhi;
652 struct tb_ctl *tb_ctl_alloc(struct tb_nhi *nhi, int index, int timeout_msec, in tb_ctl_alloc()
H A Dtb.c2955 struct tb_nhi *nhi = tb->nhi; in tb_stop()
3345 static bool tb_apple_add_links(struct tb_nhi *nhi) in tb_apple_add_links()
3407 struct tb *tb_probe(struct tb_nhi *nhi) in tb_probe()
H A Dswitch.c237 struct tb_nhi *nhi = sw->tb->nhi; in nvm_authenticate()
2740 struct tb_nhi *nhi = sw->tb->nhi; in tb_switch_add_dma_port()
/linux/include/linux/
H A Dthunderbolt.h86 struct tb_nhi *nhi;
524 struct tb_nhi { struct
573 struct tb_nhi *nhi;
664 struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size,
666 struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size,