Lines Matching full:size
21 /** BBRAM size (Unit:bytes) */
22 int size; member
39 static int bbram_xec_get_size(const struct device *dev, size_t *size) in bbram_xec_get_size() argument
43 *size = dcfg->size; in bbram_xec_get_size()
47 static int bbram_xec_read(const struct device *dev, size_t offset, size_t size, in bbram_xec_read() argument
52 if (size < 1 || offset + size > dcfg->size) { in bbram_xec_read()
57 bytecpy(data, dcfg->base + offset, size); in bbram_xec_read()
61 static int bbram_xec_write(const struct device *dev, size_t offset, size_t size, in bbram_xec_write() argument
66 if (size < 1 || offset + size > dcfg->size) { in bbram_xec_write()
71 bytecpy(dcfg->base + offset, data, size); in bbram_xec_write()
85 .size = DT_INST_REG_SIZE(inst), \