Searched refs:flash_access (Results 1 – 4 of 4) sorted by relevance
392 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...]
21 unsigned int flash_access:1; member
32 What: /sys/class/c2port/c2portX/flash_access36 The /sys/class/c2port/c2portX/flash_access file enable the
59 flash_access flash_data reset uevent78 # echo 1 > /sys/class/c2port/c2port0/flash_access