Home
last modified time | relevance | path

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

/openbmc/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()
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()
/openbmc/skeleton/op-flasher/
H A Dflasher_obj.c169 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()
/openbmc/linux/include/linux/
H A Dc2port.h21 unsigned int flash_access:1; member
/openbmc/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
/openbmc/linux/Documentation/misc-devices/
H A Dc2port.rst59 flash_access flash_data reset uevent
78 # echo 1 > /sys/class/c2port/c2port0/flash_access