Searched refs:smip (Results 1 – 3 of 3) sorted by relevance
368 sfxge_mcdi_ioctl(sfxge_t *sp, sfxge_mcdi_ioc_t *smip) in sfxge_mcdi_ioctl() argument386 out = kmem_zalloc(sizeof (smip->smi_payload), KM_NOSLEEP); in sfxge_mcdi_ioctl()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()397 emr.emr_out_length = sizeof (smip->smi_payload); 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()404 bcopy(out, smip->smi_payload, smip->smi_len); in sfxge_mcdi_ioctl()[all …]
667 sfxge_mcdi_ioc_t *smip = (sfxge_mcdi_ioc_t *)mp->b_cont->b_rptr; in sfxge_ioctl() local669 if ((rc = sfxge_mcdi_ioctl(sp, smip)) != 0) in sfxge_ioctl()676 sfxge_mcdi2_ioc_t *smip = in sfxge_ioctl() local679 if ((rc = sfxge_mcdi2_ioctl(sp, smip)) != 0) in sfxge_ioctl()
919 sfxge_mcdi_ioc_t *smip);921 sfxge_mcdi2_ioc_t *smip);