Lines Matching refs:nhi
26 struct tb_nhi *nhi; member
42 dev_WARN(&(ctl)->nhi->pdev->dev, format, ## arg)
45 dev_err(&(ctl)->nhi->pdev->dev, format, ## arg)
48 dev_warn(&(ctl)->nhi->pdev->dev, format, ## arg)
51 dev_info(&(ctl)->nhi->pdev->dev, format, ## arg)
54 dev_dbg(&(ctl)->nhi->pdev->dev, format, ## arg)
602 struct tb_ctl *tb_ctl_alloc(struct tb_nhi *nhi, event_cb cb, void *cb_data) in tb_ctl_alloc() argument
608 ctl->nhi = nhi; in tb_ctl_alloc()
614 ctl->frame_pool = dma_pool_create("thunderbolt_ctl", &nhi->pdev->dev, in tb_ctl_alloc()
619 ctl->tx = tb_ring_alloc_tx(nhi, 0, 10, RING_FLAG_NO_SUSPEND); in tb_ctl_alloc()
623 ctl->rx = tb_ring_alloc_rx(nhi, 0, 10, RING_FLAG_NO_SUSPEND, 0xffff, in tb_ctl_alloc()