Lines Matching refs:emr
372 efx_mcdi_req_t emr; in sfxge_mcdi_ioctl() local
392 emr.emr_cmd = smip->smi_cmd; in sfxge_mcdi_ioctl()
393 emr.emr_in_buf = smip->smi_payload; in sfxge_mcdi_ioctl()
394 emr.emr_in_length = smip->smi_len; in sfxge_mcdi_ioctl()
396 emr.emr_out_buf = out; in sfxge_mcdi_ioctl()
397 emr.emr_out_length = sizeof (smip->smi_payload); in sfxge_mcdi_ioctl()
399 sfxge_mcdi_execute(sp, &emr); in sfxge_mcdi_ioctl()
401 smip->smi_rc = (uint8_t)emr.emr_rc; in sfxge_mcdi_ioctl()
402 smip->smi_cmd = (uint8_t)emr.emr_cmd; in sfxge_mcdi_ioctl()
403 smip->smi_len = (uint8_t)emr.emr_out_length_used; in sfxge_mcdi_ioctl()
436 efx_mcdi_req_t emr; in sfxge_mcdi2_ioctl() local
456 emr.emr_cmd = smip->smi_cmd; in sfxge_mcdi2_ioctl()
457 emr.emr_in_buf = smip->smi_payload; in sfxge_mcdi2_ioctl()
458 emr.emr_in_length = smip->smi_len; in sfxge_mcdi2_ioctl()
460 emr.emr_out_buf = out; in sfxge_mcdi2_ioctl()
461 emr.emr_out_length = sizeof (smip->smi_payload); in sfxge_mcdi2_ioctl()
463 sfxge_mcdi_execute(sp, &emr); in sfxge_mcdi2_ioctl()
465 smip->smi_rc = emr.emr_rc; in sfxge_mcdi2_ioctl()
466 smip->smi_cmd = emr.emr_cmd; in sfxge_mcdi2_ioctl()
467 smip->smi_len = (uint32_t)emr.emr_out_length_used; in sfxge_mcdi2_ioctl()