Home
last modified time | relevance | path

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

/linux/drivers/misc/c2port/
H A Dcore.c392 c2dev->flash_access = 0; in c2port_store_reset()
479 return sprintf(buf, "%d\n", c2dev->flash_access); in c2port_show_flash_access()
491 dev->flash_access = !!status; in __c2port_store_flash_access()
493 /* If flash_access is off we have nothing to do... */ in __c2port_store_flash_access()
494 if (dev->flash_access == 0) in __c2port_store_flash_access()
542 static DEVICE_ATTR(flash_access, 0644, c2port_show_flash_access,
610 if (!c2dev->access || !c2dev->flash_access) in c2port_store_flash_erase()
724 if (!c2dev->access || !c2dev->flash_access) in c2port_read_flash_data()
839 if (!c2dev->access || !c2dev->flash_access) in c2port_write_flash_data()
942 c2dev->access = c2dev->flash_access in c2port_device_register()
[all...]
/linux/include/linux/
H A Dc2port.h21 unsigned int flash_access:1; member
/linux/Documentation/ABI/testing/
H A Dsysfs-c2port32 What: /sys/class/c2port/c2portX/flash_access
36 The /sys/class/c2port/c2portX/flash_access file enable the
/linux/Documentation/misc-devices/
H A Dc2port.rst59 flash_access flash_data reset uevent
78 # echo 1 > /sys/class/c2port/c2port0/flash_access