• Home
  • Raw
  • Download

Lines Matching refs:inbuf

408 	MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_STATUS_LEN);  in efx_ptp_update_stats()
428 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_STATUS); in efx_ptp_update_stats()
429 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_update_stats()
430 rc = efx_mcdi_rpc(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_update_stats()
638 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_GET_ATTRIBUTES_LEN); in efx_ptp_get_attributes()
649 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_GET_ATTRIBUTES); in efx_ptp_get_attributes()
650 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_get_attributes()
651 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_get_attributes()
661 efx_mcdi_display_error(efx, MC_CMD_PTP, sizeof(inbuf), in efx_ptp_get_attributes()
737 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_GET_TIMESTAMP_CORRECTIONS_LEN); in efx_ptp_get_timestamp_corrections()
745 MCDI_SET_DWORD(inbuf, PTP_IN_OP, in efx_ptp_get_timestamp_corrections()
747 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_get_timestamp_corrections()
749 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_get_timestamp_corrections()
782 efx_mcdi_display_error(efx, MC_CMD_PTP, sizeof(inbuf), outbuf, in efx_ptp_get_timestamp_corrections()
793 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_ENABLE_LEN); in efx_ptp_enable()
797 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_ENABLE); in efx_ptp_enable()
798 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_enable()
799 MCDI_SET_DWORD(inbuf, PTP_IN_ENABLE_QUEUE, in efx_ptp_enable()
802 MCDI_SET_DWORD(inbuf, PTP_IN_ENABLE_MODE, efx->ptp_data->mode); in efx_ptp_enable()
804 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_enable()
821 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_DISABLE_LEN); in efx_ptp_disable()
825 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_DISABLE); in efx_ptp_disable()
826 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_disable()
827 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_disable()
2134 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_ADJUST_LEN); in efx_phc_adjtime()
2138 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_ADJUST); in efx_phc_adjtime()
2139 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_phc_adjtime()
2140 MCDI_SET_QWORD(inbuf, PTP_IN_ADJUST_FREQ, ptp_data->current_adjfreq); in efx_phc_adjtime()
2141 MCDI_SET_DWORD(inbuf, PTP_IN_ADJUST_MAJOR, nic_major); in efx_phc_adjtime()
2142 MCDI_SET_DWORD(inbuf, PTP_IN_ADJUST_MINOR, nic_minor); in efx_phc_adjtime()
2143 return efx_mcdi_rpc(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_phc_adjtime()
2153 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_READ_NIC_TIME_LEN); in efx_phc_gettime()
2158 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_READ_NIC_TIME); in efx_phc_gettime()
2159 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_phc_gettime()
2161 rc = efx_mcdi_rpc(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_phc_gettime()