Lines Matching refs:inbuf

407 	MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_STATUS_LEN);  in efx_ptp_update_stats()
427 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_STATUS); in efx_ptp_update_stats()
428 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_update_stats()
429 rc = efx_mcdi_rpc(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_update_stats()
599 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_GET_ATTRIBUTES_LEN); in efx_ptp_get_attributes()
610 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_GET_ATTRIBUTES); in efx_ptp_get_attributes()
611 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_get_attributes()
612 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_get_attributes()
622 efx_mcdi_display_error(efx, MC_CMD_PTP, sizeof(inbuf), in efx_ptp_get_attributes()
698 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_GET_TIMESTAMP_CORRECTIONS_LEN); in efx_ptp_get_timestamp_corrections()
706 MCDI_SET_DWORD(inbuf, PTP_IN_OP, in efx_ptp_get_timestamp_corrections()
708 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_get_timestamp_corrections()
710 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_get_timestamp_corrections()
743 efx_mcdi_display_error(efx, MC_CMD_PTP, sizeof(inbuf), outbuf, in efx_ptp_get_timestamp_corrections()
754 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_ENABLE_LEN); in efx_ptp_enable()
758 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_ENABLE); in efx_ptp_enable()
759 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_enable()
760 MCDI_SET_DWORD(inbuf, PTP_IN_ENABLE_QUEUE, in efx_ptp_enable()
763 MCDI_SET_DWORD(inbuf, PTP_IN_ENABLE_MODE, efx->ptp_data->mode); in efx_ptp_enable()
765 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_enable()
782 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_DISABLE_LEN); in efx_ptp_disable()
786 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_DISABLE); in efx_ptp_disable()
787 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_disable()
788 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_disable()
2070 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_ADJUST_LEN); in efx_phc_adjtime()
2074 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_ADJUST); in efx_phc_adjtime()
2075 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_phc_adjtime()
2076 MCDI_SET_QWORD(inbuf, PTP_IN_ADJUST_FREQ, ptp_data->current_adjfreq); in efx_phc_adjtime()
2077 MCDI_SET_DWORD(inbuf, PTP_IN_ADJUST_MAJOR, nic_major); in efx_phc_adjtime()
2078 MCDI_SET_DWORD(inbuf, PTP_IN_ADJUST_MINOR, nic_minor); in efx_phc_adjtime()
2079 return efx_mcdi_rpc(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_phc_adjtime()
2089 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_READ_NIC_TIME_LEN); in efx_phc_gettime()
2094 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_READ_NIC_TIME); in efx_phc_gettime()
2095 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_phc_gettime()
2097 rc = efx_mcdi_rpc(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_phc_gettime()