Home
last modified time | relevance | path

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

/openbmc/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);
43 int (*init)(struct tb_nhi *nhi);
44 int (*suspend_noirq)(struct tb_nhi *nhi, bool wakeup);
45 int (*resume_noirq)(struct tb_nhi *nhi);
46 int (*runtime_suspend)(struct tb_nhi *nhi);
47 int (*runtime_resume)(struct tb_nhi *nhi);
48 void (*shutdown)(struct tb_nhi *nhi);
H A Dnhi_ops.c25 static bool icl_nhi_is_device_connected(struct tb_nhi *nhi) in icl_nhi_is_device_connected()
35 static int icl_nhi_force_power(struct tb_nhi *nhi, bool power) in icl_nhi_force_power()
79 static void icl_nhi_lc_mailbox_cmd(struct tb_nhi *nhi, enum icl_lc_mailbox_cmd cmd) in icl_nhi_lc_mailbox_cmd()
87 static int icl_nhi_lc_mailbox_cmd_complete(struct tb_nhi *nhi, int timeout) in icl_nhi_lc_mailbox_cmd_complete()
111 static void icl_nhi_set_ltr(struct tb_nhi *nhi) in icl_nhi_set_ltr()
122 static int icl_nhi_suspend(struct tb_nhi *nhi) in icl_nhi_suspend()
145 static int icl_nhi_suspend_noirq(struct tb_nhi *nhi, bool wakeup) in icl_nhi_suspend_noirq()
161 static int icl_nhi_resume(struct tb_nhi *nhi) in icl_nhi_resume()
173 static void icl_nhi_shutdown(struct tb_nhi *nhi) in icl_nhi_shutdown()
H A Dnhi.c461 struct tb_nhi *nhi = ring->nhi; in ring_request_msix()
959 struct tb_nhi *nhi = data; in nhi_msi()
968 struct tb_nhi *nhi = tb->nhi; in __nhi_suspend_noirq()
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()
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()
1334 struct tb_nhi *nhi; in nhi_probe()
[all …]
H A Dacpi.c19 struct tb_nhi *nhi = data; in tb_acpi_add_link()
111 bool tb_acpi_add_links(struct tb_nhi *nhi) in tb_acpi_add_links()
323 struct tb_nhi *nhi = sw->tb->nhi; in tb_acpi_switch_find_companion()
H A Dctl.h24 struct tb_ctl *tb_ctl_alloc(struct tb_nhi *nhi, int timeout_msec, event_cb cb,
H A Dtb.h719 struct tb *icm_probe(struct tb_nhi *nhi);
720 struct tb *tb_probe(struct tb_nhi *nhi);
732 struct tb *tb_domain_alloc(struct tb_nhi *nhi, int timeout_msec, size_t privsize);
1384 bool tb_acpi_add_links(struct tb_nhi *nhi);
1397 static inline bool tb_acpi_add_links(struct tb_nhi *nhi) { return false; } in tb_acpi_add_links()
H A Dicm.c374 static bool icm_firmware_running(const struct tb_nhi *nhi) in icm_firmware_running()
1468 struct tb_nhi *nhi = tb->nhi; in icm_ar_get_mode()
1646 struct tb_nhi *nhi = tb->nhi; in icm_icl_set_uuid()
1789 static int icm_firmware_reset(struct tb *tb, struct tb_nhi *nhi) in icm_firmware_reset()
1812 static int icm_firmware_start(struct tb *tb, struct tb_nhi *nhi) in icm_firmware_start()
1912 struct tb_nhi *nhi = tb->nhi; in icm_firmware_init()
2429 struct tb *icm_probe(struct tb_nhi *nhi) in icm_probe()
H A Dctl.c37 struct tb_nhi *nhi;
625 struct tb_ctl *tb_ctl_alloc(struct tb_nhi *nhi, int timeout_msec, event_cb cb, in tb_ctl_alloc()
H A Ddomain.c373 struct tb *tb_domain_alloc(struct tb_nhi *nhi, int timeout_msec, size_t privsize) in tb_domain_alloc()
H A Dtb.c2930 static bool tb_apple_add_links(struct tb_nhi *nhi) in tb_apple_add_links()
2991 struct tb *tb_probe(struct tb_nhi *nhi) in tb_probe()
/openbmc/linux/include/linux/
H A Dthunderbolt.h78 struct tb_nhi *nhi;
491 struct tb_nhi { struct
534 struct tb_nhi *nhi;
607 struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size,
609 struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size,