Lines Matching refs:val
88 #define STORE_LE16(addr, val) (*(u16 *)addr = val) argument
89 #define STORE_LE32(addr, val) (*(u32 *)addr = val) argument
595 u32 val; in mbochs_read() local
597 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mbochs_read()
602 if (copy_to_user(buf, &val, sizeof(val))) in mbochs_read()
607 u16 val; in mbochs_read() local
609 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mbochs_read()
614 if (copy_to_user(buf, &val, sizeof(val))) in mbochs_read()
619 u8 val; in mbochs_read() local
621 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mbochs_read()
626 if (copy_to_user(buf, &val, sizeof(val))) in mbochs_read()
656 u32 val; in mbochs_write() local
658 if (copy_from_user(&val, buf, sizeof(val))) in mbochs_write()
661 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mbochs_write()
668 u16 val; in mbochs_write() local
670 if (copy_from_user(&val, buf, sizeof(val))) in mbochs_write()
673 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mbochs_write()
680 u8 val; in mbochs_write() local
682 if (copy_from_user(&val, buf, sizeof(val))) in mbochs_write()
685 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mbochs_write()