Home
last modified time | relevance | path

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

/openbmc/linux/drivers/fpga/
H A Dintel-m10-bmc-sec-update.c46 u32 leftover_offset = write_count * stride; in m10bmc_sec_write() local
47 u32 leftover_size = size - leftover_offset; in m10bmc_sec_write()
64 memcpy(&leftover_tmp, buf + leftover_offset, leftover_size); in m10bmc_sec_write()
65 ret = regmap_write(m10bmc->regmap, M10BMC_STAGING_BASE + offset + leftover_offset, in m10bmc_sec_write()
79 u32 leftover_offset = read_count * stride; in m10bmc_sec_read() local
80 u32 leftover_size = size - leftover_offset; in m10bmc_sec_read()
96 ret = regmap_read(m10bmc->regmap, addr + leftover_offset, &leftover_tmp); in m10bmc_sec_read()
99 memcpy(buf + leftover_offset, &leftover_tmp, leftover_size); in m10bmc_sec_read()