Home
last modified time | relevance | path

Searched refs:outmailbox (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/mthca/
H A Dmthca_cmd.c1869 struct mthca_mailbox *inmailbox, *outmailbox; in mthca_MAD_IFC() local
1889 outmailbox = mthca_alloc_mailbox(dev, GFP_KERNEL); in mthca_MAD_IFC()
1890 if (IS_ERR(outmailbox)) { in mthca_MAD_IFC()
1892 return PTR_ERR(outmailbox); in mthca_MAD_IFC()
1932 err = mthca_cmd_box(dev, inmailbox->dma, outmailbox->dma, in mthca_MAD_IFC()
1937 memcpy(response_mad, outmailbox->buf, 256); in mthca_MAD_IFC()
1940 mthca_free_mailbox(dev, outmailbox); in mthca_MAD_IFC()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_port.c1058 struct mlx4_cmd_mailbox *inmailbox, *outmailbox; in mlx4_get_port_ib_caps() local
1066 outmailbox = mlx4_alloc_cmd_mailbox(dev); in mlx4_get_port_ib_caps()
1067 if (IS_ERR(outmailbox)) { in mlx4_get_port_ib_caps()
1069 return PTR_ERR(outmailbox); in mlx4_get_port_ib_caps()
1073 outbuf = outmailbox->buf; in mlx4_get_port_ib_caps()
1081 err = mlx4_cmd_box(dev, inmailbox->dma, outmailbox->dma, port, 3, in mlx4_get_port_ib_caps()
1087 mlx4_free_cmd_mailbox(dev, outmailbox); in mlx4_get_port_ib_caps()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mad.c111 struct mlx4_cmd_mailbox *inmailbox, *outmailbox; in mlx4_MAD_IFC() local
122 outmailbox = mlx4_alloc_cmd_mailbox(dev->dev); in mlx4_MAD_IFC()
123 if (IS_ERR(outmailbox)) { in mlx4_MAD_IFC()
125 return PTR_ERR(outmailbox); in mlx4_MAD_IFC()
173 err = mlx4_cmd_box(dev->dev, inmailbox->dma, outmailbox->dma, in_modifier, in mlx4_MAD_IFC()
179 memcpy(response_mad, outmailbox->buf, 256); in mlx4_MAD_IFC()
182 mlx4_free_cmd_mailbox(dev->dev, outmailbox); in mlx4_MAD_IFC()