Searched refs:c2port_write_dr (Results 1 – 1 of 1) sorted by relevance
| /Linux-v4.19/drivers/misc/c2port/ |
| D | core.c | 162 static int c2port_write_dr(struct c2port_device *dev, u8 data) in c2port_write_dr() function 505 ret = c2port_write_dr(dev, 0x02); in __c2port_store_flash_access() 510 ret = c2port_write_dr(dev, 0x01); in __c2port_store_flash_access() 559 c2port_write_dr(dev, C2PORT_DEVICE_ERASE); in __c2port_write_flash_erase() 585 c2port_write_dr(dev, 0xde); in __c2port_write_flash_erase() 589 c2port_write_dr(dev, 0xad); in __c2port_write_flash_erase() 593 c2port_write_dr(dev, 0xa5); in __c2port_write_flash_erase() 652 c2port_write_dr(dev, C2PORT_BLOCK_READ); in __c2port_read_flash_data() 674 c2port_write_dr(dev, offset >> 8); in __c2port_read_flash_data() 680 c2port_write_dr(dev, offset & 0x00ff); in __c2port_read_flash_data() [all …]
|