Home
last modified time | relevance | path

Searched refs:dcal (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/s390/cio/
H A Dchsc_sch.c785 struct chsc_dcal *dcal; in chsc_ioctl_dcal() local
803 dcal = kzalloc(sizeof(*dcal), GFP_KERNEL); in chsc_ioctl_dcal()
804 if (!dcal) { in chsc_ioctl_dcal()
808 if (copy_from_user(dcal, user_dcal, sizeof(*dcal))) { 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()
830 memcpy(&dcal->sdcal, &sdcal_area->response, in chsc_ioctl_dcal()
832 if (copy_to_user(user_dcal, dcal, sizeof(*dcal))) in chsc_ioctl_dcal()
837 kfree(dcal); in chsc_ioctl_dcal()
/openbmc/u-boot/arch/x86/cpu/quark/
H A Dsmc.c180 u32 dcal; in prog_decode_before_jedec() local
204 dcal = msg_port_read(MEM_CTLR, DCAL); in prog_decode_before_jedec()
205 dcal &= ~DCAL_ZQCINT_MASK; in prog_decode_before_jedec()
206 dcal &= ~DCAL_SRXZQCL_MASK; in prog_decode_before_jedec()
207 msg_port_write(MEM_CTLR, DCAL, dcal); in prog_decode_before_jedec()
2452 u32 dcal; in change_refresh_period() local
2463 dcal = msg_port_read(MEM_CTLR, DCAL); in change_refresh_period()
2464 dcal &= ~DCAL_ZQCINT_MASK; in change_refresh_period()
2465 dcal |= (3 << 8); /* 63ms */ in change_refresh_period()
2466 msg_port_write(MEM_CTLR, DCAL, dcal); in change_refresh_period()