Lines Matching refs:inbuf

407 	MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_STATUS_LEN);  in efx_siena_ptp_update_stats()
427 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_STATUS); in efx_siena_ptp_update_stats()
428 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_siena_ptp_update_stats()
429 rc = efx_siena_mcdi_rpc(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_siena_ptp_update_stats()
631 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_GET_ATTRIBUTES_LEN); in efx_ptp_get_attributes()
642 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_GET_ATTRIBUTES); in efx_ptp_get_attributes()
643 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_get_attributes()
644 rc = efx_siena_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_get_attributes()
654 efx_siena_mcdi_display_error(efx, MC_CMD_PTP, sizeof(inbuf), in efx_ptp_get_attributes()
730 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_GET_TIMESTAMP_CORRECTIONS_LEN); in efx_ptp_get_timestamp_corrections()
738 MCDI_SET_DWORD(inbuf, PTP_IN_OP, in efx_ptp_get_timestamp_corrections()
740 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_get_timestamp_corrections()
742 rc = efx_siena_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_get_timestamp_corrections()
775 efx_siena_mcdi_display_error(efx, MC_CMD_PTP, sizeof(inbuf), in efx_ptp_get_timestamp_corrections()
786 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_ENABLE_LEN); in efx_ptp_enable()
790 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_ENABLE); in efx_ptp_enable()
791 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_enable()
792 MCDI_SET_DWORD(inbuf, PTP_IN_ENABLE_QUEUE, in efx_ptp_enable()
795 MCDI_SET_DWORD(inbuf, PTP_IN_ENABLE_MODE, efx->ptp_data->mode); in efx_ptp_enable()
797 rc = efx_siena_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_enable()
814 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_DISABLE_LEN); in efx_ptp_disable()
818 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_DISABLE); in efx_ptp_disable()
819 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_disable()
820 rc = efx_siena_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_disable()
2083 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_ADJUST_LEN); in efx_phc_adjtime()
2087 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_ADJUST); in efx_phc_adjtime()
2088 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_phc_adjtime()
2089 MCDI_SET_QWORD(inbuf, PTP_IN_ADJUST_FREQ, ptp_data->current_adjfreq); in efx_phc_adjtime()
2090 MCDI_SET_DWORD(inbuf, PTP_IN_ADJUST_MAJOR, nic_major); in efx_phc_adjtime()
2091 MCDI_SET_DWORD(inbuf, PTP_IN_ADJUST_MINOR, nic_minor); in efx_phc_adjtime()
2092 return efx_siena_mcdi_rpc(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_phc_adjtime()
2102 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_READ_NIC_TIME_LEN); in efx_phc_gettime()
2107 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_READ_NIC_TIME); in efx_phc_gettime()
2108 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_phc_gettime()
2110 rc = efx_siena_mcdi_rpc(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_phc_gettime()