Lines Matching refs:sdcal_area
832 } __attribute__ ((packed)) *sdcal_area; in chsc_ioctl_dcal() local
834 sdcal_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_dcal()
835 if (!sdcal_area) in chsc_ioctl_dcal()
846 sdcal_area->request.length = 0x0020; in chsc_ioctl_dcal()
847 sdcal_area->request.code = 0x0034; in chsc_ioctl_dcal()
848 sdcal_area->atype = dcal->req.atype; in chsc_ioctl_dcal()
849 sdcal_area->fmt = dcal->req.fmt; in chsc_ioctl_dcal()
850 memcpy(&sdcal_area->list_parm, &dcal->req.list_parm, in chsc_ioctl_dcal()
851 sizeof(sdcal_area->list_parm)); in chsc_ioctl_dcal()
853 ccode = chsc(sdcal_area); in chsc_ioctl_dcal()
858 if (sdcal_area->response.code != 0x0001) { in chsc_ioctl_dcal()
861 sdcal_area->response.code); in chsc_ioctl_dcal()
864 memcpy(&dcal->sdcal, &sdcal_area->response, in chsc_ioctl_dcal()
865 sdcal_area->response.length); in chsc_ioctl_dcal()
872 free_page((unsigned long)sdcal_area); in chsc_ioctl_dcal()