Searched refs:RK3588_NBYTES (Results 1 – 1 of 1) sorted by relevance
63 #define RK3588_NBYTES 4 macro196 addr_start = round_down(offset, RK3588_NBYTES) / RK3588_NBYTES; in rk3588_otp_read()197 addr_end = round_up(offset + bytes, RK3588_NBYTES) / RK3588_NBYTES; in rk3588_otp_read()201 buf = kzalloc(array_size(addr_len, RK3588_NBYTES), GFP_KERNEL); in rk3588_otp_read()219 memcpy(&buf[i], &data, RK3588_NBYTES); in rk3588_otp_read()221 i += RK3588_NBYTES; in rk3588_otp_read()225 memcpy(val, buf + offset % RK3588_NBYTES, bytes); in rk3588_otp_read()