Lines Matching refs:val
51 #define STORE_LE16(addr, val) (*(u16 *)addr = val) argument
52 #define STORE_LE32(addr, val) (*(u32 *)addr = val) argument
1429 u32 val; in mtty_read() local
1431 ret = mdev_access(mdev_state, (u8 *)&val, sizeof(val), in mtty_read()
1436 if (copy_to_user(buf, &val, sizeof(val))) in mtty_read()
1441 u16 val; in mtty_read() local
1443 ret = mdev_access(mdev_state, (u8 *)&val, sizeof(val), in mtty_read()
1448 if (copy_to_user(buf, &val, sizeof(val))) in mtty_read()
1453 u8 val; in mtty_read() local
1455 ret = mdev_access(mdev_state, (u8 *)&val, sizeof(val), in mtty_read()
1460 if (copy_to_user(buf, &val, sizeof(val))) in mtty_read()
1490 u32 val; in mtty_write() local
1492 if (copy_from_user(&val, buf, sizeof(val))) in mtty_write()
1495 ret = mdev_access(mdev_state, (u8 *)&val, sizeof(val), in mtty_write()
1502 u16 val; in mtty_write() local
1504 if (copy_from_user(&val, buf, sizeof(val))) in mtty_write()
1507 ret = mdev_access(mdev_state, (u8 *)&val, sizeof(val), in mtty_write()
1514 u8 val; in mtty_write() local
1516 if (copy_from_user(&val, buf, sizeof(val))) in mtty_write()
1519 ret = mdev_access(mdev_state, (u8 *)&val, sizeof(val), in mtty_write()