Lines Matching refs:device_t
64 device_t sc_dev;
65 device_t sc_parent_dev; /* Hardware (parent) device */
98 int (*erase)(device_t, struct flash_erase_instruction *);
99 int (*read)(device_t, flash_off_t, size_t, size_t *, uint8_t *);
100 int (*write)(device_t, flash_off_t, size_t, size_t *, const uint8_t *);
101 int (*block_markbad)(device_t, flash_off_t);
102 int (*block_isbad)(device_t, flash_off_t, bool *);
103 int (*sync)(device_t);
105 int (*submit)(device_t, struct buf *);
123 device_t flash_attach_mi(struct flash_interface *, device_t);
124 void flash_attach_mtdparts(struct flash_interface *, device_t, flash_size_t, const char *, const ch…
127 device_t flash_get_device(dev_t);
131 int flash_erase(device_t, struct flash_erase_instruction *);
132 int flash_read(device_t, flash_off_t, size_t, size_t *, uint8_t *);
133 int flash_write(device_t, flash_off_t, size_t, size_t *, const uint8_t *);
134 int flash_block_markbad(device_t, flash_off_t);
135 int flash_block_isbad(device_t, flash_off_t, bool *);
136 int flash_sync(device_t);