Searched refs:flash_access (Results 1 – 5 of 5) 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()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()931 c2dev->access = c2dev->flash_access = 0; in c2port_device_register()
169 flash_access_setup(enum flash_access chip) in flash_access_setup()192 flash(FlashControl* flash_control, enum flash_access chip, uint32_t address, char* write_file, char… in flash()257 enum flash_access chip = PNOR_MTD; in on_bus_acquired()
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