Lines Matching refs:sdcal_area
798 } __attribute__ ((packed)) *sdcal_area; in chsc_ioctl_dcal() local
800 sdcal_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_dcal()
801 if (!sdcal_area) in chsc_ioctl_dcal()
812 sdcal_area->request.length = 0x0020; in chsc_ioctl_dcal()
813 sdcal_area->request.code = 0x0034; in chsc_ioctl_dcal()
814 sdcal_area->atype = dcal->req.atype; in chsc_ioctl_dcal()
815 sdcal_area->fmt = dcal->req.fmt; in chsc_ioctl_dcal()
816 memcpy(&sdcal_area->list_parm, &dcal->req.list_parm, in chsc_ioctl_dcal()
817 sizeof(sdcal_area->list_parm)); in chsc_ioctl_dcal()
819 ccode = chsc(sdcal_area); in chsc_ioctl_dcal()
824 if (sdcal_area->response.code != 0x0001) { in chsc_ioctl_dcal()
827 sdcal_area->response.code); in chsc_ioctl_dcal()
830 memcpy(&dcal->sdcal, &sdcal_area->response, in chsc_ioctl_dcal()
831 sdcal_area->response.length); in chsc_ioctl_dcal()
838 free_page((unsigned long)sdcal_area); in chsc_ioctl_dcal()