Lines Matching defs:bytes
141 static int rockchip_rk1808_efuse_read(void *context, unsigned int offset, void *val, size_t bytes)
158 addr_end = roundup(offset + bytes, RK1808_NBYTES) / RK1808_NBYTES;
185 memcpy(val, buf + addr_offset, bytes);
198 static int rockchip_rk3128_efuse_read(void *context, unsigned int offset, void *val, size_t bytes)
212 while (bytes--) {
233 static int rockchip_rk3288_efuse_read(void *context, unsigned int offset, void *val, size_t bytes)
247 while (bytes--) {
268 static int rockchip_rk3288_efuse_secure_read(void *context, unsigned int offset, void *val, size_t bytes)
283 while (bytes--) {
306 static int rockchip_rk3328_efuse_read(void *context, unsigned int offset, void *val, size_t bytes)
323 addr_end = roundup(offset + bytes, RK3399_NBYTES) / RK3399_NBYTES;
349 memcpy(val, buf + addr_offset, bytes);
358 static int rockchip_rk3368_efuse_read(void *context, unsigned int offset, void *val, size_t bytes)
373 while (bytes--) {
396 static int rockchip_rk3399_efuse_read(void *context, unsigned int offset, void *val, size_t bytes)
411 addr_end = roundup(offset + bytes, RK3399_NBYTES) / RK3399_NBYTES;
438 memcpy(val, buf + addr_offset, bytes);