Lines Matching refs:encode

3624 zen_umc_ioctl_decode(zen_umc_t *umc, mc_encode_ioc_t *encode)  in zen_umc_ioctl_decode()  argument
3630 if (!zen_umc_decode_pa(umc, encode->mcei_pa, &dec)) { in zen_umc_ioctl_decode()
3631 encode->mcei_err = (uint32_t)dec.dec_fail; in zen_umc_ioctl_decode()
3632 encode->mcei_errdata = dec.dec_fail_data; in zen_umc_ioctl_decode()
3636 encode->mcei_errdata = 0; in zen_umc_ioctl_decode()
3637 encode->mcei_err = 0; in zen_umc_ioctl_decode()
3638 encode->mcei_chan_addr = dec.dec_norm_addr; in zen_umc_ioctl_decode()
3639 encode->mcei_rank_addr = UINT64_MAX; in zen_umc_ioctl_decode()
3640 encode->mcei_board = 0; in zen_umc_ioctl_decode()
3643 encode->mcei_chip = sock; in zen_umc_ioctl_decode()
3644 encode->mcei_die = die; in zen_umc_ioctl_decode()
3645 encode->mcei_mc = dec.dec_umc_chan->chan_logid; in zen_umc_ioctl_decode()
3646 encode->mcei_chan = 0; in zen_umc_ioctl_decode()
3647 encode->mcei_dimm = dec.dec_dimm_no; in zen_umc_ioctl_decode()
3648 encode->mcei_row = dec.dec_dimm_row; in zen_umc_ioctl_decode()
3649 encode->mcei_column = dec.dec_dimm_col; in zen_umc_ioctl_decode()
3655 encode->mcei_rank = UINT8_MAX; in zen_umc_ioctl_decode()
3656 encode->mcei_cs = dec.dec_dimm_csno; in zen_umc_ioctl_decode()
3657 encode->mcei_rm = dec.dec_dimm_rm; in zen_umc_ioctl_decode()
3658 encode->mcei_bank = dec.dec_dimm_bank; in zen_umc_ioctl_decode()
3659 encode->mcei_bank_group = dec.dec_dimm_bank_group; in zen_umc_ioctl_decode()
3660 encode->mcei_subchan = dec.dec_dimm_subchan; in zen_umc_ioctl_decode()
3696 mc_encode_ioc_t encode; in zen_umc_ioctl() local
3711 if (ddi_copyin((void *)arg, &encode, sizeof (encode), in zen_umc_ioctl()
3717 zen_umc_ioctl_decode(umc, &encode); in zen_umc_ioctl()
3720 if (ddi_copyout(&encode, (void *)arg, sizeof (encode), in zen_umc_ioctl()