Searched refs:dcal (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/s390/cio/ |
| H A D | chsc_sch.c | 819 struct chsc_dcal *dcal; in chsc_ioctl_dcal() local 837 dcal = kzalloc(sizeof(*dcal), GFP_KERNEL); in chsc_ioctl_dcal() 838 if (!dcal) { in chsc_ioctl_dcal() 842 if (copy_from_user(dcal, user_dcal, sizeof(*dcal))) { 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() 864 memcpy(&dcal->sdcal, &sdcal_area->response, in chsc_ioctl_dcal() 866 if (copy_to_user(user_dcal, dcal, sizeof(*dcal))) in chsc_ioctl_dcal() 871 kfree(dcal); in chsc_ioctl_dcal()
|
| /OK3568_Linux_fs/u-boot/arch/x86/cpu/quark/ |
| H A D | smc.c | 186 u32 dcal; in prog_decode_before_jedec() local 210 dcal = msg_port_read(MEM_CTLR, DCAL); in prog_decode_before_jedec() 211 dcal &= ~DCAL_ZQCINT_MASK; in prog_decode_before_jedec() 212 dcal &= ~DCAL_SRXZQCL_MASK; in prog_decode_before_jedec() 213 msg_port_write(MEM_CTLR, DCAL, dcal); in prog_decode_before_jedec() 2458 u32 dcal; in change_refresh_period() local 2469 dcal = msg_port_read(MEM_CTLR, DCAL); in change_refresh_period() 2470 dcal &= ~DCAL_ZQCINT_MASK; in change_refresh_period() 2471 dcal |= (3 << 8); /* 63ms */ in change_refresh_period() 2472 msg_port_write(MEM_CTLR, DCAL, dcal); in change_refresh_period()
|