Searched refs:c2port_write_dr (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/misc/c2port/ ! |
D | core.c | 159 static int c2port_write_dr(struct c2port_device *dev, u8 data) in c2port_write_dr() function 502 ret = c2port_write_dr(dev, 0x02); in __c2port_store_flash_access() 507 ret = c2port_write_dr(dev, 0x01); in __c2port_store_flash_access() 556 c2port_write_dr(dev, C2PORT_DEVICE_ERASE); in __c2port_write_flash_erase() 582 c2port_write_dr(dev, 0xde); in __c2port_write_flash_erase() 586 c2port_write_dr(dev, 0xad); in __c2port_write_flash_erase() 590 c2port_write_dr(dev, 0xa5); in __c2port_write_flash_erase() 649 c2port_write_dr(dev, C2PORT_BLOCK_READ); in __c2port_read_flash_data() 671 c2port_write_dr(dev, offset >> 8); in __c2port_read_flash_data() 677 c2port_write_dr(dev, offset & 0x00ff); in __c2port_read_flash_data() [all …]
|