Searched refs:c2port_write_dr (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/misc/c2port/ |
H A 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(de in __c2port_read_flash_data() [all...] |
/kernel/linux/linux-6.6/drivers/misc/c2port/ |
H A 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(de in __c2port_read_flash_data() [all...] |
Completed in 5 milliseconds