Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/misc/c2port/
Dcore.c163 static int c2port_write_dr(struct c2port_device *dev, u8 data) in c2port_write_dr() function
506 ret = c2port_write_dr(dev, 0x02); in __c2port_store_flash_access()
511 ret = c2port_write_dr(dev, 0x01); in __c2port_store_flash_access()
560 c2port_write_dr(dev, C2PORT_DEVICE_ERASE); in __c2port_write_flash_erase()
586 c2port_write_dr(dev, 0xde); in __c2port_write_flash_erase()
590 c2port_write_dr(dev, 0xad); in __c2port_write_flash_erase()
594 c2port_write_dr(dev, 0xa5); in __c2port_write_flash_erase()
653 c2port_write_dr(dev, C2PORT_BLOCK_READ); in __c2port_read_flash_data()
675 c2port_write_dr(dev, offset >> 8); in __c2port_read_flash_data()
681 c2port_write_dr(dev, offset & 0x00ff); in __c2port_read_flash_data()
[all …]