Lines Matching defs:cmd_priv
112 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv,
1229 h1394_cmd_priv_t *cmd_priv;
1295 * area (cmd_priv). A command is made up of 4 parts. There is the public
1304 cmd_priv = (*hcicmd)->ac_priv;
1314 cmd_priv->recv_tstamp = HCI1394_DESC_TIMESTAMP_GET(quadlet);
1419 if (data_length != cmd_priv->mblk.length) {
1424 tnf_uint, requested_size, cmd_priv->mblk.length,
1433 (uint8_t *)&pkt->q5, &cmd_priv->mblk);
1549 h1394_cmd_priv_t *cmd_priv;
1575 H1394_ALLOC_CMD_NOSLEEP, &cmd, &cmd_priv);
1585 hci1394_async_hcicmd_init(async_handle, cmd, cmd_priv, hcicmd);
1592 cmd_priv->bus_generation = async_handle->as_drvinfo->di_gencnt;
1612 cmd_priv);
1634 cmd_priv);
1656 cmd_priv);
1678 cmd_priv);
1700 cmd_priv);
1722 cmd_priv);
1738 cmd_priv);
1766 hci1394_async_response_complete(async_handle, cmd, cmd_priv);
1799 h1394_cmd_priv_t *cmd_priv;
1813 cmd_priv = hcicmd->ac_priv;
1823 cmd_priv->speed = HCI1394_DESC_AR_SPD_GET(quadlet);
1824 cmd_priv->recv_tstamp = HCI1394_DESC_TIMESTAMP_GET(quadlet);
1826 cmd_priv->recv_tstamp);
1878 h1394_cmd_priv_t *cmd_priv;
1892 cmd_priv = hcicmd->ac_priv;
1902 cmd_priv->speed = HCI1394_DESC_AR_SPD_GET(quadlet);
1903 cmd_priv->recv_tstamp = HCI1394_DESC_TIMESTAMP_GET(quadlet);
1905 cmd_priv->recv_tstamp);
1960 h1394_cmd_priv_t *cmd_priv;
1974 cmd_priv = hcicmd->ac_priv;
1984 cmd_priv->speed = HCI1394_DESC_AR_SPD_GET(quadlet);
1985 cmd_priv->recv_tstamp = HCI1394_DESC_TIMESTAMP_GET(quadlet);
1987 cmd_priv->recv_tstamp);
2046 h1394_cmd_priv_t *cmd_priv;
2066 cmd_priv = hcicmd->ac_priv;
2082 cmd_priv->speed = HCI1394_DESC_AR_SPD_GET(quadlet);
2083 cmd_priv->recv_tstamp = HCI1394_DESC_TIMESTAMP_GET(quadlet);
2085 cmd_priv->recv_tstamp);
2150 h1394_cmd_priv_t *cmd_priv;
2172 cmd_priv = hcicmd->ac_priv;
2202 cmd_priv->speed = HCI1394_DESC_AR_SPD_GET(quadlet);
2203 cmd_priv->recv_tstamp = HCI1394_DESC_TIMESTAMP_GET(quadlet);
2205 cmd_priv->recv_tstamp);
2371 h1394_cmd_priv_t *cmd_priv, int *result)
2380 ASSERT(cmd_priv != NULL);
2389 if (cmd_priv->bus_generation != hci1394_ohci_current_busgen(
2398 hci1394_async_hcicmd_init(async_handle, cmd, cmd_priv, &hcicmd);
2435 h1394_cmd_priv_t *cmd_priv, int *result)
2444 ASSERT(cmd_priv != NULL);
2453 if (cmd_priv->bus_generation != hci1394_ohci_current_busgen(
2462 hci1394_async_hcicmd_init(async_handle, cmd, cmd_priv, &hcicmd);
2488 header.q1 |= HCI1394_DESC_AT_SPD_SET(cmd_priv->speed) |
2526 header.q4 = HCI1394_DESC_DATALEN_SET(cmd_priv->mblk.length);
2537 &cmd_priv->mblk, result);
2560 h1394_cmd_priv_t *cmd_priv, int *result)
2569 ASSERT(cmd_priv != NULL);
2578 if (cmd_priv->bus_generation != hci1394_ohci_current_busgen(
2587 hci1394_async_hcicmd_init(async_handle, cmd, cmd_priv, &hcicmd);
2613 header.q1 |= HCI1394_DESC_AT_SPD_SET(cmd_priv->speed) |
2646 header.q4 = HCI1394_DESC_DATALEN_SET(cmd_priv->mblk.length);
2677 h1394_cmd_priv_t *cmd_priv, int *result)
2690 ASSERT(cmd_priv != NULL);
2699 if (cmd_priv->bus_generation != hci1394_ohci_current_busgen(
2708 hci1394_async_hcicmd_init(async_handle, cmd, cmd_priv, &hcicmd);
2738 header.q1 |= HCI1394_DESC_AT_SPD_SET(cmd_priv->speed) |
2803 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv, int *result)
2812 ASSERT(cmd_priv != NULL);
2822 if (cmd_priv->bus_generation != hci1394_ohci_current_busgen(
2836 hcicmd = (hci1394_async_cmd_t *)cmd_priv->hal_overhead;
2837 hcicmd->ac_qcmd.qc_generation = cmd_priv->bus_generation;
2848 header.q1 |= HCI1394_DESC_AT_SPD_SET(cmd_priv->speed) |
2880 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv, int *result)
2889 ASSERT(cmd_priv != NULL);
2899 if (cmd_priv->bus_generation != hci1394_ohci_current_busgen(
2913 hcicmd = (hci1394_async_cmd_t *)cmd_priv->hal_overhead;
2914 hcicmd->ac_qcmd.qc_generation = cmd_priv->bus_generation;
2926 header.q1 |= HCI1394_DESC_AT_SPD_SET(cmd_priv->speed) |
3006 DESC_PKT_HDRLEN_AT_READBLOCK_RESP, &cmd_priv->mblk, result);
3031 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv, int *result)
3044 ASSERT(cmd_priv != NULL);
3054 if (cmd_priv->bus_generation != hci1394_ohci_current_busgen(
3068 hcicmd = (hci1394_async_cmd_t *)cmd_priv->hal_overhead;
3069 hcicmd->ac_qcmd.qc_generation = cmd_priv->bus_generation;
3080 header.q1 |= HCI1394_DESC_AT_SPD_SET(cmd_priv->speed) |
3184 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv)
3191 ASSERT(cmd_priv != NULL);
3196 hcicmd = (hci1394_async_cmd_t *)cmd_priv->hal_overhead;
3833 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv,
3836 *hcicmd = (hci1394_async_cmd_t *)cmd_priv->hal_overhead;
3838 (*hcicmd)->ac_priv = cmd_priv;
3848 (*hcicmd)->ac_qcmd.qc_generation = cmd_priv->bus_generation;