Lines Matching refs:nhi
25 struct tb_nhi *nhi; member
41 dev_WARN(&(ctl)->nhi->pdev->dev, format, ## arg)
44 dev_err(&(ctl)->nhi->pdev->dev, format, ## arg)
47 dev_warn(&(ctl)->nhi->pdev->dev, format, ## arg)
50 dev_info(&(ctl)->nhi->pdev->dev, format, ## arg)
53 dev_dbg(&(ctl)->nhi->pdev->dev, format, ## arg)
601 struct tb_ctl *tb_ctl_alloc(struct tb_nhi *nhi, event_cb cb, void *cb_data) in tb_ctl_alloc() argument
607 ctl->nhi = nhi; in tb_ctl_alloc()
613 ctl->frame_pool = dma_pool_create("thunderbolt_ctl", &nhi->pdev->dev, in tb_ctl_alloc()
618 ctl->tx = tb_ring_alloc_tx(nhi, 0, 10, RING_FLAG_NO_SUSPEND); in tb_ctl_alloc()
622 ctl->rx = tb_ring_alloc_rx(nhi, 0, 10, RING_FLAG_NO_SUSPEND, 0xffff, in tb_ctl_alloc()