Lines Matching refs:tb_nhi
61 static void nhi_mask_interrupt(struct tb_nhi *nhi, int mask, int ring) in nhi_mask_interrupt()
73 static void nhi_clear_interrupt(struct tb_nhi *nhi, int ring) in nhi_clear_interrupt()
162 static void nhi_disable_interrupts(struct tb_nhi *nhi) in nhi_disable_interrupts()
461 struct tb_nhi *nhi = ring->nhi; in ring_request_msix()
504 static int nhi_alloc_hop(struct tb_nhi *nhi, struct tb_ring *ring) in nhi_alloc_hop()
576 static struct tb_ring *tb_ring_alloc(struct tb_nhi *nhi, u32 hop, int size, in tb_ring_alloc()
643 struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size, in tb_ring_alloc_tx()
664 struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size, in tb_ring_alloc_rx()
859 int nhi_mailbox_cmd(struct tb_nhi *nhi, enum nhi_mailbox_cmd cmd, u32 data) in nhi_mailbox_cmd()
894 enum nhi_fw_mode nhi_mailbox_mode(struct tb_nhi *nhi) in nhi_mailbox_mode()
907 struct tb_nhi *nhi = container_of(work, typeof(*nhi), interrupt_work); in nhi_interrupt_work()
959 struct tb_nhi *nhi = data; in nhi_msi()
968 struct tb_nhi *nhi = tb->nhi; in __nhi_suspend_noirq()
1028 static void nhi_enable_int_throttling(struct tb_nhi *nhi) in nhi_enable_int_throttling()
1048 struct tb_nhi *nhi = tb->nhi; in nhi_resume_noirq()
1098 struct tb_nhi *nhi = tb->nhi; in nhi_runtime_suspend()
1117 struct tb_nhi *nhi = tb->nhi; in nhi_runtime_resume()
1130 static void nhi_shutdown(struct tb_nhi *nhi) in nhi_shutdown()
1159 static void nhi_check_quirks(struct tb_nhi *nhi) in nhi_check_quirks()
1192 static void nhi_check_iommu(struct tb_nhi *nhi) in nhi_check_iommu()
1224 static bool nhi_reset(struct tb_nhi *nhi) in nhi_reset()
1257 static int nhi_init_msi(struct tb_nhi *nhi) in nhi_init_msi()
1308 static struct tb *nhi_select_cm(struct tb_nhi *nhi) in nhi_select_cm()
1334 struct tb_nhi *nhi; in nhi_probe()
1427 struct tb_nhi *nhi = tb->nhi; in nhi_remove()